xueyunfei
601982ccad
esp_wifi:add clear ap list interface
2022-08-17 15:32:47 +08:00
muhaidong
36feb95a9e
esp_wifi: done beacon monitor timer and eloop timer when deinit
2022-08-09 17:22:39 +08:00
liuning
73817d8889
esp_wifi: fix fail to scan after recv disassoc/deauth for esp32s2
2022-08-06 09:54:27 +00:00
Li Shuai
4f2cec8495
1. Wi-Fi: update tsf tick interval when lpclk is modified
...
2. Move register_lpclk_callback to coexistence
2022-08-04 14:11:25 +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
xueyunfei
1f9fa7b1b2
esp_wifi:bugfix for wifi owe memory leak
2022-07-14 20:34:15 +08:00
muhaidong
8daab872c5
esp_wifi: fix sta reset beacon timeout timer issue
2022-07-13 16:35:34 +08:00
Kapil Gupta
ff00a1c7a2
esp_wifi: Clear old keys before going for new connection
2022-07-12 16:37:55 +05:30
muhaidong
52f378ac7b
esp_wifi: reset beacon timeout timer when keep alive null works or hw drop beacon
2022-07-11 20:54:25 +08:00
Jiang Jiang Jian
a7bf3af687
Merge branch 'bugfix/reset_ble_hw_on_inititalization' into 'master'
...
component/bt: reset Bluetooth hardware during controller inititalization on ESP32-C3/ESP32-S3
Closes BT-2402
See merge request espressif/esp-idf!18831
2022-07-08 16:21:41 +08:00
Jiang Jiang Jian
7e2ee82160
Merge branch 'bugfix/fix_qos_null_update_ba_ssn' into 'master'
...
wifi:bugfix fix qos null update ba ssn
Closes IDFGH-6811
See merge request espressif/esp-idf!18882
2022-07-08 14:00:11 +08:00
xueyunfei
95591fdf65
wifi:bugfix fix qos null update ba ssn
2022-07-07 15:23:29 +08:00
wangmengyang
1d55f12c2d
component/bt: reset Bluetooth hardware during controller inititalization on ESP32-C3/ESP32-S3
...
1. Rename MACROs SYSTEM_WIFI_RST_EN register bit fields to be more recognizable
2. reset Bluetooth baseband and clock bits to fix the issue of task watchdog triggered during controller initialization due to invalid hardware state
2022-07-06 16:23:48 +08:00
Mahavir Jain
f45dbd1f97
esp_wifi: netif: set interface before registering Wi-Fi driver RX callback
...
If appropriate interface is not set then RX callback can potentially dereference
null pointer from `s_wifi_netifs` table. This in-fact resulted in `LoadProhibited` exception
in HTTP server example test case.
Order here for setting interface and then registering callback was correct but
it was modified in 0e71a325de
causing this regression.
2022-07-06 09:03:08 +05:30
xueyunfei
a7ae72e1f5
wifi:bugfix for wrong configuration of static txbuf
2022-07-05 14:02:31 +08:00
chenjianxing
ce1ab731be
esp_wifi: remove deauth before first auth
...
1.fix deep sleep can't reconnect to ap when pmf enable
2.fix some ap will ignore auth when rx deauth for some time
2022-07-05 02:42:08 +00:00
xueyunfei
46a68f4d41
wifi:bugfix for close sniffer mode when wifi stop
2022-06-30 15:47:50 +08:00
Nachiket Kukade
2efe4b791d
esp_wifi: Update wifi lib
...
Fix issue where set_config API uses stale NVS config if PMF disable
API was used before
2022-06-27 11:37:59 +05:30
Jiang Jiang Jian
203c3e6e1c
Merge branch 'bugfix/fix_esp32c2_owe_support' into 'master'
...
esp_wifi: fix esp32c2 owe support
See merge request espressif/esp-idf!18610
2022-06-22 15:46:46 +08:00
Jiang Jiang Jian
0ee5cb2f4c
Merge branch 'bugfix/wifi_condition_linker_mapping' into 'master'
...
WiFi: Fix linking of WiFi functions dependent on PM_ENABLE
See merge request espressif/esp-idf!18597
2022-06-22 10:57:05 +08:00
morris
ac98d89ced
Merge branch 'bugfix/fix_esp32c2_does_not_support_csi_issue' into 'master'
...
Bugfix/fix esp32c2 does not support csi issue
Closes IDF-4216
See merge request espressif/esp-idf!18595
2022-06-21 22:04:21 +08:00
chenjianxing
d4d3d65898
esp_wifi: fix esp32c2 owe support
2022-06-21 20:58:10 +08:00
Darian Leung
0c895466ef
wifi: Fix linking of WiFi functions dependent on PM_ENABLE
...
The following functions are only defined when CONFIG_PM_ENABLE is defined:
- wifi_apb80m_request()
- wifi_apb80m_release()
This commit makes their linker script mapping statements also dependent on CONFIG_PM_ENABLE
thus fixing some linker errors when CONFIG_PM_ENABLE is disabled.
2022-06-21 00:12:08 +08:00
muhaidong
b48b9beace
esp_wifi: esp32c2 does not support csi.
2022-06-20 21:47:51 +08:00
Shreyas Sheth
591c7a496c
esp_wifi: WPA3 SAE H2E support for station
2022-06-20 18:51:11 +05:30
Jiang Jiang Jian
02b9aafa96
Merge branch 'bugfix/fix_some_wifi_issue' into 'master'
...
esp_wifi: add multiphy support for c2 and fix ftm with ps issue
Closes WIFI-4468, WIFI-4464, WIFI-4467, WIFI-4463, WIFI-4456, WIFI-4459, WIFI-4460, WIFI-4474, and WIFI-4505
See merge request espressif/esp-idf!18480
2022-06-17 20:00:24 +08:00
Jack
cb0dd5cc75
fix the bug that some memory leaked in phy after wifi/ble deinit
2022-06-16 20:42:20 +08:00
muhaidong
820bfe9cd8
esp_wifi: fix ftm with ps and add multiphy support for c2
...
1. sleep: fix potential issue when PSRAM enable.
2. esp32c2: add multiphy support.
3. ftm: workaround for ftm with ps.
4. add regdomain max channel of ap.
5. update total scan time.
6. update min chan when country policy is auto.
7. check whether country schan and nchan is valid.
2022-06-16 20:11:22 +08:00
Shyamal Khachane
6d55761f60
OWE support for station
2022-06-15 17:20:24 +05:30
Li Shuai
7efa8b855a
sleep: beacon loss and noise check timer optimize for wifi power save
2022-06-09 15:52:05 +08:00
morris
aa3ddbc3c6
Merge branch 'test/enable_c2_target_tests' into 'master'
...
ci: enable target tests for ESP32-C2
Closes IDF-4989
See merge request espressif/esp-idf!18182
2022-06-03 16:41:24 +08:00
David Čermák
46e599c56d
Merge branch 'feature/lwip_rework_patches' into 'master'
...
lw-IP: Reworked patches
Closes IDFGH-6197
See merge request espressif/esp-idf!17388
2022-06-03 15:26:55 +08:00
Mu Hai Dong
2905223889
Merge branch 'bugfix/fix_country_policy_issue' into 'master'
...
esp_wifi: fix country policy issue
Closes WIFI-3908, WIFI-4287, and WIFI-4279
See merge request espressif/esp-idf!17366
2022-06-02 20:01:07 +08:00
muhaidong
06fb6b2e32
esp_wifi: fix country policy issue
...
1. Fix not update phy according to country code.
2. Update regdomain max channel according to country info from nvs and or AP.
3. Change nvs default country from "CN" to "01".
4. Channel 14 is allowed only 11b mode.
5. Remove csa when switch channel from/to 14 channel.
6. Update phy mode nvs when softap channel from 14 to other.
7. Fix the bug that check whether channel parameter is valid.
Docs: change default country from "CN" to "01"
2022-06-02 16:15:48 +08:00
Michael (XIAO Xufeng)
6a8aed12ee
ci: partially enable ut tests for esp32c2
...
Disabled test cases are tracked in:
IDF-4465, IDF-5045, IDF-5057, IDF-5058, IDF-5059, IDF-5060, IDF-5061, IDF-5131
- test_fatfs: IDF-5136
- test_pm: IDF-5053
- test_cache_mmu: IDF-5138
- test_partitions: IDF-5137
- test_vfs: IDF-5139
- test_freertos: IDF-5140
- test_wpa_supplicant: IDF-5046
- test_mbedtls: IDF-5141
- test_pthread: IDF-5142
- test_protocomm: IDF-5143
- test_lightsleep: IDF-5053
- test_taskwdt: IDF-5055
- test_tcp_transport: IDF-5144
- test_app_update: IDF-5145
- test_timer: IDF-5052
- test_spi: IDF-5146
- test_rtc_clk: IDF-5060
- test_heap: IDF-5167
ci: fixed issues for tests of libgcc, ets_timer, newlib
test_pm: support on C2
2022-06-02 14:23:35 +08:00
David Cermak
7efcb5e625
lwip: Add missing null-checks, rename to vanilla-lwip
2022-06-01 20:38:40 +02:00
David Cermak
0e71a325de
lwip/wifi: Improve Rx throughput on the wifi defaults (sta+ap)
2022-05-31 15:23:06 +02:00
KonstantinKondrashov
ac4c7d99fe
dport: Move DPORT workaround to G0
2022-05-31 13:44:18 +08:00
Jiang Jiang Jian
8efa4d64e0
Merge branch 'feature/add_task_wrappers' into 'master'
...
wpa_supplicant: Add osi layer for FreeRTOS calls
Closes WIFI-2996
See merge request espressif/esp-idf!11734
2022-05-30 10:29:50 +08:00
Jack
47909a76c0
esp_wifi: make int types consistent for esp32c2
2022-05-29 18:59:13 +08:00
Anton Maklakov
282c9ab1e1
esp_wifi: make int types consistent
2022-05-29 18:42:09 +08:00
Jack
74e0096472
relax memory leak threshold for some wifi test case
2022-05-29 10:38:54 +08:00
Jack
7a8b63869f
deinit BB MAC back memory when they are not used
2022-05-29 00:13:32 +08:00
Jessy Chen
7b9b448041
esp_wifi: optimize wifi kconfig
2022-05-28 08:52:55 +00:00
liuning
e0decf4839
esp_wifi: fully support connectionless traffic with ps and coex
2022-05-28 08:52:55 +00:00
Jessy Chen
0ae391ef07
esp_wifi: enable FTM for esp32c2 & fix pre-commit check
2022-05-28 08:52:55 +00:00
Jack
58d04eb203
esp_wifi: update esp32c2 wifi rom & lib
2022-05-28 08:52:55 +00:00
zhangyanjiao
e979e9701f
esp_wifi: bringup esp32c2 wifi
2022-05-28 08:52:55 +00:00
Kapil Gupta
0cdad0a002
wpa_supplicant: Add wrappers for FreeRTOS APIs
2022-05-26 15:23:21 +05:30
Marius Vikhammer
0687daf2c8
kconfig: move remaining kconfig options out of target component
...
The kconfig options are moved to the component where they are used,
mostly esp_hw_support and esp_system.
2022-05-23 17:57:45 +08:00
liuning
9d7479eda3
esp_wifi: fix no null data after WiFi waking up.
2022-05-17 21:45:55 +08:00
Nachiket Kukade
2aa156d8b5
esp_wifi: Update wifi libs
...
1. Fix issues caused during SoftAP mode change
2. Improve SoftAP PMF logic for triggering of SA Query and cleanup
2022-05-09 16:15:57 +05:30
Kapil Gupta
805b5c9115
Merge branch 'feature/11r_changes' into 'master'
...
esp_wifi: Add support for FT psk
Closes WIFI-2160
See merge request espressif/esp-idf!16754
2022-05-05 14:30:37 +08:00
Ivan Grokhotkov
47659be5b8
build system: remove lwip from common requirements
...
lwip was added to common requirements list to provide "sys/socket.h"
header to all components without additional requirements specified.
However, lwip pulls in a lot of dependencies on other components.
This commit removes lwip from common requirements to reduce the number
of components in G1-only apps.
To compensate for this removal, the following changes are made:
- newlib (which is a common requirement) has a public dependency on
lwip if lwip is present in the build. This ensures that sys/socket.h
is available as long as lwip component is included into the build.
- lwip is now a public requirement of esp-tls since esp_tls.h includes
sys/socket.h header.
- lwip is now a public requirement o esp_http_client because
sys/socket.h is included from esp_http_client.h
- lwip is now a private requirement of esp_wifi for "smartconfig_ack"
- lwip is now a private requirement of mqtt for socket functions
- lwip is now a public requirement of tcp_transport because
esp_transport_tcp.h includes sys/socket.h header.
- mbedtls checks if lwip component is present in the build. If yes,
net_sockets.c is added to the build, along with the dependency on
lwip. Previously lwip was a public requirement of mbedtls
unconditionally.
system/g1_components test app is updated to reflect the changes
Default public dependencies of a component before and after this
change, except common requirements:
- esp_timer (public dependency of freertos)
- bootloader_support (public dependency of esp_hw_support)
- vfs (public dependency of lwip)
- esp_wifi (public dependency of lwip)
- esp_event (public dependency of esp_wifi)
- esp_netif (public dependency of esp_event)
- esp_eth (public dependency of esp_netif)
- esp_phy (public dependency of esp_wifi)
After:
- esp_timer (public dependency of freertos)
- bootloader_support (public dependency of esp_hw_support)
Altogether, the following components have been always added as
public requirements to all other components, and are not added now
([breaking-change]):
- lwip
- vfs
- esp_wifi
- esp_event
- esp_netif
- esp_eth
- esp_phy
Application components now need to explicitly declare dependencies on
these components.
2022-05-02 20:47:17 +02:00
kapil.gupta
3d5ca7ee6e
wpa_supplicant: Add support for FT psk
2022-05-01 16:16:51 +05:30
Jiang Jiang Jian
4adab0b707
Merge branch 'bugfix/default_ssid_not_set' into 'master'
...
esp_wifi: Fix for default ssid not set.
Closes IDFGH-7141
See merge request espressif/esp-idf!17910
2022-05-01 17:35:44 +08:00
Ivan Grokhotkov
3175e472ba
Merge branch 'bugfix/freertos_esp_timer_deps' into 'master'
...
esp_timer: remove from freertos public requirements
See merge request espressif/esp-idf!17818
2022-04-27 04:13:25 +08:00
aditi_lonkar
9fb0708782
esp_wifi: Fix for default ap ssid not set.
2022-04-26 17:55:14 +05:30
Jiang Jiang Jian
e966af7237
Merge branch 'docs/update_wifi_api_doc' into 'master'
...
DOC: update wifi api docs
Closes DOC-2542, DOC-2672, DOC-743, and WIFI-3748
See merge request espressif/esp-idf!17552
2022-04-26 17:12:50 +08:00
Jiang Jiang Jian
43f769dcb4
Merge branch 'contrib/github_pr_8779' into 'master'
...
esp_wifi: fix clearing default wifi netif procedure(GitHub PR)
Closes IDFGH-7179
See merge request espressif/esp-idf!17788
2022-04-26 11:14:39 +08:00
Ivan Grokhotkov
708e99497b
global: add dependency on esp_timer component and include esp_timer.h
...
Some components were including esp_timer.h without declaring a
dependency on esp_timer component. This used to work due to a
transitive public dependency on esp_timer from freertos component.
Add explicit dependencies where needed.
Also some source files were using esp_timer functions without
including the header file. This used to work because esp_timer.h was
included from freertos port header file. This commit adds esp_timer.h
includes where needed.
2022-04-25 18:39:23 +02:00
Jack
4169ca1a2b
esp_wifi: update wifi lib
2022-04-25 00:00:51 +08:00
zhangyanjiao
e3b8f59867
update wifi api docs
2022-04-24 23:55:54 +08:00
Jack
59af19b502
esp_wifi: update wifi lib
2022-04-24 23:22:19 +08:00
Jessy Chen
8c3a8ea603
esp_wifi: update esp_wifi_internal_set_fix_rate usage
2022-04-24 21:20:54 +08:00
Jessy Chen
5cb82df4dc
esp_wifi: update noise floor unit
2022-04-24 21:20:54 +08:00
xueyunfei
26fa8260b1
Doc:update wifi api docs
...
* Add documents related to espnow config rate
* Optimization set dns server api description
2022-04-24 21:20:54 +08:00
Jack
63af85f7e7
esp_wifi: fix espnow recv unencrypted packets issue
...
Closes https://github.com/espressif/esp-idf/issues/8577
Closes https://github.com/espressif/esp-idf/issues/8574
2022-04-24 20:23:12 +08:00
muhaidong
8ef2ed8269
esp_wifi: fix the bug that check whether bssid is zero mac
2022-04-24 20:09:07 +08:00
Jiang Jiang Jian
5203b876db
Merge branch 'bugfix/pmf_disable_api' into 'master'
...
Add API to disable PMF configuration
See merge request espressif/esp-idf!17685
2022-04-22 10:29:41 +08:00
Krzysztof Lewandowski
e72151055b
esp_wifi: fix clearing default wifi netif procedure
...
Prior to this change "esp_wifi_clear_default_wifi_driver_and_handlers"
will not remove netif pointer from table when both AP and STA interfaces were
created and destroying default wifi interfaces is done in unfortunate
order. As a result there is dangling pointer left and it may cause crash in
later code (i.e. when esp_wifi_stop() is called).
2022-04-15 05:22:24 -04:00
songruo
60bb5c913d
clk_tree: prework of introducing clk subsystem control
...
1. Clean up clk usage in IDF, replace rtc_clk_xtal/apb_freq_get with
upper level API esp_clk_xtal/apb_freq
2. Fix small errors and wrong comments related to clock
3. Add clk_tree_defs.h to provide an unified clock id for each chip
Modify the NGed drivers to adopt new clock ids
2022-04-11 12:09:06 +08:00
Michael (XIAO Xufeng)
b585d0afd0
Merge branch 'bugfix/phy_regi2c_critical_section' into 'master'
...
esp_phy: use spinlock to avoid regi2c access conflicts
See merge request espressif/esp-idf!17298
2022-04-06 09:30:03 +08:00
Nachiket Kukade
2982910075
esp_wifi: Update wifi libs
...
PMF capable flag in wifi_pmf_config_t is internally enabled,
for devices to be able to connect to WPA3 only AP's without
additional user configuration. But PMF may need to be disabled
for debug purposes or to avoid PMF issues on AP side. Add API
esp_wifi_disable_pmf_config to support this.
2022-04-05 17:44:42 +05:30
Song Ruo Jing
e13bb580c7
Merge branch 'refactor/gpio_unit_test' into 'master'
...
gpio: Clean up unit tests and enable ci ut on some previously disabled test cases
Closes IDF-4620
See merge request espressif/esp-idf!17417
2022-04-01 18:38:19 +08:00
Michael (XIAO Xufeng)
f3adbf9953
esp_phy: use spinlock to avoid regi2c access conflicts
2022-04-01 10:49:29 +08:00
songruojing
bdb5b11b39
unit test: move unit-test_app test_utils_task_delete API to be a utils API (unity_utils_task_delete) in unity component
2022-03-30 15:11:08 +08:00
morris
29e9b5b46a
hw_support: move periph_ctrl from driver to hw_support
2022-03-29 11:53:31 +08:00
Nachiket Kukade
01c49082c4
esp_wifi: Update wifi lib
...
1. In scan, correctly identify AP's with mixed key mgmt
2. Fix PMF Required setting not working in SoftAP config
Closes https://github.com/espressif/esp-idf/issues/8426
2022-03-17 13:04:58 +05:30
ChenJianxing
764b606d9d
esp_wifi: add ht40 support for 80211_tx & espnow
2022-03-14 21:23:48 +08:00
David Cermak
7db0f0feb1
esp_mesh: Document that hard-coded non-root nodes do not need TCP/IP
2022-03-10 08:19:44 +01:00
David Cermak
795b7ed993
esp_netif: Remove tcpip_adapter compatibility layer
2022-03-10 08:19:43 +01:00
Sagar Bijwe
6501eff7f5
Remove legacy system event framework.
2022-03-09 15:53:45 +05:30
Jiang Jiang Jian
4778c249e6
Merge branch 'Optimize/null_pointer_judgment_of_eb' into 'master'
...
esp_netif:optimize the null pointer judgment of eb
Closes IDF-4576
See merge request espressif/esp-idf!16934
2022-03-09 11:38:24 +08:00
Sudeep Mohanty
a9fda54d39
esp_hw_support/esp_system: Re-evaluate header inclusions and include directories
...
This commit updates the visibility of various header files and cleans up
some unnecessary inclusions. Also, this commit removes certain header
include paths which were maintained for backward compatibility.
2022-03-07 11:18:08 +05:30
Jiang Jiang Jian
1068c7720b
Merge branch 'bugfix/ignore_pmf_capable_flag' into 'master'
...
Always connect Station in PMF mode if possible
Closes WIFI-4320
See merge request espressif/esp-idf!17023
2022-03-03 19:34:36 +08:00
Marius Vikhammer
bb88338118
system: move kconfig options out of target component
...
Moved the following kconfig options out of the target component:
* ESP32_X_BROWNOUT_* -> esp_system
* ESP32_X_DEBUG_OCDAWARE -> esp_system
* APP_NO_BLOBS -> build type (main kconfig)
2022-03-02 01:22:26 +00:00
xueyunfei
473cc00667
optimize the null pointer judgment of eb
2022-02-23 16:01:19 +08:00
Nachiket Kukade
7ed8fdac59
esp_wifi: Always connect Station in PMF mode if possible
...
While using esp_wifi_set_config, flag pmf_capable defaults to 0.
Users may not bother to enable it, which prevents connection to a
WPA3 AP. Or the AP may reset into WPA3 mode failing the re-connection.
To ensure better security, deprecate the pmf_capable flag and set it to
true internally.
2022-02-21 11:31:56 +05:30
Nachiket Kukade
af51170b99
esp_wifi: Update wifi lib
...
1. Fix assoc comeback causing invalid state
2. Better cleanup in some FTM failure cases
2022-02-14 19:42:50 +05:30
Darian
61639fe1ec
Merge branch 'refactor/freertos_remove_legacy_types' into 'master'
...
FreeRTOS: Remove usage of legacy data types
Closes IDF-4566
See merge request espressif/esp-idf!16680
2022-02-10 04:57:00 +00:00
Jiang Jiang Jian
cca2234619
Merge branch 'feature/pmf_support_for_softAP' into 'master'
...
esp_wifi: Add pmf support for softAP.
Closes WIFI-1353
See merge request espressif/esp-idf!14906
2022-02-10 04:17:00 +00:00
Darian Leung
57fd78f5ba
freertos: Remove legacy data types
...
This commit removes the usage of all legacy FreeRTOS data types that
are exposed via configENABLE_BACKWARD_COMPATIBILITY. Legacy types can
still be used by enabling CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY.
2022-02-09 23:05:45 +08:00
aditi_lonkar
c3a661c0fd
esp_wifi: Add pmf support for softAP.
2022-02-09 18:58:37 +05:30
morris
ef00bd59dc
esp_rom: extract int matrix route and cpu ticks getter
2022-02-09 13:52:20 +08:00
laokaiyao
cf049e15ed
esp8684: rename target to esp32c2
2022-01-19 11:08:57 +08:00
Yuan Jian Min
9485873669
Merge branch 'bugfix/fix_smartconfig_setopt_fail' into 'master'
...
smartconfig: Fix smartconfig set socket option fail
Closes IDFGH-6539
See merge request espressif/esp-idf!16634
2022-01-12 06:16:47 +00:00
likunqiao
8b3cddf09a
esp_phy: move lib_printf.c to esp_phy
...
* fix the issue when esp32h2 target using phy_printf and rtc_printf
2022-01-10 17:51:52 +08:00
yuanjm
2e31779931
smartconfig: Fix smartconfig set socket option fail
...
Closes https://github.com/espressif/esp-idf/issues/8189
2022-01-07 20:05:21 +08:00
Jiang Jiang Jian
cde8b94a65
Merge branch 'bugfix/dpp_no_ip_issue' into 'master'
...
Fix STA not getting IP after DPP issue
Closes IDFGH-5958
See merge request espressif/esp-idf!15578
2022-01-06 15:16:47 +00:00
Jiang Jiang Jian
477cf09f45
Merge branch 'bugfix/ci_check_blobs' into 'master'
...
ci: improve checks for Wi-Fi/PHY libraries
See merge request espressif/esp-idf!16625
2022-01-05 09:26:42 +00:00
morris
ce2a220098
Merge branch 'refactor/make_adc2_wifi_private' into 'master'
...
clean up deprecated and private header files for driver and esp_hw_support component
See merge request espressif/esp-idf!16605
2022-01-05 05:42:42 +00:00
Nachiket Kukade
02a415d494
esp_wifi: Update wifi lib
...
Fix STA not getting IP after DPP
Closes https://github.com/espressif/esp-idf/issues/7646
2022-01-04 16:24:45 +05:30
morris
090b4aa1f3
adc: make adc2_wifi share resource private
2022-01-04 13:59:24 +08:00
Ivan Grokhotkov
3049ac6dbb
ci: improve checks for Wi-Fi/PHYlibraries
...
- add missing Wi-Fi header MD5 checks for esp32c3, esp32s3
- check PHY libraries for references to ets_printf, in addition to
checking Wi-Fi libraries. This used to happen until libphy.a was
moved into a separate submodule.
Reported in https://github.com/espressif/esp-phy-lib/issues/3
2022-01-04 00:30:55 +01:00
Nachiket Kukade
f38144a689
esp_wifi: Miscellaneous FTM bugfixes
...
1. Update wifi libs with bugfixes for corner cases
2. Avoid ASSERT for scan failure in FTM example
Closes https://github.com/espressif/esp-idf/issues/8127
2021-12-30 12:22:42 +05:30
Kapil Gupta
0336584f3e
esp_wifi: Refactor key install code
2021-12-23 21:31:31 +08:00
Marius Vikhammer
82325f6037
docs: update docs to be able to build with esp8684
2021-12-20 10:32:49 +08:00
Kapil Gupta
8d329951c3
Merge branch 'bugfix/static_analysis_fixes' into 'master'
...
ESP_WIFI: Remove static analysis warnings
See merge request espressif/esp-idf!15871
2021-12-13 12:57:03 +00:00
Jiang Jiang Jian
e3137693c1
Merge branch 'bugfix/fix_rx_fragment_error_issue' into 'master'
...
esp_wifi: fix fragment issue and PMF compatible for faulty APs
Closes WIFI-4218
See merge request espressif/esp-idf!16321
2021-12-13 12:32:33 +00:00
Kapil Gupta
d3542495ab
ESP_WIFI: Remove static analysis warnings
2021-12-08 17:32:22 +05:30
NikLeberg
317a11cb05
allow for minimal scope of wifi_init_config_t
...
With this change one can use the default config as a variable with minimal scope: esp_wifi_init(&(wifi_init_config_t)WIFI_INIT_CONFIG_DEFAULT())
2021-12-08 19:39:41 +08:00
Shang Zhou
fffed159f8
docs: Update miswritten and abbreviated words and syntax errors for initialize WiFi section in esp_wifi.h header file
2021-12-08 19:39:41 +08:00
muhaidong
832123a5e1
esp_wifi: fix fragment plt loss and update header file
...
1. fix(pp): fix fragment plt loss when 2td pn compare with 1th pn
2. pmf allow keyindex in big endian format to workaround faulty APs
3. docs: update miswritten and abbreviated words and syntax errors for initialize WiFi section in esp_wifi.h header file
4. allow for minimal scope of wifi_init_config_t
2021-12-08 19:39:14 +08:00
Jakob Hasse
9ee974e626
Merge branch 'refactor/test_utils_memory_check' into 'master'
...
memory leak detection functions now in separate file
See merge request espressif/esp-idf!16011
2021-12-08 09:15:20 +00:00
Jakob Hasse
16514f93f0
refactor (test_utils)!: separate file for memory check functions
...
Memory check (leaks and heap tracing) functions for unit tests
now have a separate file now and are renamed for more consistency.
BREAKING CHANGE: renamed memory check function names which may be used
in unit tests outside IDF.
2021-12-08 11:06:00 +08:00
muhaidong
f9b2cb6f11
esp_wifi:compute packet length use lldesc length instead of rx_ctl sig_len in sniffer mode
2021-12-01 21:07:32 +08:00
Jiang Jiang Jian
7878255f17
Merge branch 'bugfix/repeated_ftm_failures_issue' into 'master'
...
Fix FTM failures after repeated operations
Closes IDFGH-6015
See merge request espressif/esp-idf!15689
2021-11-29 07:39:22 +00:00
Cao Sen Miao
eddc196081
esp_clk: refactor target/clk.h to private/esp_clk.h
2021-11-26 14:56:30 +08:00
Nachiket Kukade
c3d971c52e
esp_wifi: Update wifi lib
...
Update wifi lib with below fixes -
1. In FTM Responder, add session timer for cleanup, also remove
unnecessary mutex locks
2. In FTM Responder, fix incorrect print in case of failure
while setting up the SofTAP
2. In FTM Initiator, increase FTM Request response timeout to
avoid failures in noisy environments
3. In FTM Initiator, abort for high start delta time, also fix
timeout issue in ASAP mode
Closes https://github.com/espressif/esp-idf/issues/7702
Closes https://github.com/espressif/esp-idf/issues/7753
2021-11-25 15:48:53 +05:30
David Čermák
ae4b8ea08e
Merge branch 'bugfix/wifi_netif_on_off_cycle_race' into 'master'
...
wifi: Fix race conditon invoking invalid callback on deinit
Closes IDFGH-5880
See merge request espressif/esp-idf!15393
2021-11-25 07:28:59 +00:00
David Cermak
9739adc85f
wifi: Fix race conditon invoking invalid callback on deinit
...
Closes https://github.com/espressif/esp-idf/issues/7579
2021-11-23 11:26:54 +01:00
ChenJianxing
ed0fcf21a5
esp_wifi: update Mexico channel range refer to FCC
2021-11-23 15:19:04 +08:00
Jiang Jiang Jian
aa2047a83f
Merge branch 'mesh/bugfix_fix_layer2_node_connection_issue' into 'master'
...
mesh: fix the issue that layer2 node connect to lower-layer node when FIXED-ROOT root disappeared
See merge request espressif/esp-idf!15181
2021-11-18 03:55:00 +00:00
Roland Dobai
766aa57084
Build & config: Remove leftover files from the unsupported "make" build system
2021-11-11 15:32:36 +01:00
Jiang Jiang Jian
c6ad0e4658
Merge branch 'bugfix/power_down_bluetooth_module_when_deinit' into 'master'
...
component/bt: Power down bluetooth module when deinit
Closes WIFI-4180
See merge request espressif/esp-idf!15716
2021-11-11 03:23:46 +00:00
Li Shuai
bf650edc55
fix the wifi scan fail issue caused by the power off the wifi power domain
2021-11-08 20:59:10 +08:00
morris
16677b0d3c
global: make periph enable/disable APIs private
...
peripheral enable/disable usually should be managed by driver itself,
so make it as espressif private APIs, not recommended for user to use it
in application code.
However, if user want to re-write the driver or ports to other platform,
this is still possible by including the header in this way:
"esp_private/peripheral_ctrl.h"
2021-11-08 10:37:47 +08:00
Cao Sen Miao
599227a1b6
ESP8684: Add esp8684 target to other repo for passing build
2021-11-06 17:33:45 +08:00
shenjun
5532c33be9
esp_wifi_mesh: fix the issue that layer2 node connect to lower-layer node when FIXED-ROOT root disappeared
2021-10-28 20:16:31 +08:00
Zhang Jun Hao
a568b4fddf
esp_wifi: support station only mode for code size down
2021-10-27 11:48:22 +08:00
Li Shuai
46dedca23c
ci: replace old header with new SPDX header style
2021-10-14 10:51:10 +08:00
Li Shuai
b774342402
Power Management: power up or down wifi power domain when wifi init or deinit
2021-10-14 10:51:07 +08:00
chenjianxing
09a034d61b
esp_wifi: support multi phy init data bin embedded
2021-10-13 13:10:47 +08:00
Kapil Gupta
797c7144bd
esp_wifi: Add support for GCMP and GMAC ciphers
2021-10-12 20:48:51 +08:00
Chen Yu Dong
f0a96e586d
pre-commit fix
2021-10-12 14:05:19 +08:00
alex.li
26d8b7ee17
Add HW external coexist api.
...
Simplify the external coex flow.
And replace gpio of driver interface with hal one.
2021-10-12 14:05:14 +08:00
alex.li
b96b76fc10
esp_wifi: Support external coex only for esp32c3/esp32s2.(c1a3efe0)
2021-10-12 14:00:04 +08:00
Ivan Grokhotkov
2423e2eac9
Merge branch 'bugfix/build_spaces_in_path_wifi_phy_ulp' into 'master'
...
esp_wifi, esp_phy, ulp: fix quoting of linker arguments
See merge request espressif/esp-idf!15428
2021-10-11 15:57:49 +00:00
Ivan Grokhotkov
c148c4c01c
esp_wifi: fix quoting
2021-10-06 10:41:49 +02:00
Kapil Gupta
834afad47e
esp_wifi: Add support for MBO certification
2021-10-04 15:56:14 +08:00
ChenJianxing
ebf577f9e5
esp_wifi: fix esp32s3 rom funcs ptr malloc in psram when psram enable
2021-09-18 15:56:53 +08:00
David Čermák
82eccf434e
Merge branch 'bugfix/wifi_ap_handler_docs' into 'master'
...
wifi/netif: Fix wifi_ap_handlers comments to relate to AP
Closes DOC-1929
See merge request espressif/esp-idf!14903
2021-08-30 07:31:37 +00:00
muhaidong
5eee64bd16
esp_wifi: fix airkiss and esptouch find channel crash issue
2021-08-25 20:34:27 +08:00
David Cermak
3c6efbe5a5
wifi/netif: Fix wifi_ap_handlers comments to relate to AP
2021-08-23 09:20:12 +02:00
Nachiket Kukade
09ab053ea1
esp_wifi: Fix some PMF and FTM issues
...
1. Update wifi lib with fix for dropping bcast PMF deauths/disassocs
with certain reason codes
2. Fix FTM not working in connected state and some other bugs
2021-08-11 17:02:29 +05:30
Li Shuai
df93733e56
light sleep: wifi sleep parameter optimize for esp32s3
2021-08-04 21:58:35 +08:00
ChenJianxing
9e7d75cb95
esp_wifi: fix some wifi bugs
...
1. support config 80211 tx rate
2. fix 80211 tx crash issue
3. disable ampdu+amsdu bit
2021-07-31 18:02:20 +08:00
shenjun
42a1be10db
esp_wifi_mesh: add non mesh connections access
2021-07-30 22:17:30 +08:00
muhaidong
b54c2732fc
esp_wifi: fix nvs init status issue
2021-07-30 11:13:27 +08:00
Kapil Gupta
e667d1af2e
wpa_supplicant: bypass sonar checks for upstream code
2021-07-22 14:12:22 +08:00
Marius Vikhammer
fe921291d2
build system: fix cxx init_priority not working on S3
2021-07-14 10:56:24 +08:00
Marius Vikhammer
80acc1a002
CI: add S3 default_2 unit test config
2021-07-08 18:39:57 +08:00
xiehang
3491da1f3f
Fix connection failure caused by sleep
2021-07-07 11:38:03 +08:00
chenjianxing
564068d5af
esp_wifi: support esp32s3 wifi and fix not tx 9M rate issue
2021-07-06 11:38:40 +08:00
Kapil Gupta
ecd1d9406e
esp_wifi: Revert default country to China
2021-07-05 12:32:47 +05:30
Kapil Gupta
a5086e302d
esp_wifi: Add support for regdomain database
2021-07-02 14:11:40 +05:30
Kapil Gupta
16b64e8524
wpa_supplicant: Fix some issues in 11kv
...
Fix following issues:
1. RRM capability addition for open AP
2. Crash during scan flush
3. Station not able to connect if disassoc timer is present in BTM request
4. Memory leaks during wifi init/deinit.
2021-07-02 09:41:23 +05:30
Jiang Jiang Jian
2a747b7bb1
Merge branch 'bugfix/ftm_lock_free_issue' into 'master'
...
esp_wifi: Update wifi lib with lock free issue fix
See merge request espressif/esp-idf!14214
2021-07-01 17:39:52 +00:00
Shu Chen
75bd02bd46
esp32h2: add some more fixes and TODOs
2021-07-01 20:36:39 +08:00
Shu Chen
ee23a489b9
esp32h2: code clean up
2021-07-01 19:53:50 +08:00
Shu Chen
be9864fa4b
esp_wifi: add CONFIG_WIFI_ENABLED config option
...
The WIFI_ENABLED option is disabled for esp32h2.
2021-07-01 19:53:11 +08:00
Nachiket Kukade
17760237eb
esp_wifi: Update wifi lib with lock free issue fix
2021-07-01 13:58:35 +05:30
Zhang Jun Hao
4702feeeeb
esp_wifi: move unused wifi log to noload section to save binary size
2021-07-01 10:18:37 +08:00
Nachiket Kukade
eb49ee75b8
wifi/ftm: Additional FTM features implementation
...
Update wifi lib with below features -
1. ASAP mode for both Initiator and Responder
2. Offchannel FTM while connected to AP (ASAP only)
3. Support up to 3 Initiators simultaneously
4. Session termination, failure support etc
5. Mem-zero AP scan buffer in get_records API
2021-06-30 17:52:07 +05:30
Jiang Jiang Jian
86cfbc2a24
Merge branch 'bugfix/aes_wrap_failed' into 'master'
...
wpa_supplicant: Fix crypto related bugs
Closes WIFI-3801 and WIFI-3835
See merge request espressif/esp-idf!13854
2021-06-29 07:08:45 +00:00
Kapil Gupta
a7713676b8
wpa_supplicant: Fix crypto related bugs
...
1. Fix aes_unwrap functionality when hardware acceleration is disabled
2. Fix compilation errors when mbedTLS is disabled.
3. Disable WPA3 when mbedTLS is disabled.
2021-06-28 19:50:01 +08:00
shenjun
aac71d4f02
mesh/ps: esp_mesh_send is blocked in nodes(layer>=3), when a FIXED-ROOT root is duty master
2021-06-28 14:38:21 +08:00
Zhang Jun Hao
5df7e7bac6
esp_wifi: refactor ioctl functions and build wifi lib with -Os to save binary size
2021-06-23 11:04:00 +08:00
ChenJianxing
ef127ab9dd
esp_wifi: fix amsdu & fragment vulnerabilities
2021-06-17 10:11:33 +08:00
Zhang Jun Hao
4d612ad053
esp_wifi: fix crash when csi enable
2021-06-10 16:30:50 +08:00
alex.li
db165da4b8
WAPI: Key mgmt type compability issue.
2021-06-07 17:11:01 +08:00
Shu Chen
246e006aab
esp_phy: update esp-phy-lib and esp32-wifi-lib submodules
2021-06-03 19:08:04 +08:00
Shu Chen
6061a547e5
esp_phy: decouple esp_phy component from esp_wifi and bt
...
* add esp-phy-lib submodule
* move libphy.a and phy_init.c from esp_wifi to esp_phy
* move librtc.a from esp_wifi to esp_phy
* move libbtbb.a from bt to esp_phy
* corresponding updates to build system
2021-06-03 16:17:31 +08:00
chenjianxing
41882082f7
esp_wifi: re-enable phy calibration data to nvs for esp32c3 & esp32s3
2021-05-20 21:55:59 +08:00
Jiang Jiang Jian
73b95248b4
Merge branch 'bugfix/addba_pmf_issue_fix' into 'master'
...
Fix aggregation issue in PMF connection and validate FTM config params
Closes WIFI-3205
See merge request espressif/esp-idf!13242
2021-05-13 16:30:06 +00:00
Nachiket Kukade
701484667a
esp_wifi: Update wifi lib
...
Update wifi library with below fixes -
1. Fix Block Ack setup issue in PMF scenario
2. Validate FTM Initiator config parameters and propagate status
2021-05-13 20:56:54 +05:30
Jiang Jiang Jian
fb872f68ec
Merge branch 'bugfix/wifi_modem_sleep_percentage_optimize' into 'master'
...
optimize wifi station modem sleep percentage
Closes WIFI-3056
See merge request espressif/esp-idf!13534
2021-05-13 12:21:50 +00:00
Jiang Jiang Jian
7986c970b6
Merge branch 'bugfix/concurrent_mode_sae_crash_fix' into 'master'
...
esp_wifi: Add station based check for auth frame formation
See merge request espressif/esp-idf!13525
2021-05-12 14:24:15 +00:00
Li Shuai
7fbf7a0d17
modem sleep: optimize wifi station modem sleep percentage
2021-05-12 17:00:01 +08:00
Kapil Gupta
f3c55dbecd
esp_wifi: Add station based check for auth frame formation
2021-05-11 16:35:42 +05:30
David Cermak
c4870f4d9e
esp_netif/wifi: Add API to destroy default wifi-netif for sta/ap
...
Partially addresses https://github.com/espressif/esp-idf/issues/6950
2021-05-07 11:56:41 +00:00
ninh
f1ee8aa14f
esp_wifi: fix nolightsleep after wifi init
2021-04-29 18:50:28 +08:00
Nachiket Kukade
15499e3cc1
esp_wifi: Update wifi lib
...
Forward Mgmt frames with skipping CCMP headers to fix parsing
issues in Application for ESP32C3
2021-04-28 16:31:05 +05:30
shenjun
8b3e090533
esp_wifi_mesh: update wifi mesh libs
...
1. Fix mesh deinit blocking issue
2. Fix root has no eb for deauth frames during the networking
3. Add esp_mesh_send_block_time to set blocking time of esp_mesh_send
2021-04-28 02:46:34 +08:00
xiehang
ce5a25abac
esp_wifi: Fix setting channel error after WiFi stop
2021-04-26 11:32:59 +08:00
Jiang Jiang Jian
3f7b637a15
Merge branch 'bugfix/update_esp32c3_phy_init_data' into 'master'
...
esp_wifi: update esp32c3 phy init data
See merge request espressif/esp-idf!13282
2021-04-25 13:23:13 +00:00
Angus Gratton
0be81903cc
Merge branch 'bugfix/hal_duplicated_interrupt_functions' into 'master'
...
[hal]: merged duplicated HAL layer functions
Closes IDF-2308
See merge request espressif/esp-idf!12444
2021-04-23 07:47:51 +00:00
chenjianxing
372d8c6003
esp_wifi: update esp32c3 phy init data
2021-04-22 19:17:20 +08:00
Nachiket Kukade
c93907fb27
wifi/ftm: Move FTM report logging into application and some bugfixes
...
Move FTM report processing and logging to application
Update wifi lib with below bugfixes
1. Initiator parameters sanity checks
2. Responder config option, fix beacon caps
3. To save space, register FTM modules only when FTM is enabled
Co-Authored-By: Nachiket Kukade <nachiket.kukade@espressif.com>
Co-Authored-By: Zhang Jun Hao <zhangjunhao@espressif.com>
2021-04-20 03:44:51 +00:00
xiehang
9f27aa7db8
esp_wifi: Update libphy.a to V1800 20210413_e7ef680 for esp32s2
2021-04-16 11:21:07 +08:00
ChenJianxing
dd14e97375
esp_wifi: support esp32s3 beta3 wifi
2021-04-16 00:38:20 +08:00
ninh
7629a0b22f
esp_wifi: fix some issue about wifi pm
2021-04-14 14:42:22 +08:00
Jakob Hasse
b23c9142d5
[hal]: cleaned up interrupt mask functions
...
* Functions for setting and clearing interrupts
as well as function to read interrupt mask
should be clearer now.
* Using hal layer interrupt set and clear
functions in esp_wifi component
2021-04-06 11:54:13 +08:00
Angus Gratton
6b57f33858
Merge branch 'refactor/movements_from_target_components' into 'master'
...
Movement from target components 1
See merge request espressif/esp-idf!12482
2021-04-05 02:37:21 +00:00
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