Commit Graph

105 Commits

Author SHA1 Message Date
Xia Xiaotian
0b3ca5bf7b update wifi lib
1. set interval before start to trigger tbtt update(08aeabc7)
2019-08-30 16:26:16 +08:00
Xia Xiaotian
548e4d7222 Disable RX when reset MAC(3e1102c5) 2019-08-06 10:35:34 +08:00
Xia Xiaotian
e9d3d8dddd update wifi lib
1. update WiFi start flow to prevent receiving incorrect frames(db07b3fe)
2019-07-30 10:43:13 +08:00
Xia Xiaotian
d9b37e7364 update wifi lib
1. update WiFi clock EN register address(d78685f9)
2019-07-04 20:22:21 +08:00
Xia Xiaotian
f3442ab1f8 update wifi lib
1. run wifi on esp32s2beta(94de66a0)
2019-06-19 16:28:12 +08:00
liu zhifu
b8b96f985a update wifi lib
Increase WiFi dynamic rx buffer limit to support TCP window scale(2920c1e4)
2019-06-03 14:43:45 +08:00
liu zhifu
eb27c814d5 update wifi lib
Fix WiFi WPA2 Enterprise vulnerability issues (17f94ee6)
2019-05-30 21:15:02 +08:00
zhangyanjiao
691e0a0cf6 Update wifi lib:
fix multi-ssid bugs(e11ccc4d):
1. no disconnect event when STA recv disassoc after sending auth
2. full channel scan send multi events when recv deauth/disassoc
2019-05-24 11:19:32 +08:00
liu zhifu
da2bdc15f4 update wifi lib
Fix following WiFi bugs(526bc161):
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-05-22 22:17:02 +08:00
xiehang
ef74d99a37 fix softap crash when sta reset(a13dcc4d) 2019-05-20 19:39:46 +08:00
XiaXiaotian
ebeade52df update wifi lib
1. Fix the bug that wps fails when AP is encrypted(7c009664)
2019-04-24 13:54:35 +08:00
zhangyanjiao
b3bfff2e5b Update wifi lib:
fix the bug when scan fail after STA failed to connect to a nonexistent AP (baba6ddb)
2019-04-22 11:56:04 +08:00
liu zhifu
fbe87f4076 update wifi lib
Fix a bug caused by signal test code (7240fb7a)
2019-04-17 16:30:42 +08:00
zhangyanjiao
11db84cd08 Update wifi lib:
fix the bug when set bssid_set multi times, the sta bssid_set info can't be updated(aaf512c1)
2019-04-16 10:53:53 +08:00
liu zhifu
92deab59bb update wifi lib
Add support for WiFi signal test (bd3614ae)
2019-04-15 10:13:23 +08:00
XiaXiaotian
94cd2cab32 update wifi lib
1. refactor softap power save(4212fe1d)
2019-04-11 20:14:20 +08:00
liu zhifu
7eacd566af update wifi lib
Increase WiFi blocking scan internal timeout value(e5a45239)
2019-04-08 19:56:09 +08:00
XiaXiaotian
fb82be366c update wifi lib
1. Fix the bug that no TBTT is generated after receiving wrong beacon
when WiFi and BT coexist(bff0800a)
2019-04-08 10:34:11 +08:00
Liu Zhi Fu
8b035615a1 update wifi lib
Fix following STA WFA certification issues(9b1a13b3):
1. STA HT2040 coexist
2. Disallow WEP/TKIP with HT rates
3. WPA2 security improvement
4. Minor refactor for global variable auth_type
2019-04-01 21:37:52 +08:00
zhangyanjiao
064ebf1b04 Update wifi lib:
increase the block scan time because of changing channel will take at 30nm when BT/WiFi coexist(e373457c)
2019-03-29 20:47:15 +08:00
zhangyanjiao
71874e6f6a Update wifi lib:
1. modify wifi reason code
2. fix the sta set config bug (8b94b0ed)
2019-03-26 11:10:02 +08:00
chenyudong
6baa4ff39c Update wifi lib
Decouple mesh and wifi to reduce bin size (8784f680)
2019-03-19 22:10:24 +08:00
chenyudong
b272ad1e33 mesh: Update wifi libs
fix bug in group send (9c8361ce)
fix memory leak with invalid option
2019-03-18 14:38:34 +08:00
zhangyanjiao
c30a45ea61 Update wifi lib:
fix the bug that when call set_config before connecting, PMK will be recalculated (1f585c4c)
2019-03-15 16:24:04 +08:00
Liu Zhi Fu
e3115e5cd9 update wifi lib
When WiFi enter into a special status (11b weak mode), then reset
Wifi baseband to recover to normal mode (b9822445)
2019-03-13 11:08:29 +08:00
XiaXiaotian
61530b0bdd update wifi lib
1. decouple WiFi code with coexist to reduce bin size(53ea8b1f)
2019-03-04 15:37:20 +08:00
Liu Zhi Fu
8ab53aee3d update wifi lib
Fix following WiFi bugs(b6fb59b4)
1. Fix DelBA bug
2. Add out of memory check
3. Fix the bug that STA incorrectly receives packets when scanning in connected status
2019-03-01 11:18:16 +08:00
zhangyanjiao
aa6fe8cd2e Update wifi lib
1. wifi: make menuconfig can set the WiFi mgmt short buffer num (955b7af0)
    2. fix several scan bugs
