Commit Graph

868 Commits

Author SHA1 Message Date
muhaidong
a1a69b044e esp_wifi: fix some txop issues 2023-06-09 22:37:15 +08:00
KonstantinKondrashov
e72061695e all: Removes unnecessary newline character in logs
Closes https://github.com/espressif/esp-idf/issues/11465
2023-06-09 03:31:21 +08:00
xuxiao
722c60c14b esp_wifi: itwt add setup timeout timer to track response frame 2023-06-02 21:10:32 +08:00
zhangyanjiao
ce4b54361e esp_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-05-26 11:33:33 +08:00
Shyamal Khachane
063460a0d3 1. Support NAN ifx for API's esp_wifi_internal_set_fix_rate and esp_wifi_set_protocol
2. Remove user configurable flag fsd_reqd from NAN publish config
3. Fix issue wherein NDL of previously cancelled service is obtained in peer record of new service with no NDL
2023-05-19 10:07:57 +05:30
chenjianxing
786b1642e6 esp_wifi: fix softap nvs <ssid,password,pmk> not match issue
Closes FCS-1196
2023-05-11 17:11:39 +08:00
Sarvesh Bodakhe
bb88774286 esp_wifi: Fix tx_callback issue for ESP32C6 2023-05-04 14:13:39 +05:30
Sarvesh Bodakhe
9e4915b81b esp-wifi: add station SAE-PK (Public Key) configuration note 2023-04-28 18:23:42 +05:30
muhaidong
bd77a74c9d esp_wifi: update pairwise cipher in softAP 2023-04-27 14:08:28 +08:00
muhaidong
bd16d6feeb 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-04-27 10:56:36 +08:00
Shyamal Khachane
e16b6f9369 esp_wifi: Reject TKIP cipher incase of OWE connection 2023-04-26 11:24:11 +05:30
Jiang Jiang Jian
58272a70b4 Merge branch 'esp32c6/bugfix_for_memory_leak_cause_by_timer' into 'master'
esp_wifi: bugfix for esp32c6 memory leak

See merge request espressif/esp-idf!23401
2023-04-25 18:04:36 +08:00
xuxiao
8df3e461f0 esp_wifi: bugfix for esp32c6 memory leak 2023-04-24 20:41:22 +08:00
laokaiyao
49f16eefbb esp32h4: checked all the corner stuffs of the removal 2023-04-23 12:03:07 +00:00
laokaiyao
bf2a7b2df6 esp32h4: removed esp32h4 related codes 2023-04-23 12:03:07 +00:00
xuxiao
0848938868 esp_wifi: espnow support using 11ax rate to send frame 2023-04-18 18:06:52 +08:00
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
Shyamal Khachane
535dac9247 esp_wifi: Update wifi libs
Fix some NAN issues related to followup and matching filters
2023-04-11 14:18:10 +05:30
Sarvesh Bodakhe
41f5be80e8 esp_wifi: Validate softap interface when sending beacon frame 2023-04-10 19:16:47 +08:00
zhangyanjiao
58defbf453 wifi_mesh: fix the heap corrupt issue in MTXON task 2023-04-07 06:58:22 +00:00
Liu Ning
51c682ce9e Merge branch 'bugfix/wifi_mac_txqmem_retention_in_light_sleep' into 'master'
bugfix: fix wifi mac txqmem retention in light sleep and esp32c6 coexist throughput issue, esp32 coexist issue

See merge request espressif/esp-idf!22955
2023-04-06 14:38:15 +08:00
Fu Hanxi
b932b8eb94 Merge branch 'ci/test_idf-build-apps_0.5.0' into 'master'
ci: Update to `idf-build-apps` 0.5.0

