592 Commits

Author SHA1 Message Date
Chen Jian Hua
07858aeec9 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-11-04 18:05:23 +08:00
wangtao@espressif.com
0afc589f3a fix(wifi): fix esp32c2 eco4 set conutry policy auto issue 2024-10-23 19:21:51 +08:00
Chen Jian Hua
110cd62787 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:26 +08:00
wangtao@espressif.com
91ec13f858 fix(wifi): fix ampdu to normal cause free buffer twice issue 2024-09-30 13:11:04 +08:00
Jiang Jiang Jian
b64505ce8c Merge branch 'bugfix/fix_esp32c2_rom_eco1_mbedtls_issues_v5.1' into 'release/v5.1'
fix(esp_rom): Fixed esp32c2 rom eco1 mbedtls issues (v5.1)

See merge request espressif/esp-idf!33897
2024-09-29 18:37:58 +08:00
Jiang Guang Ming
c3ae4a3206 fix(esp_rom): Fixed esp32c2 rom eco1 mbedtls issues 2024-09-27 19:25:34 +08:00
xuxiao
a59658a072 fix(wifi): fixed the issue where the BSS color was not included when sending packets at HE rates (v5.1) 2024-09-27 15:45:20 +08:00
Shen Weilong
311d8d28d5 fix(ble): Fixed BLE initialization issue on ESP32-C2 eco4 2024-09-25 11:38:13 +08:00
wangtao@espressif.com
7caee46b77 fix(wifi): fix esp32c2 eco4 ld 2024-09-20 20:33:51 +08:00
Shen Wei Long
f7fb8a6dc6 change(ble): update c2 eco4 ld file
(cherry picked from commit 25189b190fb9b1e470e1e2ae1d57f7f279229b5a)

Co-authored-by: Shen Weilong <shenweilong@espressif.com>
2024-09-20 12:53:27 +08:00
Jiang Guang Ming
86b0c1b6eb feat(esp_rom): support esp32c2 rev2.0(ECO4) rom systimer hal 2024-09-18 21:02:13 +08:00
Jiang Guang Ming
b5fe76b7dc feat(esp_rom): add esp32c2.rom.eco4.ld 2024-09-18 21:02:04 +08:00
wangtao@espressif.com
ce6fe53c69 fix(wifi): fix wifi rssi to snr issue v51 2024-09-14 15:30:34 +08:00
Jiang Guang Ming
6976a43ad3 feat(esp_rom): include rom.mbedtls.eco4.ld with C2 rev2.0(ECO4) select 2024-09-10 10:37:57 +08:00
Jiang Guang Ming
2ee77ff20f feat(esp_rom): update esp32c2.rom.mbedtls.eco4.ld 2024-09-10 10:37:47 +08:00
Wang Meng Yang
670b6c76e2 Merge branch 'bugfix/fix_ble_channel_map_update_v5.1' into 'release/v5.1'
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(f583012) (v5.1)

See merge request espressif/esp-idf!32583
2024-08-14 10:50:08 +08:00
zhanghaipeng
824bd4342b fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(f583012)
- Fix BLE channel map update when latency is not zero
2024-08-13 12:13:08 +08:00
Jiang Guang Ming
97c5bc51e6 fix(esp_rom): add new rom caps ESP_ROM_HAS_NEWLIB_NANO_PRINTF_FLOAT_BUG 2024-08-12 09:57:07 +08:00
zwl
fde374a78e fix: fixed directed adv can't be conneted when adv filter is 0x2 on ESP32C2 2024-07-31 14:38:52 +08:00
zhanghaipeng
f004ac85e2 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-23 20:07:32 +08:00
zwl
c09892df4a feat(bluetooth/controller): adopting new HCI layer code on ESP32-C2 2024-07-16 13:23:41 +08:00
muhaidong
335faac23f fix(wifi): annotate a rom function 2024-07-15 19:56:15 +08:00
liuning
2c8de044a3 feat(wifi): support coex pwr 2024-07-11 11:24:10 +08:00
wangtao@espressif.com
cf2bdb08f4 feat(wifi): add softap csa&dtim&wait_bcast_data setting v5.1 2024-07-05 15:35:31 +08:00
zwl
8744e7c8bc fix(ble): fixed some ble controller issues on ESP32-C2 2024-07-02 15:44:32 +08:00
Kapil Gupta
c5e1603e6d fix(wifi): Fix encryption/decryption issue for mgmt packets
* Fix issues related to mgmt packets encryption in GCMP
* Fix issue of wrong decryption of mgmt packets when PMF is enabled
* Fix softAP bug in handling of SAE Reauthentication
* Fix send mgmt err when eapol process
* Fix data len not correct in he actions
2024-06-28 16:24:54 +05:30
linruihao
1f57c2b91a fix(bt): Overwrite a function in esp32c3 eco7 rom 2024-06-24 17:59:01 +08:00
chenjianhua
40b9ec3860 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 17:59:01 +08:00
chenjianhua
ae29703fb4 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 17:59:01 +08:00
Island
d456fdf322 Merge branch 'bugfix/esp32c2_fixed_some_ble_issues_master_v5.1' into 'release/v5.1'
Bugfix/esp32c2 fixed some ble issues master (v5.1)

