Commit Graph

622 Commits

Author SHA1 Message Date
muhaidong
911653fffb fix(wifi): fix some wifi bugs 230725
1. update pairwise cipher in softAP
2. overwrite pairwise cipher when softap auth mode is wpa2 wpa2_wpa3 wpa3
3. fix single tail queue conjunct issue
4. fix some txop issues
5. process association request verify ssid
6. fix sta rx csa issue
7. fix ftm timer macro issue
2023-07-25 13:01:48 +08:00
muhaidong
fe74683489 esp_supplicant: When the softAP authentication mode is set to WPA2_PSK, WPA2_WPA3_PSK, or WPA3_PSK, the pairwise cipher will be overwritten with WIFI_CIPHER_TYPE_CCMP 2023-07-25 12:48:46 +08:00
Shyamal Khachane
5708e53f3e fix(wifi): Fix SAE and SAE related NVS issues
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
2023-07-24 15:34:41 +05:30
Nachiket Kukade
fb64c24785 fix(esp_wifi): Update FTM calibration and fix other FTM issues
Update wifi libs with below fixes -

1. Bugfixes in Initiator and Responder mode
2. Fix wrong RTT value in first FTM procedure without connection
3. Update FTM calibration values for ESP32S2, S3 and C3
4. Update distance estimation logic
5. Add some useful command parameters in FTM example
6. Fix bug when number of FTM measurement frames received is more
   than (number_of_brusts * FTMs per brust).

Co-authored-by: Sarvesh Bodakhe <sarvesh.bodakhe@espressif.com>
2023-07-21 10:08:18 +05:30
zhangyanjiao
a803c50427 fix(wifi): Add bugfixes and improvements
1. Update wifi security mode
2. Add check for memory allocation in tx buffers
3. Fix association refused temporarily comeback time set to zero issue
4. Vnd ie callback can be set to null
2023-07-20 10:26:48 +08:00
david zuhn
c16095d7bb spelling correction in documentation
Signed-off-by: zhangyanjiao <zhangyanjiao@espressif.com>

Closes https://github.com/espressif/esp-idf/pull/9721
2023-07-20 10:26:48 +08:00
zhangyanjiao
d829f2485e feat(wifi): Add API to get RSSI info after station connects to AP
- Add esp_wifi_sta_get_rssi() function to retrieve RSSI info after station connects to AP
2023-07-20 10:26:43 +08:00
jgujarathi
9168b925d4 fix(esp_wifi) : Fix collection of issues in sta roam and scan.
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 10:46:43 +05:30
zhangyanjiao
e6ddb8ebec fix(wifi):
1. mesh: layer2 node will scan all channels when fixed root leave
2. show warning info when setting max connection num for softAP
2023-07-06 19:03:05 +08:00
Shreyas Sheth
128aba4892 esp_wifi: Install keys after eapol and NVS store security values
1. Bugfix store authmode security in NVS
2. Install keys after successful transmission of EAPOL 4/4 Message
2023-06-18 02:48:15 +05:30
chenjianxing
28fa2f88a1 esp_wifi: fix softap nvs <ssid,password,pmk> not matching issue 2023-05-18 15:50:41 +08:00
muhaidong
bd9c48acdb esp_wifi: fix some wifi bugs 230420
1. fix softap qos null issue
2. fix set inactive time crash issue
2023-04-20 11:26:05 +08:00
Sarvesh Bodakhe
9baec826ac esp_wifi: fix some wifi bugs
1. Move wpa_supplicant WIFI_EVENT_STA_CONNECTED and WIFI_EVENT_STA_DISCONNECTED event handlers into callbacks
2. Validate softAP interface when sending beacon frame
2023-04-19 12:13:52 +05:30
liuning
081b8ffb18 esp_wifi: allow connectionless ps with mesh, fix failed to sleep after scan; coex: fix esp32 wifi interrupted by ble act (d51ef5c0) 2023-04-14 12:00:51 +08:00
zhangyanjiao
fc7b5673f7 esp_wifi:
1. wifi_mesh: fix the heap corrupt issue in MTXON task
2. Update tx rate when phymode change from LR to 11N

https://github.com/espressif/esp-idf/issues/11006
2023-04-11 14:21:08 +08:00
muhaidong
4b3ff10c5d esp_wifi: fix some wifi bugs 230403
1. fix sta auth failed but softap shows it connected issue
2. fix ftm procedure with peer failed status 4 issue
3. send ftm frames immediately
4. send null data when state change from association to run
5. docs: add some details for wifi scan description
2023-04-10 15:08:02 +08:00
jgujarathi
6f340bc902 esp_wifi: Add nvs code for new config params 2023-04-06 07:59:38 +05:30
aditi_lonkar
dc33626566 esp_wifi: Add APIs to get Assoc id and negotiated phymode. 2023-04-03 18:27:02 +05:30
Jiang Jiang Jian
4c7d97e2bd Merge branch 'bugfix/sta_sa_query_process_v4.4' into 'release/v4.4'
esp_wifi: Improve station SA query procedure handling and other bugfixes (Backport v4.4)