See merge request espressif/esp-idf!22896
2023-04-06 12:23:52 +08:00
Li Shuai
10d02c6c5c power save: add txq memory to mac retention link to fix tx m f null failure 2023-04-06 11:09:46 +08:00
Xu Xiao
2f20406202 esp_wifi: itwt support light sleep 2023-04-06 10:46:32 +08:00
Fu Hanxi
21c2cd8616 ci: skip build default app if config rules matched, add missing files 2023-04-06 09:18:58 +08:00
Sarvesh Bodakhe
96a2ae937c esp_wifi: handle SA-Query bug in AP-STA concurrent mode when both connections are PMF enabled 2023-03-31 18:20:28 +05:30
Sarvesh Bodakhe
b89a851645 esp_wifi: Move wpa_supplicant WIFI_EVENT_STA_CONNECTED and WIFI_EVENT_STA_DISCONNECTED event handlers into callbacks
Executing supplicant WIFI_EVENT_STA_CONNECTED and WIFI_EVENT_STA_DISCONNECTED handlers in event-handler context can lead to concurrency issues.
Moving the functionality into 'wpa_sta_connected_cb' and 'wpa_sta_disconnected_cb' callbacks and execute in ppTask context.
2023-03-31 12:34:03 +05:30
muhaidong
a33b9f9101 esp_wifi: fix logs information messages at warning level issue
1. fix logs information messages at warning level issue
2. fix set inactive time crash issue
2023-03-31 11:41:18 +08:00
xueyunfei
c770abeb49 esp_wifi: fix softap qos null issue 2023-03-30 16:28:52 +08:00
zhangyanjiao
a6d5ad1dfb esp_wifi: Update tx rate when phymode change from LR to 11N 2023-03-30 10:51:30 +08:00
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
Jiang Jiang Jian
8448c72440 Merge branch 'bugfix/wps_phassphrase' into 'master'
wpa_supplicant: Get WPS credential in passphrase format

Closes IDFGH-8922

See merge request espressif/esp-idf!22454
2023-03-29 16:31:46 +08:00
Jiang Jiang Jian
f1c03f0dda Merge branch 'bugfix/add_ndp_timeout' into 'master'
Modifications in NAN datapath API

Closes WIFI-5520

See merge request espressif/esp-idf!22817
2023-03-29 12:39:12 +08:00
muhaidong
61a5785414 Remove -Wno-format in esp_phy, esp_wifi, wpa_supplicant components 2023-03-27 06:42:08 +00:00
Shyamal Khachane
2f6517b44b Modify API esp_wifi_nan_datapath_req() to return ndp_id after datapath is accepted/rejected 2023-03-24 12:52:02 +05:30
Kapil Gupta
5186b018c0 wpa_supplicant: Get WPS credential in passphrase format
Closes https://github.com/espressif/esp-idf/issues/10339
2023-03-24 10:40:04 +05:30
zhangyanjiao
c7e0fa5f6a wifi_mesh: update mesh doc 2023-03-22 16:32:43 +08:00
zhangyanjiao
1cd056b49e wifi_mesh: Fix several bugs on mesh network 2023-03-22 11:44:12 +08:00
Sarvesh Bodakhe
56dd04c7f6 esp_wifi: improve station SA query procedure handling
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-20 19:35:42 +05:30
Jiang Jiang Jian
29737e1bc8 Merge branch 'feat/dynamic_carrier_sense' into 'master'
esp_wifi: add dynamic carrier sense threshold to improve tx throughput in high interference env and fix tx fragment issue

Closes WIFI-5106 and WIFI-5529

See merge request espressif/esp-idf!21919
2023-03-20 20:24:53 +08:00
chenjianxing
b09a4e29c9 esp_wifi: add dynamic carrier sense threshold to improve tx throughput in high interference env.
esp_wifi: fix potential issue when tx fragment pkt

Closes WIFI-5106

Closes WIFI-5529
2023-03-17 11:23:59 +08:00
zhangwenxu
b596c28a22 coex: support esp32h2 coex lib 2023-03-16 17:23:43 +08:00
Jiang Jiang Jian
d4a358a115 Merge branch 'bugfix/fix_sc_send_failure_and_exit_issue' into 'master'
smartconfig: fix the issue of sending failure and exit

Closes WIFI-3844

