126 Commits

Author SHA1 Message Date
fe79c61130 fix(wifi): fix sta receive other ap csa issue(db890623) 2023-07-25 11:20:48 +08:00
e85140ddb7 fix(wifi): Fix SAE and SAE related NVS issues (9bd7c71)
1. Discard commit frame received at confirmed state in SAE STA
2. Add nvs values for new config params
3. Bugfix NVS get values for sae pwe
4. Bugfix memory leak caused by assoc retry timer and assoc IE
2023-07-22 20:42:21 +05:30
379d5d23ce fix(esp-wifi): Add bugfixes and improvements in FTM (6cb03a8e)
1. Bugfixes in Initiator and Responder mode.
2. Update PHY compensation values for ESP32S2, S3 and C3.
3. Fix wrong first value of PHY compensation.
4. Fix bug when number of FTM measurement frames received is more
   than (number_of_brusts * FTMs per brust).
2023-07-21 10:32:50 +05:30
5827e68127 fix(scan & roam): Fix collection of issues in sta roam and scan.(9aa46045)
1) Fix issue during split scan to allow for data tx.
2) Fix issue when parsing wpa_ie to set correct authmode when AP
supports both WPA_EAP and WPA_EAP_SHA256 authmode.
Closes https://github.com/espressif/esp-idf/issues/11202
3) Fix an occasional crash during sta roam.
4) Add home_channel_dwell_time to wifi_scan_config_t. This allows
configuration of the time spent between scanning consecutive
channels for tx.
5) Adds a obss scan timer disarm when a sta disconnects from an AP
2023-07-19 17:04:31 +05:30
f19cccdb30 fix(wifi): fix some wifi bugs(8b22c01)
1. Remove waiting RX/TXING during hw mac deinit
2. Fix the mac bug that hardware parse beacon of ie length equal to zero
3. Fix softap qos null issue
4. Correct wifi spelling error
5. Add check for memory allocation in tx buffers
6. Fix association refused temporarily comeback time set to zero issue
7. Add new API to get rssi info after station connected to AP
8. check the second channel info when bandwidth is ht40
9. vnd ie callback can be set to null
2023-07-19 12:40:38 +08:00
b98ee49967 fix(wifi): fix some wifi bugs(ac543b9c)
1. fix set inactive time crash issue
2. update pairwise cipher in softAP
3. overwrite pairwise cipher when softap auth mode is wpa2 wpa2_wpa3 wpa3
4. fix single tail queue conjunct issue
5. fix some txop issues
6. process association request verify ssid
2023-07-17 20:40:34 +08:00
dcdf3129f9 fix softap nvs store <ssid,password,pmk> not matching issue(e0f54b1f) 2023-07-12 20:21:57 +08:00
5649c14e11 wifi_mesh (3b2940e): layer2 node will scan all channels when fixed root leave 2023-07-07 10:01:03 +08:00
26b2a6da3b esp_wifi: Install keys after eapol and NVS store security values(d9f99fb1)
1. Bugfix store authmode security in NVS
2. Install keys after successful transmission of EAPOL 4/4 Message
2023-06-18 01:16:33 +05:30
497adcd449 update wifi lib (0dc02047)
1. Add wpa_sta_connected callback
2. Validate softAP interface when sending beacon frame
2023-04-18 17:52:05 +05:30
8ca9406419 power save: allow connectionless ps with mesh, fix failed to sleep after scan; coex: fix esp32 wifi interrupted by ble act (7fbb3c0b) 2023-04-14 14:22:16 +08:00
316f3bee42 update wifi lib (a85daf30):
1. mesh: fix the heap corrupt issue in MTXON task
2. fix the tx data error when change phymode form LR to 11N
3. mesh: Update discard context condition and process disconnect condition
2. mesh: Set idle type should change mesh type to idle
3. mesh: Fix the bug that esp_mesh_is_root() return error when set root type
4. mesh: Fix the bug that user can't set inactive time on mesh root
2023-04-10 16:47:40 +08:00
b338f58184 Improve station SA query procedure handling and other bugfixes (95de2cbb)
1. Disable SA query timers when station disconnect and other SA query related improvements
2. Send appropriate reason code in 4 way handshake failure
3. Send deauth while going from assoc to init, if reason is assoc timeout
2023-03-31 17:45:04 +05:30
d4cd346acb fix some tx desc field miss for fragment pkts(2daab31d) 2023-03-29 11:00:44 +08:00
59939d7fa2 esp_wifi: fix sta auth failed but softap shows it connected issue(9ec65ef7) 2023-02-26 16:32:27 +08:00
8959ff0557 esp_wifi: Fix call to missing disconnected callback (6f18b0e6) 2023-02-24 18:35:22 +05:30
5f50276b3d esp_wifi: fix some wifi bugs(8b614e20)
1. fix ftm timer macro issue
2. send null data when state change from association to run
3. bugfix for optimize abnormal beacon log
4. bugfix RSNXE related changes
5. send ftm frames immediately
6. fix ftm procedure with peer failed status 4 issue
2023-02-09 14:50:36 +08:00
90d646774f esp_wifi:Add wifi station config for enabling transition_disbale feature (bea22f32) 2023-01-13 11:54:43 +05:30
c5c29fcdaa fix multicast issue for some AP when DTIM period > 1 (168dbeb1) 2023-01-11 10:59:38 +08:00
22878be3b2 esp_wifi: Prevent open auth incase of sae failure (27830084) 2023-01-09 09:58:24 +05:30
4357a7bf06 esp_wifi: SA query related improvements for STA (aa6486c0)
1. reject AP if assoc comeback time given is greater than 5 seconds
2022-12-29 15:38:04 +05:30
82a98b69b3 esp_wifi: Fix handling of Assoc Resp status codes (8d69f353) 2022-12-23 16:10:27 +05:30
d97259c9ee esp_wifi: Fix for ftm issues v4.3 (27589dbd)
1. Avoid ftm initiator mode on softap
2. Fix home channel issue in ftm for apsta mode
3. Fix int overflow for T1-T4 counter variables
2022-12-22 15:44:07 +05:30
7f6aa72b18 esp_wifi: Forward assoc req frame to supplicant (91ab7610) 2022-12-16 13:22:54 +05:30
ec3f7f8522 esp_wifi: report rssi in disconnected_evt, fix coexist and disconnected power save issue (c86519b0) 2022-12-15 10:13:47 +08:00
f949345782 Revert "save bss retry config to nvs changes" (4dd36d06) 2022-12-13 16:18:26 +05:30
fc637b2fc8 update wifi lib(f1a4d273) 2022-12-07 11:21:24 +05:30
5596acc7bc esp_wifi: Adding check for ies in match security v4.3 (cd7a2e19) 2022-11-30 11:56:11 +05:30
d8df835ec4 esp_wifi: Avoid security params overwrite v4.3(90382da1) 2022-11-28 12:48:25 +05:30
d46eac3c33 update wifi lib (d23a27fd):
1. Modify wifi scan return value same to docs
2. Change some logs' log level wo avoid misunderstanding
3. Update doc for set channel
4. Update wifi reason code
5. Fix connect fail return wrong error code issue
6. Fix WIFI_EVENT_AP_STADISCONNECTED event error
2022-11-23 19:03:39 +08:00
ceebed2aae esp_wifi:Set AP rsnxe while connecting to a AP(37fe4c42) 2022-11-02 15:23:04 +05:30
09665a3497 esp_wifi: Fix scan causing bss overwrite in connect process (fb29ac1c) 2022-11-01 09:42:54 +05:30
39aae18060 esp-wifi: Restores station status to connected when no other AP is found for roam(230e2499) 2022-10-26 18:47:43 +05:30
da6032fee5 esp_wifi: fix some wifi bugs(d519e5f5)
1. fix deinit return wrong status issue
2. fix get wrong channel value use esp_wifi_get_config
3. fix bug of missing unlock when wifi stop
4. fix error of esp_wifi_start_scan in api esp_wifi_connect
5. beacon loss feature support for all chips
6. optimize phy calibration for C3
2022-10-21 21:42:10 +08:00
c4cc374509 esp_wifi: fix ignore rx sub ampdu interrupt issue(900f45f7) 2022-10-14 16:06:54 +08:00
a204f93d44 fix connect fail when enable SPIRAM and espnow send (00db4360) 2022-10-13 17:03:45 +08:00
8f180e3554 esp_wifi: fix country policy issue(c814112b)
1. update regdomain max channel according to country info from nvs and/or AP.
2. channel 14 is allowed only in 11b mode.
3. remove csa when switch channel from/to 14 channel.
4. update phy mode nvs when softap channel from 14 to other.
5. fix the bug that check whether channel parameter is valid.
6. add regdomain max channel of ap.
7. update total scan time.
8. update min chan when country policy is auto.
9. check whether country schan and nchan is valid.
10. fix pairwise cipher tkip pmf compability issue.
11. fix disconnect when set country.
12. fix set country code before wifi start issue.
13. check the third octect of country code string.
14. can active scan channel 12 13 14 when country policy is manual.
15. add clear ap list interface
2022-09-15 20:45:25 +08:00
3417df5582 esp_wifi: fix not update phy according to country code(4ad6fcc3)
1. Fixed not update phy according to country code.
2. Fixed crashed when esp_wifi_set_ant_gpio() called
3. Fixed a bug when ftm used with ps enabled
4. Fixed a potential issue to allocate PSRAM to wifi stack where internal RAM is required
5. Fixed potential fail to scan AP after receiving disassoc/deauth from AP on esp32s2
2022-08-21 15:57:28 +08:00
603c80b581 esp_wifi: WPA3 SAE H2E support for station (d3b3856c)
Mandate sta threshold wpa3 for ssid after receiving transition disable
bit from AP
2022-08-18 16:21:23 +05:30
3bf3a0974d esp_wifi: Combined bugfixes for SoftAP and PMF (463c3533)
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
3. Release wifi lock in offchannel operation
2022-08-17 15:40:12 +05:30
b4e5f2542a Update lpclk(799075a)
Power Management: add interface for update tsf tick interval
2022-08-11 20:20:59 +08:00
cceecb2795 update wifi lib (d25ee346):
1. Clear old keys before going for new connection
2. Fix deep sleep can't reconnect to ap when pmf enable
3. Fix some ap will ignore auth when rx deauth for some time
4. Support force ht40 for espnow & 80211_tx
5. WAPI: Key mgmt type compability issue
6. Update wifi header file
7. Fix espnow recv unencrypted packets issue
2022-08-05 16:13:51 +08:00
5d357ab696 esp_wifi: Fix for default ssid not set(55a1a9e) 2022-08-04 16:22:59 +05:30
55c03ac6b1 esp_wifi: fix the bug that check whether bssid is zero mac(ef801b40) 2022-07-28 21:52:51 +08:00
c9f08e68e3 esp_wifi: backport some wifi fix(8101c423)
1 Bugfix for wrong config of static txbuf

   2 fix bug that qos data will update BA SSN

   3 reset beacon timeout timer

   4 Bugfix for close sniffer mode when wifi stop

   5 update wifi header files
2022-07-21 11:19:33 +08:00
ef6c4a7cb1 esp_wifi: refactor key install code(8a1ca24b) 2022-06-21 11:21:35 +08:00
1ef842d0ef esp_wifi: Remove group cipher check for PMF connection (16034842) 2022-05-27 13:57:31 +05:30
8dd36076d3 esp_wifi: fix no null data after waking up. (backport v4.3) (13aeae31) 2022-05-17 23:29:55 +08:00
b0069fb607 esp_wifi: correctly identify AP's with mixed key mgmt in scan (41824c05)
Additionally add API to disable PMF configuration
2022-04-21 14:36:33 +05:30
4c9f657748 esp_wifi: combined bugfixes related to FTM and PMF (89954577)
1. Ignore PMF capable flag in user config
2. Miscellaneous FTM bugfixes of corner cases
3. Fix FTM failures after repeated operations
2022-03-10 17:08:49 +05:30