Commit Graph

297 Commits

Author SHA1 Message Date
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
Nachiket Kukade
b302b4bb43 wpa_supplicant: Fix memory leaks in WPA3 connection
1. Buffers for SAE messages are not freed after the handshake.
   This causes memory leak, free buffers after SAE handshake.
2. SAE global data is not freed until the next WPA3 connection
   takes place, holding up heap space without reason. Free this
   data after SAE handshake is complete or event fails.
3. Update wifi lib which includes memory leak fix during BIP
   encryption/decryption operations.
2020-05-13 22:54:03 +05:30
Xia Xiaotian
526a3e49ed esp_wifi: When WiFi TSF is active, skip light sleep
* Add an API for peripherals to set callbacks to skip light sleep

* Make WiFi power save example work
2020-05-13 19:31:36 +08:00
zhangyanjiao
4dc7a36eca wifi: fix the crash issue when fetch peer after delete cur_peer 2020-05-12 21:05:50 +08:00
xiehang
0c7cac6ee3 esp_wifi: Fix AP switch to adjacent channel without disconnect 2020-05-09 17:26:51 +08:00
Jiang Jiang Jian
09d4767947 Merge branch 'mesh/power_save_function' into 'master'
mesh/ps: add duty control and support only transmit/receive on active duty

See merge request espressif/esp-idf!8152
2020-05-06 15:53:49 +08:00
qiyuexia
4522ef8798 mesh: add duty cycle control and support only transmit/receive in actve duty cycle 2020-05-05 18:06:47 +08:00
Nachiket Kukade
107cf56e20 esp_wifi: Enable WPA3 & PMF by default
In wifi station example, set PMF(Protected Management Frames)
configuration to capable. Set WPA3 Feature in menuconfig enabled
by default. This will allow device to establish more secured
connection with AP's that support these protocols.
2020-05-04 16:02:14 +05:30
Jiang Jiang Jian
4eec0ea4bb Merge branch 'bugfix/optimization_API_esp_wifi_deauth_sta' into 'master'
bugfix: optimization API esp_wifi_deauth_sta

Closes WIFI-1699

See merge request espressif/esp-idf!8363
2020-04-30 16:20:32 +08:00
Angus Gratton
d041512022 Merge branch 'feature/mesh_ip_network_example' into 'master'
ESP-MESH: IP internal network example

See merge request espressif/esp-idf!7724
2020-04-30 14:33:16 +08:00
ronghulin
3c8ed7b8c9 bugfix: optimization API esp_wifi_deauth_sta 2020-04-29 14:31:16 +08:00
zhangyanjiao
b96652c257 wifi changes:
1. fix the bug for softAP update second channel wrong
2. query country code wrong when policy change from manual to auto
3. change wifi_scan_time_t from union to struct
2020-04-28 20:02:25 +08:00
baohongde
95f47a2d4d Coexistence: Add coexist API to enable BLE connection dynamic priority 2020-04-28 16:16:27 +08:00
Nachiket Kukade
f9970b8e29 esp_wifi: Update wifi lib
PMF Certification fixes -
1. Check return status of decrypt operation. Fixes 5.3.3.1.
2. Allow PMF negotiation for WPA2-Enterprise. Fixes 5.3.3.2, 5.3.3.4.
3. Add NULL check on key before encrypting PMF, fixes crash.

Closes WIFI-2251
2020-04-27 13:32:09 +00:00