Commit Graph

19315 Commits

Author SHA1 Message Date
chenjianhua
7893c5f479 bluedroid: fix ble adv data construct for device name 2023-05-19 15:57:38 +08:00
chenjianhua
e3594aca70 bluedroid: fix ble smp key distribution setting 2023-05-19 15:57:32 +08:00
chenjianhua
a7c1fd9f60 bluedroid: report disconnect event after BLE link closed 2023-05-19 15:57:25 +08:00
Wang Meng Yang
471332039e Merge branch 'bugfix/fix_esp32_bugs_230511_v4.3' into 'release/v4.3'
Fixed some esp32 bugs(backport v4.3)

See merge request espressif/esp-idf!23705
2023-05-18 15:04:37 +08:00
Mahavir Jain
d532e2307e Merge branch 'bugfix/update_test_dl_esp_cert_v4.3' into 'release/v4.3'
tests: update Root certificate for the test endpoints (v4.3)

See merge request espressif/esp-idf!23800
2023-05-18 12:16:29 +08:00
Mahavir Jain
e0bea82931
tests: update Root certificate for the test endpoints
Use Root certificate (`DigiCert Global Root G2`) for the
`dl.espressif.com` and `espressif.com` test endpoints.

This fixes the test failure introduced due to renewal of
the intermediate certificate.
2023-05-17 15:29:06 +05:30
Zim Kalinowski
bf2e588972 Merge branch 'bugfix/i2c_timing_wrong_v4.3' into 'release/v4.3'
i2c: fix a bug in sda sample timing (backport v4.3)

See merge request espressif/esp-idf!23232
2023-05-17 14:49:04 +08:00
Marius Vikhammer
85c0fe4a7d Merge branch 'bugfix/psram_newlib_time_rom_v4.3' into 'release/v4.3'
rom: fix newlib time ROM functions being regardless of CONFIG_SPIRAM_CACHE_WORKAROUND (v4.3)

See merge request espressif/esp-idf!23388
2023-05-17 09:24:27 +08:00
zhiweijian
4853b91b18 Fixed blufi doc error 2023-05-11 20:21:21 +08:00
zhiweijian
0f0ea746a9 Fixed BLE disconnection failure on ESP32 2023-05-11 20:18:40 +08:00
zwj
cd4a4a6bb5 Fixed disconnection due to consecutive CRC errors in first 6 intervals 2023-05-11 20:18:31 +08:00
zwj
2098472085 Fixed no error report when own address type is rpa_random and no random address setting 2023-05-11 20:18:21 +08:00
zhiweijian
60c5d952db Fixed battery profile wrong condition 2023-05-11 20:18:12 +08:00
Marius Vikhammer
e3d109dd1d rom: fix newlib time ROM functions being regardless of CONFIG_SPIRAM_CACHE_WORKAROUND
On ESP32 ROM functions are not compatible with CONFIG_SPIRAM_CACHE_WORKAROUND.
This were handled correctly in cmake, but not in make.
2023-05-11 07:22:17 +00:00
Omar Chebib
b2c50986ee i2c: fix a bug in sda sample timing
* Closes https://github.com/espressif/esp-idf/issues/9777

This bug prevented SCL line to work properly after a NACK was received in master mode.
2023-05-04 04:16:12 +00:00
Zim Kalinowski
33b3db35d7 Merge branch 'doc/fix_pthread_create_example' into 'release/v4.3'
doc: fixed pthread_create call in example

See merge request espressif/esp-idf!23355
2023-04-24 14:54:30 +08:00
Jiang Jiang Jian
551de84c52 Merge branch 'bugfix/improve_scan_performance_when_scan_and_sync_coexist_v4.3' into 'release/v4.3'
Fixed some ESP32C3/S3 BLE bugs 23-04-22(backport v4.3)

See merge request espressif/esp-idf!23368
2023-04-24 11:09:39 +08:00
Jiang Jiang Jian
f3c5763f0e Merge branch 'bugfix/fix_some_ble_bug_v4.3' into 'release/v4.3'
Fixed some BLE bugs (backport v4.3)

See merge request espressif/esp-idf!23302
2023-04-24 10:46:48 +08:00
Jiang Jiang Jian
a42d0ef64f Merge branch 'bugfix/fix_duplicate_scan_cycle_refresh_not_accurate_v4.3' into 'release/v4.3'
Fixed duplicate scan refresh cycle is not accurate after restarting scan on ESP32 (backport v4.3)

