99 Commits

Author SHA1 Message Date
Chen Jian Hua
01bcc85fd9 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(fd62b31)
- Fixed periodic adv enable params checking
- Fixed BLE assert lld_scan.c 1728 when receiving directed adv
- Support resolving RPA to identity address when creating connection
- Fixed BLE assert rwble.c 505 param 00400010
- Fixed peer address type error in HCI LE meta event
- Fixed setting random address failed when extended adv is enabled


(cherry picked from commit 326f391f9c5a218bad521f3a1277fd09f240ac6d)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2025-01-07 14:33:16 +08:00
liuning
3e60901efe fix some wifi issues
1. fix(wifi): fix sta tsf active failed
2. fix(wifi): fix double max active time
3. fix(wifi): fix coex pwr period cant been updated by ps type set
2025-01-03 16:04:46 +08:00
wangtao@espressif.com
19c3a5a27e fix(wifi): fix rssi and snr issue 2024-12-18 20:19:54 +08:00
wangtao@espressif.com
25143e1e4a fix(wifi): fix ampdu to normal cause free buffer twice issue 2024-12-06 17:59:17 +08:00
zhiweijian
81c56354fb feat(bt/controller): Support controller code run in flash only 2024-11-06 14:24:28 +08:00
Chen Jian Hua
2d0c9d1837 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(52ee788)
- Fixed BLE vendor HCI set and get tx power
- Support BLE vendor HCI set adv aux offset command
- Support BLE vendor HCI set CSA support command
- Added config for BLE instant passed workaround
- Fixed btdm_sleep_clock_sync timeout workaround


(cherry picked from commit 1e3220b0b084ce0363e8268d6d1cf9d20fa07a59)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-10-31 15:33:43 +08:00
Chen Jian Hua
acf16d293b fix(bt/controller): Fixed BLE functions overriding on ESP32-C3 ECO7
(cherry picked from commit 020f7a6297f52e473e724af6509b72350024e62f)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-10-15 13:33:21 +08:00
zhanghaipeng
256895f89f fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(f583012)
- Fix BLE channel map update when latency is not zero
2024-08-07 13:13:49 +08:00
zhanghaipeng
3752c0ad5f fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(abd7733)
- Fix the issue where RSSI is incorrect when latency is not zero
2024-07-15 15:55:17 +08:00
liuning
9689526f76 feat(wifi): support coex pwr, fix tbtt intr miss issue, fix esp32 cant tx after reset 2024-07-10 16:27:17 +08:00
muhaidong
ba8ace2e98 fix(wifi): annotate a rom function 2024-07-02 21:35:24 +08:00
Island
ef922dd380 Merge branch 'bugfix/fix_some_ble_bugs_cjh_v5.0' into 'release/v5.0'
Fixed some BLE bugs 240620 (backport v5.0)

See merge request espressif/esp-idf!31648
2024-06-26 20:33:09 +08:00
linruihao
e575fa7b3e fix(bt): Overwrite a function in esp32c3 eco7 rom 2024-06-24 19:48:36 +08:00
chenjianhua
1b65330ac5 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(0738a61)
- Fixed BT BB interrupt allocation
- Refactor the prefix of assert print
- Fixed HCI LE set privacy mode command handle
2024-06-24 19:48:36 +08:00
chenjianhua
35e79a6437 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(eca46a0)
- Fixed adv data buffer free after restart adv
- Fixed BLE interrupt allocation using esp API
2024-06-24 19:48:36 +08:00
wuzhenghui
39e7503f8e
change(esp_system): trigger digital system reset in brownout isr 2024-06-24 19:12:49 +08:00
zhangyanjiao
2e216f6e2e fix(wifi): fixed sniffer and espnow issue
1. fix(wifi): fixed sniffer dump fcs error packets fail

Closes https://github.com/espressif/esp-idf/issues/10777

2. fix(wifi): fixed the espnow priv parameter get error

