292 Commits

Author SHA1 Message Date
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
3f0144cd0f esp_wifi: fix some txop issues(3980ea56) 2023-06-09 23:22:59 +08:00
cbb85ca9e8 esp_wifi: fix sta auth failed but softap shows it connected issue(9a4b97e7) 2023-05-12 14:41:33 +08:00
3078398bbd esp_wifi: fix potential issue when tx fragment pkt(9aad3995) 2023-04-03 17:48:53 +08:00
8f3aeb20d1 esp_wifi: Improve station SA query procedure handling and other bugfixes (57982fec)
1. Disable SA query timers when station disconnect and other SA query related improvements
2. Send appropriate reason code in 4 way handshake failure
2023-03-24 11:42:40 +05:30
7ee2060028 update wifi lib (f246ce5):
1. Update discard context condition and process disconnect condition
2. Set idle type should change mesh type to idle
3. Fix the bug that esp_mesh_is_root() return error when set root type
4. Fix the bug that user can't set inactive time on mesh root
2023-03-23 17:16:37 +08:00
5f32c819f5 esp_wifi: Add nvs code for new config params (95a0821c) 2023-03-22 12:39:45 +05:30
2351314878 esp_wifi: bugfix RSNXE related changes(3201df35)
1. Set AP rsnxe len generic
2. Set transition_disable value in wifi get config
2023-03-20 12:17:09 +05:30
7fcf9b59c8 esp_wifi: Fix for default wpa2 authmode casing pmk recalculation.(5c08620) 2023-03-16 11:48:05 +05:30
ae66f24c6e esp_wifi:bugfix for optimize abnormal beacon log(2ce49a9b) 2023-03-15 14:39:41 +08:00
88b2729cbf esp_wifi:Combine improvements in sa query and buffer deauth, disassoc, action frames for connected station in sleep mode (b5740db1) 2023-02-21 13:11:46 +05:30
41d098bdad esp_wifi: Fix call to missing disconnected callback (17afb167) 2023-01-13 12:08:48 +05:30
35ff76e25c esp_wifi: Prevent open auth incase of sae failure (e1fe957a) 2023-01-11 11:15:37 +05:30
c0deded274 esp_wifi: send null data when state change from association to run(dc787b09) 2022-12-26 17:19:55 +08:00
9b274f15cc esp_wifi: Fix for ftm issues (93449142)
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 13:56:40 +05:30
64f2768084 esp_wifi: Fix handling of Assoc Resp status codes (ca38a19b) 2022-12-20 14:44:44 +05:30
cb98c5d42b change max connection num for esp32c3 and esp32s3 (3584b282) 2022-12-15 15:15:46 +08:00
39bcc426a6 esp_wifi: SA query related improvements for STA and SoftAP (c459daed)
1. reject AP if assoc comeback time given is greater than 5 seconds
2. handle when assoc req is received before SA query procedure is finished
2022-12-14 12:16:26 +05:30
d30a8ea9e1 fix multicast issue for some AP when DTIM period > 1 (c96d12fa) 2022-12-13 16:55:13 +08:00
86c783a904 upload more pkt info in rx cb for csi & espnow(dd15bc35) 2022-12-05 22:28:39 +08:00
2fae5b1324 esp_wifi: Add wps registrar events (0de182ad) 2022-12-02 15:02:29 +05:30
9e81af1747 esp_wifi: fix softap beacon memory leak issue(c4ea3606)
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-01 16:12:45 +08:00
f3e2f7fac3 fix espnow crash when modify the interface of the peer (aa124440) 2022-12-01 11:11:47 +08:00
298095149d Fix unprotected SA Query issue and scan regression (dc3db5f4) 2022-11-30 13:39:25 +05:30
2bf3370730 esp_wifi:Mandate stations to have minimum security wpa3(d8d9e784)
set sta threshold wpa3 for ssid after receiving transition disable bit from AP
2022-11-28 11:49:56 +05:30
ccb8fbbeb4 esp_wifi: Avoid security params overwrite (267a51c0) 2022-11-24 10:42:01 +05:30
f6339efe87 Update wifi lib (28976933):
1. Modify wifi max connection num
2. Fix espnow send fail after changing opmode
2022-11-18 17:55:17 +08:00
b10fa11471 esp_mesh: fix the memory leak when call esp_mesh_start/stop (b52fcbc1) 2022-11-16 14:12:21 +08:00
8f668503bc esp_wifi_mesh: update wifi mesh libs(92f02abb)
1. fix WIFI_EVENT_AP_STADISCONNECTED event error
2. fix root routing table is not refreshed when child node restarted
2022-11-14 17:46:31 +08:00
f1c5a06856 esp_wifi: fix some issue and add annotation (4fb5a9b1)
1. coex: fix request meaningless schm at Wi-Fi start
    2. pm: fix connectionless status issue if coexistence starts later
    3. pm: set default espnow window to max
    4. pm: fix phy ref cnt value in connection failure
    5. coex schm: set default schm
    6. cnx: fix phy ref if probe failed
    7. cnx: protect rf time for probe resp
2022-11-10 15:19:13 +08:00
69e8def447 esp_wifi: fix some softap issue(d56c3e69)
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-09 20:45:31 +08:00
e6aefa10e8 esp_wifi: Modify wifi scan return value(47a356a4)
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
2022-11-09 11:38:53 +08:00
2dd5518035 esp_wifi: fix wapi gtk id compability issue and adapt tx frag pn sequently. (f1110348) 2022-11-08 17:23:31 +08:00
a0aaa5ae6b esp_wifi: Support external coex for C2 & H2.(59313b6c) 2022-11-08 11:28:20 +08:00
8132b55aa5 esp_wifi: replace deprecated CONFIGS with their new versions. Also fixes WiFi when SPIRAM is enabled in certain non esp-idf projects(3a6d337c) 2022-11-07 17:05:29 +08:00
774353036b esp_wifi: report rssi in disconnected event (baea460a) 2022-11-07 13:10:29 +08:00
84272dd407 esp_wifi:Adding check for ies in match security(d3948205) 2022-11-04 16:48:51 +05:30
3e3f0fa900 esp_wifi: Add config option for AP retry count (5101a0a2) 2022-10-31 21:19:17 +05:30
51e2668fd4 esp_wifi: Fix some SoftAP PMF and espnow issues (0d470efa) 2022-10-21 14:10:06 +05:30
6842e78865 bugfix sniffer mode can not capture control packets(7011e220) 2022-10-20 18:10:03 +08:00
d5c07b38d0 esp_wifi: Fix deauth and disassoc for softap pmf connections (ef0cc3f4) 2022-10-17 18:19:17 +05:30
63a6c4dd39 esp_wifi: fix ignore rx sub ampdu interrupt issue(d9947ebf) 2022-10-13 11:38:44 +08:00
7bd8d12bd5 fix connect fail when enable SPIRAM (03528e02) 2022-10-08 15:47:31 +08:00
c5f9eb52e0 esp_wifi: Set AP rsnxe while connecting to a AP(4d93d421) 2022-09-22 12:32:43 +05:30
c327dc40f2 esp-wifi : Adds the status connected for station, when the station is already connected to the ap of the same bss- wifi-4785(6ce7887d) 2022-09-13 16:51:41 +05:30
4a6d15c134 esp_wifi: fix set country code before wifi start issue(9105b9c1)
1. fix set country coude before wifi start issue.
2. check the third octect of country code string.
3. can active scan channel 12 13 14 when country policy is manual.
2022-09-03 20:29:10 +08:00