Commit Graph

310 Commits

Author SHA1 Message Date
xiehang
1a39459336 esp_wifi: add rf test long short support 2020-08-17 11:08:19 +08:00
liu zhifu
6ed4dd65a4 esp_wifi: optimize WiFi debug log
1. Add esp_wifi_statis_dump()
2. Optimize WiFi related debug log
2020-08-15 11:35:10 +08:00
liu zhifu
fa9a5c0be5 esp_wifi: optimize WiFi TX performance 2020-08-13 12:26:21 +08:00
ChenJianxing
4949087217 esp_wifi: fix phy v4350 RX throughput low issue.
sleep wakeup optimizaion do not cover 480M bbpll configuration,
which cause CPU working in 240M mode RX throughput is low.
2020-08-12 14:16:45 +08:00
ronghulin
087c580c09 bugfix: fix connect hidden AP doesn't update information
Closes https://github.com/espressif/esp-idf/issues/5632
2020-08-11 19:41:32 +08:00
ronghulin
b006acbb46 bugfix: fix softap mode event issue
1. add sta connect again ap sent disconnect event
2. add set/get inactive time api

Closes https://github.com/espressif/esp-idf/issues/4401
Closes https://github.com/espressif/esp-idf/issues/4987
Closes https://github.com/espressif/esp-idf/issues/2375
2020-08-11 10:34:47 +08:00
Jiang Jiang Jian
933de37074 Merge branch 'bugfix/softAP_power_save_buffer_issue' into 'master'
esp_wifi: fix the bug for softAP power save buffer issue

Closes WIFI-2362

See merge request espressif/esp-idf!9826
2020-08-10 23:33:17 +08:00
Jiang Jiang Jian
4d4dee8a52 Merge branch 'bugfix/wifi_stop_crash' into 'master'
esp_wifi: fix the crash when wifi stop after deinit

Closes WIFI-2647 and WIFI-2646

See merge request espressif/esp-idf!9931
2020-08-10 19:11:55 +08:00
zhangyanjiao
a5c05e2c94 esp_wifi: fix the bug for softAP power save buffer issue 2020-08-05 14:35:50 +08:00
zhangyanjiao
b47dee59dc esp_wifi: fix the crash when wifi stop after deinit 2020-08-05 11:50:27 +08:00
dongyou
97ae87df41 wifi, bt: move esp_phy_common_clock_disable into periph_ctrl and put it into IRAM
Replace periph_module_enable/disable by periph_wifi_bt_common_module_enable which are in IRAM.
AddIRAM_ATTR periph_ll_wifi_bt_module_enable_clk_clear_rstandIRAM_ATTR periph_ll_wifi_bt_module_disable_clk_set_rstto fit O0 optimization level.
Delete duplicated spinlock and counter.
2020-08-05 11:04:16 +08:00
xiehang
c744c6f30c esp_wifi: Fix WiFi fragment issue 2020-07-31 20:02:27 +08:00
ChenJianxing
8c982ea738 esp_wifi: update phy lib
1. esp32 phy lib v4350
2. esp32s2 phy lib v603
2020-07-29 10:36:02 +08:00
Anton Maklakov
d7db6673f5 Merge branch 'revert-1ba7dc22' into 'master'
Revert "Merge branch 'bugfix/resume_esp32s2_wifi_unit_test' into 'master'"

See merge request espressif/esp-idf!9794
2020-07-29 10:32:43 +08:00
morris
2917651478 esp_rom: extract common ets apis into esp_rom_sys.h 2020-07-27 15:27:01 +08:00
Chen Jian Xing
56261ef9a2 Revert "Merge branch 'bugfix/resume_esp32s2_wifi_unit_test' into 'master'"
This reverts merge request !9079
2020-07-27 05:06:28 +00:00
Jiang Jiang Jian
1ba7dc22cb Merge branch 'bugfix/resume_esp32s2_wifi_unit_test' into 'master'
Bugfix/resume esp32s2 wifi unit test