Closes https://github.com/espressif/esp-idf/issues/13693
2024-05-31 14:13:50 +08:00
chenjianhua
f205edb6e9 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(a771b7c)
- Fixed assert when starting advertising due to preemption
- Fixed RPA generation after each reboot
- Fixed RPA renew timer start and stop
2024-05-22 11:49:59 +08:00
muhaidong
705afe5162 fix(wifi): fixed task watchdog got triggered by esp_wifi_stop issue 2024-05-20 10:11:48 +08:00
muhaidong
a91a74d12a fix(wifi): fix multicast address qos frames issue 2024-05-20 10:11:48 +08:00
muhaidong
155fe73757 fix(wifi): fix some wifi issues
1. fix qos encapsulated eapol issue
2. fixed dhcp offer and dhcp ack data rates
2024-05-20 10:11:24 +08:00
chenjianhua
49f11c53bd fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(5274796)
- Fixed extended uncoded and coded scan scheduling
- Add config for channel assessment and ping procedure
- Clear random address for extended advertising
- Add periodic advertising list check
- Fixed periodic advertising data setting with zero length
2024-04-18 14:43:00 +08:00
baohongde
0a86dd2eb3 feat(ble/controller): Add coexist schm for BLE 2024-04-18 14:31:53 +08:00
liuning
3a0cf2c03a feat(coex): support to scan long time on channel, fix coexist sync issue 2024-03-28 21:09:28 +08:00
liuning
e428e1a9ce feat(coex): improve Wi-Fi connecting compatibility at coexistence 2024-03-28 20:43:12 +08:00
Cao Sen Miao
d8f505751e 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-03-04 11:55:50 +08:00
zhangyanjiao
ce93d231e9 fix(wifi): fixed scan and mesh deinit issues
1. update scan ap number when clear scan ap records
2. wait for child disconnect when mesh deinit
2024-02-28 10:59:21 +08:00
zhanghaipeng
50ef8650ac 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 14:28:28 +08:00
chenjianhua
1363cbe1ca 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-02-04 14:28:12 +08:00
zhanghaipeng
ca056b198f feat(bt/bluedroid): Support ext adv aux option 2024-01-22 20:54:04 +08:00
chenjianhua
259e8ab25b fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(b8f0db9)
- Fixed assert when llcp instant passed
2023-12-04 17:09:50 +08:00
alanmaxwell
98d617b0dc 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 rx fragment fail in Open mode.
5.Fix ampdu duration issue
2023-11-03 11:44:40 +08:00
Kapil Gupta
5402e14cfb fix(esp_wifi): Drop fragmented AMPDU(fixCVE-2020-26142) 2023-11-02 19:20:17 +08:00
zhiweijian
2a3d18c0cc feat: support ble esp32c3 eco7 2023-10-31 20:38:17 +08:00
liuning
20a34298cf fix(rom): fix rom ld for v5.0 2023-10-31 20:38:17 +08:00
liuning
345accbe13 fix(rom): remove related rom funcs in c3 rom eco7 MR 2023-10-31 20:38:17 +08:00
alanmaxwell
3d8915f2b3 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-31 20:38:05 +08:00
Jiang Guang Ming
89bf50f05a feat(esp32c3): Add rom ld with ROM tag esp32c3-eco7-20230720 2023-10-30 20:55:31 +08:00
muhaidong
6bfac2a6e4 fix(wifi): fix some wifi issues
1. fix enable psram wapi dhcp fail issue
2. fix tx power issue
2023-10-26 17:55:37 +08:00
xueyunfei
1f5e7e33df feat(esp_wifi):static buf for management,control,qos null,null data rx packet 2023-10-26 17:55:37 +08:00
chenjianhua
3502d25a2e 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 17:16:17 +08:00
Armando
6183b555aa fix(flash_mmap): fixed limited free I/D pages on ESP32S3, C2, C3 2023-08-25 10:37:48 +08:00
Nachiket Kukade
b7a28abd2c 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-17 13:58:08 +08:00
muhaidong
210ffa0475 fix(wifi): missed annotate ld function from txop fix 2023-07-26 11:54:10 +08:00
Li Shuai
0b42747d0a 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-20 11:39:41 +08:00
muhaidong
398403e251 esp_wifi: fix some txop issues 2023-06-09 23:24:02 +08:00
Jiang Jiang Jian
c323399520 Merge branch 'bugfix/fix_hw_ralunderrun_assert_v5.0' into 'release/v5.0'
Fixed BLE HW RAL_UNDERRUN assert and backport some bug fix 23-03-30 (back port v5.0)

See merge request espressif/esp-idf!22989
2023-05-11 17:27:32 +08:00
chenjianhua
2279603842 Update bt lib for ESP32-C3 and ESP32-S3
- Fixed non-connectable and non-scannable directed adv can't be scanned
2023-05-11 02:45:56 +00:00
zwj
0e5c6144b7 - 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-05-11 02:45:56 +00:00
chenjianxing
97225286ca esp_wifi: improve tx robust for c2/c3/s3 2023-03-30 21:46:07 +08:00