See merge request espressif/esp-idf!23366
2023-04-24 10:35:12 +08:00
zhiweijian
0ca4644ad1 - improve scan performance when scan and sync coexist on ESP32-C3 and ESP32-S3
- Fixed non-connectable and non-scannable directed adv can't be scanned on ESP32-C3 and ESP32-S3
2023-04-23 22:00:14 +08:00
zhiweijian
96f9fac9c1 Disable controller 5.0 feature bits if host 5.0 feature is not enabled 2023-04-23 21:47:09 +08:00
zwj
f24ca9fdaf Fixed duplicate scan refresh cycle is not accurate after restarting scan on ESP32 2023-04-23 21:13:25 +08:00
Jakob Hasse
30f065a97b doc: fixed pthread_create call in example 2023-04-23 10:39:21 +08:00
Jiang Jiang Jian
a9586adb0b Merge branch 'bugfix/softap_beacon_process_v4.3' into 'release/v4.3'
esp_wifi: validate softAP interface when sending beacon and add sta_connected callback (Backport v4.3)

See merge request espressif/esp-idf!23264
2023-04-23 10:31:05 +08:00
Mahavir Jain
7b9accc482 Merge branch 'bugfix/block9_can_not_be_used_for_fe_v4.3' into 'release/v4.3'
efuse: Prevent burning XTS_AES and ECDSA keys into BLOCK9 (BLOCK_KEY5) (v4.3)

See merge request espressif/esp-idf!23293
2023-04-21 15:26:21 +08:00
chenjianhua
7c133db8b3 bluedroid: report status after clearing the BLE white list 2023-04-21 14:37:32 +08:00
chenjianhua
c186943097 bluedroid: fix GATTC cache address save 2023-04-21 14:37:31 +08:00
chenjianhua
8dbe4fec0d bluedroid: fix adv and scan state conflict 2023-04-21 14:37:31 +08:00
chenjianhua
31f6dab386 bluedroid: support get bluetooth device name 2023-04-21 14:37:31 +08:00
Zim Kalinowski
4571dd1d2f Merge branch 'contrib/github_pr_7754_v4.3' into 'release/v4.3'
Fix infinite recursion in FLAG_ATTR operator (GitHub PR) (backport v4.3)

See merge request espressif/esp-idf!23236
2023-04-20 19:34:38 +08:00
jgujarathi
f87afae48d wpa_supplicant : Prevent h2e config overwrite
Current esp_wifi_get_config doesn't return correct value of h2e config which will cause h2e config to be overwritten in Station connected handler.

Add one preventative condition to take care of this.
2023-04-20 15:29:19 +05:30
Sarvesh Bodakhe
37a2cce163 esp_wifi: fix some wifi bugs
1. Move wpa_supplicant WIFI_EVENT_STA_CONNECTED and WIFI_EVENT_STA_DISCONNECTED event handlers into callbacks
2. Validate softAP interface when sending beacon frame
2023-04-20 15:29:11 +05:30
KonstantinKondrashov
e920827199 esptool: Update esptool
Prevent burning XTS_AES and ECDSA keys into BLOCK9 (BLOCK_KEY5)
2023-04-20 14:16:21 +08:00
Mahavir Jain
719eb6375e docs: add a note regarding EFuse Block9 key purpose quirk for some chips 2023-04-20 14:16:21 +08:00
KonstantinKondrashov
e21b0cb6ed efuse: Prevent burning XTS_AES and ECDSA keys into BLOCK9 (BLOCK_KEY5)
eFuse module has a hardware bug.
It is related to ESP32-C3, C6, S3, H2 chips:
    - BLOCK9 (BLOCK_KEY5) can not be used by XTS_AES keys.
For H2 chips, the BLOCK9 (BLOCK_KEY5) can not be used by ECDSA keys.
S2 does not have such a hardware bug.
2023-04-20 14:16:21 +08:00
Jiang Jiang Jian
87234fdafc Merge branch 'feature/add_menuconfig_of_calibration_mode_v4.3' into 'release/v4.3'
esp_phy: add menuconfig of phy calibration mode and disable reduce PHY TX power when brownout reset(Backport v4.3)