See merge request espressif/esp-idf!22901
2023-04-03 11:15:54 +08:00
Sarvesh Bodakhe
52b940bed5 esp_wifi: Improve station SA query procedure handling and other bugfixes
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 state to init, if reason is assoc timeout
2023-03-31 16:26:15 +05:30
muhaidong
d52d1fc443 smartconfig: fix the issue of sending failure and exit 2023-03-31 17:26:05 +08:00
chenjianxing
d7de64691b esp_wifi: fix potential issue when tx fragment pkt 2023-03-29 11:08:35 +08:00
zhangyanjiao
794905b0e1 wifi_mesh: update mesh doc 2023-03-23 16:10:34 +08:00
zhangyanjiao
b10a36d0e2 wifi_mesh: Fix several bugs on mesh network 2023-03-23 16:10:11 +08:00
chenjianxing
bf92b0dda8 esp_wifi: fix more data bit cause not go to modem sleep
Closes AUD-4173
2023-03-16 15:45:21 +08:00
Shreyas Sheth
c6b2eedc74 esp_wifi: bugfix RSNXE related changes
1. Set AP rsnxe len generic
2. Set transition_disable value in wifi get config
2023-02-20 02:56:09 +05:30
xueyunfei
f73a2cd0f9 esp_wifi:bugfix for optimize abnormal beacon log 2023-02-06 14:52:46 +08:00
Shreyas Sheth
e4c5d21106 wpa_supplicant:BDSA related patch updates 2023-02-03 06:46:30 +00:00
Sarvesh Bodakhe
a4e9c56403 esp_wifi: Update wifi libs
Update wifi libs with below changes -
1. reject AP when assoc comeback time given is greater than 5 seconds
2023-01-28 11:29:01 +05:30
Shyamal Khachane
850ac23d14 esp_wifi: Fix missing disconnected callback 2023-01-13 11:38:28 +05:30
Shyamal Khachane
de6fdfbd27 esp_wifi: Fix open auth issue after commit message exchange 2023-01-06 10:50:18 +05:30
gauri patankar
a744595440 esp_wifi:Update wifi libs
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 variable
2022-12-22 15:03:40 +05:30
zhangyanjiao
8abcacd25e esp_wifi: change max connection num on ESP32C3 and ESP32S3
Closes WIFI-5134
2022-12-22 11:45:50 +08:00
Shyamal Khachane
aba1eb81ea wpa_supplicant: Clear current pmksa before generating RSN IE
Also update wifi libs with below changes -
  - Fix reason codes for Invalid PMKID
  - Fix handling of Assoc Resp status codes for Station
2022-12-20 17:35:40 +05:30
chenjianxing
d13e431341 esp_wifi: fix multicast pkts drop issue for some AP when DTIM period > 1 2022-12-14 17:19:27 +08:00
jack
a34a4a91fb esp_wifi: update wifi lib
1. Modify wifi max connection num
2. Fix the ESPNOW senf fail after changing opmode
3.Add wifi station config for enabling transition_disbale feature
2022-12-07 18:14:36 +08:00
jack
43f93678ce reduce the max connection number to 15 2022-12-07 18:04:46 +08:00
Shreyas Sheth
2bbd3ac583 esp_wifi:Add wifi station config for enabling transition_disbale feature 2022-12-07 11:44:28 +08:00
zhangyanjiao
5c1ff3d70b Modify maximum softap conn num and espnow encryption peer num 2022-12-07 11:33:00 +08:00
jack
9acf90f5e4 esp_wifi: backport some bugfixes to v4.4
1.Bugfix for  clear bss info when wifi stop
2.Bugfix for  add clear ap list interface
3.Modify wifi scan return value.
4.Change the log level of some logs to avoid misunderstanding.
5.Fix connect fail return wrong error code issue.
6.Fix WAPI issue on gtk compability and referrence to broadcast arp pkts.
7.Support WiFi tx fragment in the crypto mode of gcmp.
8.Fix tx fragment issue that pn code is less than msdu after pn code add two for tx fragment.
9.Fixed some issues on Soft-AP power save.
10.fix invalid child issue
11.fix WIFI_EVENT_AP_STADISCONNECTED event error
12.Fix SoftAP memory leak issue.
13.Fixed sta get ap info does not return connected ssid issue.
14.Fix SoftAP recv ps-poll not update inactive timer issue.
2022-12-05 22:38:33 +08:00
zhangyanjiao
df9fba9d22 update doc for set channel 2022-12-05 21:41:39 +08:00
zhangyanjiao
c227cbea3f update wifi reason code 2022-12-05 21:40:44 +08:00
xueyunfei
cf3e45deef esp_wifi:add clear ap list interface 2022-12-05 20:57:00 +08:00
liuning
78cef1b7d2 esp_wifi: update lib for backport 2022-12-02 20:02:07 +08:00
liuning
b6800c3e01 phy: only set phy_init_flag at power domain off, when all modems deinit 2022-12-02 19:54:58 +08:00
liuning
c9996c010d esp_wifi: fix some connectionless related issue 2022-12-02 19:53:35 +08:00
zhangyanjiao
de5156bb20 esp_wifi: report rssi info in wifi event 2022-12-02 19:43:24 +08:00
jack
d688fc3542 eps-wifi: update wifi lib
1. Adding check for ies in match security
2. Set AP rsnxe while connecting to a AP
3. Restores station status to connected when no other AP is found for roam
4. Add config option for AP retry count
5. Fix unprotected SA Query issue
2022-12-01 19:35:30 +05:30
gauri patankar
5bcd438a45 Add changes to prevent security params overwritten in full scan (backport v4.4) 2022-11-28 14:52:43 +05:30
zhangyanjiao
4d6cce4b3b esp_mesh: fix the memeory leak issue when call esp_mesh_start/stop 2022-11-17 17:30:52 +08:00