Commit Graph

535 Commits

Author SHA1 Message Date
Nachiket Kukade
feecbad7db fix(wifi): Fix EAPOL Key TxDone callback implementation
Fix issues arising due to not distinguishing between M2 and M4
TxDone during 4-way handshake. Also fix EAPOL frame rate to lowest
possible rate.
2023-08-16 19:26:22 +05:30
Lou Tianhao
4bc5e24f82 feat(pm/deepsleep): Support deep_sleep example and deep_sleep_wake_stub example for esp32h2 2023-08-03 16:46:54 +08:00
liuning
761af9869f fix(esp_wifi): fix no mac retention at wifi start 2023-08-03 10:54:31 +08:00
zhangyanjiao
6eb872f7d2 fix(wifi): fix some wifi bugs
1. fix the RX error when softAP and ESP-NOW both encrypted
2.Trigger null data frame TX before offchan channel switch.
2023-08-03 10:54:05 +08:00
gaoxiaojie
38d54b4b62 fix(esp32s3): patch Cache_WriteBack_Addr api
Need to ensure that the cacheline being written back will not be
accessed during the write back process.
2023-07-21 11:44:56 +08:00
Jiang Jiang Jian
e9a3a3eeea Merge branch 'bugfix/fix_some_wifi_bugs_24063_to_v5.1' into 'release/v5.1'
fix(wifi): Backport some wifi bugs 24063 to v5.1(Backport v5.1)

See merge request espressif/esp-idf!24794
2023-07-14 16:41:49 +08:00
muhaidong
727a8cdb9e fix(wifi): missed annotate ld function from txop fix 2023-07-14 14:04:14 +08:00
Li Shuai
6a5d4e40d2 Wi-Fi/power save: fix the some mac issues of wifi power save
Some APs are configured to hide the SSID, the length field of the SSID element
in the Beacon frame is set to 0. This can cause incorrect parsing of the Beacon
by the Wi-Fi MAC hardware.

Some APs send two beacon frames with different BSSID in a TBTT cycle. After
correctly parsing the beacon of the associated AP, it continue to receive the
other beacon frame, which will cause the MAC to remain in a wait RX/TXING
state, blocking the Wi-Fi go to sleep.
2023-07-14 10:51:47 +08:00
xuxiao
395ad3edc0 feat(wifi): itwt support itwt wake duration unit 2023-07-14 10:51:26 +08:00
Jiang Guang Ming
6c4c0c0c78 fix(esp_rom): remove unsupported rom headers 2023-07-12 01:06:04 -07:00
Lou Tianhao
c15c8664ca codeclean: fix prefix to LP_AON and add LP_AON_STORE8_REG 2023-07-11 14:52:24 +08:00
Lou Tianhao
c12d7f5463 Power Management: support CPU powered down in light sleep for esp32h2 2023-07-11 12:03:02 +08:00
Jiang Jiang Jian
cf517e3e39 Merge branch 'bugfix/tempsensor_wifi_conflict_v5.1' into 'release/v5.1'
temperature_sensor: Fix issue that have conflict with phy / Fix phy pwdet and tsens power cannot be set twice issue (v5.1)

See merge request espressif/esp-idf!24064
2023-07-11 01:38:04 +08:00
Jiang Jiang Jian
a09a503073 Merge branch 'bugfix/nan_sd_dp_fixes_v5.1' into 'release/v5.1'
NAN Service discovery and datapath bugfixes (Backport v5.1)

See merge request espressif/esp-idf!24383
2023-07-10 21:44:49 +08:00
Island
e21fc0dc50 Merge branch 'feature/update_ble_libs_5.1' into 'release/v5.1'
ble: Added APIs for QA test

See merge request espressif/esp-idf!24651
2023-07-10 17:21:51 +08:00
Cao Sen Miao
0954babbd6 temperature_sensor: make as a weak link 2023-07-10 11:16:09 +08:00
Jiang Jiang Jian
28860655af Merge branch 'bugfix/update_esp_rom_layout_v5.1' into 'release/v5.1'
esp_rom: fix rom layout issues (backport v5.1)