See merge request espressif/esp-idf!22604
2023-03-13 10:41:28 +08:00
Marius Vikhammer
75591a8a13 Merge branch 'ci/driver_single_board' into 'master'
ci: update test apps to use run_all_single_board_cases

See merge request espressif/esp-idf!22669
2023-03-13 09:25:42 +08:00
Marius Vikhammer
0be8e03907 ci: update test apps to use run_all_single_board_cases 2023-03-10 14:27:09 +08:00
Nachiket Kukade
4c76af3f68 esp_wifi: Add support for NAN Discovery and Datapath
Update wifi lib with below -
1. Create NAN Discovery SM for beaconing & cluster formation
2. Create NAN interface for Tx/Rx of beacons & action frames
3. Add commands & events for NAN Services Publish/Subscribe/Followup
4. Add NAN Datapath definitions, Events, Peer structures
5. Support for forming and parsing of Datapath related attributes
6. Modules for NDP Req, Resp, Confirm, Term, Peer management
7. NAN Interface related additions in Datapath, Data Tx Q's

In addition include below changes -
1. Add netif and driver support for NAN Interface
2. Add simple examples for Publisher-Subscriber usecases
3. Add an advanced console example that supports commands
   for NAN Discovery, Services & Datapath
4. Add wifi_apps for providing better NAN API's and Peer management

Co-authored-by: Shyamal Khachane <shyamal.khachane@espressif.com>
2023-03-10 11:18:23 +05:30
muhaidong
fcdea7e9d4 smartconfig: fix the issue of sending failure and exit 2023-03-09 05:17:50 +00:00
gauri patankar
6f7cf98ffe esp_wifi: SAE Password Identifier support 2023-03-06 11:04:20 +05:30
Li Shuai
7ee1b09433 power save: wifi beacon monitor support for esp32c6
power save: fix multicast more data always true cause wifi goto sleep fail
2023-03-04 00:17:40 +08:00
wuzhenghui
8a69bc4f9e power save: fix some auto beacon issues and add some ps features for esp32c6 2023-03-04 00:17:40 +08:00
Li Shuai
1a10eabe41 Power Management: refactor the configuration of each module in sleep mode 2023-03-04 00:17:40 +08:00
Li Shuai
200f69e6eb auto beacon: support esp32c6 autobeacon (advanced DTIM sleep feature)
modem retention: Support esp32c6 wifi MAC and baseband sleep retention

sleep_modem: wifi MAC modem wakeup protect in modem state before PMU trigger sleep enable request

sleep modem: provide a interface to get whether the Modem power domain is allowed to power off during sleep

add i2c_ana master header file to project

auto beacon: release PMU's lock on root clock source (it is locked in the PLL)

wifi receiving beacon frame in PMU modem state strongly depends on the BBPLL
clock, PMU will forcibly lock the root clock source as PLL, when the root
clock source of the software system is selected as PLL, we need to release
the root clock source locking.

When it is judged that the PLL is locked by PMU after wakeing up from the PMU
modem state, switch the root clock source to the PLL in the sleep process (a
critical section).

auto beacon: fix the failure to receive broadcast/multicast frames in modem state

When the multicast field in the beacon frame received in the PMU modem state is
True, the PMU switches to the PMU active state (the PMU waits for the HP LDO to
stabilize and then restores the MAC context) and starts to receive
broadcast/multicast frames (Broadcast/Multicast frames will be sent after a
minimum delay of 48 us after the beacon frame), because the PMU waits for the HP
LDO to stabilize too long (~154 us), which will cause broadcast/multicast frame
reception to be missed.

auto beacon: select the PLL clock source as the REGDMA backup clock source when the PMU switches to ACTIVE from MODEM state

update Digital Peripheral (M2A switch) REGDMA restore time parameter

auto beacon: fix the issue that only channel 1 can connect to AP in modem state
2023-03-04 00:17:40 +08:00
David Čermák
956e62c461 Merge branch 'feature/lwip_ipv6_only' into 'master'
lwip: Support IPv6 only mode

Closes IDF-6023

