Commit Graph

12809 Commits

Author SHA1 Message Date
wangjialiang
cac449f57a ble_mesh: stack: Fix send fast interval prov_adv failed when PB-ADV and PB-GATT enable simultaneously 2022-10-17 16:39:59 +08:00
Jiang Jiang Jian
bf00ddb62c Merge branch 'bugfix/fix_esprv_intc_int_set_type_err_parameter_backportv4.3' into 'release/v4.3'
bugfix: esprv_intc_int_set_type should not use bitmap parameter(backport v4.3)

See merge request espressif/esp-idf!20608
2022-10-17 14:39:31 +08:00
Mahavir Jain
d4789383a4 Merge branch 'bugfix/fix_mbedlts_ds_memory_leak_v4.3' into 'release/v4.3'
esp-tls: Fix memory leak in mbedtls ds peripheral when MBEDTLS_THREADING_C enabled (backport v4.3)

See merge request espressif/esp-idf!20595
2022-10-17 12:41:03 +08:00
wuzhenghui
4934d700c9 bugfix: esprv_intc_int_set_type should not use bitmap parameter 2022-10-14 15:27:19 +08:00
yuanjianmin
4848e11ac6 esp-tls: Fix memory leak in mbedtls ds peripheral when MBEDTLS_THREADING_C enabled 2022-10-13 19:41:19 +08:00
zhangyanjiao
14ce174215 esp_wifi: fix connect fail when enable SPIRAM and ESPNOW send 2022-10-13 17:05:17 +08:00
Jiang Jiang Jian
9e863ecdb8 Merge branch 'bugfix/fix_some_ble_bugs_on_esp32c3_v4.3' into 'release/v4.3'
Fixed some BLE controller bugs on ESP32-C3 (backport v4.3)

See merge request espressif/esp-idf!19990
2022-09-29 13:59:20 +08:00
Jiang Jiang Jian
07bffab8d4 Merge branch 'feature/sink_support_mono_v4.3' into 'release/v4.3'
bt: Fixed sink not being able to output mono audio because it can only decode dual channel audio data(v4.3)

See merge request espressif/esp-idf!20079
2022-09-29 11:40:01 +08:00
Jiang Jiang Jian
a5e5ab7b1b Merge branch 'bugfix/acl_buf_ocf_and_conn_fail_v4.3' into 'release/v4.3'
bugfix/fixed the exhaustion of ACL buffer and duplicated connection requests (v4.3)

See merge request espressif/esp-idf!20385
2022-09-29 11:37:57 +08:00
Jin Cheng
f2000d8925 fixed the issue iOS devices cannot initiate connection
to ESP32 while there is a BLE connection to this ESP32

Closes https://github.com/espressif/esp-idf/issues/6557
2022-09-28 16:12:11 +08:00
morris
c930046693 Merge branch 'doc/usj_sw_reset_alive_bbpll_doc_v4.3' into 'release/v4.3'
usb_serial_jtag: fixed the docs that we can use usj in sleep modes (v4.3)

See merge request espressif/esp-idf!20294
2022-09-28 11:50:08 +08:00
Jin Cheng
9a953f7740 fixed the exhaustion of ACL buffer
fixed the duplication of connection request from the same device
2022-09-28 10:16:24 +08:00
zwj
f635a2f2a1 fix calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting 2022-09-27 21:38:11 +08:00
zwj
157acb3086 Fixed extend adv tx power range error 2022-09-27 21:37:04 +08:00
cjin
ebb23ff4fe fix err using rpa for confirmation calculation 2022-09-27 21:35:49 +08:00
cjin
78a08e9ca7 fix on data len change cmd malfunction 2022-09-27 21:35:33 +08:00
zwj
d826f8ae34 Update ESP32-C3 BLE lib
- Fixed the usage of PLL track related baseband IRQs
- Fixed connect failed due to error sync found signal
- Fixed BLE disconnect failed due to terminate_ind have sent but no ACK is received
- Added ADV mode error check in ADV rx isr handler function
- Fixed BLE RAL_UNDERRUN and TX_CRYPT_ERR assert
- Disable scan continue
- Fixed scan forever if scan continue is disable
- Fixed BLE disconnection issue when channel map update failed due to bad channels
2022-09-27 20:55:19 +08:00
zwj
05c8753eaa Fixed extend adv set remove failed 2022-09-27 20:55:19 +08:00
Yuan Jian Min
3a92e82e97 esp-tls: socket will be set to -1 and will not be closed 2022-09-26 19:25:27 +08:00
Jiang Jiang Jian
aefd3db87d Merge branch 'bugfix/fix_set_country_code_before_wifi_start_issue_v4.3' into 'release/v4.3'
Bugfix/fix set country code before wifi start issue v4.3(Backport v4.3)

