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
Sarvesh Bodakhe
ecafe007e5
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-14 12:17:53 +05:30
chenjianxing
1c96b509bb
esp_wifi: fix multicast pkts drop issue for some AP when DTIM period > 1
...
Closes WIFI-5076
2022-12-13 16:57:41 +08:00
Jessy Chen
45ead31bd5
esp_wifi: upload more wifi pkt info in rx callback for espnow & csi
2022-12-05 22:30:08 +08:00
Kapil Gupta
924c709efe
WiFi: Add WPS softAP registrar example and events
2022-12-02 15:12:25 +05:30
muhaidong
b07438f26f
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-02 02:24:02 +00:00
zhangyanjiao
4b5904aa58
esp_wifi: fix the ESPNOW crash when modify the interface of the peer
...
Closes WIFI-5046
Closes WIFI-5047
2022-12-01 11:13:10 +08:00
Nachiket Kukade
b625554643
esp_wifi: Update wifi libs
...
- Fixed regression caused in commit ef80cf0b65
- Fixed unprotected SA Query issue
2022-11-30 11:21:53 +00:00
Jiang Jiang Jian
09231b4fa2
Merge branch 'bugfix/fix_failure_of_wifi_channel_configuration' into 'master'
...
phy: only set phy_init_flag at power domain off, when all modems deinit
Closes WIFI-4983
See merge request espressif/esp-idf!21235
2022-11-30 14:41:08 +08:00
Shreyas Sheth
377eeedfef
esp_wifi:Mandate stations to have minimum security wpa3
2022-11-30 13:01:40 +08:00
Song Ruo Jing
7466ddfa8c
ci: Make consistence between pytest_*.py and .build-test-rules.yml for esp32c6 (i.e. to pass check_test_scripts_build_test_rules.py)
2022-11-28 11:58:30 +08:00
liuning
b8d3553a1c
phy: only set phy_init_flag at power domain off, when all modems deinit
2022-11-25 03:18:12 +00:00
Kapil Gupta
ed2abeb07f
esp_wifi: Update wifi libs
...
Add changes to prevent security overwritten in full scan
Co-authored-by: Nachiket Kukade <nachiket.kukade@espressif.com>
2022-11-24 10:42:57 +05:30
Nachiket Kukade
986bd37528
esp_wifi: Update wifi libs
...
Fix unprotected SA Query issue and scan regression
2022-11-23 17:33:51 +05:30
zhangyanjiao
fbbb762a4e
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-11-18 17:56:46 +08:00
zhangyanjiao
d11ee31bf1
Modify maximum softap conn num and espnow encryption peer num
2022-11-17 15:02:34 +08:00
zhangyanjiao
eab2ce1ca8
esp_mesh: fix the memeory leak issue when call esp_mesh_start/stop
...
Closes WIFI-5023
Closes FCS-1081
Closes IDFGH-4525
2022-11-16 14:14:07 +08:00
shenjun
8dc397d88a
esp_wifi_mesh: update wifi mesh libs
...
1. fix invalid child issue
2. fix WIFI_EVENT_AP_STADISCONNECTED event error
2022-11-14 17:48:17 +08:00
Liu Ning
6bb28c4cdc
Merge branch 'bugfix/publish_wifi_connectionless_feature' into 'master'
...
esp_wifi: fix connectionless issues and add connectionless power-save documenation
Closes BT-2595 和 WIFI-4822
See merge request espressif/esp-idf!20600
2022-11-11 19:40:15 +08:00
Chen Yu Dong
a05e8996ab
Merge branch 'ci/migrate_wifi_unit_test_app' into 'master'
...
CI: Migrate wifi unit tests to componment_ut
Closes IDF-5586
See merge request espressif/esp-idf!20787
2022-11-11 16:24:49 +08:00
liuning
b153469841
esp_wifi: fix some connectionless related issue and add connectionless power save guide
2022-11-11 15:59:19 +08:00
Chen Yudong
a78d492091
pytest: use case_tester for multi-device tests
2022-11-10 22:29:05 +08:00
Chen Yudong
074e3f39de
CI: Migrate wifi unit tests to componment_ut
2022-11-10 01:17:10 +08:00
muhaidong
cc4be9946d
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-11-09 20:47:44 +08:00
Kevin (Lao Kaiyao)
5bed8fab49
Merge branch 'refactor/rename_h2_to_h4' into 'master'
...
esp32h2: renaming esp32h2 to esp32h4
Closes IDF-6098
See merge request espressif/esp-idf!20676
2022-11-09 19:19:43 +08:00
muhaidong
e972161b7a
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-09 11:43:09 +08:00
zhangyanjiao
c8d0704f1c
update doc for set channel
2022-11-09 11:42:26 +08:00
zhangyanjiao
3f87a9824a
update wifi reason code
2022-11-09 11:42:26 +08:00