zhangyanjiao
368dca0d84
fix(wifi): Add bugfixes and improvements
...
1. Update wifi security mode
2. Fix association refused temporarily comeback time set to zero issue
3. Vnd ie callback can be set to null
2023-07-20 11:39:41 +08:00
david zuhn
b2134caf0d
spelling correction in documentation
...
Signed-off-by: zhangyanjiao <zhangyanjiao@espressif.com>
Closes https://github.com/espressif/esp-idf/pull/9721
2023-07-20 11:22:09 +08:00
zhangyanjiao
7dddb468f4
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 11:21:38 +08:00
jgujarathi
5037c2ec02
fix(action_tx) : Add check to ensure memory allocation for action frame.
...
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:57:03 +05:30
jgujarathi
181666c4a7
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-04 11:59:26 +05:30
chenjianxing
ef3fe14b5f
esp_wifi: decouple softap for esp32c2.
2023-06-29 15:09:07 +08:00
muhaidong
0f09901e30
esp_wifi: fix some wifi bugs
...
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 16:47:07 +08:00
muhaidong
153f34cf74
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-06-13 11:54:26 +08:00
muhaidong
25b40c9d5e
esp_wifi: fix some wifi bugs
...
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:40:19 +08:00
aditi_lonkar
ded3169aa5
esp_wifi: Add APIs to get Assoc id and negotiated phymode.
2023-06-12 15:23:55 +08:00
muhaidong
398403e251
esp_wifi: fix some txop issues
2023-06-09 23:24:02 +08:00
muhaidong
32f629d8db
esp_wifi: fix sta auth failed but softap shows it connected issue
2023-05-12 14:43:29 +08:00
Jiang Jiang Jian
6b2d631eac
Merge branch 'bugfix/tx_desc_fragment_v5.0' into 'release/v5.0'
...
esp_wifi: fix potential issue when tx fragment pkt.(v5.0)
See merge request espressif/esp-idf!23043
2023-05-11 23:28:35 +08:00
Jiang Jiang Jian
34f12c429d
Merge branch 'bugfix/wps_phassphrase_v5.0' into 'release/v5.0'
...
wpa_supplicant: Get WPS credential in passphrase format(v5.0)
See merge request espressif/esp-idf!23076
2023-05-11 17:10:29 +08:00
Kapil Gupta
c4941e2e75
wpa_supplicant: Get WPS credential in passphrase format
...
Closes https://github.com/espressif/esp-idf/issues/10339
2023-04-05 16:05:44 +05:30
chenjianxing
3f4e4cf964
esp_wifi: fix potential issue when tx fragment pkt.
2023-04-03 17:50:02 +08:00
muhaidong
3537da8d85
smartconfig: fix the issue of sending failure and exit
2023-03-31 17:23:31 +08:00
Jiang Jiang Jian
63994a2f52
Merge branch 'bugfix/sta_sa_query_process_v5.0' into 'release/v5.0'
...
esp_wifi: Improve station SA query procedure handling and other bugfixes (Backport v5.0)
See merge request espressif/esp-idf!22903
2023-03-30 00:12:42 +08:00
Jiang Jiang Jian
fa4dccbe68
Merge branch 'bugfix/remove_Wno_format_in_esp_phy_esp_wifi_and_wpa_supplicant_components_v5.0' into 'release/v5.0'
...
Remove -Wno-format in esp_phy, esp_wifi, part of wpa_supplicant components(Backport v5.0)
See merge request espressif/esp-idf!22829
2023-03-29 15:49:14 +08:00
Sarvesh Bodakhe
fd19fc9343
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
2023-03-29 11:15:50 +05:30
muhaidong
b6be20a95d
Remove -Wno-format in esp_phy, esp_wifi and part of wpa_supplicat components
2023-03-27 17:33:32 +08:00
zhangyanjiao
9801647fa5
wifi_mesh: update mesh doc
2023-03-23 17:18:23 +08:00
zhangyanjiao
348f8f9bac
wifi_mesh: Fix several bugs on mesh network
2023-03-23 17:18:00 +08:00
Kapil Gupta
8a6bc4363e
esp_wifi: Add nvs code for new config params
2023-03-22 12:40:55 +05:30
Shreyas Sheth
77c675db25
esp_wifi: bugfix RSNXE related changes
...
1. Set AP rsnxe len generic
2. Set transition_disable value in wifi get config
2023-03-20 21:55:44 +05:30
aditi_lonkar
49c5a92181
esp_wifi: Fix for default wpa2 authmode casing pmk recalculation.
...
Closes https://github.com/espressif/esp-idf/issues/10214
2023-03-16 11:48:55 +05:30
xueyunfei
1d6ba06366
esp_wifi:bugfix for optimize abnormal beacon log
2023-03-15 16:21:02 +08:00
Sarvesh Bodakhe
7999489c6e
Combine improvements in sa query and buffer deauth, disassoc, action frames for connected station in sleep mode
2023-03-10 16:00:55 +05:30
Shyamal Khachane
e4f5fe72d0
esp_wifi: Fix missing disconnected callback
2023-01-13 13:27:32 +05:30
Shyamal Khachane
677c813137
esp_wifi: Fix open auth issue after commit message exchange
2023-01-11 11:16:13 +05:30
gauri patankar
002e21bda4
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 16:10:28 +05:30
Shyamal Khachane
823b6c8f56
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-21 11:51:48 +08:00
zhangyanjiao
270940dda0
esp_wifi: change max connection num on ESP32C3 and ESP32S3
...
Closes WIFI-5114
2022-12-19 14:20:05 +08:00
Sarvesh Bodakhe
869d8c4fd8
esp_wifi: Update wifi libs
...
Update wifi libs with below changes -
1. reject AP when assoc comeback time given is greater than 5 seconds
2. handle when assoc req is received before SA query procedure is finished
Closes https://github.com/espressif/esp-idf/issues/9428
2022-12-19 14:19:14 +08:00
chenjianxing
a01847c24f
esp_wifi: fix multicast pkts drop issue for some AP when DTIM period > 1
...
Closes WIFI-5076
2022-12-19 14:18:27 +08:00
Jessy Chen
6818b3012d
esp_wifi: upload more wifi pkt info in rx callback for espnow & csi
2022-12-19 14:16:48 +08:00
Kapil Gupta
2accc311a2
WiFi: Add WPS softAP registrar example and events
2022-12-19 14:09:05 +08:00
muhaidong
81f39c8d09
esp_wifi: fix softap beacon memory leak issue
...
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.
4. decrease test memory leak threshold.
2022-12-19 14:07:22 +08:00
liuning
7d16868e32
phy: only set phy_init_flag at power domain off, when all modems deinit
2022-12-15 10:45:09 +08:00
zhangyanjiao
7aa2b03204
esp_wifi: fix the ESPNOW crash when modify the interface of the peer
...
Closes WIFI-5046
Closes WIFI-5047
2022-12-06 05:06:18 +00:00
Nachiket Kukade
ffadd88af4
esp_wifi: Update wifi libs
...
- Fixed regression caused in commit ef80cf0b65
- Fixed unprotected SA Query issue
2022-12-06 05:06:18 +00:00
Shreyas Sheth
38bb7c2a60
esp_wifi:Mandate stations to have minimum security wpa3
2022-12-06 05:06:18 +00:00
Kapil Gupta
8136f98ddc
esp_wifi: Update wifi libs
...
Add changes to prevent security overwritten in full scan
Co-authored-by: Nachiket Kukade <nachiket.kukade@espressif.com>
2022-12-06 05:06:18 +00:00
Nachiket Kukade
0db6920b8c
esp_wifi: Update wifi libs
...
Fix unprotected SA Query issue and scan regression
2022-12-06 05:06:18 +00:00
zhangyanjiao
8afd990e71
update wifi lib:
...
1. Modify wifi max connection num
2. Fix the ESPNOW senf fail after changing opmode
Closes IDFGH-7960
Closes WIFI-4176
Closes WIFI-5004
2022-12-06 05:06:18 +00:00
zhangyanjiao
175f0dec6c
Modify maximum softap conn num and espnow encryption peer num
2022-12-06 05:06:18 +00:00
zhangyanjiao
19fae974fa
esp_mesh: fix the memeory leak issue when call esp_mesh_start/stop
...
Closes WIFI-5023
Closes FCS-1081
Closes IDFGH-4525
2022-12-05 11:39:34 +08:00
shenjun
e4161a1bc1
esp_wifi_mesh: update wifi mesh libs
...
1. fix invalid child issue
2. fix WIFI_EVENT_AP_STADISCONNECTED event error
2022-12-05 11:37:06 +08:00
liuning
5cd324413a
esp_wifi: fix some connectionless related issue and add connectionless power save guide
2022-12-05 11:35:23 +08:00
muhaidong
675f9555df
esp_wifi: fix some softap issues
...
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-12-05 11:33:50 +08:00
muhaidong
054fdeb8c7
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-12-05 11:31:52 +08:00
zhangyanjiao
645e5657c6
update doc for set channel
2022-12-05 11:31:40 +08:00
zhangyanjiao
acf7f03f67
update wifi reason code
2022-12-05 11:31:27 +08:00
alex.li
f768845b16
esp_wifi: fix wapi gtk id compability issue and adapt tx frag pn sequently.
2022-12-05 11:30:51 +08:00
alex.li
676a3475ed
esp_wifi: Support external coex for C2 & H2.(59313b6c)
2022-11-08 19:20:33 +05:30
alex.li
9bbe6e7fa3
Support external coexist formal code for C2 & S3,
...
and optimize RX category in external coex.
2022-11-08 19:10:38 +05:30
muhaidong
4307be2906
esp_wifi: replace deprecated CONFIGS with their new versions
2022-11-08 19:08:30 +05:30
muhaidong
44366f57d8
esp_wifi: number of WiFi cache TX buffers should not equal 0 when enable SPIRAM
2022-11-08 19:02:51 +05:30
zhangyanjiao
1362b58b58
esp_wifi: report rssi info in wifi event
2022-11-08 18:33:59 +05:30
gauri patankar
78fe8e77e5
Adding check for ies in match security
2022-11-08 18:25:12 +05:30
Kapil Gupta
f8e2c30b32
esp_wifi: Add config option for AP retry count
2022-11-08 18:20:54 +05:30
Jiang Jiang Jian
79aea89853
Merge branch 'bugfix/add_protection_for_mac_rst_v5.0' into 'release/v5.0'
...
esp_wifi: add protection for mac reset (backport 5.0)
See merge request espressif/esp-idf!20871
2022-11-01 18:45:01 +08:00
liuning
eb61f5835a
esp_wifi: add protection for mac reset (backport 5.0)
2022-10-31 17:55:03 +08:00
Nachiket Kukade
cbee4d4328
esp_wifi: Update wifi libs
...
Fix some SoftAP PMF and espnow key management related issues
2022-10-31 12:49:48 +05:30
xueyunfei
af02784331
esp_wifi:bugfix sniffer mode can not capture control packet
2022-10-21 16:15:56 +08:00
Shyamal Khachane
c4aca02d7e
esp_wifi: Fix deauth and disassoc issues for SoftAP PMF
2022-10-18 09:52:19 +05:30
zhangyanjiao
ddb7036aee
esp_wifi: fix connect fail when enable SPIRAM
2022-10-10 16:11:06 +08:00
Jiang Jiang Jian
478c735fc6
Merge branch 'bugfix/riscv_interrupt_function_naming_v5.0' into 'release/v5.0'
...
riscv: Fix interrupt function naming and redundancy (v5.0)
See merge request espressif/esp-idf!20220
2022-09-21 20:41:08 +08:00
jgujarathi
e10025c849
esp_wifi : Adds Status_Connected when the Sta attempts to connect to the AP it is already connected to.
2022-09-20 10:41:23 +05:30
Darian Leung
0c8ac295c5
riscv: Remove redundant riscv_interrupts.h header
...
This commit removes the riscv_interrupts.h header is it has become redundant. The previously
exposed API has been handled as follows:
- "riscv_interrupt_enable()" and "riscv_interrupt_disable()" have been removed. These functions
were declarations only and never had any implementation.
- "riscv_global_interrupts_enable()" and "riscv_global_interrupts_disable()" renamed to
"rv_utils_intr_global_enable()" and "rv_utils_intr_global_disable()" respectively and now
placed in rv_utils.h
2022-09-19 14:19:11 +08:00
muhaidong
3056fe4964
esp_wifi: add small UT for country code
2022-09-14 17:08:32 +08:00
muhaidong
5311999ae9
1. esp_wifi: fix pairwise cipher tkip pmf compability issue.
...
2. esp_wifi: fix repeated scans causing bss overwrite in connect process.
3. esp_wifi: fix set country code before wifi start issue.
2022-09-14 17:07:12 +08:00
zhangyanjiao
81424d9659
esp_wifi: Fix the bug that espnow clear key register fail
...
Closes WIFI-4696
2022-08-23 14:50:43 +08:00
xueyunfei
6eb6bb071d
esp_wifi:fix some wifi bugs
...
1 esp32c2: mv multiphy api out of ESP_MESH_SUPPORT macro
2 clear bss info when wifi stop
3 add clear ap list interface
2022-08-19 14:11:53 +08:00
xueyunfei
8696dc15f1
esp_wifi:add clear ap list interface
2022-08-19 14:10:51 +08:00
muhaidong
26a897039e
esp_wifi: done beacon monitor timer and eloop timer when deinit
2022-08-19 14:10:25 +08:00
liuning
bc09a70071
esp_wifi: fix fail to scan after recv disassoc/deauth for esp32s2
2022-08-15 21:16:53 +08:00
Li Shuai
b9a667b9f8
1. Wi-Fi: update tsf tick interval when lpclk is modified
...
2. Move register_lpclk_callback to coexistence
2022-08-15 21:16:11 +08:00
Alexey Lapshin
c462711c74
Merge branch 'bugfix/wno-format-riscv' into 'master'
...
build system: re-enable -Wformat warnings for RISC-V
Closes IDF-3735
See merge request espressif/esp-idf!17000
2022-08-03 23:16:53 +08:00
Ivan Grokhotkov
401c10ecfb
build system: re-add -Wno-format as private flag for some components
2022-08-03 16:42:47 +04:00
muhaidong
5fd42affdb
esp_wifi: fix disconnect after set country issue
2022-08-03 11:53:37 +08:00
muhaidong
ab8be80c3c
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-08-02 11:45:21 +08:00
Jiang Jiang Jian
03a8235098
Merge branch 'bugfix/set_default_authmode_wpa2' into 'master'
...
esp_wifi: set default authmode threshold as wpa2 for STA mode
Closes WIFI-2438
See merge request espressif/esp-idf!19034
2022-08-02 11:10:56 +08:00
Kapil Gupta
e9c18ad02f
esp_wifi: set default authmode as wpa2
2022-07-30 10:43:39 +05:30
Armando
5e6a16380a
esp_adc: move adc common hw related code into esp_hw_support
2022-07-28 03:49:48 +00:00
Chen Jian Xing
feefe820a4
Merge branch 'bugfix/esp32c2_coex_timer_clk_src' into 'master'
...
esp_wifi: select slowclk as coex hardware timer source on esp32c2
See merge request espressif/esp-idf!19170
2022-07-23 11:37:35 +08:00
Darian
c8ee369a7c
Merge branch 'feature/deprecate-old-cpu-api' into 'master'
...
HAL: Deprecate old CPU/SoC/Interrupt Controller HAL API
Closes IDF-4919 and IDF-5032
See merge request espressif/esp-idf!18987
2022-07-23 00:37:33 +08:00
liuning
bc2f2a3100
esp_wifi: select slowclk as coex hardware timer source on esp32c2
2022-07-22 21:44:11 +08:00
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
Jiang Jiang Jian
0e874812a0
Merge branch 'bugfix/sync_reg_base' into 'master'
...
esp_wifi: fix crash in esp_wifi_set_ant_gpio()
Closes IDFGH-7720
See merge request espressif/esp-idf!19096
2022-07-22 14:07:33 +08:00
Jiang Jiang Jian
9a6ccb7f57
Merge branch 'bugfix/make_sure_sempher_and_queue_used_in_isr_is_in_DRAM' into 'master'
...
Bugfix/make sure sempher and queue used in isr is in dram
Closes WIFI-3571, IDFGH-7458, IDFGH-7342, and IDFGH-7569
See merge request espressif/esp-idf!19160
2022-07-22 14:04:27 +08:00
Guillaume Souchere
6005cc9163
hal: Deprecate interrupt_controller_hal.h, cpu_hal.h and cpu_ll.h interfaces
...
This commit marks all functions in interrupt_controller_hal.h, cpu_ll.h and cpu_hal.h as deprecated.
Users should use functions from esp_cpu.h instead.
2022-07-22 00:06:06 +08:00
shenjun
4cfed490ad
esp_wifi: fix crash in esp_wifi_set_ant_gpio()
2022-07-21 22:18:08 +08:00
David Čermák
36f49f361c
Merge branch 'bugfix/esp_netif_clean_deps_lwip' into 'master'
...
esp-netif/lw-ip: Make dependencies one-directional
Closes IDF-4459, IDF-4460, IDF-1099, and IDFGH-6287
See merge request espressif/esp-idf!18084
2022-07-21 20:18:05 +08:00
xueyunfei
07d2eaaead
esp_wifi:bugfix optimize beacon timeout issue
2022-07-21 08:23:59 +00:00
baohongde
db308d2939
components/coex: Make sure sempher and queue used in isr is in DRAM
...
Closes https://github.com/espressif/esp-idf/issues/9032
Closes https://github.com/espressif/esp-idf/issues/8928
Closes https://github.com/espressif/esp-idf/issues/9129
2022-07-21 13:56:02 +08:00
David Cermak
5c383d7b73
esp_netif/lwip: Fix deps cycles to "lwip -> esp_netif -> phy-drivers"
...
Fix dependency tree so that lwip doesn't depend on any specific network
interface component.
Network interface drivers shall depend on esp_netif.
esp_netif shall depend on lwip (but not on any specific interface
driver) -- it optionally depends on vfs and esp_eth (need ethernet
header for L2/bridge mode)
2022-07-20 14:59:07 +02:00
Nachiket Kukade
792472c419
esp_wifi: Update wifi libs
...
Add missing LoRa IE length while allocating for Beacon in SoftAP LoRa mode
2022-07-20 09:24:46 +00:00
Armando (Dou Yiwen)
9f6f61345b
Merge branch 'feature/adc_driver_ng' into 'master'
...
ADC Driver NG
Closes IDF-4560, IDF-3908, IDF-4225, IDF-2482, IDF-4111, IDF-3610, IDF-4058, IDF-3801, IDF-3636, IDF-2537, IDF-4310, IDF-5150, IDF-5151, and IDF-4979
See merge request espressif/esp-idf!17960
2022-07-19 21:28:31 +08:00
Armando
5b523a3313
esp_adc: new esp_adc component and adc drivers
2022-07-15 18:31:00 +08:00