Commit Graph

673 Commits

Author SHA1 Message Date
muhaidong
c2fe257ad6 esp_wifi: fix ignore rx sub ampdu interrupt issue 2022-10-13 11:40:13 +08:00
zhangyanjiao
a165d5b3ef esp_wifi: fix connect fail when enable SPIRAM
Closes IDFGH-8189
2022-10-08 15:49:02 +08:00
Shreyas Sheth
48fd5bcda4 esp_wifi: Set AP rsnxe while connection 2022-09-22 12:42:38 +05:30
Ivan Grokhotkov
4a69a3f7ef Merge branch 'feature/cmake_use_new_features' into 'master'
cmake: use features introduced between 3.5 and 3.16

Closes IDF-5955

See merge request espressif/esp-idf!19819
2022-09-21 11:05:06 +08:00
Ivan Grokhotkov
237b2ce40c
cmake: use target_link_options and _directories supported since 3.13
Now that the supported CMake version is >=3.16, this code can be
simplified.

The code to deduplicate the directories can be removed since this is
handled by target_link_directories.
2022-09-20 11:08:02 +02:00
jgujarathi
9e44dde2cd esp_wifi : updated the wifi lib to fix the printf issue on esp32c2 2022-09-20 05:45:30 +00:00
jgujarathi
b5b1a1f31d esp-wifi : Adds the status connected for station, when the station is already connected to the ap of the same bss- wifi-4785 2022-09-20 05:45:30 +00:00
Darian Leung
0c97fbd5ba riscv: Remove redundant riscv_interrupts.h header
This commit removes the riscv_interrupts.h header is it has become redundant. The previously
exposed API has been handled as follows:

- "riscv_interrupt_enable()" and "riscv_interrupt_disable()" have been removed. These functions
  were declarations only and never had any implementation.
- "riscv_global_interrupts_enable()" and "riscv_global_interrupts_disable()" renamed to
  "rv_utils_intr_global_enable()" and "rv_utils_intr_global_disable()" respectively and now
  placed in rv_utils.h
2022-09-16 16:45:43 +08:00
muhaidong
067f4df513 esp_wifi: add small UT for country code 2022-09-03 20:31:37 +08:00
muhaidong
6f25e37ccb esp_wifi: fix set country code before wifi start issue. 2022-09-03 20:31:23 +08:00
Nachiket Kukade
c53318f7af esp_wifi: Update wifi libs
Fix scan causing bss overwrite in connect process
2022-08-25 11:52:36 +05:30
muhaidong
3887cac78e esp_wifi: fix pairwise cipher tkip pmf compability issue. 2022-08-24 18:09:37 +08:00
zhangyanjiao
cdf1c69cbc esp_wifi: Fix the bug that espnow clear key register fail
Closes WIFI-4696
2022-08-23 14:47:47 +08:00
xueyunfei
b9a0a3d5c4 esp_wifi:fix some wifi bugs
1 esp32c2: mv multiphy api out of ESP_MESH_SUPPORT macro

   2 clear bss info when wifi stop

   3 add clear ap list interface
2022-08-17 15:43:40 +08:00
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