Commit Graph

574 Commits

Author SHA1 Message Date
Shreyas Sheth
5e60fb4fd4 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 01:25:58 +05:30
zhiweijian
9e2e3f8d19 Update libphy for ble 1M/2M switch and ble track on ESP32-C3 2023-05-23 11:10:34 +08:00
Jiang Jiang Jian
a9586adb0b Merge branch 'bugfix/softap_beacon_process_v4.3' into 'release/v4.3'
esp_wifi: validate softAP interface when sending beacon and add sta_connected callback (Backport v4.3)

See merge request espressif/esp-idf!23264
2023-04-23 10:31:05 +08:00
Sarvesh Bodakhe
37a2cce163 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-20 15:29:11 +05:30
muhaidong
1c78db33ad esp_phy: add menuconfig of phy calibration mode and disable reduce PHY TX power when brownout reset 2023-04-18 20:06:01 +08:00
liuning
72253506e9 esp_wifi: allow connectionless ps with mesh, fix failed to sleep after scan; coex: fix esp32 wifi interrupted by ble act 2023-04-14 14:22:54 +08:00
zhangyanjiao
179b316de8 wifi_mesh: update mesh doc 2023-04-10 16:50:54 +08:00
zhangyanjiao
996cdca72f esp_wifi:
1. wifi_mesh: fix the heap corrupt issue in MTXON task
2. Update tx rate when phymode change from LR to 11N
3. wifi_mesh: Fix several bugs on mesh network
2023-04-10 16:48:49 +08:00
Jiang Jiang Jian
0369fe88c3 Merge branch 'bugfix/sta_sa_query_process_v4.3' into 'release/v4.3'
esp_wifi: Improve station SA query procedure handling and other bugfixes (Backport v4.3)

See merge request espressif/esp-idf!22905
2023-04-03 17:37:33 +08:00
Sarvesh Bodakhe
2cf98db9a8 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 17:46:03 +05:30
muhaidong
00d569a1b2 smartconfig: fix the issue of sending failure and exit 2023-03-31 17:28:08 +08:00
Jiang Jiang Jian
40ed293404 Merge branch 'bugfix/tx_desc_fragment_v4.3' into 'release/v4.3'
esp_wifi: fix potential issue when tx fragment pkt(v4.3)

