121 Commits

Author SHA1 Message Date
0a56a79ebe bugfix: fix unable update rssi of hidden ap (7924d918) 2020-10-27 10:57:10 +08:00
e22fc7423d update wifi lib (43032d53):
don't disconnect AP when AP's timestamp decrease abnormally
2020-10-22 17:12:29 +08:00
6c62007532 drop receiving packets from myself (289fb951) 2020-09-22 17:40:48 +08:00
2178a389b5 bugfix: fix softap mode wpa memory leak (6704c63a) 2020-09-11 10:38:48 +08:00
6f80285a70 feature: optimize some wifi API (a4117f7a)
1. optimization esp_wifi_set_max_tx_power description
2. add API esp_wifi_ap_get_sta_aid
2020-08-07 14:48:32 +08:00
daf21414dc mesh: update libs (1e2c9965) 2020-08-04 14:13:13 +08:00
6fb2eaf5c9 Fix WiFi fragment issue (291cca18) 2020-07-31 20:25:58 +08:00
d5de1af543 update wifi lib (a48bcac3):
1. Fix TX DMA buffer issue
2. API esp_wifi_get_config add acquisition sta.listen_interval
3. Configure bandwidth and phy mode to store NVS
4. If AP's tsf has been restarted, STA will disconnect from AP.
5. Do not reset softAP's tsf except it restart
6. fix the wifi regdomain update bug
7. fix the bug for airkiss find hidden AP fail
8. fix addba and first ampdu send bar
2020-07-08 21:02:56 +08:00
396d8a29d1 Avoid parsing RSN/WPA IE's after connection (4daf08f9) 2020-06-26 15:05:21 +05:30
465023a439 esp_wifi: Remove auth_changed event and fix wpa2_ent authmode threshold(06b78495) 2020-06-07 11:19:48 +05:30
6cafe865bb Backport some wifi fixes (2834333c)
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
4. fix the crash issue when fetch peer after delete the cur_peer
5. fix the timeout issue of EAPOL four-way handshake
2020-05-20 17:35:51 +08:00
ea83a5f615 esp_wifi: Fix AP switch to adjacent channel without disconnect (9ec27f2c) 2020-05-15 14:30:47 +08:00
20820716e4 fix the bug that ESP32 can't get IP address from China Mobile router (75acd7ee) 2020-04-20 20:02:00 +08:00
19234551cd Fix some wifi bugs (6fd589c7)
Fix following bugs:

1. esp_wifi_sta_get_ap_info() returns actual values of group cipher and pairwise cipher
2. Fix esp_wifi_stop() crash
3. Fix wifi log print
4. Fix WiFi stop leads to memory leak
2020-04-10 10:45:18 +08:00
3b3791807d Update WiFi lib (68d276b4)
1,Fix sniffer bug caused by mode switch
2,Reduce WiFi bin size
3,Add TX packets size check
4,Fix scan get rssi error
5,Add wifi stop check at WiFi deinit entry
6,Return fail when setting AP's channel is out of range
7,Fix the bug for setting channel when WiFi in NULL mode
2020-03-23 22:00:41 +08:00
369f45ebc7 bugfix: Place the Vendor Specific element at the end according to the protocol(c2975697) 2020-03-02 14:14:17 +08:00
b1ff016b78 mesh: fix ie issues (6a36df3d) 2020-02-21 18:54:25 +08:00
3dc04bfe55 Fix the crash caused by double free BAR buffer (2375ebd7) 2020-02-12 16:36:59 +08:00
eea4c80276 Update wifi lib (03cacba7)
1,Fix wifi block scan crash issue.
2,Fix association request RSN information length too big lead crash
3,Fix wifi stop bug when sniffer enable
4,coex:fix wifi scan and connect bugs
5,Fix some wifi timer bugs
6,Fix wifi RX bug
7,Fix the bugs for bandwidth
8,Fix the bug for espnow
9,Fix AMSDU decrypt bug
10,Fix wifi reload issue
2020-01-10 16:50:58 +08:00
a94d8b9b04 Improve Wi-Fi performance (3e34e487) 2020-01-06 21:26:47 +08:00
2ae41bf681 Put some rx code to iram (00e1a2d0) 2019-12-17 20:37:03 +08:00
c8c149c65b Fix some coexistence bugs(693826fd)
1. Fix high beacon and broadcast packets loss ratio of WiFi to
       make MDNS test pass.
    2. Improve stability of WiFi performance with a little sacrifice
       of throughput.
    3. Improve BLE advertising and connection performance with dynamic
       priority. It sacrifices a little WiFi throughput, but achieves
       balance between WiFi and Bluetooth.
