Kapil Gupta
b3c7123568
fix(esp_wifi): Drop fragmented AMPDU(fixCVE-2020-26142)
2023-12-08 14:17:02 +08:00
alanmaxwell
b7d599984b
fix(wifi): optimize wifi bin size and fix some issue
...
1.Optimize bin size for STA only mode
2.Change fragment threshold to 256
3.Support fragment for LR mode
4.Fix ampdu duration issue
5.Fix rx fragment fail in Open mode.
2023-12-08 14:16:47 +08:00
Guillaume Souchere
27a78278a6
fix(heap): Patch tlsf_check_pool in ROM heap
...
The integrity_walker now calls the integrity check hook to control
free AND used blocks of memory in the TLSF pool. This integrity walker
function is called from tlsf_check_pool.
This commit creates a patch of integrity_walker function to update the
outdated implementation in the ROM.
2023-12-08 03:19:04 +00:00
Mu Hai Dong
e86ff640f8
fix(wifi): free beacon eb when softap destroy
2023-12-07 03:54:55 +00:00
Anton Maklakov
4fe15460ab
Merge branch 'ci/fix_build_linux_targets' into 'release/v5.1'
...
Ci/fix build linux targets (v5.1)
See merge request espressif/esp-idf!27519
2023-12-06 15:31:35 +08:00
Island
fae44bf123
Merge branch 'bugfix/ble_update_lib_20231124_v5.1' into 'release/v5.1'
...
ble(update):Update c2 lib to 79ed4e8a,Update h2 lib to 9a237426,Update c6 lib to 9a237426
See merge request espressif/esp-idf!27393
2023-12-01 13:58:21 +08:00
Fu Hanxi
7df8574119
ci: fix missing linux related .build-test-rules.yml
2023-11-30 09:07:36 +01:00
zhiweijian
a34d9774bf
feat: support ble esp32c3 eco7
2023-11-27 11:32:50 +00:00
Jiang Guang Ming
5aa458a591
feat(esp32c3): Add rom ld with ROM tag esp32c3-eco7-20230720
2023-11-27 11:32:50 +00:00
luomanruo
e6602ced8e
ble: update rom.ld file
2023-11-24 20:34:21 +08:00
Ivan Grokhotkov
22dd730a7c
esp_rom: convert USB related headers to SPDX, update COPYRIGHTS.rst
2023-11-21 17:33:30 +01:00
Ivan Grokhotkov
6d1f573945
esp_rom: implement usb deinit functions added in S3 ROM for S2
...
This cleans up usb_console.c and prepares it for S3 support.
2023-11-21 17:33:29 +01:00
Ivan Grokhotkov
228dbe103f
esp_rom: add USB_OTG "port" number for S2 and S3
2023-11-21 17:33:29 +01:00
Ivan Grokhotkov
c7b409aa94
esp_rom: sync changes for ESP32-S3 USB related files, minor fix for S2
...
Used esp-rom tag esp32s3-20210327 and did manual cleanup.
Rename s_usb_osglue to rom_usb_osglue like it was done for esp32s2.
Some comments in esp32s2 headers are synced from esp32s3.
2023-11-21 17:33:29 +01:00
Wang Meng Yang
c46775031e
Merge branch 'bugfix/backport_some_ble_bugs_20231020_v5.1' into 'release/v5.1'
...
Fixed some BLE bugs 20231020 (backport v5.1)
See merge request espressif/esp-idf!26604
2023-11-14 15:35:55 +08:00
Jiang Jiang Jian
d1842fa99b
Merge branch 'bugfix/ota_fail_on_octal_flash_v5.1' into 'release/v5.1'
...
fix(ota): Fixed OTA fail on octal flash with 32MB memory (backport v5.1)
See merge request espressif/esp-idf!26811
2023-11-14 15:34:06 +08:00
Jiang Jiang Jian
822aa69a4b
Merge branch 'feature/support_esp32c2_rom_mbedtls_v5.1' into 'release/v5.1'
...
feat(mbedtls): support c2 mbedtls can use crypto algorithm in ROM (backport v5.1)
See merge request espressif/esp-idf!26698
2023-11-14 15:10:20 +08:00
luomanruo
00f51f74e3
ble: update c2 rom.ld
2023-11-08 18:03:48 +08:00
Cao Sen Miao
bb7544e65a
fix(ota): Fixed OTA fail on octal flash with 32MB memory,
...
Closes https://github.com/espressif/esp-idf/issues/11903
2023-11-06 10:49:06 +08:00
Jiang Guang Ming
92b9474a71
feat(mbedtls): support C2 mbedtls can use crypto algorithm in ROM
2023-10-26 20:25:53 +08:00
chenjianhua
74a64755eb
Update bt lib for ESP32-C3 and ESP32-S3(c8aa206)
...
- Fixed extended adv address setting after adv restart
- Fixed scan channel index setting for extended scan
- Add API to set aux channel index for extended adv
2023-10-20 16:24:38 +08:00
cjin
1d693ee133
change(ble): update ble lib on c6 h2 and c2 chip
2023-10-18 17:10:19 +08:00
Jiang Jiang Jian
78ae4c3b8e
Merge branch 'bugfix/disable_tsf_tbtt_soc_wakeup_after_wifi_disconnected_v5.1' into 'release/v5.1'
...
fix(wifi): fix enable psram wapi dhcp fail issue, fix beacon timeout after connected, fix lightsleep failure after disconnected
See merge request espressif/esp-idf!26400
2023-10-17 14:29:41 +08:00
alanmaxwell
8467bddaea
fix(wifi): Fix some wifi issue
...
1.fix multi antenna issue
2.fix dirty eb when rx HE rate action for C6
3.fix h/w modem state consecutive times when the modem sleep type is modified in runtime
2023-10-13 18:17:34 +08:00
luomanruo
c9f7186357
ble: update tx power level index of ESP32-H2 and ESP32-C2
2023-10-12 15:55:29 +08:00
muhaidong
039ef51db5
fix(wifi): fix some wifi issues
...
1. fix enable psram wapi dhcp fail issue
2. fix c6 esp_wifi_set_max_tx_power fail issue
3. fix wrong wifi mode connect crash issue
4. fix null data sequence number issue
2023-10-10 21:39:56 +08:00
alanmaxwell
f0a4aa4760
fix(phy): move phy tx power track to IDF
2023-09-27 14:55:26 +08:00
Jiang Jiang Jian
aececf745f
Merge branch 'bugfix/some_wifi_fixes_v5.1' into 'release/v5.1'
...
fix(esp_wifi): Some Wi-Fi bug fixes
See merge request espressif/esp-idf!26084
2023-09-21 18:46:02 +08:00
xueyunfei
ae3f3f7a10
feat(esp_wifi):static buf for management,control,qos null,null data rx packet
2023-09-20 19:48:46 +08:00
jgujarathi
3d056fd748
fix(esp_wifi): Fix issues with extended caps IE, scan and HT40 mode
...
-Merges the addition of extended caps IE for assoc req, probe resp
and beacons in a single place. This ensures that there are no
duplicate Extended Caps IE in the frame. Moves the capability
indication for BTM and HT20/40 from supplicant to wifi libs.
-Fix issue with frequent disconections when scanning for only a single
channel.
-Prints error message and returns ESP_ERR_NOT_SUPPORTED in case
esp32c2 tries to set bandwidth to HT40.
2023-09-20 19:44:57 +08:00
linruihao
f37ac82c2b
fix(esp_coex): Fix esp32 ble scan not restart when wifi start stop
2023-09-20 17:02:17 +08:00
muhaidong
a28f50d062
fix(wifi): fix ccmp and gcmp PN became large issue
2023-09-14 11:12:48 +08:00
xuxiao
b74c293505
feat(wifi): optimize esp32c6 iperf performance
2023-09-14 10:14:13 +08:00
zwl
bd21c215c7
ble: supported trace function and adv report flow control on esp32c2
2023-08-31 12:02:00 +08:00
Jiang Jiang Jian
b58706c1d2
Merge branch 'feature/support_hp_regi2c_for_esp32c6_v5.1' into 'release/v5.1'
...
feat(esp_rom): support hp regi2c for esp32c6(backport v5.1)
See merge request espressif/esp-idf!25644
2023-08-31 10:49:58 +08:00
wuzhenghui
05cd295a28
fix(esp_rom): fix esp32c6, esp32h2 hp_regi2c ops data conflict with phy ops
2023-08-30 14:28:55 +08:00
Lou Tianhao
d2730608d2
feature(esp_rom): support_hp_regi2c_for_esp32c6
2023-08-30 14:28:37 +08:00
Jiang Jiang Jian
4d044ab25d
Merge branch 'bugfix/v5.1_ble_issues_bugfix_c2' into 'release/v5.1'
...
update btlib to f9db7b90, some esp32c2 issues bugfixed
See merge request espressif/esp-idf!25433
2023-08-24 14:13:39 +08:00
Jiang Jiang Jian
b638cb3335
Merge branch 'bringup/esp32h2_deep_sleep_for_rebase_v5.1' into 'release/v5.1'
...
esp32h2: support deep_sleep(backport v5.1)
See merge request espressif/esp-idf!24962
2023-08-23 20:12:01 +08:00
luomanruo
f35959d7d1
ble: update btlib to f9db7b90, some esp32c2 issues bugfixed
2023-08-23 10:21:20 +08:00
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