See merge request espressif/esp-idf!24639
2023-07-10 10:23:16 +08:00
Shen Weilong
027e6ecab9 ble: Added APIs for QA test 2023-07-07 19:40:48 +08:00
Liu Ning
43604dffbe esp_wifi: fix ret when setting channel at wifi not started, fix timer callback 2023-07-07 18:09:29 +08:00
jiangguangming
fc7d4488bf esp_rom: fix rom layout issues 2023-07-07 01:02:07 -07:00
cjin
7b70e2eb34 ble: fix cca for esp32c2 2023-07-06 14:05:43 +08:00
Jiang Jiang Jian
54360507f3 Merge branch 'bugfix/malloc_free_removal_v5.1' into 'release/v5.1'
Backport some wifi fixes (backport v5.1)

See merge request espressif/esp-idf!24264
2023-07-04 12:10:21 +08:00
Jiang Jiang Jian
b2b0940516 Merge branch 'bugfix/fix_Cache_Count_Flash_bug_v5.1' into 'release/v5.1'
cache: patch some rom cache api, rename those apis in ld (backport v5.1)

See merge request espressif/esp-idf!24289
2023-07-04 12:07:25 +08:00
morris
c44624c056 Merge branch 'feature/esp_rom_update_cpu_freq_v5.1' into 'release/v5.1'
bootloader_support: add missing esp_rom_sys.h to bootloader_flash.c bootloader build (v5.1)

See merge request espressif/esp-idf!24014
2023-07-03 11:38:38 +08:00
wanglei
4ba10243f4 cache: patch some rom cache api, rename those apis in ld
1. Cache_Count_Flash_Pages, fix this api return enexpected + 1
2. Cache_Suspend_I/DCache, add wait cache idle after suspend cache
3. Cache_Freeze_I/DCache_Enable, add wait cache idle after freeze
2023-06-19 10:53:51 +08:00
muhaidong
b20922c6d5 esp_wifi: fix some txop issues 2023-06-15 22:38:44 +05:30
zwl
80f3ad1f1b ble:fixed the issue that slave reports the wrong address for master when address resolution disable 2023-06-05 16:49:48 +08:00
morris
d5fb4ff7c8 esp_rom: add common ROM API to update CPU tick rate 2023-06-01 10:57:13 +08:00
Jakob Hasse
a6cbf68991 compiler: replaced noreturn by __noreturn__ in header files
* noreturn may be replaced by third-party macros,
  rendering it ineffective

* Closes https://github.com/espressif/esp-idf/issues/11339
2023-05-18 12:49:40 +08:00
laokaiyao
954a6a2cff esp32h4: removed esp32h4 related codes 2023-04-26 18:53:12 +08:00
laokaiyao
cae47ce37e esp32h4: removed esp32h4 related files 2023-04-26 18:53:12 +08:00
xuxiao
39caffc592 esp_wifi: espnow support using 11ax rate to send frame 2023-04-24 12:32:27 +08:00
chenjianhua
8e41186ac8 Update bt lib for ESP32-C3 and ESP32-S3
- Fixed non-connectable and non-scannable directed adv can't be scanned
2023-04-22 20:48:38 +08:00
Jiang Jiang Jian
9e4f056483 Merge branch 'bugfix/miss_rm_ld' into 'master'
esp_wifi: rm ppTxFragmentProc rom func for esp32c2

See merge request espressif/esp-idf!23044
2023-04-06 15:02:27 +08:00
Li Shuai
10d02c6c5c power save: add txq memory to mac retention link to fix tx m f null failure 2023-04-06 11:09:46 +08:00
Xu Xiao
2f20406202 esp_wifi: itwt support light sleep 2023-04-06 10:46:32 +08:00
chenjianxing
03b4b58841 esp_wifi: rm ppTxFragmentProc rom func for esp32c2 2023-04-04 11:53:58 +00:00
Jiang Jiang Jian
08b4bd2ecd Merge branch 'feature/add_interface_for_ble_QA_test' into 'master'
BLE: Add interface for QA test

