Commit Graph

432 Commits

Author SHA1 Message Date
liu zhifu
e5e3b12c31 update wifi lib
Fix wpa2 enterprise vulnerability and increase WiFi rx buffer limits (1993a308)
2019-07-01 10:13:12 +08:00
liu zhifu
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
liu zhifu
ccfb26dab6 update wifi lib
Fix a smartconfig bug(693c7b6)
2019-05-22 21:45:39 +08:00
xiehang
560e824c01 wifi: fix softap crash when sta reset(a6ccf0f4) 2019-05-20 20:07:20 +08:00
liu zhifu
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
zhangyanjiao
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
XiaXiaotian
d325ca88f0 update wifi lib
1. refactor softap power save(2af77cc7)
2019-04-18 16:45:01 +08:00
XiaXiaotian
5e24e6f916 update wifi lib
1. decouple WiFi code with coexist to reduce bin size(29fa50e3)
2019-04-17 16:47:46 +08:00
liu zhifu
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
zhangyanjiao
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
chenyudong
4b59590d30 Update wifi lib
Decouple mesh and wifi to reduce bin size (80d67231)
2019-04-14 20:34:33 +08:00
chenyudong
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
Liu Zhi Fu
4a4b8089b3 update wifi lib
Make WiFi iram optimization configurable (6d404d45)
2019-02-26 19:44:19 +08:00
Tian Hao
eb53491cf6 fix coexist lc protect cause memory corrupted
1. resolve coexist lc protect cause memory corrupted (2139e4d)
2. fix some minor bugs in coexist module (9415913)
2019-02-15 16:05:59 +08:00
Liu Zhi Fu
43ddefc08b update wifi lib
Fix some wifi bugs (1ebcbf63):
1. Fix a crash bug which is caused by WiFi static TX buffer alloc/free.
2. Fix the bug that iphone fails to connect to ESP32 AP by enabling AP BAR receiving.
3. Fix the bug that ESP32 station fails to connect some APs, such as Xiaomi hotspot etc,
   after reset.
2019-01-31 21:35:39 +08:00
qiyuexia
d922cf25d4 mesh: modify to malloc routing table (0bff4fb9) 2019-01-31 13:45:44 +08:00
Liu Zhi Fu
7dce680597 update wifi lib
Fix WPS thread-safe (7a667f0e)
2019-01-29 17:48:33 +08:00
XiaXiaotian
8fdb9d3014 update libphy.a
1. update phy to 4100(f604cf17)

    4008: phy_init not write txq_block reg
2019-01-29 11:00:50 +08:00
qiyueixa
3a3ca5bf74 mesh: bugfix (45692ed)
1. fix network channel switch function.
2. support not configuring the network channel.
3. support not configuring the router BSSID even if the router is hidden.
4. add allow_channel_switch to mesh configuration.
5. add allow_router_switch to mesh router configuration.
6. support handling beacon without IE of DS Parameter Set.
7. fix Wi-Fi RX fails in a specific scenario (update libphy.a).
8. fix STAs can not detect disconnection from AP when encrypt transmission is used.
9. fix can not find hidden APs.
10. for root, modify the active scan time to 120ms.
11. remove all rc when clear parent Wi-Fi configuration.
12. fix memory leak caused by the remove announcement being sent is not released when esp_mesh_stop() is called.
13. fix modify IE encrypt after mesh is started.
14. ignore esp_mesh_connect() if mesh automatic reconnection is enabled.
15. fix reason is cleared before vote is done.
16. fix issues in the example of manual_networking when mesh network is encrypted.
17. detect and fix root conflicts when router BSSID is not set.
18. when root can not connect to the router due to NO_MORE_STAS(reason code:5), root will stop re-connection and perform MESH_NWK_LOOK_FOR_NETWORK.
19. wifi: fix the disconnection caused by receiving a deauth frame from non-parent node during scanning.
20. fix routing table redundant issue due to RMV announce is not 100% reliable.
21. modify the max routes limitation from 300 to 1000.
22. wifi: fix ap does not deauth the sta which has not yet completed the 4-way handshake but the max replay count is reached.
2019-01-24 11:07:50 +08:00
XiaXiaotian
f2f850e500 update wifi lib
1. fix invalid csi data index(112656e5)
2019-01-22 20:28:39 +08:00
Tian Hao
8bbce98da5 fix some bugs in phy
update wifi lib