See merge request espressif/esp-idf!20106
2022-09-23 17:56:12 +08:00
Mahavir Jain
8034c03106 Merge branch 'update_expat_R_2_4_8_v4.3' into 'release/v4.3'
expat: Update expat library to R_2_4_8 release (v4.3)

See merge request espressif/esp-idf!20284
2022-09-22 21:25:47 +08:00
Michael (XIAO Xufeng)
e28bb4b9c4 usb_serial_jtag: fixed the docs that we can use usj in sleep modes
Related to: https://github.com/espressif/esp-idf/issues/8507, https://github.com/espressif/esp-idf/issues/8884
2022-09-22 17:39:15 +08:00
Island
eb922b57a3 Merge branch 'bugfix/relay_friend_cred_message_v4.3' into 'release/v4.3'
ble_mesh: stack: Fix friend relay lpn message when relay disable(v4.3)

See merge request espressif/esp-idf!20205
2022-09-22 14:17:40 +08:00
Jiang Jiang Jian
8ed3ec79cf Merge branch 'bugfix/fix_xtal32k_error_detect_backport_v4.3' into 'release/v4.3'
esp_hw_support/clk_cali: fix xtal32k error detect(backport v4.3)

See merge request espressif/esp-idf!20277
2022-09-22 14:04:44 +08:00
morris
1ecf62bf14 Merge branch 'bugfix/fix_spi_bus_lock_concurrency_issue_v4.3' into 'release/v4.3'
spi_bus_lock: fix a concurrency issue (v4.3)

See merge request espressif/esp-idf!20139
2022-09-22 13:34:00 +08:00
Harshit Malpani
f310113c91
expat: Update expat library to R_2_4_8 release
Detailed changelog: https://github.com/libexpat/libexpat/blob/R_2_4_8/expat/Changes
2022-09-22 10:04:59 +05:30
jingli
b85e5627d3 esp_hw_support/clk_cali: remove redundant check for cali value 2022-09-21 16:30:17 +08:00
jingli
07d69b7cae esp_hw_support/clk_cali: fix xtal32k error detect 2022-09-21 16:29:36 +08:00
morris
179d12db47 Merge branch 'bugfix/fix_ledc_timer_update_usage_v4.3' into 'release/v4.3'
ledc: Fix the usage of ledc_ls_timer_update and ledc_timer_rst (backport v4.3)

See merge request espressif/esp-idf!20243
2022-09-21 15:00:37 +08:00
Michael (XIAO Xufeng)
02c45b6e52 Merge branch 'bugfix/spi_hd_quad_issue_4.3' into 'release/v4.3'
SPI : fix wrong dummy cycle on quad mode and put get-command function in spi_ll.h(backport v4.3)

See merge request espressif/esp-idf!19836
2022-09-21 12:10:23 +08:00
wangjialiang
e54506ceaa ble_mesh: stack: Fix friend relay lpn message when relay disable. 2022-09-21 03:36:36 +00:00
Island
894b1ad79d Merge branch 'bugfix/lpn_not_recv_message_to_all_node_4.3' into 'release/v4.3'
ble_mesh: stack: Add option for lpn auto sub all-nodes(v4.3)

See merge request espressif/esp-idf!20263
2022-09-21 11:31:39 +08:00
wangjialiang
7e2ebcde7a ble_mesh: stack: Add option for lpn auto sub all-nodes. 2022-09-20 20:31:37 +08:00
Song Ruo Jing
4cd54d6e32 ledc: Fix the usage of ledc_ls_timer_update and ledc_timer_rst
ledc_ls_timer_update is required only when CLK_DIV and DUTY_RES bits are changed.
Calling ledc_timer_rst while re-configure PWM frequency through ledc_set_freq can cause glitch in the signal
2022-09-20 12:04:13 +08:00
Michael (XIAO Xufeng)
5666813ce0 Merge branch 'bugfix/driver_rs485_fix_test_sync_issues_v43' into 'release/v4.3'
driver: uart rs485 fix test sync issues and fail threshold (backport v4.3)