See merge request espressif/esp-idf!22962
2023-03-31 14:11:07 +08:00
wuzhenghui
ad27bd8aa0 deep sleep: close rf to optimize sleep current 2023-03-30 03:15:45 +00:00
chenjianxing
a24ae24347 esp_wifi: fix potential issue when tx fragment pkt. 2023-03-29 11:03:34 +08:00
KonstantinKondrashov
e88f235326 all: Apply new version logic (major * 100 + minor) 2023-03-02 03:21:34 +00:00
muhaidong
f28a7853d3 esp_wifi: fix sta failed but softap shows it connected issue 2023-02-28 09:12:02 +00:00
Shyamal Khachane
179fc63526 esp_wifi: Fix missing disconnected callback 2023-02-24 18:44:28 +05:30
KonstantinKondrashov
3dcdcc08eb efuse: Adds major and minor versions and others 2023-02-11 08:06:49 +00:00
muhaidong
36caf700c7 esp_wifi: fix some wifi bugs
1. fix ftm timer macro issue
2. send null data when state change from association to run
3. bugfix for optimize abnormal beacon log
4. bugfix RSNXE related changes
5. send ftm frames immediately
6. fix ftm procedure with peer failed status 4 issue
2023-02-09 15:01:49 +08:00
Shreyas Sheth
b44da528db esp_wifi:Add wifi station config for enabling transition_disbale feature 2023-01-16 00:59:04 +05:30
chenjianxing
b9f31eaa66 esp_wifi: fix multicast pkts drop issue for some AP when DTIM period > 1 2023-01-11 11:04:18 +08:00
Shyamal Khachane
ce6bcb3868 esp_wifi: Fix open auth issue after commit message exchange 2023-01-09 09:58:54 +05:30
Sarvesh Bodakhe
b85e0c0daa esp_wifi: Update wifi libs
Update wifi libs with below changes -
1. reject AP when assoc comeback time given is greater than 5 seconds
2022-12-29 15:39:49 +05:30
zwj
1f05925676 update phy and bb lib for temperature performance 2022-12-27 20:57:04 +08:00
Shyamal Khachane
aa78c85a05 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-23 16:56:20 +05:30
gauri patankar
c1075e32e0 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:52:47 +05:30
Shreyas Sheth
c171f0f39b wpa_supplicant:BDSA related patch updates 2022-12-16 16:14:06 +05:30
liuning
a02a385ee2 esp_wifi: update lib 2022-12-16 14:20:17 +08:00
liuning
ce2deab1a4 phy: only set phy_init_flag at power domain off, when all modems deinit 2022-12-16 14:20:17 +08:00
liuning
312da39eb9 esp_wifi: fix some connectionless related issue 2022-12-16 14:20:17 +08:00
zhangyanjiao
ca17dc4f2d esp_wifi: report rssi info in wifi event 2022-12-14 19:21:13 +08:00
jack
fc1e91f53c esp_wifi: update wifi lib
1.wifi: fixed sniffer mode can not capture control packet when station is enabled
2.Fixed WAPI issue on GTK compability and reference to broadcast arp pkts.
3.Fixed TX fragment issue that PN code is less than MSDU after PN code add two for TX fragment.
4.Added station connect retry count to make it easier to connect to the except AP
5.Fixed some issues on Soft-AP power save.
6.Fixed SoftAP memory leak after wifi init and deinit
7.Fixed sta get ap info does not return connected ssid issue.
8.Fixed SoftAP disconnection happened even when receive PS-Poll.
2022-12-13 16:19:41 +05:30
Kapil Gupta
10b0b768b7 esp_wifi: Add config option for AP retry count
Provide a config option for station to retry with the AP
if connection fails first time.
2022-12-06 17:28:09 +08:00
gauri patankar
66a8eb9ff9 Adding check for ies in match security 2022-11-30 11:57:26 +05:30
gauri patankar
4f8a869392 Add changes to prevent security params overwritten in full scan (backport v4.3) 2022-11-28 12:50:54 +05:30
muhaidong
0ed631f47a esp_wifi: Modify wifi scan return value.
1. Modify wifi scan return value same to docs.
2. Change some logs' log level wo avoid misunderstanding.
3. Fix connect fail return wrong error code issue
2022-11-23 19:10:13 +08:00
zhangyanjiao
7cf171cb1f update doc for set channel 2022-11-23 19:09:49 +08:00
zhangyanjiao
92eb91f985 update wifi reason code 2022-11-23 19:09:03 +08:00
liuning
dbe59eff86 esp_wifi: add protection for mac reset (backport 4.3) 2022-11-08 14:04:52 +08:00
Shreyas Sheth
dc23667db8 esp_wifi:Set AP rsnxe while connecting to a AP 2022-11-02 15:25:31 +05:30
Nachiket Kukade
aabfb142bc esp_wifi: Update wifi libs
Fix scan causing bss overwrite in connect process
2022-11-01 09:43:43 +05:30
Jiang Jiang Jian
1d5efaddac Merge branch 'bugfix/fix_sta_scan_when_already_connected_v4.3' into 'release/v4.3'
esp-wifi: Restores station status to connected when no other AP is found for roam

See merge request espressif/esp-idf!20343
2022-11-01 11:03:01 +08:00
jgujarathi
c7edfd4ef0 esp-wifi: Restores station status to connected when no other AP is found for roam 2022-10-26 19:03:27 +05:30
jingli
91b147c9da wifi/bt: fix part of modem module not reset when power up 2022-10-26 20:47:10 +08:00
Li Shuai
54d59fae28 sleep: beacon loss and noise check timer optimize for wifi power save
esp_phy: optimize phy calibration for C3
2022-10-21 21:43:24 +08:00
muhaidong
bfdccbd7cb esp_wifi: fix deinit return wrong value
1. Deinit does not return ESP_ERR_WIFI_NOT_INIT if the wifi driver is no longer initialized.
2. Fix get wrong channel value use esp_wifi_get_config.
3. Fix bug of missing unlock when wifi stop.
4. Fix annotation error of api esp_wifi_connect.
2022-10-20 11:41:07 +08:00
muhaidong
56933d09ea esp_wifi: fix ignore rx sub ampdu interrupt issue 2022-10-14 16:08:24 +08:00
zhangyanjiao
14ce174215 esp_wifi: fix connect fail when enable SPIRAM and ESPNOW send 2022-10-13 17:05:17 +08:00
xueyunfei
f1b8861f2b esp_wifi:add clear ap list interface 2022-09-19 15:52:06 +08:00
muhaidong
e8abfaa20e esp_wifi: add small UT for country code. 2022-09-19 15:51:39 +08:00