See merge request espressif/esp-idf!20468
2023-03-01 21:38:10 +08:00
Shreyas Sheth
2b8e40e760 esp_wifi: WPA3-SAE support for softAP 2023-02-28 12:25:05 +08:00
David Cermak
5f6cb31105 lwip: Support IPv6 only mode 2023-02-27 08:53:34 +01:00
liuning
db11eaecdc feature: separate coex lib from wifi lib, support esp32c6 internal coex
update wifi, coex, phy libs
2023-02-26 06:58:18 +00:00
liuning
31e340ee0d esp_coex: correct wrapper names 2023-02-26 06:58:18 +00:00
liuning
b3a040aa98 coex: apply new coex_schm_callback 2023-02-26 06:58:18 +00:00
liuning
7817c23623 esp_coex: correct Kconfig name 2023-02-26 06:58:18 +00:00
liuning
5e59276ddf esp_wifi: port coex adapter for esp32c6 2023-02-26 06:58:18 +00:00
liuning
38316b38b5 esp_wifi: move coex part from esp_wifi to esp_coex 2023-02-26 06:58:18 +00:00
liuning
103772df94 esp_wifi: support adapter of all chips for new coex lib 2023-02-26 06:58:18 +00:00
aditi_lonkar
6b95b4ffd7 esp_wifi: Update some wifi config options
1) Update sta_config_t options.
        2) Update HE constellation tx/rx default value.
2023-02-23 11:13:25 +05:30
muhaidong
4cb4faa998 esp_wifi: fix sta auth failed but softap shows it connected issue 2023-02-22 06:52:59 +00:00
Sarvesh Bodakhe
d2f6a3dacc esp-wifi: add SAE-PK (Public Key) authentication support for station 2023-02-16 13:49:11 +05:30
Jiang Jiang Jian
0b921fda14 Merge branch 'bugfix/nvs_save_for_new_config' into 'master'
esp_wifi: Add nvs code for new config params

See merge request espressif/esp-idf!21513
2023-02-15 13:00:45 +08:00
Cao Sen Miao
fd3e0b0b18 esp32h2(ci): enable target test 2023-02-15 10:20:43 +08:00
Kapil Gupta
1c35430012 esp_wifi: Add nvs for new config params after esp32c2 2023-02-14 19:42:37 +05:30
xuxiao
1126c1b79e esp32c6: wifi add tx error handle 2023-02-13 16:35:18 +08:00
Kapil Gupta
30a2558450 esp_wifi: Merge wpa_supplicant and esp_wifi Kconfig 2023-02-11 07:38:45 +08:00
muhaidong
ec980ecc5f esp_wifi: fix ftm procedure with peer failed status 4 issue
1. send ftm frames immediately
2. fix ftm procedure with peer failed status 4 issue
2023-02-08 20:25:19 +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
aditi_lonkar
51c16d41b8 esp_wifi: Fix for default wpa2 authmode casing pmk recalculation.
Closes https://github.com/espressif/esp-idf/issues/10214
2023-02-03 12:49:54 +05:30
Sarvesh Bodakhe
299e32ce68 esp_wifi: softap: buffer deauth, disassoc, action frames for connected station in sleep mode
1) improve deauth/disassoc handling
2) improve SA-query procedure handling
2023-02-03 00:10:00 +05:30
xueyunfei
11c579f4ae esp_wifi:bugfix for optimize abnormal beacon log 2023-02-02 11:13:50 +08:00
Sarvesh Bodakhe
a24062d080 esp_wifi: improvements in station and softAP for connection management
1) station: send deauth while going from assoc to init, if reason is assoc timeout
2) softAP pmf: do not drop open deauth/disassoc if keys are not generated
3) softAP pmf: improvements in SA query handling
2023-02-01 12:22:46 +05:30
Wu Zheng Hui
33ae2e1073 Merge branch 'feature/bringup_esp32c6_light_sleep_pd_cpu' into 'master'
esp32c6: support light_sleep (Stage 1: support CPU power down)