See merge request espressif/esp-idf!31234
2024-06-04 10:22:07 +08:00
zhangyanjiao
64d34d84be 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-06-03 10:49:23 +08:00
zwl
ffc8485670 ble: fixed ble some issues on esp32c2 2024-05-31 17:13:44 +08:00
chenjianhua
f8af3d8e0d 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:50:50 +08:00
Jin Cheng
16794dc48f fix(bt/controller): Parse out the correct packet types from Host parameters
- For HCI command HCI_Enhanced_Setup_Synchronous_Connection
2024-05-14 11:54:25 +08:00
chenjianhua
fecd966e5a 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-05-11 14:38:47 +08:00
baohongde
2798e62787 feat(ble/controller): Add coexist schm for BLE 2024-05-11 14:38:40 +08:00
Jiang Jiang Jian
c686e23038 Merge branch 'bugfix/fix_lmac_end_frame_exchange_sequence_assert_issue_v5.1' into 'release/v5.1'
fix(wifi): fixed lmacEndFrameExchangeSequence assert issue(Backport v5.1)

See merge request espressif/esp-idf!30316
2024-04-18 11:29:08 +08:00
muhaidong
c58e1e2ec5 fix(wifi): fixed lmacEndFrameExchangeSequence assert issue 2024-04-17 19:36:03 +08:00
zwl
f22ac0ff82 ble: fixed an occasional assertion issue in coexistence scenarios on ESP32C2 2024-04-17 14:55:29 +08:00
muhaidong
edbf44b290 fix(wifi): fixed some wifi issue
1. sync multi antenna gpio register from IDF
2. fixed multicast address qos frames issue
3. fixed task watchdog got triggered by esp_wifi_stop issue
2024-04-11 15:33:43 +08:00
muhaidong
6f20668b24 fix(wifi): fix multicast address qos frames issue 2024-04-11 14:54:37 +08:00
liuning
6c015fd05e fix(wifi): fix coex ld issue 2024-03-28 21:19:27 +08:00
liuning
dfebf6cbbe feat(coex): improve Wi-Fi connecting compatibility at coexistence 2024-03-15 10:49:18 +08:00
muhaidong
4ae8d2179d fix(wifi): fix lmac_stop_hw_txq issue 2024-03-12 19:01:09 +08:00
muhaidong
0aadc3ec2a fix(wifi): fix some wifi issues
1. fix qos encapsulated eapol issue
2. fixed dhcp offer and dhcp ack data rates
2024-03-12 19:01:09 +08:00
morris
19022e0904 Merge branch 'contrib/github_pr_13025_v5.1' into 'release/v5.1'
Missing include for rom/uart.h (GitHub PR) (v5.1)

See merge request espressif/esp-idf!29361
2024-03-05 12:02:36 +08:00
Jiang Jiang Jian
8aa5610689 Merge branch 'bugfix/fix_flash_encryption_rom_c3_v5.1' into 'release/v5.1'
fix(spi_flash): Fix issue that flash encryption failed while rom_impl config is enabled (backport v5.1)

See merge request espressif/esp-idf!29351
2024-03-05 11:00:07 +08:00
zhangyanjiao
594c61add4 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-03-04 10:25:04 +08:00
Ricardo Quesada
f21a43b622 fix(uart): add missing include for rom/uart.h
Without this include it fails to compile with this error:

```
esp/esp-idf-v5.2/components/esp_rom/include/esp32/rom/uart.h:262:32: error: implicit declaration of function 'UART_STATUS_REG' [-Werror=implicit-function-declaration]
  262 |         status = READ_PERI_REG(UART_STATUS_REG(uart_no));
```

Merges https://github.com/espressif/esp-idf/pull/13025
2024-03-01 14:36:50 +08:00
Cao Sen Miao
9df0678421 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-01 10:51:31 +08:00