Commit Graph

118 Commits

Author SHA1 Message Date
muhaidong
49700f27a0 esp_wifi: fix some wifi bugs(764a07b3)
1. verify if country start channel is valid
2. fix missing disconnected callback and update some log prints
2023-06-14 20:39:40 +08:00
muhaidong
364505af6b esp_wifi: fix some wifi bugs(ba5e80e3)
1. send null data when state change from association to run
2. fix sta auth failed but softAP shows it connected issue
3. mesh: layer2 node will scan all channels when root leave in fixed root network
2023-06-05 20:43:23 +08:00
chenjianxing
b0bb942dce fix softap nvs store <ssid,password,pmk> not matching issue(b7832c2) 2023-05-18 15:38:30 +08:00
liuning
bdf1e23c06 power save: fix failed to sleep after scan, coex: fix wifi connecting interrupted by ble (cfd9d9fd) 2023-04-14 18:52:19 +08:00
zhangyanjiao
40cc0a3bc7 update wifi lib (6ac78648):
1. mesh: fix the heap corrupt issue in MTXON task
2. mesh: Update discard context condition and process disconnect condition
3. mesh: Set idle type should change mesh type to idle
4. mesh: Fix the bug that esp_mesh_is_root() return error when set root type
5. mesh: Fix the bug that user can't set inactive time on mesh root
2023-04-10 17:19:03 +08:00
Sarvesh Bodakhe
f4c1c87e69 esp_wifi: SA query related improvements for STA (fe22bd42)
1. reject AP if assoc comeback time given is greater than 5 seconds
2023-01-11 14:38:02 +05:30
Shyamal Khachane
7e0183b653 esp_wifi: Prevent open auth incase of sae failure (cd84465d) 2023-01-09 10:21:43 +05:30
muhaidong
a7fd728686 esp_wifi: fix softap beacon memory leak issue(aed925fe)
1. fix softap beacon memory leak issue.
2. fix esp wifi sta get ap info does not return connected ssid issue.
3. update inactive timer when recv ps-poll or success send data.
2022-12-27 19:32:17 +08:00
gauri patankar
ed1be72239 esp_wifi: Fix open SA Query issue (0b487ac0) 2022-11-30 17:38:29 +05:30
gauri patankar
69dc77e682 esp_wifi: Avoid security params overwrite v4.2(0078499b) 2022-11-28 11:12:22 +05:30
muhaidong
296b7f07f1 esp_wifi: fix some softap issue(353883f2)
1. add lldesc_config and clr PWR MGT flag
2. send null data instead of qos null data when receive ps-poll while power save queue is empty
3. update power save queue hw len
4. set more data bit
5. only send null data when psq hw len is 0 after recv ps-poll
2022-11-24 11:17:30 +08:00
jgujarathi
d1b2932e2b esp_wifi: Clear old keys before going for new connection(65000d32) 2022-11-02 14:25:45 +05:30
jgujarathi
32ef7ff021 esp-wifi: Restores station status to connected when no other AP is found for roam(edfe6814) 2022-10-27 10:55:42 +05:30
zhangyanjiao
9aed74180c build wifi lib with -Os optimization (a6dd07a9) 2022-10-24 15:21:52 +08:00
muhaidong
e4b797d710 esp_wifi: fix some wifi bugs(392fb322)
1. fix sta reset beacon timeout timer issue
2. fix pairwise cipher tkip pmf compability issue
3. fix country policy issue
4. fix deinit return wrong status issue
5. fix get wrong channel value use esp_wifi_get_config
6. fix bug of missing unlock when wifi stop
7. fix error of esp_wifi_start_scan in api esp_wifi_connect
8. fix fail to scan after recv disassoc/deauth for esp32s2
2022-10-21 14:32:08 +08:00
zhangyanjiao
92930748f5 Update wifi lib (22be4d06):
1. Refactor WiFi ioctl function
2. Fix connect fail when enable SPIRAM and ESPNOW send
2022-10-19 10:19:04 +08:00
muhaidong
f53cef0ee1 esp_wifi: fix some wifi bugs(6e118ed8)
1. fix not update phy according to country code.
2. sync peripheral device reg base.
3. fix for default ap ssid not set.
4. do not recv unencrypted unicaset ESPNOW packets when local encrypted.
2022-08-05 13:26:43 +08:00
Kapil Gupta
e4d5af0c67 esp_wifi: backported some wifi fixes (19472381)
1. G1 rx drop from key install code refactoring
2. Remove group cipher check for PMF connection
2022-08-04 12:16:53 +05:30
Nachiket Kukade
2c41e8021e esp_wifi: Combined bugfixes for SoftAP and PMF (c95ef83c)
1. Improved error handling in SoftAP Rx path, fixed LoRa IE length
2. Handle low memory scenario, re-enabling PMF Capable flag in STA PMF
2022-08-03 18:15:18 +05:30
xueyunfei
5583442426 bugfix for backport wifi bugs to 4.2(af20948c)
- Bugfix for close sniffer mode when wifi stop

  - Bugfix for qos null update ba ssn

  - Bugfix for wrong configuration of static txbuf

  - Fix deep sleep can't reconnect to ap when pmf enable.

  - Fix some ap will ignore auth when rx deauth for a while.

  - update wifi header file
