237 Commits

Author SHA1 Message Date
634b283d88 fix(wifi/mesh): do not send NULL data when scan start/done for mesh (6c8c5e6) 2024-06-07 10:13:29 +08:00
ac55d15c8e fix(esp_wifi): Send unicast probe requests if bssid is known during scan(a922ffbab) 2024-06-04 17:04:21 +05:30
3e31174561 update wifi lib (9f44b57):
1. Fixed sniffer dump fcs error fail
2. Fixed the ESP-NOW priv parameter get error
2024-05-31 14:08:14 +08:00
e4d5243ed4 fix(wifi): Fix selecting FTM compensation with external AP (18c20eaa)
Also update FTM Compensation values with calibration
2024-05-29 16:07:46 +05:30
4cbb797214 fix(esp_wifi): Update Wi-Fi libraries (c4cfc8ee)
* Improvements in scan and connect path as per specifications along with
  minor bugfixes
* When AP advertises all PSK modes (WPA, WPA2 and WPA3), make sure that
  station treats it as WPA2_WPA3_PSK mixed mode.
2024-05-23 17:13:22 +05:30
5cebf92b39 fix(wifi): Add bugfix in 'esp_wifi_deauthenticate_internal' and other improvements (90f5791b) 2024-05-20 14:42:36 +05:30
e0ee52e2b6 fix(wifi): fixed some wifi bugs(e0b1e308)
1. fix esp_wifi_set_mode return error issue
2. fix qos encapsulated eapol issue
3. eapol arp and dhcp add flag PP_F_PER_PKT_RATE
4. fix lmac_stop_hw_txq issue
5. fix typo
6. limite number of amsdu  block in eb
7. fix recycle cache sub amsdu eb issue
8. update ba session store and restore rx ba num
9. fix multicast address qos frame by reset rx ba
10. fix lmacStopTransmit issue
11. sync multi antenna gpio register from IDF
12. clear eb to fix tx single AMPDU to some AP not reply BA when ampdu_entry single bit was set
13. fix internal set log level check fail issue
14. update esp_wifi_connect doc
15. update api esp_wifi_sta_get_rssi docs
16. add interupt lock during hardware reload of Rx link
2024-05-20 10:17:15 +08:00
80294cd2b0 fix the tx issue when mesh lifetime equal zero (b1c02e6) 2024-05-13 17:14:42 +08:00
934be5afd6 fix(rsnxe): Expands maximum size of RSNXE IE to 255(834c901a)
- Allows for RSNXE IE to be processed as a variable length upto
255 bytes, changing the earlier max of 20.
2024-04-05 11:35:36 +05:30
1e6059a118 feat(esp_wifi): Refactor and improve FTM code (9125cf7b)
1. Break FTM State Machine code into separate functions
2. Use dynamic allocation for FTM session to save memory
3. Add API to get FTM report instead of event based mechanism
4. Add FTM Request re-try and comeback support
5. Fix issues with duplicate FTM response, stale sessions and
   frequent failures to respond from SoftAP side
