ninh
c80310b1f6
esp_wifi: close tsen when close phy
2021-03-31 21:06:00 +08:00
Jiang Jiang Jian
ada4a8274f
Merge branch 'bugfix/add_beacon_timeout_event' into 'master'
...
esp_wifi: Add beacon timeout event
Closes WIFI-3536
See merge request espressif/esp-idf!12809
2021-03-31 13:01:28 +00:00
Renz Bagaporo
7d85c42e52
esp32: move brownout and cache err int setup
2021-03-31 19:13:03 +08:00
Jiang Jiang Jian
813d9ca420
Merge branch 'bugfix/add_multiple_scan_mode' into 'master'
...
Bugfix: Connect example to add scan mode config
Closes IDFGH-4793 and IDFGH-4812
See merge request espressif/esp-idf!12525
2021-03-31 08:10:55 +00:00
xiehang
37567dcf2a
esp_wifi: Add beacon timeout event
...
Update TBTT when rx probe respones after beacon timeout.
2021-03-31 11:29:56 +08:00
Angus Gratton
fda565a5bf
Merge branch 'bugfix/partition_table_depends_esptoolpy' into 'master'
...
esptool_py: Fix issue where build with limited components doesn't include esptool_py
Closes IDFGH-4876 and IDFGH-4874
See merge request espressif/esp-idf!12653
2021-03-31 01:30:33 +00:00
zhangyanjiao
8ff8222519
esp_wifi: fix ESPTouch v2 issues
2021-03-30 14:29:33 +08:00
alex.li
55cbb541fc
Support new section addr and wifi lib for ESP32C3-ECO3.
2021-03-29 10:27:10 +08:00
ronghulin
fddaaef06e
fix phy init memory leak
2021-03-24 15:44:48 +08:00
0xFEEDC0DE64
63a7a8489b
Init phy data to default if invalid in flash partition to avoid bootloops
...
Signed-off-by: ronghulin <ronghulin@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/6610
2021-03-24 15:44:48 +08:00
ronghulin
1e7b43733c
bugfix: keep wakeup state during csa
2021-03-24 10:30:55 +08:00
Jiang Jiang Jian
6acebbeebd
Merge branch 'bugfix/fix_wdt_timeout_when_enable_rf' into 'master'
...
esp_wifi: fix wdt timeout when enable rf
Closes WIFI-3541
See merge request espressif/esp-idf!12834
2021-03-23 16:10:07 +00:00
Angus Gratton
fa2946d651
Merge branch 'feature/support_esp32s3_beta_3' into 'master'
...
Support ESP32S3 beta 3 target
Closes IDF-2908
See merge request espressif/esp-idf!12661
2021-03-23 10:17:58 +00:00
ninh
1c9fec8c8a
esp_wifi: fix wdt timeout when enable rf
2021-03-23 10:28:01 +08:00
shenjun
f9fe524c32
mesh/ps: network duty signaling
2021-03-18 16:22:19 +00:00
Marius Vikhammer
2aead8ba57
Support ESP32S3 Beta 3 target
...
Update ROM API. Port changes from bringup branch.
2021-03-18 10:24:22 +08:00
shenjun
0ce0e4d569
mesh: support for chain topology
2021-03-16 14:17:13 +08:00
ninh
deb94f4768
esp_wifi: support sta to sleep at disconnected status
2021-03-12 00:20:09 +08:00
xiehang
4d8a1aefbd
esp_wifi: Fix the second distribution network failure of ESPTouch v2
...
Closes https://github.com/espressif/esp-idf/issues/6679
2021-03-11 07:49:06 +00:00
Li Shuai
1595973fe8
light sleep: some default parameters optimization
2021-03-10 18:22:41 +00:00
Jiang Jiang Jian
9e4ba9a4db
Merge branch 'bugfix/fix_err_code_issue' into 'master'
...
esp_wifi: Fix set config return value error
Closes IDFGH-4877, TCI-556, WIFI-3375, and IDFGH-4829
See merge request espressif/esp-idf!12657
2021-03-10 10:12:01 +00:00
Angus Gratton
39a2d531f0
Merge branch 'feature/ldgen_mapping_extensions' into 'master'
...
ldgen: mapping flags extensions
Closes IDFGH-2524
See merge request espressif/esp-idf!12035
2021-03-09 22:43:08 +00:00
xiehang
0e10c7e198
esp_wifi: Fix some Wi-Fi bugs
...
1, Fixed issue of reason code change from 15 to 204 when provide wrong password
2, Fix set config return value error
3, Fix ampdu age timer memory leak
Closes https://github.com/espressif/esp-idf/issues/6673
2021-03-09 20:14:13 +08:00
ronghulin
1982f4a2fb
esp_wifi: fix some wifi bugs
...
1.Fixed issue with hidden AP scans after connecting AP.
2.Fix watchdog issue when receiving action frame.
Closes https://github.com/espressif/esp-idf/issues/6626
2021-03-08 21:02:47 +08:00
Angus Gratton
9c03f04769
esptool_py: Add esptool_py as a dependency for any component that uses it
...
Many components uses esptool_py_flash_target function, they all should
explicitly requier the esptool_py component.
Related to https://github.com/espressif/esp-idf/issues/6670
2021-03-08 19:47:38 +11:00
ronghulin
338944d981
Updated wifi lib:
...
1. Fix the issue that the parameters obtained from RAM cannot be saved to NVS
2. Modify not to store the default value in NVS
Closes https://github.com/espressif/esp-idf/issues/5129
Closes https://github.com/espressif/esp-idf/issues/5214
2021-03-05 14:47:14 +08:00
Renz Bagaporo
4bf07ae7d9
esp32: move wifi related sections and schemes to esp_wifi
2021-03-01 14:19:34 +08:00
zhangyanjiao
c803b37315
esp_wifi:
...
1. Added encrypt option for ESPTouch v1
2. Fixed issue of reason code change from 15 to 200 when provide wrong password
2021-02-26 20:17:43 +08:00
Xia Xiaotian
ce8b996ca0
esp_wifi: synchronize Wi-Fi adapter between different chips
...
Support preferring to allocate Wi-Fi memory from PSRAM on ESP32-S3
Support Wi-Fi TX cache buffer on ESP32-S3
2021-02-26 11:29:50 +08:00
Xia Xiaotian
f53c0c5b87
esp_wifi: store PHY digital registers before disabling PHY and load
...
them after enabling PHY
2021-02-26 11:29:50 +08:00
ChenJianxing
0a8ba88145
esp_wifi: optimization wifi rate
...
1.support disable 11b rate
2.support config espnow rate
3.fix sta negotiate phymode issue
4.update ftm rate
2021-02-25 10:21:46 +00:00
Shubham Kulkarni
cbe281130d
esp_wifi_deinit: Return ESP_ERR_WIFI_NOT_STOPPED if wifi is not stopped
...
Add test case to test this workflow
2021-02-24 10:52:57 +05:30
xiehang
7cca13640e
esp_wifi: some small fixes for ftm
2021-02-23 06:36:02 +00:00
Marius Vikhammer
04df1f3a42
CI: enable example builds for C3
...
Enables building C3 examples in CI.
Fixes related warnings/errors and disables examples that cannot run.
2021-02-09 12:04:02 +08:00
Xia Xiaotian
b71481093a
esp_wifi: fix some Wi-Fi scan and coexist bugs
...
1. Fix the bug that Wi-Fi performance is impacted by BLE starting scan for a while in some scenarios on ESP32-C3.
2. Fix the bug that Wi-Fi performance is impacted when Bluetooth change state for a while in some scenarios on ESP32-C3.
3. Fix the bug that BLE performance is impacted by Wi-Fi scan on ESP32-C3.
4. Fix the bug that Wi-Fi scan fails when BLE is scanning on ESP32-C3.
5. Fix Wi-Fi ACK and CTS rate when low rate is disabled on ESP32-C3.
2021-02-08 21:20:09 +08:00
Nachiket Kukade
f9ff3da5d4
wpa_supplicant: Fix error handling in DPP Action Rx
...
1. Fix error handling while receiving DPP Action frames
2. Update wifi lib to avoid forwarding Public action frames
with NULL bss
2021-02-07 23:23:34 +08:00
Kapil Gupta
00b1738197
esp_wifi: Fixed crash issue in presence of WEP AP
2021-02-05 09:13:24 +00:00
Jiang Jiang Jian
919e674f6e
Merge branch 'bugfix/bcn_timeout_with_power_down' into 'master'
...
components/coex: Fix bcn timeout with MAC BB power down
See merge request espressif/esp-idf!12285
2021-02-05 17:10:26 +08:00
Michael (XIAO Xufeng)
822a40a6cf
Merge branch 'fix/adc_xpd_calibration' into 'master'
...
adc: fixed the issue that ADC power is left on after the calibration is done
See merge request espressif/esp-idf!12207
2021-02-05 16:28:53 +08:00
baohongde
f8d85768b0
components/coex: Fix bcn timeout with MAC BB power down
2021-02-05 14:30:04 +08:00
Michael (XIAO Xufeng)
351ba5ff9e
adc: fixed the issue that ADC power is left on after the calibration is done
...
Also refactor the locks in the adc_common.c file.
2021-02-05 14:17:52 +08:00
ChenJianxing
dc350a9c7c
esp_wifi: support esp32c3 rom eco3
2021-02-04 18:28:06 +08:00
Jiang Jiang Jian
27100cc50e
Merge branch 'docs/wifi_doc_update' into 'master'
...
update wifi docs
See merge request espressif/esp-idf!12232
2021-02-04 16:37:31 +08:00
Jiang Jiang Jian
922194a295
Merge branch 'bugfix/fix_arp_buffer_error_in_smart_config' into 'master'
...
fix issue when router reply arp late and let sendto() return -1
See merge request espressif/esp-idf!12139
2021-02-03 16:33:30 +08:00
dongyou
fe76c53fec
update wifi docs
2021-02-02 11:42:00 +08:00
Marius Vikhammer
548fd02d10
docs: initial update of programming guide for C3
...
Updates "front page" content, get-started, and api-guides with C3 content
Enable building and publishing of C3 docs in CI
2021-02-01 15:40:02 +08:00
alex.li
a9b0336ac5
Fix wapi authmode in NVS and S3/C3 compability.
2021-01-30 19:14:37 +08:00
zhangyanjiao
c97279b51c
esp_wifi: fixed some Wi-Fi bugs
...
1. Fixed the MIC comparison logic AES-128-CMAC decryption
2. Fixed issue of setting incorrect log_length of NVS misc log
2021-01-29 19:29:57 +08:00
ronghulin
84a1e65495
esp_wifi: fixes some Wi-Fi bugs
...
1. Clear hotspot bss when auth timeout happens.
2. Fix PMK not saved in NVS for SoftAP for PSK mode.
3. Fix the bug for esptouch find hidden AP fail.
4. Fix not connect to open AP when WPA3 auth fail.
2021-01-29 11:02:40 +08:00
baohongde
eef66789d4
Mac BB power down in light sleep
...
components/bt: Do not use feature: timer support isr dispatch method
disable controller after wake up finished.
protect critical section of power down
choose clk in sleep
components/coex: mac bb power down in light sleep
components/coex: Macro changed
components/os: protect reserved interrupt number
update phy to phy_version 300,6e46ba7,Jan 25 2021
some bugfix
2021-01-28 22:28:04 +08:00
Nachiket Kukade
8de3b31d2d
FTM support for ESP32-C3 and connectionless mode
...
1. Support for FTM to work without any connection
1. Support for ESP32-C3 chip
3. Fix error case handling if FTM fails
4. Fix asynchronization, re-transmission related issues
2021-01-27 20:49:07 +05:30
Nachiket Kukade
a71976ab54
wifi/ftm: Stability fixes, raw FTM data in event
...
Update wifi lib with below additions -
1. Add FTM frame formation, IEEE definitions, event and IOCTL.
2. Implementation of FTM bursts, Measurements and RTT calculations
3. Fix Watchdog timeout, crashes with better cleanup of timers
4. Included FTM Report raw data in FTM event
Closes https://github.com/espressif/esp-idf/issues/5059
2021-01-27 11:16:35 +05:30
Nachiket Kukade
acb1143409
Add support for FTM operation
...
Add FTM support for below configuration -
1. Station(connected) as Initiator with AP as responder
2. SoftAP as responder with the connected Station
Added Station example with runtime FTM configurations.
2021-01-27 10:57:41 +05:30
dongyou
d21ae1faa8
fix smartconfig issue when router reply arp late
...
Closes https://github.com/espressif/esp-idf/issues/6443
2021-01-26 19:56:57 +08:00
Michael (XIAO Xufeng)
c99e891201
Merge branch 'feature/sync_adc_changes_from_c3_to_master_last' into 'master'
...
adc: sync adc changes from c3 to master (last time)
Closes IDF-2694
See merge request espressif/esp-idf!12134
2021-01-26 12:52:20 +08:00
Nachiket Kukade
76b2cb28d2
Add DPP Enrollee example
...
1. Add Example for DPP Enrollee
2. Use DPP Supplicant API's to setup connection
3. Add support for multiple channels in Bootstrapping
4. Add Unity testcase for testing Offchannel operations
Closes https://github.com/espressif/esp-idf/issues/5654
2021-01-25 13:26:33 +05:30
Nachiket Kukade
87205dc2f4
Add DPP Enrollee Support
...
1. Modify DPP Protocol modules for our purpose
2. Add DPP supplicant task and modules to handle DPP frames
3. Add DPP Public API's and definitions for DPP
2021-01-25 13:24:21 +05:30
Nachiket Kukade
1ca80b4221
Add support for Remain-on-Channel and Action Tx
...
1. Add API's and structures for Remain-onChannel & Action Tx
2. Handling of events and callbacks for the operations
3. Update WiFi lib with related API support
2021-01-25 13:24:21 +05:30
Michael (XIAO Xufeng)
c257daa950
wifi: run adc2 calibration on C3
2021-01-25 15:08:50 +08:00
Jiang Jiang Jian
76bb9565af
Merge branch 'bugfix/fix_wifi_interface_use' into 'master'
...
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA
See merge request espressif/esp-idf!12050
2021-01-25 12:18:27 +08:00
Chen Jian Xing
f71adec8fb
Support ESP32S3 (beta2) WiFi
2021-01-25 00:18:42 +08:00
Alex
67d0460c2d
Feature/wifi wapi release
2021-01-23 18:15:07 +08:00
Angus Gratton
cf9ac2ef9e
Merge branch 'bugfix/wifi_ld_phy_init' into 'master'
...
wifi: remove esp_phy_enable/disable IRAM_attr
See merge request espressif/esp-idf!12094
2021-01-22 14:23:01 +08:00
Marius Vikhammer
ec5fb44778
wifi: remove esp_phy_enable/disable IRAM_attr
...
esp_phy_enable and esp_phy_disable were declared both with IRAM attr
and with (noflash) in the linker fragment file, causing ldgen to emit
warnings.
Remove IRAM_attr and let the linker fragment decide placement
2021-01-22 11:04:47 +08:00
kapil.gupta
7bc74089f4
esp_wifi: Add pairwise cipher support in softAP config
...
Closes https://github.com/espressif/esp-idf/issues/5963
2021-01-20 22:40:40 +05:30
Li Shuai
27ddbf5fcc
light sleep: libphy optimization for esp32c3
2021-01-20 13:28:30 +08:00
xiehang
dffbce9813
esp_wifi: Modify ESP_IF_WIFI_AP to WIFI_IF_AP
2021-01-19 11:58:04 +08:00
xiehang
b8a8fe3f54
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA
2021-01-19 11:55:44 +08:00
ronghulin
3b2281ecdb
bugfix: update wifi lib
...
1. Fix the bug that LR can't work on esp32c3
2. Unlock mutex for esp_wifi_80211_tx when out of memory
3. Fix issue that esp_wifi_80211_tx can't be used in ap mode
4. Fix the compile error for esp32c3 in ESPTouch v2
2021-01-19 00:28:16 +00:00
ninh
659d805411
esp_wifi: light sleep optimization
2021-01-18 15:31:03 +08:00
Jiang Jiang Jian
6f39d90520
Merge branch 'feature/support_tx_amsdu' into 'master'
...
feature: support tx amsdu
Closes WIFI-1668
See merge request espressif/esp-idf!11167
2021-01-17 17:08:01 +08:00
Jiang Jiang Jian
8b33695495
Merge branch 'feature/support_esp32c3_s3_ble_5.0_and_bug_fix' into 'master'
...
Feature/support esp32c3 s3 ble 5.0 and bug fix
See merge request espressif/esp-idf!12007
2021-01-17 17:06:12 +08:00
ronghulin
adfa43a3a4
feature: support tx amsdu
2021-01-15 20:10:18 +08:00
zwj
7c1c669799
component/bt: add BLE v5.0 feature for bluedroid host
2021-01-15 17:55:12 +08:00
zhangyanjiao
1da9d9c356
esp_wifi: add esptouch v2
...
Closes https://github.com/espressif/esp-idf/issues/1311
2021-01-15 14:32:46 +08:00
Xia Xiaotian
50681db44c
esp_wifi: fix the issue that no tbtt is generated in station+softap mode when
...
maximum modem sleep is enabled
close https://github.com/espressif/esp-idf/issues/6006
2021-01-13 04:20:23 +00:00
Marius Vikhammer
9c8e4fd4c5
C3: build and run unit tests
...
Enable building and running of unit tests in CI for C3 as well as fix
related compile errors
Also enables building of C3 test apps
2021-01-11 11:34:37 +08:00
Chen Jian Xing
5b44295cb9
esp_wifi: fix esp32c3 code issues
...
1. enable wifi clk and rm dport header
2.syn phy_init_data.h from esp32
2021-01-10 16:16:28 +08:00
Jiang Jiang Jian
4d8af87298
Merge branch 'bugfix/fix_csa_timer_issue' into 'master'
...
esp_wifi: Fix csa timer issue
Closes WIFI-3228 and WIFI-3223
See merge request espressif/esp-idf!11801
2021-01-05 16:11:55 +08:00
Angus Gratton
db4fb49432
esp_common: Fix issue with SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY not visible on c3
...
Create a common symbol name to use from linker.lf fragments
2020-12-31 15:20:05 +11:00
Marius Vikhammer
0301c66bf0
esp32c3: Disable components that are not yet supported
2020-12-31 09:27:38 +11:00
xiehang
84e44914c0
esp_wifi: Update WiFi lib
...
1. Fix csa timer issue
2. Fix country code last byte to space instead of NULL
3. Fix softap cannot forward A-MSDU
Closes https://github.com/espressif/esp-idf/issues/6315
2020-12-30 03:34:11 +00:00
zhangyanjiao
4ebc4eda8c
esp_wifi: fix the espnow bug for esp32c3
2020-12-25 18:31:35 +08:00
xiehang
0cbb7d503d
esp_wifi: Update WiFi lib
...
1. Refactor wifi_interface_t
2. Faster WiFi station connect improvement, avoid 100ms passive scan
3. Add FCS failed packets filter
4. Update esp32 phy lib to v4660
Closes https://github.com/espressif/esp-idf/issues/986
2020-12-25 16:46:01 +08:00
xiehang
d1222ce158
esp_wifi: Refactor wifi_interface_t
2020-12-25 02:49:12 +00:00
zhangyanjiao
e040168a9f
esp_wifi: fix the bug that esp32s2 can't get CSI info
...
Closes https://github.com/espressif/esp-idf/issues/5857
Closes https://github.com/espressif/esp-idf/issues/1855
2020-12-23 16:18:11 +08:00
ChenJianxing
1780d9d2b5
esp_wifi: optimize phy version log
2020-12-23 10:47:25 +08:00
xiehang
32dd739da4
esp_wifi: Update wifi lib
...
1. Add check CSA state before CSA timer process
2. Change wifi scan duration from 120ms to 100ms
3. Using deport reg instead of ahb
4. Check TID in ieee80211_recv_bar()
5. Revert to report specific reason code when receiving deauth during 4-way-handshark
6. Fix the bug that tx ampdu parameter is not from peer device
2020-12-22 15:48:24 +08:00
ronghulin
b4e4fd7a67
bugfix: fix some wifi bugs
...
1. fix max tx power to 20dBm
2. fix the issue that the esp_wifi_sta_get_ap_info can't get country
Closes https://github.com/espressif/esp-idf/issues/6267
2020-12-22 11:51:13 +08:00
kapil.gupta
903198ad7f
esp_wifi: Fix some wifi bugs.
...
1. Send encrypted mgmt frames in pmf connection
2. Remove dependecy of SHA256 AKM on PMF
3. Fix null pointer dereference
4. Set TTLS default phase2 method as MSCHAPV2.
2020-12-21 14:27:10 +05:30
ChenJianxing
1ffb12e6fd
esp_wifi: add esp32c3 wifi lib
2020-12-15 17:13:10 +08:00
Michael (XIAO Xufeng)
85ac572e4a
Merge branch 'bugfix/phy_set_xpd_sar' into 'master'
...
wifi: add set_xpd_sar override
Closes IDFGH-235, IDFGH-1442, IDFGH-1917, IDFGH-2473, and IDFGH-2168
See merge request espressif/esp-idf!7185
2020-12-07 16:09:02 +08:00
Ivan Grokhotkov
80e7252c13
wifi: add set_xpd_sar override
...
Wi-Fi enables and disables ADC when exiting and entering sleep mode.
Coordinate ADC power state with other modules, using adc_power_acquire
and adc_power_release.
2020-12-07 10:45:04 +08:00
Sachin Parekh
be5563207d
esp32: Provision to redirect .bss to external ram through linker fragments
...
Include external ram section in the linker template to process it
through linker script generation mechanism. This enables redirection of .bss section to external memory using linker fragments
libnet80211, libpp, libbt, liblwip: Redirect .bss through fragments
2020-12-04 06:32:38 +00:00
dongyou
070eaea67e
Add description for esp_wifi_set_inactive_time()
...
Add documentation to avoid using WiFi modem sleep for WiFi/BT coexistence
Remove description of unusable API esp_wifi_restart()
Update esp_now_fetch_peer discription
Update table format prblm for esp_wifi_set_max_tx_power()
Update description for ssid and password
Closes https://github.com/espressif/esp-idf/issues/6049
Closes https://github.com/espressif/esp-idf/issues/5759
Closes https://github.com/espressif/esp-idf/issues/5719
Closes https://github.com/espressif/esp-idf/issues/3762
2020-11-26 20:52:36 +08:00
kapil.gupta
447eb894c0
esp_wifi: Always register pmf tx/rx routines
...
Fixes the issue when PMF packets are not sent after mode change.
2020-11-24 15:56:42 +05:30
Jiang Jiang Jian
e130d27fb7
Merge branch 'bugfix/control_wpa3_code_with_flag' into 'master'
...
Use WPA3 flag to reduce code size
Closes WIFI-2910 and IDFGH-4103
See merge request espressif/esp-idf!10963
2020-11-23 19:52:38 +08:00
Angus Gratton
d6bdd1cb32
Merge branch 'bugfix/small_cleanups' into 'master'
...
Small cleanups
See merge request espressif/esp-idf!11141
2020-11-23 17:23:53 +08:00
zhangyanjiao
c0f4fdfd4d
wpa_supplicant: Use WPA3 flag to reduce code size
...
Flag ESP32_WIFI_ENABLE_WPA3_SAE from Menuconfig is used to
control the stack size required by WPA3. Use the same flag
to compile out the WPA3 code and control the code size.
With this flag disabled code footprint reduces by about 7.7kB
in libwpa_supplicant.a
Update WiFi libs with added checks to cleanly handle disabling
of WPA3 callbacks.
Closes https://github.com/espressif/esp-idf/issues/5971
2020-11-23 14:28:12 +08:00
Angus Gratton
6a19590132
esp_wifi: Remove redundant comment
2020-11-17 22:51:07 +00:00