Closes EBLE50Y23-69

See merge request espressif/esp-idf!22976
2023-03-31 19:43:54 +08:00
chenjianxing
8d2e2ef2aa esp_wifi: improve tx robust for c2/c3/s3 2023-03-30 21:36:35 +08:00
Shen Weilong
aad3d8344b BLE: Add interface for QA test
Fix sleep crash issue
2023-03-29 20:02:56 +08:00
Zim Kalinowski
e86864c621 Merge branch 'feature/unify_core_host_target_tests' into 'master'
ci: unify core host target tests

Closes IDF-6621, IDF-6622, IDF-6623, and IDF-6624

See merge request espressif/esp-idf!22944
2023-03-29 15:41:01 +08:00
Marius Vikhammer
f627506f6b ci: update driver tests to use run_all_single_board_cases() 2023-03-28 17:05:50 +08:00
Marius Vikhammer
914bb81b95 ci: move linux host tests to test app folder 2023-03-27 17:41:44 +08:00
Sachin Parekh
d2940c5ff3 mbedtls: Add port layer for ECDSA peripheral 2023-03-24 10:43:40 +05:30
Michael (XIAO Xufeng)
dbbc1ba5be Merge branch 'feat/merge_nuttx_patch' into 'master'
G0, G1: fix issues that prevents using G0/G1 components on other platforms

See merge request espressif/esp-idf!22521
2023-03-21 20:48:21 +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
liuning
a36caf48fe esp_wifi: fix espnow unexpectly enter modem sleep on esp32c2 2023-03-17 17:33:46 +08:00
Gustavo Henrique Nihei
50145ed179 esp_rom: Remove STATUS struct in favor of ETS_STATUS
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-16 01:50:21 +08:00
Jiang Jiang Jian
948a895f24 Merge branch 'bugfix/fix_ram_app_mmu_issue' into 'master'
RAM APP: fixed cannot use external memory correctly issue

Closes IDF-7019 and IDF-7039

See merge request espressif/esp-idf!22682
2023-03-15 14:04:44 +08:00
Armando
929b7717ff system: fixed ram app cannot use mmu correctly issue 2023-03-15 10:59:20 +08:00
zwj
a9d9f115c3 - Support ESP32C3 and ESP32S3 new BLE lib
- Disable controller 5.0 feature bits if host 5.0 feature is not enabled
- Fixed extend ADV parameters check for ADV_DIRECT_HI
2023-03-13 10:47:18 +00:00
zwl
620cbfd428 ble: Fixed flow control count error on ESP32-C2 2023-03-09 19:29:52 +08:00
Jiang Guang Ming
fc9538c63d Merge branch 'feature/add_more_pytest_config_to_flash_mmap' into 'master'
flash mmap: more config options for flash mmap test app

See merge request espressif/esp-idf!21991
2023-03-08 13:44:29 +08:00
Mahavir Jain
56dc272514 Merge branch 'feature/esp32h2_secure_boot' into 'master'
esp32h2: add secure boot feature support

Closes IDF-6281 and IDF-6681

See merge request espressif/esp-idf!22625
2023-03-07 15:27:04 +08:00
jiangguangming
87f2eb9e2a esp_rom: put rom cache related functions to cache.h 2023-03-07 14:51:24 +08:00
jiangguangming
344d30c18e esp_rom: add macro ESP_ROM_NEEDS_SET_CACHE_MMU_SIZE for S3/C3/C2/C6/H2/H4 2023-03-06 19:47:18 +08:00
Mahavir Jain
d4ccdd48f6
esp32h2: add secure boot feature support
Closes IDF-6281
2023-03-06 16:57:45 +05:30
morris
1b8a2c264d Merge branch 'feature/support_spi_flash_cache_test_on_c6_h2' into 'master'
spi_flash: enable spi flash cache test on c6 h2

Closes IDF-6931