1. fix the phy function called in ISR but cache is disabled.
2. fix task watchdog when wifi change channel (b27f170)
3. disable/enable agc to mac deinit/init (0d58779)

update PHY lib to 4007
2019-01-16 21:59:15 +08:00
jack
ec07b86b54 update wifi lib
1. fix the incorrect tx complete state issue(ce01e530)
2019-01-12 19:30:29 +08:00
Liu Zhi Fu
b9a4cba7c5 update wifi lib
Fix hardware BA deleting bug (f0773292)
2019-01-11 19:58:37 +08:00
XiaXiaotian
9fdc0c52f2 update wifi lib
1. Defragmentation only for data frame(cf7682f9)
2019-01-10 14:15:25 +08:00
XiaXiaotian
12703a183b update wifi lib
1. unforce wifi if no data is buffered in beacon(0c3e3f52)
2019-01-07 16:49:00 +08:00
zhangyanjiao
9db42853fe update wifi lib
fix the bug that STA can scan the channel out of the country regdomain range (91659a12)
2019-01-04 14:32:07 +08:00
qiyueixa
e3eb983786 mesh: when no parent is found, send probe request via broadcast (c5029e5)
1. fix error in checking Wi-Fi commit ID.
2018-12-21 17:48:55 +08:00
Liu Zhi Fu
acc7e050c8 update wifi lib
Fix the bug caused by wifi stop in WiFi/BT coexist mode (72057e98)
2018-12-17 20:50:57 +08:00
Tian Hao
8c987c6b24 Update librtc.a to fix BLE assert(512) in rwble.c at line 222
There's a bug that cause BLE assert by following scenario:
1. If Wifi start softap and ble is working
2. If wifi start station, but do not use normal station operation, such
as just use espnow, while ble is working
3. Any other scenario, that wifi works without use software coexist
operation, while BLE is working(such as do advertising and ...)

Update librtc.a to V240:
    update librtc.a to fix wlan mask rx of Wifi and bluetooth coexistence,
    the error wlan mask will cause the bugs above.
2018-12-03 19:29:08 +08:00
Tian Hao
b7bcbf76c0 fix two bluetooth bugs that caused by coexist module
1. Fix interrupt watchdog timeout in bluetooth "btdm_bb_isr" (e6431f2)
2. Fix BLE assert(512) or assert(1536)  in rwble.c at line 222 (e0e5c30)
3. update libcoexist.a version to v1.1.2
2018-12-03 19:27:34 +08:00
Liu Zhi Fu
892a63089b update wifi lib
Fix some wifi bugs(abbd416e)
1. Enable RX BAR
2. Fix the bug that ESP32 AP negotiates with iphone to 11g
3. Fix the bug that ESP32 STA has ap_loss because CMCC AP contains two SSID
2018-11-22 08:32:00 +08:00
qiyueixa
f2e25be802 mesh: bugfix (e9b832)
1. fix failture of mesh stop caused by block-sending.
2. fix when FIXED_ROOT is set, 2nd layer devices can not receive mesh event ESP_ERR_MESH_NO_PARENT_FOUND.
3. fix when FIXED_ROOT is set and the root turns off mesh function, 2nd layer devices do not look for new parents.
4. add APIs esp_mesh_disconnect() and esp_mesh_connect().
5. disconnect from parent/router when the DSSS channel in received beacon is different from the home channel.
6. remove nvs task to release 3k bytes memory.
2018-11-21 19:11:34 +08:00
Deng Xin
f013881696 Update wifi lib
bugfix of add connected event of softap after 4 way(dbc5dd2e)
2018-11-16 20:36:02 +08:00
zhangyanjiao
93b9dba46f Update wifi lib (8182a24)
fix the bug that if station (sleep is enabled) and sniffer are enabled at the same time,
when disable sniffer, station will never enable phy and rf again.
2018-11-14 14:40:43 +08:00
qiyuexia
e8e4affd6a mesh: update libs (fbe0c4)
1. fix ap_loss that occurs when the parent turns off the mesh function and becomes a normal WiFi with a different SSID.
2. add an event MESH_EVENT_NETWORK_STATE that contains information about whether there is a root in the current network.
3. modify the mechanism of mesh IE update.
4. fix a problem in the process of re-voting to select the root, the device that does not meet the conditions of being a root votes for itself.
5. fix an issue that occurs in esp_mesh_recv_toDS() when stopping the mesh.
6. when the user specifies a parent for the device, the device will set the authmode and password of its AP mode to the same value as the specified parent.
7. add two disconnected reason codes MESH_REASON_EMPTY_PASSWORD and MESH_REASON_PARENT_UNENCRYPTED.
2018-10-31 21:25:00 +08:00
Deng Xin
ee0d0b152f Update wifi lib
bugfix of assert when do wps with mikrotik(a85ca5ef)
2018-10-29 21:25:46 +08:00
Liu Zhi Fu
b9b1d79975 update wifi lib
Fix some WiFi bugs (5bb80782):
1. Fix the bug that MIC verification fails on soft-AP mode
2. Modify mesh root to have same behavior as normal WiFi STA in state change
3. Fix the bug that sniffer can't catch control packets
4. Fix crash bug in soft-AP mode
5. Fix ACM(Admission Control Management) bug
2018-10-25 11:53:21 +08:00
Liu Zhi Fu
c52f13bb77 update wifi lib
Fix WiFi memory leak (3f769b91)
2018-10-21 20:35:52 +08:00
Tian Hao
f0da16578c update coexist version to v1.1.0 (3f23198)
bugfix:
    1. fix the bug by resolve previous coexist hw blocking bug,
       it may cause some assert like rwble.c (64,0) 222
    2. resolve the bug reduce ble scan performance.