See merge request espressif/esp-idf!23260
2023-04-19 15:26:37 +08:00
muhaidong
1c78db33ad esp_phy: add menuconfig of phy calibration mode and disable reduce PHY TX power when brownout reset 2023-04-18 20:06:01 +08:00
Jiang Jiang Jian
3ac5fbcf8b Merge branch 'bugfix/fix_systimer_stall_issue_in_lightsleep_v4.3' into 'release/v4.3'
esp_wifi: allow connectionless ps with mesh, fix failed to sleep after scan;...

See merge request espressif/esp-idf!23205
2023-04-17 19:41:06 +08:00
Otto Winter
381ac08f12 bugfix (esp_common): remove infinite recursion in FLAG_ATTR operator
Closes https://github.com/espressif/esp-idf/pull/7754

Signed-off-by: Jakob Hasse <jakob.hasse@espressif.com>
2023-04-17 18:37:15 +08:00
liuning
72253506e9 esp_wifi: allow connectionless ps with mesh, fix failed to sleep after scan; coex: fix esp32 wifi interrupted by ble act 2023-04-14 14:22:54 +08:00
Jiang Jiang Jian
650e722807 Merge branch 'bugfix/espnow_config_channel_v4.3' into 'release/v4.3'
esp_wifi: fix espnow example add peer fail when config channel(v4.3)

See merge request espressif/esp-idf!23180
2023-04-13 18:07:41 +08:00
chenjianxing
e490e9062c esp_wifi: fix espnow example add peer fail when config channel
Closes https://github.com/espressif/esp-idf/issues/9592
2023-04-13 10:54:28 +08:00
Jiang Jiang Jian
b8a3642270 Merge branch 'bugfix/add_get_coex_version_v4.3' into 'release/v4.3'
bt: added coex adapter operation to get version of coexist module to ESP32 Bluetooth Controller(v4.3)

See merge request espressif/esp-idf!23168
2023-04-13 10:09:11 +08:00
wangmengyang
8f0766c56e bt: added coex adapter operation to get version of coexist module to ESP32 Bluetooth Controller 2023-04-12 18:02:54 +08:00
Jiang Jiang Jian
0972f2cf58 Merge branch 'bugfix/bt_diable_enbale_crash_v4.3' into 'release/v4.3'
bt:Fixed esp32 controller bug (v4.3)

See merge request espressif/esp-idf!23152
2023-04-12 16:44:52 +08:00
Mahavir Jain
3591268d96 Merge branch 'feature/update_mbedtls_v2.28.3_v4.3' into 'release/v4.3'
mbedtls: Update to release v2.28.3 (v4.3)

See merge request espressif/esp-idf!23114
2023-04-12 16:30:36 +08:00
xiongweichao
665ae6a80d bt:Fixed esp32 controller bug
1. Fixed crash after controller disable and re-enable
2. Fixed the crash caused by processing the HCI_Read_Remote_Extented_Features command in the non-connected state
3. Fixed disconnection due to not handling lmp_unsniff_req in LC_WAIT_SNIFF_SUB_RSP state
4. Fixed crash caused by supervision timeout greater than sniff interval

Closes https://github.com/espressif/esp-idf/issues/11164
Closes https://github.com/espressif/esp-idf/issues/10835
2023-04-12 09:48:30 +08:00
harshal.patil
9e4055ef44 mbedtls: Update to release v2.28.3
- Release Notes: https://github.com/Mbed-TLS/mbedtls/releases/tag/v2.28.3
2023-04-11 09:26:32 +00:00
Jiang Jiang Jian
c65c587b1f Merge branch 'mesh/bugfix_fix_heap_corrupt_issue_v4.3' into 'release/v4.3'
esp_wifi: fix bugs in LR and mesh (backport v4.3)

See merge request espressif/esp-idf!23129
2023-04-11 12:02:11 +08:00
Jiang Jiang Jian
6a7c5598e0 Merge branch 'bugfix/delete_node_during_list_traverse_4.3' into 'release/v4.3'
bugfix: Fixed the crash of LoadProhibited caused by invalid operation on list node in handling hci_hardware_error event (v4.3)

See merge request espressif/esp-idf!23119
2023-04-11 11:37:20 +08:00