2019-11-20 11:12:44 +08:00
8c893dd726 Backport some WiFi fixes 1009 (a756b9c2)
Backport following fixes:
1. Fix the bug for API_CHECK_ENABLED
2. Fix the bug that wpa2 enterprise sta can connect open AP
3. Fix TKIP/CCMP PN replay attack detection bug
4. Increase buffer number type from uint8_t to uint16_t to support more than 255 buffers
5. Small fixes for WiFi lib CI
6. Avoid recalculating PMK if esp_wifi_set_config() is not called
7. Fix the bug that WiFi stop leads to task watchdog
8. Fix smartconfig IPC crash
9. Fix the crash bug that sniffer may access flash when cached is disabled
10. Fix 5.5M signal test issue
2019-10-12 10:03:40 +08:00
1e33207c34 Update wifi lib:
1. fix the bug that STA fails to connect WPA_WPA2_PSK Apple AP(7997e4b7)
2. fix the bug for softAP set authmode
2019-09-05 20:06:00 +08:00
df2f631304 fix bug that wifi start/stop may cause crash (ba4cd55)
1. fix bug bb reset lock flag to avoid bb reset lock unhandle (c942703)
2. fix bug wifi reset mac cause task watch dog timeout (a70028d)
3. fix bug wifi reset mac position (ba4cd55)
2019-08-30 22:12:39 +08:00
061f34d746 Update wifi lib:
1. esp_wifi_set_channel should return error when sniffer is not enabled(3359fa42)
2. fix the bug when set WEP authmode or wrong authmode, there is no error return
3. fix the bug that STA parse authmode wrong when AP sets WPA_WPA2_PSK mode
4. fix the bug that wrong error code and wrong event when there is an auto AP in multi-ssid case
2019-08-08 16:43:09 +08:00
09280cd650 mesh: fix scan done crash (8fbbdad98)
fix scan done crash caused by uint8_t overflow
remove ESP-MESH handling in ppResortTxAMPDU()
2019-07-25 11:13:36 +08:00
222fa5b24f ci: check wifi lib git commit (c7dfe5b9) 2019-07-22 11:16:05 +08:00
5d2ad1bb87 wifi: modify the wifi_country_t struct in VNC to keep it consistent with IDF
1. Modify wifi_country_t struct (aebae8a7)
2. Add MD5 check for esp_wifi_types.h
3. Add MD5 check for esp_wifi.h
2019-07-21 10:29:11 +08:00
32db85f76c mesh: fix esp_mesh_stop not return (2dae6a5e) 2019-07-21 10:25:20 +08:00
18170e1677 Add WPS overlap event (ac72ae53). 2019-07-21 10:21:46 +08:00
f3f11ddbe9 Fix the bug that WiFi stop causes esp_wifi_internal_reg-rxcb() fails (145b43ac). 2019-07-21 10:19:11 +08:00
5e2f0c6411 Fix WPS/WPA2-Enterprise memory leak bug (71e15a408). 2019-07-21 10:00:35 +08:00
3e52d2e8f1 Fix the bug that smartconfig crashes when no AP is found(d601f4e3). 2019-07-21 09:53:16 +08:00
2234fe8227 Update wifi lib and phy lib:
fix the watchdog during WiFi scan and BLE scan (65e05886)
2019-07-16 14:24:57 +08:00
61f72752b8 Update wifi lib:
fix multi-ssid bugs(d04fb308):
1. no disconnect event when STA recv disassoc after sending auth
2. full channel scan send multi events when recv deauth/disassoc
2019-07-08 11:38:24 +08:00
3fdb9c146d mesh: bugfix (0c3a77ad)
1. resend eb which are pending in g_ic.tx_buf due to channel switch.
2. add lock for mgmg/xon/bcast to protect send from user flush.
3. softap: add check if secondary offset is correct when start softap.
4. softap: in inactive timer handler, add check if child bss is removed to avoid removing it again.
5. disable A-MPDU for non-root.
6. fix reusing a freed eb.
7. fix when node becomes root, it does not record assoc value to nvs.
8. discard unnecessary forwarded group packets.
9. fix toDS state is not updated in time.
10. fix s_sta_cnx_times is not cleared when deinit causes root sends ADD annoucement.
11. root: increase beacon timeout time from 6 seconds to 15 seconds to delay initiation of reconnection.
12. add esp_mesh_get_tsf_time to return TSF time.
13. send the whole routing table multi-times.
14. clear candidate settings if not receive candidate beacon within 8 seconds.
2019-07-04 11:36:45 +08:00
e5e3b12c31 update wifi lib
Fix wpa2 enterprise vulnerability and increase WiFi rx buffer limits (1993a308)
2019-07-01 10:13:12 +08:00
55b813f2a3 update wifi lib
Fix following WiFi bugs(0cbe7947):
1. Make smartconfig thread-safe
2. Fix memory leak in WiFi stop/start/init/deinit
3. Refactor for WiFi IOCTL/init/deint etc
4. Fix the bug that WiFi stop leads to task watchdog
2019-06-30 21:35:30 +08:00
ccfb26dab6 update wifi lib
Fix a smartconfig bug(693c7b6)
2019-05-22 21:45:39 +08:00
560e824c01 wifi: fix softap crash when sta reset(a6ccf0f4) 2019-05-20 20:07:20 +08:00
b19a0b04ee update wifi lib
Backport following fixes to v3.2 (9648c6a0):
1. Add support for STA HT2040 coexist management
2. Add support for WPA2 improvements
3. Add support for WiFi signal test
4. Disallow HT rate when unicast/mcast cipher is TKIP/WEP
5. Fix the bug that WPS fails when AP is encrypted
2019-05-06 11:23:43 +08:00
bc6972f2ae Update wifi lib:
fix the bug when scan fail after STA failed to connect to a nonexistent AP (763e4942)
2019-05-05 11:50:20 +08:00
d325ca88f0 update wifi lib
1. refactor softap power save(2af77cc7)
2019-04-18 16:45:01 +08:00
5e24e6f916 update wifi lib
1. decouple WiFi code with coexist to reduce bin size(29fa50e3)
2019-04-17 16:47:46 +08:00
b44134efbc update WiFi/PHY lib
Fix following bugs:
1. Fix BT disconnecting due to too many reset BB (276c2d11)
2. Fix the bug that no TBTT is generated after rx wrong beacon when WiFi/BT coexist
3. Fix a DelBA bug
4. Add out of memory check
5. Fix the bug that STA incorrectly receives packets when scanning in connected status
6. PHY4008: Disable BT TX in force wifi mode, and enable BT TX in un-force wifi mode(bacb9c57)
2019-04-17 10:01:29 +08:00
1ea7cb7731 Update wifi lib:
1. fix the bug block scan tiemout before scan finish (68ca1b0d)
2. make menuconfig can set the WiFi mgmt short buffer num
3. modify wifi reason code
4. fix the bug PMK recal too long
2019-04-15 16:07:31 +08:00
4b59590d30 Update wifi lib
Decouple mesh and wifi to reduce bin size (80d67231)
2019-04-14 20:34:33 +08:00
b6983449d5 mesh: Update wifi libs
fix bug in group send (8598a2cb)
fix memory leak with invalid option
2019-03-15 19:51:40 +08:00
4a4b8089b3 update wifi lib
Make WiFi iram optimization configurable (6d404d45)
2019-02-26 19:44:19 +08:00