6. Update PHY FTM Compensation for all 40MHz cases
2024-04-03 11:23:55 +05:30
36c5c4cb9d feat(wifi): improve coex connect compatibility and fix coexist issue (89537b3c) 2024-03-28 20:47:02 +08:00
3fdca7e317 update wifi lib (7069f85f):
1. fix(wifi/mesh): wait for child disconnect event when mesh deinit
2. fix(wifi): update scan ap number when clear scan ap records
2024-02-22 19:19:46 +08:00
4da242a030 fix(wifi): fix pmk invalid lead same ssid wpa and wpa2 connect fail issue(dbb7b72e) 2024-01-24 16:34:12 +08:00
bf1b0903b5 fix(coex): fix potential ble scan request ifs timer error bug (6428ee28) 2024-01-19 19:40:47 +08:00
ec2f29cad0 update wifi lib (28140477):
1. fix(wifi/mesh): fix the crash issue when mesh deinit
2. fix(wifi):fix when ap recv auth in sa query porcess will memset psq issue
2024-01-18 11:25:46 +08:00
ee6eae1464 fix(wifi): fix wpa3 connect fail issue(80d190de) 2024-01-12 16:33:44 +08:00
afef70fff2 fix(wifi): fix some wifi bugs (89ba5b5f)
1. support dump ACK frame for CSI
2. fix psram enabled but initialized fail issue
2024-01-11 17:47:49 +08:00
c85bf2a39e fix(pm): fix no sleep null after data sent (68a89432) 2024-01-10 13:17:33 +08:00
9bb0eb783b fix(esp_wifi):Fix WDT when esp_supp_dpp_start_listen called multiple times(a3d840a) 2024-01-05 12:00:07 +05:30
e8d4d2f241 esp_wifi:Add the missing header file to the wifi header files(8809d51f) 2024-01-03 10:38:08 +08:00
bbafaf3224 fix(esp_wifi): Fix timer index out of bound issue causing execution of timer function to fail (8a14babe) 2023-12-26 13:58:59 +05:30
df0049279a update wifi lib (6f76f522):
1. feat(wifi): Add new API to get one scan ap record
2. fix(wifi): Fix the crash issue when clear scan ap list
1. fix(wifi/mesh): fix the bug that station can't found AP when the authmode is WPA
2. fix(wifi/mesh): fix wifi mode error when mesh start after station has connected to router
2023-12-11 18:03:04 +08:00
7659c4dad1 fix(wifi): fix endless wake null at ps none mode (a23ccc42) 2023-11-23 14:22:08 +08:00
e162ae0d3d fix(wifi): fix some wifi bugs(5e1e3fef)
1. sta not pmf capable when ap requires should reject profile
2. fix softap set config issue
3. allow some special igtk keyindex to workaround faulty APs
2023-11-22 19:03:45 +08:00
7a2b9863c0 fix some wifi issue(9fdf51f1)
1. optimize BB filter timer to pass some corner case
2. fix parse beacon rsnx ie missed break
2023-11-09 21:49:28 +08:00
72d9c93f7e fix(wifi): fix rate check error in fragment (e6970fb) 2023-11-03 17:58:57 +08:00
04a948d73f fix(wifi): backport some fix(bfa8afc8)
1. optimize bin size when softap & ftm not enabled
2. change fragment threshold to 256
3. support fragment for LR mode
4. fix rx fragment fail in Open mode.
5. Drop fragmented AMPDUs
6. Remove cipher header from eapol packet in case of encryption
7. fix ampdu duration issue
2023-11-03 11:43:54 +08:00
123e2f3a36 feat(wifi): bringup esp32c3 v1.1 wifi(b1393c13)
1.bringup c3 v1.1 and sync func to c3 eco7 rom
2.support to set null&probe lifetime
3.support to adjust listen interval to dtim period
4.support tx pkt w/o wake null
5.allow to tx null0 if requtest to rx data
6.fix issue of esp32 sta disconnecting immediately after scanning when RSSI is zero
2023-10-31 20:34:35 +08:00
fcfd486e34 fix(wifi): backport wifi fix(c67464bb)
1.fix beacon timeout retrigger issue
2.fix observed disconnect when scanning on a particular channel
3.fix return fail if HT40 is not supported
4.fix tx power issue
5.fix ccmp pn beacon large issue
6.static buffer for management, ctrl, qos null, null data
7.fix multi antenna issue
8.workaround nulldata alloc fail issue
9.fix wifi api typo
2023-10-26 17:23:48 +08:00
c25c53f183 fix(esp_wifi): Fixes issues in PMKSA and AID assignment (91701e2b)
- Fix missing PMKSA flush scenarios.

- Fix wrong AID assigned to station when multiple stations try to connect
  simultaneously with mixed order of auth-request and assoc-request frames.