See merge request espressif/esp-idf!22580
2023-03-06 15:39:09 +08:00
Jiang Guang Ming
3556fe9326 spi_flash: enable spi flash cache test on c6 h2 2023-03-04 07:23:59 -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
wuzhenghui
7ee64bd8e8 refactor: always jump to wake stub wrapper after wakeup 2023-03-02 18:10:06 +08:00
Jakob Hasse
417838017f Merge branch 'refactor/move_rom_test_to_fpga_only' into 'master'
esp_rom: miniz test only on FPGA

Closes IDFCI-1605

See merge request espressif/esp-idf!22445
2023-03-02 09:18:07 +08:00
liuning
103772df94 esp_wifi: support adapter of all chips for new coex lib 2023-02-26 06:58:18 +00:00
Marius Vikhammer
c2f9392be5 Merge branch 'feature/h2_wdt' into 'master'
wdt: add support for H2

Closes IDF-6643 and IDF-6678

See merge request espressif/esp-idf!22422
2023-02-24 13:48:20 +08:00
Marius Vikhammer
5d26a0de9a wdt: add support for H2 2023-02-23 11:22:51 +08:00
Alexey Lapshin
84ff4d6e37 esp_rom: always inline cache.h functions for esp32 2023-02-22 05:33:03 +00:00
Song Ruo Jing
987fd3208a Merge branch 'feature/esp32h2_clock_basic_support' into 'master'
clk: Add basic clock support for esp32h2

Closes IDF-6265 and IDF-5973

See merge request espressif/esp-idf!21943
2023-02-21 16:16:05 +08:00
Jakob Hasse
a8661d0f97 refactor(esp_rom): miniz test only on FPGA now 2023-02-21 11:06:48 +08:00
Jing Li
75a82988f1 Merge branch 'refactor/wdt_use_unified_type' into 'master'
wdt: refactor wdt codes to use unified type

Closes IDF-5653

See merge request espressif/esp-idf!22378
2023-02-21 09:46:06 +08:00
Song Ruo Jing
2c2a62e323 clk_tree: Add basic clock support for esp32h2
- Support SOC ROOT clock source switch
- Support CPU frequency change
- Support RTC SLOW clock source switch
- Support RTC SLOW clock + RC FAST calibration

Remove FPGA build for esp32h2
2023-02-20 17:15:02 +08:00
Omar Chebib
5e5343d429 TWDT: Use the new TWDT Kconfig options in the examples and tests 2023-02-17 11:22:25 +08:00
Sachin Parekh
774f0ef636 Merge branch 'esp32c6/ecdsa_secure_boot_support' into 'master'
ESP32C6: Enable ECDSA secure boot

Closes IDF-5357 and IDF-5931

See merge request espressif/esp-idf!21058
2023-02-15 16:03:35 +08:00
Island
50ae186ff7 Merge branch 'bugfix/esp32c2_fixed_adv_stop' into 'master'
ble:Fixed issues of adv error stop and abnormal reporting of connection update...

Closes BT-3137 and BT-3144

See merge request espressif/esp-idf!22310
2023-02-15 14:20:51 +08:00
jingli
9c37441b17 wdt: refactor wdt codes to use unified type 2023-02-15 12:08:55 +08:00
Jiang Jiang Jian
e65eaa4d8c Merge branch 'esp32c6/bugfix_add_tx_error_handle' into 'master'
esp32c6: add tx error handle

Closes WIFI-5359, WIFI-5380, and WIFI-5396

See merge request espressif/esp-idf!22210
2023-02-14 17:18:07 +08:00
xuxiao
1126c1b79e esp32c6: wifi add tx error handle 2023-02-13 16:35:18 +08:00
Sachin Parekh
2bb9499a7e esp32c6: Enable ECDSA based secure boot
- Updated documentation for C6
2023-02-13 13:02:11 +05:30
Marius Vikhammer
25abc7f6d8 ci: update idf-core related tests for C6 2023-02-13 13:01:57 +08:00
zwl
f79d0e6a43 ble:Fixed issues of adv error stop and abnormal reporting of connection update complete event on ESP32-C2 2023-02-10 14:16:07 +08:00
Marius Vikhammer
65a4058e8c newlib: update newlib nano documentation for C6
C6 ROM has the the full IO formatting functions included.
2023-02-08 10:56:28 +08:00
Jiang Jiang Jian
248c15475f Merge branch 'feature/implement_esp32h2_regi2c_api' into 'master'
esp32h2: implement regi2c apis