2022-08-03 10:39:09 +08:00
shenjun
90fa34580f esp_wifi_mesh: add non mesh connections access(10e2984d) 2022-06-30 21:15:10 +08:00
Nachiket Kukade
3712c028c0 esp_wifi: Ignore pmf_capable flag in wifi config (e2a0df7e)
1. Disable pmf_capable flag so that station always connects
   in PMF mode if possible
2. Additionally add another API to disable PMF for debug or
   testing purposes.
2022-04-12 18:37:35 +05:30
Nachiket Kukade
d5bf5a6da7 esp_wifi: Fix assoc comeback causing invalid state (7789b2b3) 2022-02-15 18:07:52 +05:30
ninh
91a6115333 refactor phy access (backport v4.2) (5f92db90) 2022-02-15 11:47:55 +08:00
zhangyanjiao
a59d0ed9d8 update wifi and phy lib (48552c3)
1. fix the issue that no tbtt is generated in station+softap mode when maximum modem sleep is enabled
1. do not need to update multi-antenna configure when waking up
2. update libphy.a to V4670 719f9f6_20210218 for esp32(234056fe)
3. update libphy.a to V1500 20210225_0a54a2f for esp32s2(234056fe)
2022-01-17 17:49:39 +08:00
zhangyanjiao
3ed5a29e93 update wifi lib (74a4214):
1. Remove dependency of sha256 akm with pmf
2. Compute packet length use lldesc length instead of rx_ctl sig_len in sniffer mode
2022-01-14 14:54:43 +08:00
shenjun
e1319cd038 esp_wifi_mesh: fix the issue that layer2 node connect to lower-layer node when FIXED-ROOT root disappeared(218c68e1) 2021-12-23 11:16:25 +08:00
muhaidong
402432bf02 esp_wifi: fix fragment issue and PMF compatible for faulty APs(fcafbf04)
1. fix(pp): fix fragment plt loss when 2td pn compare with 1th pn
2. pmf allow keyindex in big endian format to workaround faulty APs
3. docs: update miswritten and abbreviated words and syntax errors for initialize WiFi section in esp_wifi.h header file
4. allow for minimal scope of wifi_init_config_t
2021-12-14 19:26:29 +08:00
zhangyanjiao
ebad769a24 Update wifi lib (974593d5):
1. Fix airkiss and esptouch find channel crash issue
2. Fix RF singal test without 9M rate issue
3. Fix issue of setting invalid size to nvs misc log even after erasing it
4. Add beacon timeout event
5. Fix WEP connection and crash issue
2021-12-03 17:53:14 +08:00
Nachiket Kukade
00c9656fc1 esp_wifi: Stop dropping bcast PMF deauths with certain rc (a4dd07a9) 2021-08-19 15:47:36 +05:30
shenjun
fbcdc77c26 mesh/ps: esp_mesh_send is blocked in nodes(layer>=3), when a FIXED-ROOT root is duty master(df5b09d4) 2021-06-28 14:16:16 +08:00
ChenJianxing
b08af26578 fix amsdu and fragment vulnerabilities(dfd2b8c0) 2021-06-22 20:36:59 +08:00
aditi_lonkar
188461a182 esp_wifi: Fix SoftAP crash by adding NULL check for handling public action frames.(bb6888c)
Closes https://github.com/espressif/esp-idf/issues/7109
2021-06-10 18:46:51 +05:30
chenjianxing
fbe9de0d02 fix pmf enable BA issue(7f8ed590) 2021-06-08 15:59:21 +08:00
shenjun
f605bcd958 esp_wifi_mesh: add esp_mesh_send_block_time(7375130f)
1. Ignore dirtyBuf check when buffer size is larger than 4092
2. Add esp_mesh_send_block_time to set blocking time of esp_mesh_send
2021-05-26 17:45:10 +08:00
xiehang
1ba766f805 esp_wifi: Fix setting channel error after WiFi stop (265d05fa) 2021-05-06 11:40:07 +08:00
baohongde
1c4c5396ca Synchronize multiple branch of bt-lib(c44a5e7) 2021-03-25 16:03:24 +08:00
xiehang
840c1db8d3 esp_wifi: Fix some WiFi bugs (8c854052)
1. Unlock mutex for esp_wifi_80211_tx when out of memory.
    2. Fix issue that esp_wifi_80211_tx can't be used in ap mode.
    3. Clear hotspot bss when auth timeout happens.
    4. Fix PMK not saved in NVS for SoftAP for PSK mode.
    5. Fix the bug for esptouch find hidden AP fail.
    6. Fix not connect to open AP when WPA3 auth fail.
    7.fix issue with hidden AP scans after connecting AP.
    8.fix the watchdog issue when receiving action frame.
    9. fix the issue that the parameters obtained form RAM cannot be saved to NVS.
    10. modify not to store the default value in NVS.
    11. delete interface STATIONAP_IF.
    12. modify the _do_wifi_start and _do_wifi_stop parameters to mode.
    13. Fixed issue of reason code change from 15 to 204 when provide wrong password.
    14. Fix set config return value error.
    15. Fix ampdu age timer memory leak.