See merge request espressif/esp-idf!21985
2023-02-01 14:11:15 +08:00
Li Shuai
1c39d64f95 cpu retention: refactor cpu retention and add cpu retention versions option in soc caps 2023-01-31 22:12:50 +08:00
Jiang Jiang Jian
6d7282eebd Merge branch 'feature/bringup_esp32c6_chip_wifi_rebase_master_2' into 'master'
esp_wifi: add txop limit support, sync header

See merge request espressif/esp-idf!21913
2023-01-31 19:41:50 +08:00
lvshisheng
d1230c7d9e esp32c6: add md5check, txop limit and sync header, update esp32c6 sdkconfig and itwt example 2023-01-17 20:51:51 +08:00
Cao Sen Miao
94120b82c2 esp32h2: add build test 2023-01-17 10:29:04 +08:00
Shyamal Khachane
64ca03d396 esp_wifi: Fix missing disconnected callback 2023-01-13 12:44:46 +05:30
lvshisheng
f4ff1b577b header: update he_types.h 2023-01-12 14:50:11 +08:00
Jiang Jiang Jian
73b838dac3 Merge branch 'bugfix/sae_auth_and_pmk_issues' into 'master'
Fix SAE open auth and PMK issues

Closes WIFI-5059

See merge request espressif/esp-idf!21910
2023-01-10 14:03:01 +08:00
Shyamal Khachane
9603d1d903 Fix SAE open auth and PMK issues 2023-01-10 14:03:00 +08:00
Chen Yudong
8aca3932b0 CI: enable more wifi cases 2023-01-06 06:03:52 +00:00
lvshisheng
bba409eec1 wifi: update wifi libs to support wifi6 features and fix build error 2022-12-29 13:13:35 +08:00
yuexia
032ebd76cb esp32c6: support wifi 6 2022-12-29 11:48:36 +08:00
yuexia
58b7fc1d8b esp32c6: enable wifi 2022-12-29 11:48:35 +08:00
muhaidong
0af89c4611 esp_wifi: send null data when state change from association to run 2022-12-26 17:21:52 +08:00
Jiang Jiang Jian
0d6b9e463f Merge branch 'bugfix/avoid_ftm_initiator_mode_on_softap' into 'master'
Avoid ftm initiator mode on softap

Closes WIFI-5084, WIFI-5072, and WIFI-5078

See merge request espressif/esp-idf!21491
2022-12-23 10:41:33 +08:00
Shu Chen
0215575606 Merge branch 'feature/esp32c6_ieee802154_support' into 'master'
ieee802154: add ieee802154 support for esp32c6

See merge request espressif/esp-idf!21615
2022-12-22 18:01:58 +08:00
gauri patankar
f4a2829a70 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 14:00:32 +05:30
xiaqilin
57a6abdad1 ieee802154: add support ieee802154 for esp32c6 2022-12-22 10:45:23 +08:00
Shyamal Khachane
2e8ebdc0fc 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

Closes https://github.com/espressif/esp-idf/issues/10364
2022-12-20 14:45:47 +05:30
Jiang Jiang Jian
92a4a146a0 Merge branch 'bugfix/fix_max_conn_num_issue' into 'master'
esp_wifi: change max connection num on ESP32C3 and ESP32S3

Closes WIFI-5114

See merge request espressif/esp-idf!21503
2022-12-19 11:08:46 +08:00
David Čermák
a3dd334081 Merge branch 'bugfix/netif_test_rules' into 'master'
esp_netif various fixes: dependency cleanup, default flags, CI rules

Closes IDF-5550, IDFGH-7023, IDF-1261, and IDF-2155

See merge request espressif/esp-idf!20301
2022-12-16 21:26:05 +08:00
zhangyanjiao
590481d531 esp_wifi: change max connection num on ESP32C3 and ESP32S3
Closes WIFI-5114
2022-12-15 15:23:32 +08:00
David Cermak
678d7aadd9 esp-netif/lwip: Introduce TCP/IP stack has BSD API
* This variable is automatically selected when lwip stack is chosen
* This commit also fixes lwip loopback configuration
2022-12-14 14:12:50 +00:00