baohongde
4207909f5c
feat(ble/controller): Add coexist schm for BLE
2024-03-26 14:44:46 +08:00
Marius Vikhammer
83d1c2f054
refactor(esp_rom): refactor rom LD inclusions to make it easier to add new targets
2024-03-12 09:48:46 +08:00
Cao Sen Miao
44e16a6401
fix(spi_flash): Fix issue that flash encryption failed while rom_impl config is enabled
...
The issue is `esp_flash_write_encryped` function in ROM on ESP32C3, ESP32S3
calls legacy implementation, which uses old configuration. And this causes
write fails.
The solution in this commit is to compile and link this function(and related)
in IRAM instead of the ROM one.
The IRAM cost increases around 1.2KB after the fix
2024-02-28 10:07:53 +08:00
liuning
7440e302be
feat(coex): improve Wi-Fi connecting compatibility at coexistence
2024-02-27 09:43:00 +08:00
muhaidong
e7625eb189
fix(wifi): fix some wifi issues
...
1. fix qos encapsulated eapol issue
2. fixed dhcp offer and dhcp ack data rates
2024-02-22 22:56:02 +08:00
zhangyanjiao
8bfab29f8d
fix(wifi): fixed scan and home channel change issues
...
1. update scan ap number when clear scan ap records
2. fixed the old_snd filed error in WIFI_EVENT_HOME_CHANNEL_CHANGE event
Closes https://github.com/espressif/esp-idf/issues/13051
2024-02-19 14:57:41 +08:00
zhanghaipeng
eb92ea3461
fix(ble/controller): Fixed tx count in direct test mode on ESP32-C3 and ESP32-S3
...
- Fixed tx count in direct test mode on ESP32-C3 and ESP32-S3
- fixed modem sleep enter failed sometimes
2024-02-04 11:49:47 +08:00
chenjianhua
20acc39eb2
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(91980c2)
...
- Fixed scheduling when modem sleep wakeup delayed
- Fixed IRQ FIFO overflow when enter critical
- Fixed clock sync timeout for modem sleep
- Fixed directed adv with RPA when privacy disabled
- Fixed instant passed for connection update and PHY update
2024-01-31 19:39:04 +08:00
Island
ed025da95c
Merge branch 'feat/support_ble_aux_when_data_length_zero' into 'master'
...
feat(bt/bluedroid): Support ext adv aux option
Closes BLERP-253 and BLERP-470
See merge request espressif/esp-idf!28458
2024-01-22 11:06:01 +08:00
zhanghaipeng
aeeb64966b
feat(bt/bluedroid): Support ext adv aux option
2024-01-19 16:48:18 +08:00
Cao Sen Miao
6768805d20
fix(uart,usj...): Fix wrong serial number that has been parsed to rom functions,
...
Closes https://github.com/espressif/esp-idf/issues/12958
2024-01-18 10:51:51 +08:00
muhaidong
c5ea7510bc
fix(wifi): fix beacon eb memory leak issue
2023-12-14 17:57:51 +08:00
chenjianhua
daae89357c
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(b8f0db9)
...
- Fixed assert when llcp instant passed
2023-12-01 21:12:43 +08:00
Marius Vikhammer
b96f93b879
ci(system): fixed and enabled misc system build tests
2023-11-28 14:00:16 +08:00
Jiang Jiang Jian
7ae8e1c438
Merge branch 'feat/optimize_bin_size' into 'master'
...
feat(wifi): Optimize bin size for STA only mode
Closes IDF-8120, IDFGH-11017, and WIFI-5010
See merge request espressif/esp-idf!25642
2023-11-03 09:39:17 +08:00
Kapil Gupta
c84b2cbaed
fix(esp_wifi): Drop fragmented AMPDU(fixCVE-2020-26142)
2023-11-02 14:05:47 +08:00
alanmaxwell
8a47c4875b
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-11-02 14:05:45 +08:00
liuning
4a7a27c189
fix(rom): fix wifi rom ld
2023-10-31 15:41:09 +08:00
liuning
7532df427a
fix(rom): remove related rom funcs in c3 rom eco7 MR
2023-10-24 18:05:10 +08:00
zhiweijian
0914d9b8d8
feat: support ble esp32c3 eco7
2023-10-20 19:54:36 +08:00
alanmaxwell
4d33bf7ee9
feat(wifi): support esp32c3 v1.1 WiFi
...
1.bringup c3 v1.1 and sync func to c3 eco7 rom
2.support to set null&probe lifetime
3.support to adjust listen interval to dtim period
4.support tx pkt w/o wake null
5.allow to tx null0 if requtest to rx data
2023-10-20 11:01:07 +08:00
Jiang Guang Ming
d1fbec028c
feat(esp32c3): Add rom ld with ROM tag esp32c3-eco7-20230720
2023-10-20 11:01:07 +08:00
muhaidong
d8b600e90b
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-09 19:17:28 +08:00
chenjianhua
42b85dffb1
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-09-26 16:10:21 +08:00
xueyunfei
f0e5434dc1
feat(esp_wifi):static buf for management,control,qos null,null data rx packet
2023-09-15 14:55:57 +08:00
Nachiket Kukade
29e6603ba7
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-14 16:50:42 +05:30
Chen Jian Xing
e82348ace4
Merge branch 'bugfix/fix_miss_annotate_ld_function_issue' into 'master'
...
fix(wifi): missed annotate ld function from txop fix
See merge request espressif/esp-idf!24796
2023-07-14 16:40:03 +08:00
muhaidong
41c4240996
fix(wifi): missed annotate ld function from txop fix
2023-07-14 11:41:41 +08:00
Li Shuai
b84d811684
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-13 21:25:07 +08:00
muhaidong
a1a69b044e
esp_wifi: fix some txop issues
2023-06-09 22:37:15 +08:00
morris
4123e611dc
esp_rom: add common ROM API to update CPU tick rate
2023-04-19 13:21:26 +08:00
chenjianhua
056ae5dd21
Update bt lib for ESP32-C3 and ESP32-S3
...
- Fixed non-connectable and non-scannable directed adv can't be scanned
2023-04-14 15:44:17 +08:00
chenjianxing
8d2e2ef2aa
esp_wifi: improve tx robust for c2/c3/s3
2023-03-30 21:36:35 +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
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
wuzhenghui
8a69bc4f9e
power save: fix some auto beacon issues and add some ps features for esp32c6
2023-03-04 00:17:40 +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
Marius Vikhammer
0eda9b9215
esp-rom: remove unsupported ROM functions
2023-01-19 10:09:09 +08:00
chenjianxing
1c96b509bb
esp_wifi: fix multicast pkts drop issue for some AP when DTIM period > 1
...
Closes WIFI-5076
2022-12-13 16:57:41 +08:00
zhangyanjiao
8226de767c
esp_wifi: fix esp32c3 connect fail
...
Closes IDFCI-1524
2022-11-28 16:09:24 +08:00
jiangguangming
08fd77a09a
move {target}/rom/miniz.h to a common miniz.h
...
- Move {target}/rom/miniz.h to common miniz.h
- Add ESP_ROM_HAS_MZ_CRC32 for ESP32/S2/S3/C3/H4
- Alias mz_crc32 to crc32_le if chips not support ESP_ROM_HAS_MZ_CRC32
Closes https://github.com/espressif/esp-idf/issues/10177
2022-11-15 15:39:39 +08:00
alex.li
67c557f9c4
esp_wifi: fix wapi gtk id compability issue and adapt tx frag pn sequently.
2022-11-08 17:31:44 +08:00
Chen Jian Xing
b813476a51
Merge branch 'bugfix/fix_ignore_rx_sub_ampdu_int_issue' into 'master'
...
esp_wifi: fix ignore rx sub ampdu interrupt issue
Closes ESPCS-854
See merge request espressif/esp-idf!20564
2022-10-13 19:34:24 +08:00
muhaidong
c2fe257ad6
esp_wifi: fix ignore rx sub ampdu interrupt issue
2022-10-13 11:40:13 +08:00
jiangguangming
0ed7927520
esp_rom: update esp_rom_caps.h
2022-10-12 20:12:56 +08:00
wuzhenghui
68159feb10
esp32c6: add esp_rom support (rom version: esp32c6-20220901)
2022-09-26 20:32:04 +08:00
wuzhenghui
88c123f805
esp_rom: add esp_rom_software_reset and esp_rom_software_reset_cpu interface
2022-08-31 01:59:36 +00:00
Darian Leung
fbcde6777f
newlib: Add workaround for printf functions using 32-bit time_t on first call
...
sizeof(time_t) was previously switched from 4 to 8, ROM functions that use
time_t or dependent types (such as "struct stat") are no longer called due as
they still treat sizeof(time_t) as 4 (see commit
24c20d188e
).
However, there is a ROM callpath that was left out. If putchar is the first
stdio print related call, the call path will result in cantwrite() ->
__swsetup_r() -> __smakebuf_r() -> __swhatbuf_r() using the ROM "struct stat"
(where sizeof(time_t)==4).
Instead of removing all printf related ROM newlib functions (which will result
in increased binary size), this commit adds a workaround to setup the stdio
files before any print related calls occur.
This results in cantwrite() always returning false, thus the callpath described
above never being reached.
Closes https://github.com/espressif/esp-idf/issues/9269
2022-08-21 15:27:50 +08:00