Shreyas Sheth
5a2f247cac
fix(esp_wifi): Backport dpp and other fixes
...
1) Fix crash while connecting to dpp akm
2) Fix phy ref cnt for power management for offchannel_tx
3) Introduced a variable to indicate dpp ap for scan results
4) Introduced WIFI_AUTH_UNKNOWN for ap with misconfigured security parameter
2026-08-06 16:28:12 +08:00
Shreyas Sheth
e40be4ab9d
fix(wifi): Fix skipping usage of supp pmk caching for some cases
2026-05-15 11:54:54 +05:30
Shreyas Sheth
ce0ccf6df3
fix(esp_wifi): Fix concurrency for flags between wpa3 and Wi-Fi task
2026-05-11 14:04:35 +05:30
Shreyas Sheth
0b1a9399c3
fix(wpa_supplicant): Address comments for concurrency between WiFi and WPA3 task
2026-05-11 14:04:29 +05:30
Shreyas Sheth
56b75f04a3
fix(wpa_supplicant): Fix concurrency issues between wpa3 and wifi task
2026-05-11 14:04:23 +05:30
Shreyas Sheth
c16114a3a7
fix(wpa_supplicant): initialize wps pin len correctly
2026-04-25 13:17:35 +05:30
Shreyas Sheth
9d2d4f3077
fix(esp_wifi): Add a log to print sae_pwe method used by station for wpa3 connection
...
- Fix crash due to debug log for rssi while scanning
2026-03-13 11:57:17 +05:30
Shreyas Sheth
b9a357fab7
fix(esp_wifi): Keep channel validation only for WIFI_ROC_REQ and WIFI_OFFCHAN_TX_REQ
...
- Refactor ROC operation such that WIFI_ROC_CANCEL and WIFI_OFFCHAN_TX_CANCEL
can be performed without channel validation
2026-03-06 19:46:28 +08:00
Shreyas Sheth
96b1b3bb59
fix(esp_wifi): Fix memory leak caused due to eloop
...
- Fix memory leak when eloop timer is in eloop queue and esp_wifi_deinit is
called
- Return error on long timeout
- Fix memory leak when register timeout returns error
2026-03-06 19:46:11 +08:00
Shreyas Sheth
9fcb7078fc
fix(esp_wifi): Fix memory leak for sae commit queue
2026-02-05 12:06:50 +05:30
Shreyas Sheth
caf4cad3b4
fix(esp_wifi): Backport some wifi fixes
...
- Fix incorrect allocation of eb due to rsn ie len mismatch
- Set default NVS sae pwe value to SAE_PWE_BOTH for ap and station
- Fix incorrect deauth reason parsing for station
- Fix memory corruption by avoiding unncessary encryption of Mgmt frames
When wpa_supplicant sends an authentication response for an already
connection station (with keys installed after a successful 4-way
handshake), the Mgmt packet was encrypted unconditionaly based on
'bss->pmf_enable'. This lead to memory corruption since extra space for
the encryption header was assumed even when it was not there.
Fix this by verifying that the packet is actually a robust management
frame before enabling the encryption.
2026-01-17 15:51:45 +05:30
Shreyas Sheth
c3da9f070b
fix(wifi_apps): Fix crash due to neighbor_list lock
2025-10-10 20:00:19 +05:30
Shreyas Sheth
9fd0d5dd1a
fix(esp_wifi): Set default nvs value for sae identifier to NULL
2025-09-29 11:42:46 +05:30
Shreyas Sheth
c84e48ec6d
fix(esp_wifi): Correctly set roc_in_progress flag
...
Fix roc_in_progress flag to be set in `dpp_listen_next_channel` right after calling
`esp_wifi_remain_on_channel` to correctly reflect the ROC status.
2025-09-15 11:35:28 +05:30
Shreyas Sheth
ab1e547429
fix(esp_wifi): Fix incorrect values for negotiated bandwidth for 2040 coex cases
2025-08-01 11:47:31 +08:00
Shreyas Sheth
33936f0064
fix(wifi): Fix issues discovered by customer for offchannel
2025-07-25 14:27:02 +08:00
Shreyas Sheth
8755edfb3a
fix(wifi): Fix crash due to BIP when ap mode change
2025-07-14 14:29:08 +05:30
Shreyas Sheth
692f7df5aa
fix(esp_wifi): Fix locking in incorrect state when stop_scan is called after connect
2025-05-19 21:10:05 +08:00
Shreyas Sheth
93e9d0b1a6
ci(wifi): Add build test for with wpa3 disabled for station and softap
2025-03-19 13:20:32 +05:30
Shreyas Sheth
b32602c948
fix(esp_wifi): Fix send_confirm according to specification provided by IEEE 802.11
2025-03-19 13:12:40 +05:30
Shreyas Sheth
6847670a72
fix(wifi): Fixed memory leak occurring in SAE PK connection
2025-02-12 12:16:02 +08:00
Shreyas Sheth
81940d44bc
fix(wifi): Resolve comments for softap fixes
2024-12-27 16:21:52 +05:30
Shreyas Sheth
d0631ec21d
fix(wifi): Resolve comments on feature/softap_fixes_for_ceritification
2024-12-27 15:58:47 +05:30
Shreyas Sheth
d6054570e9
fix(wifi): Make sure auth is sent after sae process
2024-12-27 15:58:47 +05:30
Shreyas Sheth
484736976c
feat(wifi): Add support for transition_disable for softAP
...
Bugfix rsnxe len for assoc req
2024-12-27 15:58:47 +05:30
Shreyas Sheth
63baf5b56f
fix(esp_wifi): Fix crash in wifi deinit due to roaming neighbor list
2024-07-29 19:39:27 +05:30
Shreyas Sheth
304cd7538b
fix(wifi): Ignore 11R, ENT AP when disabled in sdkconfig
2024-07-09 12:11:20 +05:30
Shreyas Sheth
e331dff337
fix(wpa_supplicant): Fix wpa3 AP crash because of dangling pointer
2024-06-06 11:29:05 +05:30
Shreyas Sheth
e3338a3103
fix(wpa_supplicant): Compile error when CONFIG_SAE is disabled
...
Closes https://github.com/espressif/esp-idf/issues/13553
2024-04-08 17:29:48 +05:30
Shreyas Sheth
aee2197563
fix(wifi): Fix print for 2g bitmap in scan path
2024-04-05 17:46:36 +05:30
Shreyas Sheth
73ec4a74fd
fix(esp_wifi): Fix crash when assoc req comes before confirm is processed
2024-04-02 14:28:59 +05:30
Shreyas Sheth
9127a8fb25
fix(wifi): Fix wpa3 crash for station added without sta lock
2024-03-14 15:36:32 +05:30
Shreyas Sheth
8b8d4a0ffc
fix(wifi): wpa3 softap fix deauth when assoc req recv before sae is finished
2023-10-31 06:13:49 +00:00
Shreyas Sheth
ee9ce51133
feat(wifi): Add SAE EXT key support for esp station
2023-10-18 17:10:31 +05:30
Shreyas Sheth
e746fc0deb
feat(wifi): Refactor and update wpa_supplicant with upstream
2023-10-18 16:50:24 +05:30
Shreyas Sheth
9b5bbb5bd7
fix(wifi): Fix sta connecting with wpa security in enterprise mode
2023-09-06 06:00:48 +00:00
Shreyas Sheth
043b8b55a1
docs(wifi): Update wifi and wifi security documentation
...
1. Update documentation for WPA3 Enterprise and WPA3 Enterprise 192-bit
mode
2. Update documentation for WPA3 OWE and OWE transition mode
3. Update documentation related to SAE PK, SAE PWE and Transition Disable
4. Update documnetation for wifi connect API
5. Fix config paramter information for wifi scan start
6. Fix documentation related to scan threshold config setting
7. Replace ESP_ERR_WIFI_ARG error code as ESP_ERR_INVALID_ARG
8. Update documentation for 802.11R Fast transition
2023-08-21 12:29:11 +00:00
Shreyas Sheth
691eed15cc
fix(wifi): Fix memory leak caused by assoc IE and retry timer
2023-07-20 10:13:25 +05:30
Shreyas Sheth
88cbcf4696
fix(wifi): Bugfix ignore immediate assoc req received by AP
...
1) Ignore immediate assoc req received from the station while we are
processing the older one
2) Create station mutex (sta->lock) only for stations connecting with wpa3
security
3) Fix regression caused by 4cb4faa9
2023-07-15 13:53:51 +05:30
Shreyas Sheth
42f2cdb8e0
esp_wifi: Bugfix NVS get values for sae_pwe
2023-06-23 14:16:46 +05:30
Shreyas Sheth
078629d61b
esp_wifi: Bugfix concurrency observed while doing eloop register
2023-06-06 12:43:12 +05:30
Shreyas Sheth
28e046d200
esp_wifi: Bugfix wpsreg AP not responding to assoc req
...
Fixed regression caused by 2b8e40e7
2023-06-02 02:07:55 +00:00
Shreyas Sheth
5524aad43f
esp_wifi:Enable wpsreg to initialize in APSTA mode
2023-04-20 14:48:14 +05:30
Shreyas Sheth
1a0633646e
esp_wifi: Bugfix store authmode security in NVS
2023-04-17 15:16:21 +05:30
Shreyas Sheth
dce0920329
esp_wifi: Install keys after successful transmission of EAPOL 4/4 Message
2023-04-12 18:32:24 +05:30
Shreyas Sheth
38e9c8b474
wpa_supplicant: Bugfix sending invalid PMKID by softAP in EAPOL message 1 of 4
2023-04-03 12:00:23 +05:30
Shreyas Sheth
888b909e79
esp_wifi: WPA3 softap set PMF required true
...
1) Set NVS PMF required true if not specified by application when
authmode is WPA3
2) Fix issue regarding cleanup of non associated sta_info
3) Fix implementation of sta lock to avoid concurrency issues
4) Fix softAP deinit crash when password is configured with max length
2023-03-29 13:07:52 +00:00
Shreyas Sheth
c797146f43
wpa_supplicant: Resolve WPA3 SAE softAP coverity issues
...
1) Resolve wpa_suppliant coverity issues caused by SAE softAP
2) Fix crash occured while deinitialization of softAP
when authmode is changed
3) Fix issue related to anti clogging token and send_confirm
4) Put some AP specific functions under ESP_WIFI_SOFTAP_SUPPORT
compilation flags
2023-03-12 17:33:17 +05:30
Shreyas Sheth
2b8e40e760
esp_wifi: WPA3-SAE support for softAP
2023-02-28 12:25:05 +08:00
Shreyas Sheth
a9095ba8e0
esp_wifi: bugfix RSNXE related changes
...
1. Set AP rsnxe len generic
2. Set transition_disable value in wifi get config
2023-02-07 12:26:54 +00:00
Shreyas Sheth
623d384778
Merge branch 'bugfix/wps_coverity_fwd_null' into 'master'
...
wpa_supplicant: Bugfix wps coverity forward null pointer issue
See merge request espressif/esp-idf!21848
2023-01-05 14:31:46 +08:00
Shreyas Sheth
d5c88500c0
wpa_supplicant: Bugfix wps coverity forward null pointer issue
2023-01-01 19:33:24 +00:00
Shreyas Sheth
18ea8fd0ce
esp_wifi: Add check for wps start state
2022-12-27 11:14:03 +05:30
Shreyas Sheth
bd55b8b72e
esp_wifi:BDSA related patch updates
2022-12-12 15:04:04 +05:30
Shreyas Sheth
377eeedfef
esp_wifi:Mandate stations to have minimum security wpa3
2022-11-30 13:01:40 +08:00
Shreyas Sheth
340778cb13
esp_wifi: STA set extra IEs for open AP
2022-11-28 06:48:09 +00:00
Shreyas Sheth
7de54eabf4
esp_wifi: Bugfix WPA Enterprise Reauthentication issue
2022-11-08 18:10:28 +05:30
Shreyas Sheth
48fd5bcda4
esp_wifi: Set AP rsnxe while connection
2022-09-22 12:42:38 +05:30
Shreyas Sheth
d12351f7a6
esp_wifi: bugfix wps connect to open AP
...
Set Mac address in correct field
2022-09-20 11:43:53 +05:30
Shreyas Sheth
4e830d843a
esp_wifi: Remove ieee80211_crypto_aes_128_cmac_decrypt from esp32c2 rom
2022-09-05 14:27:06 +05:30
Shreyas Sheth
341a92aaa5
esp_wifi: WPA3 SAE keep default value as h2e and hunting and pecking for sae pwe
2022-07-22 12:23:13 +05:30
Shreyas Sheth
591c7a496c
esp_wifi: WPA3 SAE H2E support for station
2022-06-20 18:51:11 +05:30