See merge request espressif/esp-idf!19611
2022-09-19 16:16:01 +08:00
Alex Lisitsyn
ec7bab9b19 driver: uart rs485 fix test sync issues and fail threshold (backport v4.3) 2022-09-19 16:16:00 +08:00
xueyunfei
f1b8861f2b esp_wifi:add clear ap list interface 2022-09-19 15:52:06 +08:00
muhaidong
e8abfaa20e esp_wifi: add small UT for country code. 2022-09-19 15:51:39 +08:00
muhaidong
5a6cbcd29b esp_wifi: fix country policy issue. 2022-09-19 15:51:19 +08:00
Jiang Jiang Jian
5c3e729198 Merge branch 'bugfix/fix_send_eapol_key_request_frame_when_wpa_group_handshake_issue_v4.3' into 'release/v4.3'
wpa_supplicant: try install gtk before send group key handshake message 2(Backport v4.3)

See merge request espressif/esp-idf!20200
2022-09-19 10:58:19 +08:00
muhaidong
6cf2fc39ce wpa_supplicant: try install gtk before send group key handshake message 2 2022-09-17 18:29:20 +08:00
wangjialiang
eb4ec4beda ble_mesh: stack: added the judgment that the parameter is NULL but the parameter len is not zero to avoid btc_transfer_context failed 2022-09-15 09:17:08 +00:00
morris
2ee1a33ed4 Merge branch 'bugfix/twai_isr_iram_v4.3' into 'release/v4.3'
hal: fix CONFIG_TWAI_ISR_IN_IRAM for C3, hide TWAI menu for C2 (v4.3)

See merge request espressif/esp-idf!20093
2022-09-15 17:04:18 +08:00
gaoxu
8095142796 SPI: change the different soc's spi defintion location and fix the bug that wrong dummy cycle under quad spi mode 2022-09-15 16:03:54 +08:00
morris
f425cd9d15 Merge branch 'bugfix/fix_esp32_psram_cs_hold_time_issue_when_under_80m_v4.3' into 'release/v4.3'
esp_psram: fix esp32 psram cs hold time issue when under 40m (v4.3)

See merge request espressif/esp-idf!19649
2022-09-15 15:30:30 +08:00
Jiang Jiang Jian
08726a8495 Merge branch 'bugfix/remove_bt_dft_init_semicolon_v4.3' into 'release/v4.3'
bt: Remove trailing semicolon from bt dft initializer(v4.3)

See merge request espressif/esp-idf!19916
2022-09-14 17:01:08 +08:00
Jiang Jiang Jian
f1bd2be298 Merge branch 'bugfix/fix_memory_corruption_in_recon_code_v4.3' into 'release/v4.3'
Nimble: Fixed memory corruption introduced in reconnection attempt code (v4.3)

See merge request espressif/esp-idf!19746
2022-09-14 16:59:38 +08:00
Armando
6a1bfa29b0 SPI_BUS_LOCK: fix a concurrency issue
define: lock_bits = (lock->status & LOCK_MASK) >> LOCK_SHIFT;  This `lock_bits` is the Bit 29-20 of the lock->status

1. spi_hdl_1:
   acquire_end_core():
   uint32_t status = lock_status_clear(lock, dev_handle->mask & LOCK_MASK);
   Becuase this is the first `spi_hdl_1`, so after this , lock_bits == 0`b0. status == 0

2. spi_hdl_2:
   acquire_core:
   uint32_t status = lock_status_fetch_set(lock, dev_handle->mask & LOCK_MASK);
   Then here status is 0`b0, but lock_bits == 0`b10. Because this is the `spi_hdl_2`

3. spi_hdl_2:
   `acquire_core` return true, because status == 0. `spi_bus_lock_acquire_start(spi_hdl_2)` then won't block.

4. spi_hdl_2:
   spi_device_polling_end(spi_hdl_2).

5. spi_hdl_1:
   acquire_end_core:
   status is 0, so it cleas the lock->acquiring_dev

6. spi_hdl_2:
   spi_device_polling_end:
   assert(handle == get_acquiring_dev(host)); Fail

Closes https://github.com/espressif/esp-idf/issues/8179
2022-09-14 12:13:24 +08:00
Zim Kalinowski
73509d93a5 Merge branch 'bugfix/spiram_abort_allocation_failure_v4.3' into 'release/v4.3'
SPIRAM: 'Abort on allocation failure' should not trigger when there is available SPI ram (backport v4.3)

See merge request espressif/esp-idf!19550
2022-09-13 16:28:43 +08:00
Zim Kalinowski
867c622136 Merge branch 'bugfix/fix_disassembler_interpreting_padding_v4.3' into 'release/v4.3'
(Xtensa) Build: add .xt.prop and .xt.lit to the compiled ELF file (backport v4.3)

See merge request espressif/esp-idf!19612
2022-09-13 16:28:26 +08:00