2019-02-27 18:18:54 +08:00
Liu Zhi Fu
2d49766723 update wifi lib
Make WiFi iram optimization configurable (79ff2e56)
2019-02-26 19:49:38 +08:00
Liu Zhi Fu
0c5f3d4586 update wifi lib
Fix some wifi bugs (3623e590):
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:31:11 +08:00
qiyuexia
fa2100a807 mesh: modify to malloc routing table (939cd60c) 2019-01-31 14:03:11 +08:00
Liu Zhi Fu
3e8e450c76 update wifi lib
Fix WPS thread-safe (6b5b6965)
2019-01-29 17:27:16 +08:00
qiyueixa
74ae61b247 mesh: udpate libs (d750748)
1. during parent selection, when scanning a MAP without ext-assoc IE, it will be handled as it has the same router BSSID as itself.
2. for MAP, when its client leaves, always post SYSTEM_EVENT_AP_STADISCONNECTED to mesh layer regardless of whether the client has passed the encrypted authentication or not.
2019-01-24 14:51:13 +08:00
XiaXiaotian
15e5970465 update wifi lib
1. fix invalid csi data index(38e24841)
2019-01-22 20:09:38 +08:00
qiyueixa
630ff8281b mesh: update libs (3b1b8b0)
1. detect and fix root conflicts when router BSSID is not set.
2. 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.
3. wifi: fix the disconnection caused by receiving a deauth frame from non-parent node during scanning.
4. fix routing table redundant issue.
5. modify the max routes limitation from 300 to 1000.
6. wifi: fix ap does not deauth sta which has not completed the 4-way handshake.
2019-01-15 14:22:38 +08:00
Liu Zhi Fu
4123071ff5 update wifi lib
1. fix the incorrect tx complete state issue(44ce2e2d)
2019-01-12 01:51:03 +08:00
Liu Zhi Fu
63d4b62799 update wifi lib
Fix wrongly deleting hardware BA index bug (bdbcfd65)
2019-01-11 16:29:35 +08:00
XiaXiaotian
52954605fe update wifi lib
1. Defragmentation only for data frame(8d14c33c)
2019-01-07 20:34:35 +08:00
zhangyanjiao
444e7d878a update wifi lib
fix the bug that STA can scan the channel out of the country regdomain range (6b443423)
2019-01-03 17:52:03 +08:00
XiaXiaotian
01d7f5941c update wifi lib
1. unforce wifi if receiving beacon with no data buffered in dream
state(f2304933)
2018-12-28 17:08:47 +08:00
qiyueixa
9e729f3065 mesh: update libs (010fa56)
1. when no parent is found, send probe request via broadcast.
2. fix memory leak caused by the remove announcement being sent is not released when esp_mesh_stop() is called.
3. fix modify IE encrypt after mesh is started.
4. ignore esp_mesh_connect() if mesh automatic reconnection is enabled.
5. fix reason is cleared before vote is done.
2018-12-26 16:03:28 +08:00
qiyueixa
a709618051 mesh: update libs(38990be)
1. fix STAs can not detect disconnection from AP when encrypt transmission is used.
2. fix can not find hidden APs.
3. for root, modify the active scan time to 120ms.
4. remove all rc when clear parent Wi-Fi configuration.
5. fix error in checking Wi-Fi commit ID.
2018-12-20 12:08:06 +08:00
qiyueixa
a44e39fc0d wifi: fix wifi rx fails (caa46f6)
1. add MAC reset.
2. update libphy.a from 4000 to 4006.
2018-12-18 23:35:17 +08:00
Liu Zhi Fu
2282e7a684 update wifi lib
Fix the bug caused by wifi stop in WiFi/BT coexist mode (15d2f364)
2018-12-17 20:32:03 +08:00
zhangyanjiao
e33ab451f5 Update wifi lib
modify wifi log for scan and connect(f13940c)
2018-11-29 20:39:39 +08:00
qiyueixa
b16383705d mesh: add network channel switch function (12de5f4)
1. support csa function
   - users can obtain the new channel through the event MESH_EVENT_CHANNEL_SWITCH.
   - the entire network will be moved to the same channel as the router without user intervention.
   - if no router is in the network, users can call esp_mesh_switch_channel() on the root side to move the entire network to their desired channel.
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.
   - if the channel is not specified, this value will be ignored.
   - if the channel is specified and this value is set, when "fail" (mesh_attempts_t) times of parent selection or look for networks are reached,
     device will change to perform a full channel scan for networks that could join.
   - if the channel is specified and this value is set to 0, when a root is not elected, channel switch is not allowed. but when a root appears,
     the root performs a full channel scan during the process of connecting to the router, so even allow_channel_switch is set to 0, the root may
     still switch channel and eventually the entire network changes channel.
5. add allow_router_switch to mesh router configuration.
   - if the BSSID of router is not specified, this value will be ignored.
   - if the BSSID of router is specified and this value is set, when the router of this specified BSSID fails to be found after "fail"
     (mesh_attempts_t) times, the entire network is allowed to switch to another router with the same SSID.
6. modify the root to perform a full channel scan when esp_wifi_connect().
7. support handling beacon without IE of DS Parameter Set.
2018-11-27 23:33:12 +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
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