See merge request espressif/esp-idf!9079
2020-07-21 17:39:57 +08:00
Jiang Jiang Jian
1fa7454f5e Merge branch 'feature/wifi_get_tsf_time_api' into 'master'
esp_wifi: Add esp_wifi_get_tsf_time() API to get the tsf time on esp32.

Closes WIFI-2532

See merge request espressif/esp-idf!9535
2020-07-14 19:53:52 +08:00
Angus Gratton
2c4e2825ad Merge branch 'feature/use_prebuilt_util_for_wifi_component' into 'master'
esp_wifi: use prebuilt CMake util to add wifi libs

See merge request espressif/esp-idf!9574
2020-07-14 07:57:11 +08:00
Hrudaynath Dhabe
7bc2fae323 esp_wifi: Add esp_wifi_get_tsf_time() API to get the tsf time of
specified interface.

Closes https://github.com/espressif/esp-idf/issues/5533
2020-07-13 17:04:11 +05:30
Renz Bagaporo
126225421e esp_wifi: use prebuilt CMake util to add wifi libs 2020-07-10 14:20:25 +08:00
ChenJianxing
4756280fc6 esp32s2: resume phy rtc unit test 2020-07-10 11:03:54 +08:00
ChenJianxing
c0683d95cc esp32s2: resume wifi unit test 2020-07-10 11:02:37 +08:00
Nachiket Kukade
81f037a299 Fix handling of multiple AP credentials in WPS
WPS can send multiple AP credentials, while existing implementation
will only use the first credentials which could be for the 5G band.
Fix this by passing these credentials to the App and attempting
to connect using each of those. Older Apps will remain compatible
without breaking WPS, but the issue will remain.
2020-07-08 11:02:55 +00:00
Jiang Jiang Jian
31aa7e09fa Merge branch 'bugfix/add_api_to_get_internal_heap' into 'master'
esp_wifi: Add API to get available internal heap size

Closes WIFI-1340

See merge request espressif/esp-idf!9047
2020-07-07 14:50:10 +08:00
ronghulin
0e962d754e bugfix: fix wifi storage nvs some issue
1. Configure bandwidth and phy mode to store NVS.
2. API esp_wifi_get_config add acquisition sta.listen_interva.
2020-07-03 15:49:34 +08:00
zhangyanjiao
b9b82659dd esp_wifi:
1. fix the bug when calculating the PMK, the local rx beacon time increment is 0
2. mesh: don't disconnect when tbtt update
2020-07-02 16:50:21 +08:00
xiehang
8b523efc6f esp_wifi: Add API to get available internal heap size. 2020-06-30 21:51:00 +08:00
Nachiket Kukade
fc5d7239ea esp_wifi: Update wifi lib
1. Avoid parsing RSN/WPA IE's after connection
2. Remove AUTH_CHANGED reason code logic
2020-06-30 18:35:46 +05:30
chenyudong
f67f9d5b4e mesh: remove coexist warnings in ESP_WIFI_MESH
1. remove warning log when mesh is started:
Error! Should use default passive scan time parameter for WiFi scan when Bluetooth is enabled!!!!!!
2. remove abort when mesh is started:
Error! Should enable WiFi modem sleep when both WiFi and Bluetooth are enabled!!!!!!