feature:
    1. update version to v1.1.0
2018-10-18 11:48:08 +08:00
qiyuexia
5b468952c7 mesh: fix a bug in generating ESP-SSID IE (6c35f9)
MR !573
1. wifi: if Wi-Fi is not scanning, ignore beacons from different channels.
2018-10-17 17:41:39 +08:00
Liu Zhi Fu
2f5fc77efd update wifi lib
Update WiFi lib to fix WiFi Timer bug (b0bccfae)
2018-10-17 09:45:17 +08:00
Liu Zhi Fu
9790499df4 update wifi lib
Several bugfix/optimizations about blockack session setup (a3be6390)
1. Fix the bug that ESP32 will reject the retry AddBA request frame
   if AddBA response frame is failed to sent by WiFi LMAC
2. Fix the bug that AddBA request retrys too frequently
3. Forbid BA session setup for VO queue related TID
2018-10-09 12:05:43 +08:00
Deng Xin
df485b43e9 Update wifi lib
bug fix of no disconnect event report if no correct status code report(75aab56c)
2018-09-27 15:54:51 +08:00
Tian Hao
b957828199 fix coexist hardware blocking bug (addc5bd)
fix the bug following:
1. when software coexist working, there's a little ratio cause wifi task watchdog timeout
2. when software coexist working, there's a little ratio cause bluetooth cannot receive anything.

Known issues:
1. there's still a bug occurs with a very very low ratio cause bluetooth cannot receive anything.
   The reproduce interval may great than 3days ~ 1week via 7x24 hours heavy testing.
2018-09-26 21:24:11 +08:00
qiyuexia
912dedb942 mesh: decoupling (9ac9f5)
MR !560
Remove dependencies which cause mesh code to be linked even if mesh is not used.
2018-09-25 23:48:14 +08:00
XiaXiaotian
c5cc689830 update wifi lib
1. esptouch supports both multicast and broadcast packets(7777e951)
2018-09-25 10:36:59 +08:00
qiyuexia
2f74d17a63 mesh: bugfix (e27cdc)
MR !565
1. suppport mesh type, mesh ID, router and IE crypt func&key at any time after mesh is initalized.
2. support modify parent at any time after mesh is configured.
3. fix issues in root conflicts handling.
4. modify mesh nvs storage type same as Wi-Fi.
5. add max length of beacon to menuconfig.
6. add check for the channel value in the received beacon to filter out APs without DSSS.
2018-09-23 21:05:54 +08:00
Deng Xin
05aa0f411d Update wifi lib
bugfix of two sceanrio may cause no disconnect event report(7f4442cb)
2018-09-21 14:17:35 +08:00
Liu Zhi Fu
8071dade6e Update wifi lib
Fix AMPDU sequence compitability issue (d8b211c2)
2018-09-17 13:55:53 +08:00
Deng Xin
65089cdd53 Update wifi lib
bugfix of optimize scan capability in all channel scan(7e3a527)
2018-09-14 22:20:47 +08:00