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
Kapil Gupta
f46518e42e
esp_wifi: Fix WPS issue for WPA3+WPA2 mode
2023-06-09 18:06:56 +05:30
Jiang Jiang Jian
c125f0a9f3
Merge branch 'bugfix/mbo_ie_absent_prob_req_v44' into 'release/v4.4'
...
wpa_supplicant : Add MBO ie in probe request.(backport v4.4)
See merge request espressif/esp-idf!24099
2023-06-09 19:16:46 +08:00
jgujarathi
62b672158a
wpa_supplicant : Fix scan results for GCMP and GCMP-256 cipher.
...
Add support for recognising GCMP and GCMP-256 ciphers if used by AP.
Update the scan example to show the correct cipher.
2023-06-07 10:22:03 +05:30
jgujarathi
2f630f5e91
wpa_supplicant : Add MBO ie in probe request.
...
Adds the MBO information element in the probe request frame by resetting
scan_ie after set_config is done.
2023-06-07 10:21:52 +05:30
jasta
4353014715
esp_dpp: Fix retry with esp_supp_dpp_start_listen after failure
...
This fixes a subtle bug in which ESP_ERR_DPP_TX_FAILURE errors would
call esp_supp_dpp_stop_listen which sets the s_dpp_stop_listening flag
to true. Subsequent attempts to restart listening with
esp_supp_dpp_start_listen then only attempt to listen once more for
500ms before reading the s_dpp_stop_listening flag again and giving up.
This contributes greatly to #10615 , but the fix here is still largely
a work-around as it sometimes requires manually retrying a couple times
before it works. Without this fix, any number of retries by
deinit/init again will seemingly not work as the retries for currently
unknown reasons.
Signed-off-by: Shreyas Sheth <shreyas.sheth@espressif.com>
Closes https://github.com/espressif/esp-idf/pull/10865
2023-05-05 14:21:20 +05:30
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
Kapil Gupta
5c642f98c7
wpa_supplicant: Update WPS API documentation
2023-03-30 20:05:06 +05:30
jgujarathi
fde6be3d6a
wpa_supplicant : Add validations for 192-bit Suite B test cases.
...
Add validations for group data cipher, pairwise cipher and AKM Suites to
ensure correct ciphers are supported by AP during 192-bit Enterprise
connections.
2023-03-01 10:43:07 +05:30
jgujarathi
cb2f801ae7
wpa_supplicant : Add deinitialization of Enterprise config_methods.
...
Add deinitialization of config_methods as it prevents correct reinitialization of sta in eap_peer_config_init() during reassoc.
2023-03-01 10:42:13 +05:30
jgujarathi
176dbaf4a7
wpa_supplicant : Add support for unregistering wifi wpa3 callbacks.
...
Unregister wifi callbacks allows for disabling support for wpa3 functions when not required.
2023-03-01 10:40:06 +05:30
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
Jiang Jiang Jian
0c8dd57d2a
Merge branch 'bugfix/bdsa_security_issues_v4.4' into 'release/v4.4'
...
wpa_supplicant:BDSA related patch updates v4.4
See merge request espressif/esp-idf!21605
2023-02-06 12:12:09 +08:00
Jiang Jiang Jian
d6682ce9c4
Merge branch 'bugfix/minor_syntax_changes_v4.4' into 'release/v4.4'
...
wpa_supplicant: Fixing a collection of issues encountered during application testing.
See merge request espressif/esp-idf!22098
2023-02-06 10:37:17 +08:00
Shreyas Sheth
e4c5d21106
wpa_supplicant:BDSA related patch updates
2023-02-03 06:46:30 +00:00
Jiang Jiang Jian
c97db9189e
Merge branch 'bugfix/wps_start_state_issue_v4.4' into 'release/v4.4'
...
esp_wifi: Add check for wps start state (v4.4)
See merge request espressif/esp-idf!22027
2023-02-03 13:52:39 +08:00
Jiang Jiang Jian
cdb87a514f
Merge branch 'bugfix/remove_sha384_hash_for_bigger_certs_v4.4' into 'release/v4.4'
...
esp_wifi: remove sha384 hash for cert size > 2k (v4.4)
See merge request espressif/esp-idf!21964
2023-02-03 13:49:46 +08:00
jgujarathi
922cbc0cb4
wpa_supplicant : Prevent h2e config overwrite
...
Current esp_wifi_get_config doesn't return correct value of h2e config which will cause h2e config to be overwritten in Station connected handler.
Add one preventative condition to take care of this.
2023-02-01 12:49:25 +05:30
jgujarathi
d23c21bd2a
wpa_supplicant : Fix invalid de-init of last_scan_res_used
...
During the wifi deinit last_scan_res_used pointer is not set to 0 which will cause it be used directly after reinit.
Added changes which will set it to 0 during init and deinit.
2023-02-01 12:44:55 +05:30
jgujarathi
4b77473982
wpa_supplicant : Correct scan results for GCMP RSN
...
Fixed a typo which was causing scan results for GCMP not showing correctly
2023-02-01 12:43:01 +05:30
Shreyas Sheth
18f5c3e2fc
esp_wifi: Add check for wps start state
2023-01-12 11:55:59 +05:30
Kapil Gupta
7321307f6e
Removed sha384 hash for certs > 2k
2023-01-09 15:58:13 +05:30
Shyamal Khachane
79807ec6ab
wpa_supplicant: Set PMK from PMKSA incase of caching
2023-01-06 19:19:36 +05:30
Shyamal Khachane
de6fdfbd27
esp_wifi: Fix open auth issue after commit message exchange
2023-01-06 10:50:18 +05:30
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
Shreyas Sheth
2bbd3ac583
esp_wifi:Add wifi station config for enabling transition_disbale feature
2022-12-07 11:44:28 +08:00
Kapil Gupta
c71071b36c
esp_wifi: Add changes to skip SAE handshake during WPS connection
2022-12-05 21:35:11 +05:30
Kapil Gupta
c34ba085ba
esp_wifi: Flush PMK caching if bss akm has changed
2022-12-05 21:35:05 +05:30
Kapil Gupta
9e4b31e0f2
Correct SSID copy length during WPS scan
2022-12-05 21:34:46 +05:30
Shreyas Sheth
7252d678a0
esp_wifi: STA set extra IEs for open AP
2022-12-01 12:19:33 +05:30
Shreyas Sheth
24efd4a505
esp_wifi: Bugfix WPA Enterprise Reauthentication issue
2022-11-14 11:12:22 +05:30
Jiang Jiang Jian
c3439e040a
Merge branch 'bugfix/fixing_memory_leak_wps_scan_v4.4' into 'release/v4.4'
...
(wpa_supplicant) : Fixed a memory leak issue created when parsing scan results
See merge request espressif/esp-idf!20988
2022-11-14 10:46:31 +08:00
jgujarathi
cb0ce135a5
(wpa_supplicant) : Fixed a memory leak issue created when parsing scan results.
2022-11-11 17:11:00 +05:30
Jiang Jiang Jian
e55a640da4
Merge branch 'bugfix/add_security_patches_v4.4' into 'release/v4.4'
...
Adding security patch for SAE side channel attacks (Backport v4.4)
See merge request espressif/esp-idf!20649
2022-11-09 17:53:39 +08:00
gauri patankar
aceeff0b09
wpa_supplicant: Update security patches from upstream
...
1. Adding security patch for SAE side channel attacks
2. Adding confirm message validation in error cases
3. Adding y coordinate for PWE in SAE
2022-10-17 17:57:14 +05:30
gauri patankar
c2af28ddce
wpa_supplicant: Move SAE modules into dragonfly files
2022-10-17 17:54:02 +05:30
Kapil Gupta
f2a9d457e0
Remove unnecessary code from disconnect handler
2022-10-13 12:14:20 +05:30
Kapil Gupta
722ed6cbc6
wpa_supplicant: Prevent pmk flush for unspecified reasoncode
2022-10-13 12:14:20 +05:30
muhaidong
5b24356ab5
wpa_supplicant: try install gtk before send 2 of 2
2022-09-17 19:02:53 +08:00
Kapil Gupta
4d9c4fd7e1
wpa_supplicant: Fix WPS connection issue after WPS done
...
esp_wifi_disconnect is needed to clear the wifi state and enable
station to connect to new SSID. Add changes to call it after
WPS is done.
2022-08-23 13:09:32 +05:30
Shreyas Sheth
756b46ca96
esp_wifi: WPA3 SAE H2E support for station
...
Mandate sta threshold wpa3 for ssid after receiving transition disable
bit from AP
2022-08-18 02:55:51 +05:30
Kapil Gupta
f42fd4236c
WiFi: Do not disconnect in WPS disable incase WPS is done/scanning
...
Closes https://github.com/espressif/esp-idf/issues/9341
2022-07-20 18:17:45 +05:30
Kapil Gupta
522e0a6b06
esp_wifi: clear old keys before going for new connection
2022-07-12 10:43:34 +05:30
Jiang Jiang Jian
4908c4e27d
Merge branch 'bugfix/eap_method_selection_release_v4.4' into 'release/v4.4'
...
esp_wifi: Fix the negotiation of method with eap server.
See merge request espressif/esp-idf!18507
2022-06-15 10:50:03 +08:00
Hrudaynath Dhabe
7543b94b38
esp_wifi: Fix the negotiation of method with eap server.
2022-06-14 15:10:14 +05:30
Kapil Gupta
9fb3ad9946
wpa_supplicant: Unicast key renew in TKIP mic failure
...
Currently we always request group key renew for during
TKIP mic failure. Add support for unicast/multicast
key renew as per packet.
2022-06-14 14:49:51 +05:30
Kapil Gupta
f05d741c03
esp_wifi: Add APIs to check BTM and RRM support of connected AP
2022-06-14 14:49:51 +05:30
Kapil Gupta
972aa9a9a9
esp_wifi: Changes to not use pmkid caching when SSID is changed
2022-06-14 14:49:51 +05:30
Kapil Gupta
e4df46011c
wpa_supplicant: Fix issues reported by coverity
2022-06-14 14:49:51 +05:30
Hrudaynath Dhabe
26ad146077
esp_wifi: Ignore unauthenticated encrypted EAPOL-Key data and fix
...
handling of key RSC.
Closes https://github.com/espressif/esp-idf/issues/8401
2022-05-30 12:15:44 +05:30