2021-03-23 20:58:01 +08:00
shenjun
5ebf229b99 mesh/ps: network duty signaling(db8074b3) 2021-03-23 14:55:46 +08:00
xiehang
dfe4c8ec6c esp_wifi: Update WiFi lib (3c8d1dd2)
1. Change wifi scan duration from 120ms to 100ms
2. Using deport reg instead of ahb
3. Revert to report specific reason code when receiving deauth during 4-way-handshark
4. Fix the bug that tx ampdu parameter is not from peer device
5. Faster WiFi station connect improvement, avoid 100ms passive scan
6. Add FCS failed packets filter
7. Fix country code last byte to space instead of NULL
8. Fix softap cannot forward A-MSDU
9. Fix max tx power to 20dBm
10. Fix the issue that the esp_wifi_sta_get_ap_info can't get country
11. Update esp32 phy lib to v4660
12. Update esp32s2 phy lib to v1300
13. Fix the bug that esp32s2 can't get CSI info
2021-03-19 10:56:46 +08:00
ChenJianxing
e2516f2894 fix csa and bar crash(464e5d6e) 2021-03-02 11:48:53 +08:00
zhangyanjiao
8036073423 update wifi lib (25f230ed):
1. Update some APIs descriptions
2. Handle WPA3 disabled cases cleanly
2020-12-22 16:02:14 +08:00
xiehang
72d8c863a5 esp_wifi: Update WiFi lib (ec32b7f2)
1. Fixes the issue when PMF packets are not sent after mode change.
2. Add support for 802.1x sha256 auth key mode.
2020-12-14 14:49:21 +08:00
Xia Xiaotian
a3d7b94fa2 call coexist api by osi to seperate wifi with coexist(96e9196e) 2020-12-09 20:38:21 +08:00
Xia Xiaotian
8075af81e8 set softap dtim count according to tsf timer(1865b557)
also fix tx beacon sequency error
2020-11-09 19:32:33 +08:00
shenjun
c991cf06c5 esp_wifi_mesh: update wifi mesh libs(4674457)
1. Fix FIX-ROOT does not reconnect to router when disconnect reason is too many
2. Add API esp_mesh_print_scan_result
3. Modify not to reset mesh_xonseq of self and children when flush_upstream_packets
4. Fix not switch to a parent candidate which has the same layer and assoc as current parent
5. Fix not arm parent monitor when a parent candidate is cleared without sending an event to mesh layer
6. Fix the new voted root does not reconnect to router if rssi is weak
2020-10-28 14:59:05 +08:00
xiehang
fe41bc32b1 esp_wifi: Update WiFi toolchain to 1.22.0-97-gc752ad5 (0952d96d) 2020-10-27 14:39:47 +08:00
zhangyanjiao
1233772451 esp_wifi: Update wifi lib (8e98c5ed)
1. Add STA checks during STA PMF operations
2. Fix WPA2-Ent issue with Open AP
3. Skip WPA-TKIP profile if PMF is required
4. Skip & clear Supplicant PMK Cache with mismatching AP config
2020-10-26 15:53:38 +08:00
zhangyanjiao
7dbc5d0e0a update wifi lib (220faec3):
don't disconnect AP when AP's timestamp decrease abnormally
2020-10-22 15:10:26 +08:00
baohongde
9d92222619 Some bugfix about ble dynamic prio(f8b2044)
Rewrite ble dynamic prio to fix ble disconn in conn_param_update/channel_map_update
2020-09-29 14:11:58 +08:00