2023-10-20 13:08:44 +05:30
a23258a3fe fix(wifi): Update wifi documentation for wifi and bug fixes (8205b5f)
1) Fix sta connecting with wpa security in enterprise mode
2) Update wifi documentation for scan_threshold, wifi_connect
2023-10-17 14:02:51 +05:30
33a3dd2b54 fix(esp_wifi): Fix authmode in log and connected event for WPA3 enterprise 192 bit (9b6ac650) 2023-10-09 16:31:39 +05:30
36f50458b6 fix(esp_wifi): Skip PMK cache usage if configured password is incorrect (ca97d913) 2023-09-01 18:44:57 +05:30
c8c75f7b7b fix(pm): wifi no mac retention at wifi start (e2d0ad81) 2023-08-24 10:06:39 +08:00
a1f0bc553c fix(wifi): Prevent PMF config overwritten by tx_cb (4bd1143) 2023-08-21 14:19:03 +05:30
d2ea58da41 fix(wifi): fix some bugs in LR and ESP-NOW(8d6bbb0)
1. Fix the RX error when softAP and ESP-NOW both encrypted
2. Fix the LR rate set fail for espnow and 80211 tx
2023-08-18 17:11:28 +08:00
3dddfe1677 fix(esp_wifi) : Trigger null data frame TX before offchan channel switch.(6ba4e8bd)
1. Triggers null data frame TX to before channel switch during
offchannel action frame TX req.
2. revert send wake up and sleep null between scaning
2023-08-17 17:33:47 +05:30
278c9c8eb7 fix(wifi): Fix EAPOL Key TxDone callback implementation (2753591e) 2023-08-16 20:39:50 +05:30
ce57036ddf fix(wifi): Fix error propagation while initiating FTM (51961b3d) 2023-08-16 12:35:09 +05:30
0f43ed5da6 fix(esp_wifi): Fix some OWE issues (6522a76e)
1. Allow flow of traffic after 4 way handshake is completed
2. Fix beacon timeout in transition mode
2023-08-07 11:09:54 +05:30
d83e414db9 esp_wifi: fix ret when setting channel at wifi not started (f8e6b7e) 2023-07-27 19:08:25 +08:00
814f1482ac fix(wifi): fix some wifi bugs 230726 (d9d12334)
1. process association request verify ssid
2. fix ftm timer macro issue
2023-07-26 13:07:03 +08:00
25e4ed43fe fix(wifi): Fix SAE and SAE related NVS issues (8ddc941)
1. Discard commit frame received at confirmed state in SAE STA
2. Bugfix NVS get values for sae pwe
3. Bugfix memory leak caused by assoc retry timer and assoc IE
4. Bugfix store nvs authmode security values
2023-07-24 16:04:11 +05:30
dac4226c4e fix(esp-wifi): Add bugfixes and improvements in FTM (902d7cfa)
1. Bugfixes in Initiator and Responder mode.
2. Update PHY compensation values for esp32S2, S3, C3 and C2.
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 11:05:55 +05:30
907f0a16c0 fix(wifi): fix some wifi bugs(c84beb8)
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. Correct wifi spelling error
4. Fix association refused temporarily comeback time set to zero issue
5. Add new API to get rssi info after station connected to AP
6. vnd ie callback can be set to null
2023-07-20 11:35:49 +08:00
4fb69be514 fix(action_tx) : Add check to ensure memory allocation for action frame.(7c5502de)
Add check to ensure memory allocation in tx buffers for off channel action frame.
Prints error message in case of allocation failure in esp_wifi_action_tx_req().
2023-07-17 10:55:57 +05:30
5033478764 fix(scan & roam) : Fix collection of issues in sta roam and scan(d7f39ed1).
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-04 11:57:23 +05:30
9a2cbdc710 not link softap related funcs when softap disabled for c2(15fc0ca1) 2023-06-28 21:23:08 +08:00
1aa30ac2b9 esp_wifi: fix some wifi bugs(1cf28065)
1. mesh: layer2 node will scan all channels when root leave in fixed root network
2. show warning infomation when setting softAP's max connection number
3. update pairwise cipher in softAP
4. overwrite pairwise cipher when softAP auth mode is WPA2 WPA2_WPA3 WAP3
5. fix sta receive csa issue
2023-06-13 11:50:40 +08:00
7792e2ba52 esp_wifi: fix some wifi bugs(629c826e)
1.pm: mesh sleep support phy ref
2.pm: send wake null after scan if txq isn't idle
3.fix esp32 wifi schm interrupted by ble act
4.fix the bug that ble scan start impacts wifi in some coex scenarios
5.fix softAP qos null issue
6.fix the tx data error when change phymode from LR to 11N
7.fix the heap corrupt issue in MTXON task
8.add new api for supplicant to get softAP's max connection
9.owe: reject pmf incapable ciphers for owe connections
10.fix nvs store softap pmk not match ssid&password
11.install keys after successful transmission of eapol 4/4 message
12.add apis to get assoc id and negotiated phymode
13.softAP pmf: handle SA Query bug in AP-STA concurrent mode when both connections are pmf enabled
14.softAP pmf: merge softAP and station SA Query handlers
15.add wpa_sta_connected callback
16.softAP: validate softAP interface when sending beacon
17.ftm: send ftm frames immediately
18.fix ftm procedure with peer failed status 4 issue
19.fix set inactive time crash issue
2023-06-12 15:25:43 +08:00