Closes: https://github.com/espressif/esp-idf/issues/5357
Closes: https://github.com/espressif/esp-idf/issues/5440
Closes: https://github.com/espressif/esp-idf/issues/5210
2020-06-29 11:28:16 +08:00
morris
a34409cffc esp_rom: extract common CRC apis into esp_rom_crc.h 2020-06-23 16:40:14 +08:00
zhangyanjiao
7cf59a8d18 esp_wifi:
Zhang Yan Jiao authored 1 day ago
1. Add TBTT update when AP reset TSF
2. fix the bug for regdomian update
3. update ESP32S2 phy lib to 601,5b0f7cd
2020-06-19 14:24:23 +08:00
xiehang
4eeedf62e1 esp_wifi: Fix TX DMA buffer issue 2020-06-17 14:37:12 +08:00
Nachiket Kukade
b8e8330c61 esp_wifi: Update wifi lib
Fix WPA3 Auth timeout during BLE coex
2020-06-17 11:08:55 +08:00
ChenJianxing
03cca9abf7 esp_wifi: addba fix and send bar in first ampdu 2020-06-16 20:59:54 +08:00
zhangyanjiao
b73f62c95d esp_wifi: fix the bug that airkiss find hidden AP fail 2020-06-15 17:13:09 +08:00
chenyudong
fa3b76ee9b mesh: fix bug of dynamic set type idle
1. fix bug of dynamic set type idle
2. fix esp_mesh_deinit blocking issue
3. fix ie.mesh_type do not match ie.layer
4. ps enabled devices use new assoc version
2020-06-15 03:03:57 +00:00
ronghulin
2c599137b9 bugfix: fix interrupt handle param variable error
Closes https://github.com/espressif/esp-idf/issues/5354
2020-06-09 17:35:41 +08:00
zhangyanjiao
6f5e9398f7 esp_wifi: upadte esp32 phy lib to 4182
Closes https://github.com/espressif/esp-idf/issues/5323
2020-06-05 17:07:18 +08:00
kapil.gupta
179292f9b3 esp_wifi: Remove auth_changed event and fix wpa2 authmode threshold
Added following as part of this change
1. Removed auth_changed event
2. Updated doc regarding usage of  WPA/WEP secuiry modes
3. Fixed WPA2 enterprise authmode threshold.
2020-06-04 17:54:26 +05:30
zhangyanjiao
1fe08ef40e wifi: fix the bug that ESP32S2 can't receive AMPDU when airkiss 2020-06-02 14:57:13 +08:00
Nachiket Kukade
2185d96fdc esp_wifi: Update wifi lib
Fix WPA3 Auth issue in coex scenario
2020-05-28 11:20:13 +05:30
ChenJianxing
9e45c3c7d8 esp_wifi: remove wifi tx buffer limits 2020-05-27 15:06:53 +08:00
chenyudong
8fb982c512 mesh: add mesh PS option following add announce 2020-05-21 03:40:47 +00:00
ronghulin
cdaeef70c3 feature: optimize wifi API max tx power description 2020-05-20 11:52:42 +08:00
kapil.gupta
fb53a454b9 ESP-WIFI: Optimize 4way handshake failure time
In case of wrong passpharse, AP will keep on sending 1/4 multiple
times which may take around 10 secs to disconnect and detect
wrong password event.

Add changes to reject EAPOL1 after 3 consecutive reception
2020-05-19 16:55:42 +05:30
chenyudong
040f4be2a7 mesh: support set new type
If the root is specified (FIXED-ROOT) by set type or set parent, change ie.mesh_type to MESH_ROOT before connect to router
Release emesh_recv_toDS when the root becomes non-root
esp_mesh_set_type now supports MESH_IDLE and MESH_STA
2020-05-19 11:17:56 +08:00
xiehang
158602c942 esp_wifi: Fix the timeout issue of EAPOL four-way handshake 2020-05-18 14:53:31 +08:00
Nachiket Kukade
d7edd28338 esp_wifi: Update WiFi lib
Add and utilize WPA3/WPA2 Mixed mode Authtype.
2020-05-15 17:24:51 +05:30
Jiang Jiang Jian
26ab1c54ec Merge branch 'bugfix/esp32s2_wifi_skip_light_sleep' into 'master'
esp_wifi: When WiFi TSF is active, skip light sleep

Closes WIFI-2305 and WIFI-2306

See merge request espressif/esp-idf!8639
2020-05-15 11:41:45 +08:00