See merge request espressif/esp-idf!22250
2023-02-07 20:22:52 +08:00
Jing Li
409804f673 Merge branch 'feature/support_feature_depend_on_rtc_fast_mem_for_esp32c2' into 'master'
esp32c2: support feature(rtc time) depend on rtc fast mem

Closes IDF-3901, IDF-4239, IDF-5053, IDF-5060, and IDF-5131

See merge request espressif/esp-idf!19067
2023-02-07 15:16:01 +08:00
wuzhenghui
a0983627f5 bugfix: fix returning before disabling blocks 2023-02-07 15:08:05 +08:00
wuzhenghui
ee4214ebf1 rom caps: add ESP_ROM_WITHOUT_REGI2C rom caps 2023-02-06 21:45:22 +08:00
fuzhibo@espressif.com
f1e0151e63 fix(regi2c): support regi2c APIs for esp32h2 2023-02-06 21:44:16 +08:00
Jiang Guang Ming
7d25e3853c Merge branch 'bugfix/update_esp_rom_newlib_time_c6_h2' into 'master'
update esp rom newlib-time on c2 c6 and h2

See merge request espressif/esp-idf!22142
2023-02-06 15:36:04 +08:00
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
jingli
f8cc2ec86d esp32c2: support rtc time feature depend on rtc memory, since c2 does not have rtc memory 2023-02-02 20:25:59 +08:00
morris
753eab91ee Merge branch 'feature/usj_support_h2' into 'master'
USJ console support on esp32h2

Closes IDF-6239

See merge request espressif/esp-idf!22156
2023-02-02 17:07:19 +08:00
Wu Zheng Hui
04987ac201 Merge branch 'feature/add_ram_loadable_app_support' into 'master'
feature: add ram loadable app support

See merge request espressif/esp-idf!19465
2023-02-02 10:28:13 +08:00
wuzhenghui
44df5b31af feature: add ram loadable app support 2023-02-01 17:57:22 +08:00
Li Shuai
9b99fc9033 cpu retention: software cpu retention support for esp32c6
cpu retention: add riscv core sleep critical and non-critical register layout structure definition

cpu retention: add assembly subroutine for cpu critical register backup and restore

cpu retention: add cpu core critical register context backup and restore support

cpu retention: add cpu core non-critical register context backup and restore support

cpu retention: add interrupt priority register context backup and restore support

cpu retention: add cache config register context backup and restore support

cpu retention: add plic interrupt register context backup and restore support

cpu retention: add clint interrupt register context backup and restore support

cpu retention: wait icache state idle before pmu enter sleep
2023-01-31 22:12:54 +08:00
morris
3151f9c8f1 usj: bringup on esp32h2 2023-01-31 16:21:47 +08:00
morris
b7799ec84d rom: patch uart function to switch buffer 2023-01-31 13:11:32 +08:00
wanglei
7cd87163a3 esp_rom: remove unsupported ld files (wifi related) for esp32h2 2023-01-30 11:28:26 +08:00
jiangguangming
5edbd290a0 esp_rom: remove esp32h2.rom.rvfp.ld 2023-01-29 16:40:35 +08:00
jiangguangming
4731d4322e esp_rom: remove newlib-time.ld from ROM built with 64-bit time_t 2023-01-29 16:37:13 +08:00
Marius Vikhammer
43c899b2bd Merge branch 'bugfix/remove_undefined_rom_funcs' into 'master'
esp_rom:  cleanup unsupported functions

See merge request espressif/esp-idf!22041
2023-01-29 11:47:39 +08:00
jiangguangming
a14c2c298c esp_rom: fix esp_rom_wdt linker issue 2023-01-20 13:03:02 +08:00
Marius Vikhammer
5e9e8c396f wdt: add support for WDTs on C6 2023-01-19 12:58:26 +08:00