Jiang Jiang Jian
a74a732c10
Merge branch 'bugfix/fixing_memory_leak_wps_scan' into 'release/v4.3'
...
Fixed a memory leak issue created when parsing scan results
See merge request espressif/esp-idf!20740
2022-11-24 10:39:10 +08:00
muhaidong
0ed631f47a
esp_wifi: Modify wifi scan return value.
...
1. Modify wifi scan return value same to docs.
2. Change some logs' log level wo avoid misunderstanding.
3. Fix connect fail return wrong error code issue
2022-11-23 19:10:13 +08:00
zhangyanjiao
7cf171cb1f
update doc for set channel
2022-11-23 19:09:49 +08:00
zhangyanjiao
92eb91f985
update wifi reason code
2022-11-23 19:09:03 +08:00
Jiang Jiang Jian
2e0da2773b
Merge branch 'bugfix/change_default_tx_power_on_c3_v4.3' into 'release/v4.3'
...
Change BLE default TX power on ESP32C3(backport v4.3)
See merge request espressif/esp-idf!21169
2022-11-23 14:28:30 +08:00
jgujarathi
d5b9fbac44
(wpa_supplicant) : Fixed a memory leak issue created when parsing scan results.
2022-11-23 10:07:01 +05:30
Jiang Jiang Jian
d732a84bfd
Merge branch 'bugfix/wpa_enterprise_reauth_v4.3' into 'release/v4.3'
...
esp_wifi: Fix WiFi Enterprise Reauthentication issue (v4.3)
See merge request espressif/esp-idf!21073
2022-11-23 10:42:55 +08:00
zhiweijian
92c8189388
support BLE memory release on ESP32C3 and ESP32S3
2022-11-21 12:21:47 +08:00
zhiweijian
30f2cc87ce
Update bt lib for ESP32C3
...
- Added config to disable scan backoff
- Fixed llm_scan.c assert at line 1485 during controller deinit if duplicate scan is not stopped
- Call pll track in controller task
2022-11-21 12:04:35 +08:00
zwj
098465ff74
Fixed errors reported by CI clang_tidy_check
2022-11-21 11:11:52 +08:00
zwj
da42e4a234
Fixed sometimes BTU task overflow when doing read and write performance test
2022-11-21 11:11:40 +08:00
zhiweijian
14f396c367
change default tx power from 3dBm to 9dBm
2022-11-21 11:11:17 +08:00
wuzhenghui
378fa313ec
bugfix: fix redefined _iram_end
2022-11-18 19:50:23 +08:00
liqigan
60875836bd
fix HFP client parse CLCC command response bug
2022-11-18 19:44:17 +08:00
jingli
b6896055a2
hal/gpio_ll: fix digital gpio can not enable hold during deep sleep when force_unhold set(32/s2/s3)
2022-11-18 03:00:01 +00:00
jingli
58e9ce6fe3
hal/gpio_ll: fix digital gpio can not disable hold during deep sleep
2022-11-18 03:00:01 +00:00
jingli
24eea75f9c
esp_hw_support/sleep: fix current leakage when hold digital io during deep sleep
2022-11-18 03:00:01 +00:00
morris
3bbb109eb2
Merge branch 'feature/remove_psram_cs_clk_pin_settings_config_s2_s3_v4.3' into 'release/v4.3'
...
psram: remove CS/CLK pin settings in kconfig on ESP32S2 (v4.3)
See merge request espressif/esp-idf!21048
2022-11-14 17:17:13 +08:00
Shreyas Sheth
7e8cca6c2f
esp_wifi: Bugfix WPA Enterprise Reauthentication issue
2022-11-14 11:12:58 +05:30
Jin Cheng
60e281805c
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-11-14 09:50:22 +08:00
Michael (XIAO Xufeng)
af61c51385
Merge branch 'test/rtc_8m_d256_v4.3' into 'release/v4.3'
...
rtc: fixed 8MD256 can't be used as RTC slow src on ESP32 (v4.3)
See merge request espressif/esp-idf!18106
2022-11-12 00:45:11 +08:00
Armando
522cf49d33
psram: remove CS/CLK pin settings in kconfig on ESP32S2
2022-11-11 18:15:54 +08:00
morris
bfbf1139ae
Merge branch 'bugfix/fix_modbus_rs485_rts_en_fail_v43' into 'release/v4.3'
...
Bugfix/fix modbus rs485 rts en fail (backport v4.3)
See merge request espressif/esp-idf!16257
2022-11-09 15:46:51 +08:00
Song Ruo Jing
b8e62ce4b2
uart: Fix unwanted processing of TX_DONE interrupt immediately after calling uart_wait_tx_done()
...
In previous transmission(s), the TX_DONE interrupt raw bit may be raised, but never been cleared.
TX_DONE interrrupt status bit should be cleared before enabling it to check the new transmission.
2022-11-09 02:31:15 +00:00
aleks
a6e524418d
freemodbus: fix uart_wait_tx_done() reenable tx_done interrupt
2022-11-09 02:31:15 +00:00
aleks
bc1f50dc0f
freemodbus: fix rts enable fail when transmit frame
2022-11-09 02:31:15 +00:00
aleks
baa0aad20e
freemodbus: fix modbus rs485 rts enable fail v42
2022-11-09 02:31:15 +00:00
liuning
dbe59eff86
esp_wifi: add protection for mac reset (backport 4.3)
2022-11-08 14:04:52 +08:00
Jiang Jiang Jian
635a9c5efb
Merge branch 'bugfix/mqtt_enqueue4_3' into 'release/v4.3'
...
[mqtt] Fix esp_mqtt_client_enqueue for len=0 (v4.3)
See merge request espressif/esp-idf!20303
2022-11-08 11:08:00 +08:00
Jiang Jiang Jian
ffe6f240cf
Merge branch 'bugfix/time_jump_after_reboot_v4.3' into 'release/v4.3'
...
esp_hw_support: Fix time jump after reboot (v4.3)
See merge request espressif/esp-idf!20909
2022-11-08 11:07:51 +08:00
Jiang Jiang Jian
714cf794f2
Merge branch 'bugfix/keep_rtc8m_in_lightsleep_v4.3' into 'release/v4.3'
...
pm: fixed RTC8M domain power down issue when used as RTC source (v4.3)
See merge request espressif/esp-idf!18080
2022-11-08 11:04:50 +08:00
wangjialiang
215e1262ba
ble_mesh: stack: Fix can't trans optional info to group address
2022-11-07 15:48:56 +08:00
jingli
81b98881ac
esp_hw_support/sleep: fix cannot pd cpu and rc fast at the same time during light sleep
...
Since cpu retention dma use rc fast as clk source, so rc_fast_digi
will be enabled when we config to pd cpu. And cpu retention does not
need rc fast keep on during light sleep. So, if we use rc_fast_digi
to determine whether rc fast can be powered down, then cpu and and
rc fast cannot pd at the same time.
2022-11-06 01:34:18 +08:00
Michael (XIAO Xufeng)
7931c033ed
pm: fixed RTC8M domain power issues
...
introduced in e44ead5356
1. The int8M power domain config by default is PD. While LEDC is using
RTC8M as clock source, this power domain will be kept on.
But when 8MD256 is used as RTC clock source, the power domain should
also be kept on.
On ESP32, there was protection for it, but broken by commit
e44ead5356
. Currently the power domain
will be forced on when LEDC is using RTC8M as clock source &&
!int8m_pd_en (user enable ESP_PDP_DOMAIN_RTC8M in lightsleep). Otherwise
the power domain will be powered off, regardless of RTC clock source.
In other words, int8M domain will be forced off (even when 8MD256
used as RTC clock source) if LEDC not using RTC8M as clock source, user
doesn't enable ESP_PDP_DOMAIN_RTC8M, or in deep sleep.
On later chips, there's no such protection, so 8MD256 could't be used as
RTC clock source in sleep modes.
This commit adds protection of 8MD256 clock to other chips. Fixes the
incorrect protection logic overriding on ESP32. Now the power domain
will be determiend by the logic below (order by priority):
1. When RTC clock source uses 8MD256, power up
2. When LEDC uses RTC8M clock source, power up
3. In deepsleep, power down
4. Otherwise determined by user config of ESP_PDP_DOMAIN_RTC8M,
power down by default. (This is preferred to have highest
priority, but it's kept as is because of current code structure.)
2. Before, after the macro `RTC_SLEEP_CONFIG_DEFAULT` decides dbias, the
protection above may force the int8m PU. This may cause the inconsistent
of dbias and the int8m PU status.
This commit lifts the logic of pd int8m/xtal fpu logic to upper layer
(sleep_modes.c).
Related: https://github.com/espressif/esp-idf/issues/8007 , https://github.com/espressif/esp-idf/pull/8089
temp
2022-11-05 20:02:53 +08:00
Jiang Jiang Jian
abb7962161
Merge branch 'bugfix/set_ap_rsnxe_while_connect_v4.3' into 'release/v4.3'
...
esp_wifi:Set AP rsnxe while connecting to a AP
See merge request espressif/esp-idf!20482
2022-11-04 16:38:16 +08:00
Michael (XIAO Xufeng)
696de2e7ac
pm: add test for RTC using 8MD256 as clock source
2022-11-04 12:37:45 +08:00
Michael (XIAO Xufeng)
b56b459960
rtc: fixed 8MD256 can't be used as RTC slow src on ESP32
...
Sync configuration from other chips
Closes: https://github.com/espressif/esp-idf/issues/8007 , https://github.com/espressif/esp-idf/pull/8089
2022-11-04 12:37:45 +08:00
morris
164d9bb782
Merge branch 'bugfix/calib_i2c_clk_v4.3' into 'release/v4.3'
...
I2C: Make I2C clock frequency accurate(backport v4.3)
See merge request espressif/esp-idf!19070
2022-11-03 10:04:31 +08:00
KonstantinKondrashov
2c3f30378f
esp_hw_support: Fix time jump after reboot
...
Closes https://github.com/espressif/esp-idf/issues/9448
2022-11-02 19:38:26 +08:00
Shreyas Sheth
dc23667db8
esp_wifi:Set AP rsnxe while connecting to a AP
2022-11-02 15:25:31 +05:30
Cao Sen Miao
32dca66fb6
I2C: Make I2C clock frequency accurate
2022-11-01 15:48:26 +08:00
Nachiket Kukade
aabfb142bc
esp_wifi: Update wifi libs
...
Fix scan causing bss overwrite in connect process
2022-11-01 09:43:43 +05:30
Jiang Jiang Jian
1d5efaddac
Merge branch 'bugfix/fix_sta_scan_when_already_connected_v4.3' into 'release/v4.3'
...
esp-wifi: Restores station status to connected when no other AP is found for roam
See merge request espressif/esp-idf!20343
2022-11-01 11:03:01 +08:00
Jiang Jiang Jian
9e6d5dce34
Merge branch 'bugfix/use_nonblocking_coex_callback_v4.3' into 'release/v4.3'
...
bluetooth: use non-blocking coexistence callback functions so that Wi-Fi task is not blocked by Bluetooth(backport v4.3)
See merge request espressif/esp-idf!20780
2022-11-01 10:48:38 +08:00
morris
9a9f503c73
Merge branch 'bugfix/spi2_add_device_cs_more_than_3_v4.3' into 'release/v4.3'
...
spi_master:fix error when use `spi_bus_add_device` more than 3 device(v4.3)
See merge request espressif/esp-idf!20127
2022-11-01 10:18:24 +08:00
Jiang Jiang Jian
6225c718c3
Merge branch 'bugfix/fix_xtal_related_rtc_params_for_esp32_backport_v4.3' into 'release/v4.3'
...
esp32/rtc: fix xtal unstable in some cases when sleep(backport v4.3)
See merge request espressif/esp-idf!20804
2022-10-31 19:52:04 +08:00
Jiang Jiang Jian
167a9896a2
Merge branch 'bugfix/fix_part_of_modem_not_reset_when_power_on_backport_v4.3' into 'release/v4.3'
...
Coexistence: fix part of modem module not reset when power up(backport v4.3)
See merge request espressif/esp-idf!20813
2022-10-31 19:51:50 +08:00
Wang Meng Yang
4fecbc30fa
Merge branch 'bugfix/spp_vfs_mode_send_data_fail_v4.3' into 'release/v4.3'
...
bt: Fixed SPP VFS mode not being able to send data(v4.3)
See merge request espressif/esp-idf!20802
2022-10-27 10:50:11 +08:00
jgujarathi
c7edfd4ef0
esp-wifi: Restores station status to connected when no other AP is found for roam
2022-10-26 19:03:27 +05:30
jingli
91b147c9da
wifi/bt: fix part of modem module not reset when power up
2022-10-26 20:47:10 +08:00
wangmengyang
de2e183c9a
bt: use non-blocking coexistence callback functions so that Wi-Fi task is not blocked by Bluetooth for ESP32
2022-10-26 19:13:16 +08:00
Wang Meng Yang
067d5fb28d
Merge branch 'bugfix/handle_issue_of_malloc_fail_v4.3' into 'release/v4.3'
...
bugfix/avoid unexpected free when malloc failed (v4.3)
See merge request espressif/esp-idf!20726
2022-10-26 18:57:28 +08:00
jingli
d8141bdf51
esp_hw_support/sleep: fix light sleep wakeup flag
...
light sleep wakeup flag is true to indicate the most recent successful wakeup from light sleep,
which means the most recent light sleep occurred successfully and then wakes up by wakeup source
2022-10-26 17:07:07 +08:00
jingli
b6491464e1
esp32/rtc: fix xtal unstable in some cases when sleep
...
1. add xtal buf wait to fix high temperature restart issue
2. add min sleep value to fix xtal stop due to too short sleep time issue
2022-10-26 17:05:07 +08:00
xiongweichao
45d4780760
bt: Fixed SPP VFS mode not being able to send data
2022-10-26 16:27:49 +08:00
Jiang Jiang Jian
a2086ca355
Merge branch 'bugfix/fix_esp32_esp32c3_some_bugs_v4.3' into 'release/v4.3'
...
Fixed BLE lld_per_adv.c line 401 assert on ESP32C3 (backport v4.3)
See merge request espressif/esp-idf!20759
2022-10-26 11:07:37 +08:00
Jiang Jiang Jian
69ae164794
Merge branch 'bugfix/update_ctrl_init_config_macro_v4.3' into 'release/v4.3'
...
Bugfix/update ctrl init config macro (v4.3)
See merge request espressif/esp-idf!20713
2022-10-25 17:41:53 +08:00
zhiweijian
2dfdea8b50
update ble tx power level mapping
2022-10-24 20:10:48 +08:00
zhiweijian
8005e6f0d5
Fixed BLE lld_per_adv.c line 401 assert on esp32c3
2022-10-24 19:51:34 +08:00
zwj
858b869bb6
Fixed ESP32 BLE assert(32 0)
2022-10-24 19:36:58 +08:00
zwj
38945f54e1
allow bluedroid host to report adv_ind separately
2022-10-24 19:36:47 +08:00
Jiang Jiang Jian
d96bb082ba
Merge branch 'bugfix/esp_spp_write_len_0_v4.3' into 'release/v4.3'
...
bt: Fixed esp_spp_write() crash when len is 0 (v4.3)
See merge request espressif/esp-idf!20707
2022-10-24 12:31:37 +08:00
Jiang Jiang Jian
1adb0b6b94
Merge branch 'bugfix/fix_some_wifi_bugs_1019_v4.3' into 'release/v4.3'
...
esp_wifi: fix deinit return wrong value(Backport v4.3)
See merge request espressif/esp-idf!20733
2022-10-24 11:21:39 +08:00
Li Shuai
54d59fae28
sleep: beacon loss and noise check timer optimize for wifi power save
...
esp_phy: optimize phy calibration for C3
2022-10-21 21:43:24 +08:00
tgotic
416f9b0cea
[bt] fix if allocation fails
...
If osi_malloc fails for work_queues or osi_work_queue_create fails, osi_work_queue_delete in _err may release unallocated memory.
2022-10-21 14:46:12 +08:00
Jiang Jiang Jian
dd62e3bb9b
Merge branch 'bugfix/close_stack_callback_during_ble_stop_v4.3' into 'release/v4.3'
...
Nimble: Added check to deregister stack callback with controller during stack deinit(v4.3)
See merge request espressif/esp-idf!20605
2022-10-21 14:21:41 +08:00
Evan Neidler
850efb4bbe
Update #define BT_CONTROLLER_INIT_CONFIG_DEFAULT().
...
Corrects header names in string from "bt.h" to "esp_bt.h".
2022-10-21 12:03:39 +08:00
xiongweichao
58a7082114
bt: Fixed esp_spp_write() crash when len is 0
...
Closes https://github.com/espressif/esp-idf/issues/9977
2022-10-21 11:21:51 +08:00
Jiang Jiang Jian
844624ead2
Merge branch 'bugfix/revert_commit_da44fc9c_v4.3' into 'release/v4.3'
...
Revert "fixed the issue iOS devices cannot initiate connection" (v4.3)
See merge request espressif/esp-idf!20667
2022-10-20 19:18:28 +08:00
Jiang Jiang Jian
d2cc0f9f77
Merge branch 'bugfix/add_security_patches_v4.3' into 'release/v4.3'
...
Adding security patch for SAE side channel attacks (Backport v4.3)
See merge request espressif/esp-idf!20650
2022-10-20 19:17:36 +08:00
muhaidong
bfdccbd7cb
esp_wifi: fix deinit return wrong value
...
1. Deinit does not return ESP_ERR_WIFI_NOT_INIT if the wifi driver is no longer initialized.
2. Fix get wrong channel value use esp_wifi_get_config.
3. Fix bug of missing unlock when wifi stop.
4. Fix annotation error of api esp_wifi_connect.
2022-10-20 11:41:07 +08:00
Zim Kalinowski
96ef8f42be
Merge branch 'bugfix/clobbering_freertos_base_priority_v4.3' into 'release/v4.3'
...
spi_flash: fix issue linked with raising of task priority while priority is already raised (v4.3)
See merge request espressif/esp-idf!20546
2022-10-19 18:02:30 +08:00
Jiang Jiang Jian
9040964321
Merge branch 'bugfix/fix_esp_hid_auth_fail_crash_v4.3' into 'release/v4.3'
...
Fix esp hid crash when auth failed (backport v4.3)
See merge request espressif/esp-idf!20613
2022-10-19 11:13:00 +08:00
Jiang Jiang Jian
1ec7a0cbf8
Merge branch 'feature/Add_IVI_recovery_option_v4.3' into 'release/v4.3'
...
ble_mesh: stack: Add IV index recovery option when device missed the whole IV update(v4.3)
See merge request espressif/esp-idf!20643
2022-10-19 11:12:11 +08:00
Jiang Jiang Jian
f1beed4911
Merge branch 'bugfix/fix_fast_interval_prov_adv_v4.3' into 'release/v4.3'
...
ble_mesh: stack: Fix send fast interval prov_adv failed(v4.3)
See merge request espressif/esp-idf!20639
2022-10-19 11:11:45 +08:00
morris
9966753e46
Merge branch 'bugfix/2nd_bootloader_uart1_baudrate_issues_v4.3' into 'release/v4.3'
...
esp_rom: fix 2nd bootloader custom uart1 baudrate issue (backport to v4.3)
See merge request espressif/esp-idf!20655
2022-10-19 02:09:51 +08:00
Jin Cheng
b5996dd051
Revert "fixed the issue iOS devices cannot initiate connection"
...
This reverts commit da44fc9cbe
.
2022-10-18 19:45:00 +08:00
morris
83dc965b2f
Merge branch 'bugfix/fix_rtc8m_calibration_fail_after_cpu_core_reset_v4.3' into 'release/v4.3'
...
rtc_clk: Fix rtc8m calibration failure after cpu/core reset (backport v4.3)
See merge request espressif/esp-idf!20554
2022-10-18 18:22:01 +08:00
Rahul Tank
7d3207f70b
Nimble: Added check to deregister stack callback with controller during stack deinit(v4.3)
2022-10-18 12:19:20 +05:30
jiangguangming
45e6ae724d
esp_rom: fix 2nd bootloader custom uart1 baudrate issue
2022-10-18 13:51:20 +08:00
Jiang Jiang Jian
ed9fb4db6f
Merge branch 'bugfix/fix_c3_dig_dibas_limit_bug_to_v4.3' into 'release/v4.3'
...
C3: Fix system not stable bug when dbias storing in efuse is bigger than 27 (v4.3)
See merge request espressif/esp-idf!20497
2022-10-18 12:38:37 +08:00
Jiang Jiang Jian
8b8b69a4c3
Merge branch 'bugfix/fix_ignore_rx_sub_ampdu_int_issue_v4.3' into 'release/v4.3'
...
esp_wifi: fix ignore rx sub ampdu interrupt issue(Backport v4.3)
See merge request espressif/esp-idf!20614
2022-10-17 22:09:12 +08:00
gauri patankar
929a1f8549
wpa_supplicant: Update security patches from upstream
...
1. Adding security patch for SAE side channel attacks
2. Adding confirm message validation in error cases
3. Adding y coordinate for PWE in SAE
2022-10-17 18:03:33 +05:30
gauri patankar
a01a64f02c
wpa_supplicant: Move SAE modules into dragonfly files
2022-10-17 18:01:24 +05:30
Jiang Jiang Jian
ed6f966009
Merge branch 'contrib/github_pr_9529_mr_v4.3' into 'release/v4.3'
...
bt:No need to use local copy of btc_msg_t in btc_transfer_context, create it on heap and pass to osi_thread_post()(v4.3)
See merge request espressif/esp-idf!19693
2022-10-17 18:04:57 +08:00
Jiang Jiang Jian
c482cf16d4
Merge branch 'backport/cjh_v4.3' into 'release/v4.3'
...
Fixed some BLE bugs on bluedroid (backport v4.3)
See merge request espressif/esp-idf!20507
2022-10-17 17:05:00 +08:00
wangjialiang
b8e9a77463
ble_mesh: stack: Add IV index recovery option when device missed the whole IV update
2022-10-17 16:54:16 +08:00
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
KonstantinKondrashov
e8bf8ce14d
freertos: Adds new APIs to set/get and restore base priority
...
Closes https://github.com/espressif/esp-idf/issues/7580
2022-10-14 19:04:44 +08:00
muhaidong
56933d09ea
esp_wifi: fix ignore rx sub ampdu interrupt issue
2022-10-14 16:08:24 +08:00
chenjianhua
b3bd5cbf77
fix esp hid crash when auth failed
2022-10-14 16:02:58 +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
Song Ruo Jing
c0be4cb2ba
rtc_clk: Fix rtc8m calibration failure after cpu/core reset
...
Explicitly guarantee 8md256 clk is enabled before calibration
2022-10-12 12:41:50 +08:00
xiongweichao
9f5ff9fddf
Fixed deadlock due to wrong parameter when calling btc_transfer_context() after calling esp_bluedroid_disable()
...
Closes https://github.com/espressif/esp-idf/issues/9672
2022-10-10 09:31:47 +00:00
tgotic
5d3af603a6
update code to use osi_free()
2022-10-10 09:31:47 +00:00
tgotic
01ac97732d
local copy of btc_msg_t
...
No need to use local copy of btc_msg_t in btc_transfer_context, create it on heap and pass to osi_thread_post().
2022-10-10 09:31:47 +00:00
chenjianhua
ed24da98eb
bluedroid: configurable max gattc cache characteristic count
2022-10-09 15:31:11 +08:00
chenjianhua
b904278330
fix ble adv tx power map
2022-10-09 15:28:39 +08:00
chenjianhua
7a324e2984
bluedroid: fix ble rpa generate and update by host
2022-10-09 15:28:39 +08:00
chenjianhua
0446de4429
Revert "component/bt: add local irk to controller"
...
This reverts commit 032f6d34d1
.
2022-10-09 15:28:39 +08:00
chenjianhua
fb20a1be8e
Revert "Fixed ESP32 BLE can't resolve the peer address when enable white list"
...
This reverts commit 192aa18c31
.
2022-10-09 15:28:39 +08:00
chenjianhua
e5a195fc2c
Bluedroid: Configurable option to modify max gatt service attributes count
2022-10-09 15:28:39 +08:00
cje
5e5b8c16cb
fix C3 system not stable bug when dbias storing in efuse is bigger than 27
2022-10-08 11:48:47 +08:00
Euripedes Rocha
ec3381f043
[mqtt] Fix esp_mqtt_client_enqueue for len=0
...
27eb4726067465c5c67d4ecdca5ddccd26f02580..60983d1dd54196b1e3f399c6f928d77256ec742a
Detailed description of the changes:
* [Backport] mqtt_client: fix esp_mqtt_client_enqueue for len=0
- See merge request espressif/esp-mqtt!144
- mqtt_client: fix esp_mqtt_client_enqueue for len=0
(espressif/esp-mqtt@e918742 )
2022-10-04 05:14:13 +00: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
wanlei
8290d450f3
spi_master:fix error when use spi_bus_add_device
more than 3 device
...
update gpio_sig at `spics_out` array in each spi_periph.c of chips later than s2
then `spi_bus_add_device` can correctly distribute gpio_signals for cs_signal
Closes https://github.com/espressif/esp-idf/issues/8876
2022-09-14 12:40:29 +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
morris
7d2e9c45e2
Merge branch 'ci/ignore_adc_dma_single_read_test_v4.3' into 'release/v4.3'
...
adc: ignore ADC DMA single read test on esp32s2 (v4.3)
See merge request espressif/esp-idf!19726
2022-09-13 14:34:49 +08:00
Ivan Grokhotkov
63091bdf8d
versions: Update version to 4.3.4
2022-09-12 10:59:15 +02:00
Ivan Grokhotkov
c38eeeeda1
hal: fix CONFIG_TWAI_ISR_IN_IRAM not taking effect for C3/H2
2022-09-11 01:17:20 +08:00
xiongweichao
59ea02cb4c
bt:Fixed sink not being able to output mono audio because it can only decode dual channel audio data
2022-09-09 17:42:30 +08:00
Armando
e1a5315ff7
adc: ignore ADC DMA single read test on esp32s2
...
This test is only on esp32s2, and using verification adc APIs.
This commit keeps the code, but don't check it on ci
2022-09-09 16:03:10 +08:00
Mahavir Jain
ad857b5f2b
Merge branch 'fix/fix_esp_rsa_sign_alt_modifying_input_params_v4.3' into 'release/v4.3'
...
esp_rsa_sign_alt: Fix esp_init_ds_data_ctx API to not modify user defined data... (v4.3)
See merge request espressif/esp-idf!19715
2022-09-08 13:56:58 +08:00
Mahavir Jain
b4d7495e0d
Merge branch 'fix/esp_https_client_compile_warning_v4.3' into 'release/v4.3'
...
esp_https_ota: Fix build warning when CONFIG_OTA_ALLOW_HTTP is set (v4.3)
See merge request espressif/esp-idf!19981
2022-09-08 13:56:36 +08:00
Jiang Jiang Jian
90ef6426a8
Merge branch 'bugfix/ble_disconnect_enable_light_sleep_and_bb_pd_v4.3' into 'release/v4.3'
...
bt: Fixed bluetooth disconnection issue when light sleep and baseband power down are enabled (v4.3)
See merge request espressif/esp-idf!19804
2022-09-08 10:55:37 +08:00
Aditya Patwardhan
ead1587caf
esp_https_ota: Warn users when CONFIG_OTA_ALLOW_HTTP is set
2022-09-06 13:54:22 +05:30
Axel Lin
460df92e85
esp_https_ota: Fix build warning when CONFIG_OTA_ALLOW_HTTP is set
...
Fix below build warning when CONFIG_OTA_ALLOW_HTTP is set:
esp_https_ota.c:165:13: warning: 'is_server_verification_enabled' defined but not used [-Wunused-function]
While at it, also simplify the is_server_verification_enabled logic.
Fixes: 48987ad9df
("esp_https_ota: Enable option of using global_ca_store and x509_crt_bundle")
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Closes https://github.com/espressif/esp-idf/pull/6882
Signed-off-by: Aditya Patwardhan <aditya.patwardhan@espressif.com>
2022-09-06 13:54:22 +05:30
Song Ruo Jing
3ce98867a0
rtc_clk: Fix wrong RC_SLOW clock frequency value on ESP32C3
2022-09-02 21:06:24 +08:00
Pedro
86182baaaf
Remove trailing semicolon from bt dft initializer
...
Similar to espressif#6554
2022-09-02 11:10:41 +08:00
Ivan Grokhotkov
5b81524e63
Merge branch 'bugfix/temp_fix_esp_event_test' into 'release/v4.3'
...
esp_event: lowered performance threshold temporarily for esp_event test
See merge request espressif/esp-idf!19672
2022-08-31 16:42:37 +08:00
xiongweichao
395f0eb5c1
Fix bluetooth disconnection issue when light sleep and baseband power down are enabled
2022-08-26 16:17:14 +08:00
Rahul Tank
1f695251a1
Nimble: Fixed memory corruption introduced in reconnection attempt code
2022-08-24 13:44:29 +05:30
Aditya Patwardhan
861c3f5025
esp_rsa_sign_alt: Fix esp_init_ds_data_ctx API to not modify user defined data when it is given directory from flash
2022-08-23 13:32:12 +05:30
Chip Weinberger
8792b1de1e
SPIRAM: 'Abort on allocation failure' should not trigger when there is available SPI ram
...
(cherry picked from commit 8dcdb2f363fd3fa00bd77e4bd75e7c73d6c7d0fb)
2022-08-22 02:45:10 +00:00
Omar Chebib
f5ad8ac423
(Xtensa) Build: add .xt.prop and .xt.lit to the compiled ELF file
...
Adding prop and lit sections to the ELF will let the debugger and the disassembler
have more info about data bytes present in the middle of the Xtensa
instructions, usually used for padding.
2022-08-22 02:43:50 +00:00
muhaidong
189bdb2bf8
esp_wifi: fix not update phy according to country code.
...
1. Fixed not update phy according to country code.
2. Fixed crashed when esp_wifi_set_ant_gpio() called
3. Fixed a bug when ftm used with ps enabled
4. Fixed a potential issue to allocate PSRAM to wifi stack where internal RAM is required
5. Fixed potential fail to scan AP after receiving disassoc/deauth from AP on esp32s2
y
2022-08-21 16:01:34 +08:00
Jiang Jiang Jian
36decb6662
Merge branch 'feature/sae_sta_h2e_v4.3' into 'release/v4.3'
...
esp_wifi: WPA3 SAE H2E support for station (backport v4.3)
See merge request espressif/esp-idf!18661
2022-08-20 23:46:41 +08:00
Zim Kalinowski
662b6c9ad3
Merge branch 'bugfix/i2c_incorrect_speed_v4.3' into 'release/v4.3'
...
I2C: Fix SCL period timings on ESP targets (backport v4.3)
See merge request espressif/esp-idf!18272
2022-08-20 03:51:44 +08:00
Jakob Hasse
937633ad79
fix (esp_event): lowered performance threshold for esp_event test
...
The test in question is "performance test - no dedicated task".
Its performance dropped significantly during a WiFi library commit,
although there is no obvious reason. This needs to be investigated
and until then, we temporarily lower the performance threshold to
let the test pass.
2022-08-19 12:02:42 +02:00
Gauri Patankar
e055f5ced7
esp_wifi: WPA3 SAE H2E support for station
...
Mandate sta threshold wpa3 for ssid after receiving transition disable bit from AP
2022-08-19 15:09:14 +05:30
Jiang Jiang Jian
c2735be0c8
Merge branch 'bugfix/fix_i2c_issues_v4.3' into 'release/v4.3'
...
I2C: Fix task wait too long on an event & timeout WDT triggered (backport v4.3)
See merge request espressif/esp-idf!18770
2022-08-19 14:01:14 +08:00
Jiang Jiang Jian
d4d70c3fcd
Merge branch 'bugfix/nvs_part_ptr_wrong_init_4.3' into 'release/v4.3'
...
bugfix (nvs_flash): Fix nvs_flash_init_partition_ptr (backport v4.3)
See merge request espressif/esp-idf!18674
2022-08-19 13:59:12 +08:00
Jiang Jiang Jian
4ed1729262
Merge branch 'refactor/flash_qio_overidable_v4.3' into 'release/v4.3'
...
spi_flash: refact that flash qio can be overidable(backport v4.3)
See merge request espressif/esp-idf!18037
2022-08-19 13:58:26 +08:00
Armando
19951bce8c
esp_psram: fixed 40mhz cs signal glitch issue
2022-08-18 20:37:46 +08:00
Omar Chebib
9faeca3d1c
I2C: Fix SCL period timings on ESP targets
...
The output frequency is now more accurate as the SCL period timings have been fixed.
This fix applies for ESP32, ESP32S3, ESP32C3 and ESP32H2
2022-08-18 02:45:36 +00:00
Omar Chebib
4d7f007645
I2C: Fix a bug making the I2C task wait too long on an event
...
The I2C ISR will now notify the task waiting on an event. Thus, the task can stop waiting on the event queue as soon as possible.
2022-08-18 02:37:43 +00:00
Chen Yi Qun
b6bbb5e0a2
I2C: add conf_update for esp32c3 i2c
2022-08-18 02:37:43 +00:00
Cao Sen Miao
19205b0696
I2C: Fix i2c write fake timeout and WDT triggered
2022-08-18 02:37:43 +00:00
Nachiket Kukade
5e3ade893a
esp_wifi: Update wifi libs
...
Update wifi libs with below fixes -
1. Improved error handling in SoftAP Rx path, fixed LoRa IE length
2. Handle low memory scenario, re-enabling PMF Capable flag in STA PMF
3. Release wifi lock in offchannel operation
2022-08-17 15:41:13 +05:30
Jiang Jiang Jian
2828e8fe2f
Merge branch 'bugfix/wifi_bt_mac_bb_pd_light_sleep_v4.3' into 'release/v4.3'
...
backport v4.3: deep sleep does not need cpu and wifi/bt mac retention
See merge request espressif/esp-idf!19511
2022-08-16 17:09:25 +08:00
Jiang Jiang Jian
19de572d45
Merge branch 'bugfix/bt_invalid_workqueue_num_v4.3' into 'release/v4.3'
...
Bluetooth: fixed the invalid workqueue number for BTU thread in Bluedroid(backport v4.3)
See merge request espressif/esp-idf!19509
2022-08-12 19:50:07 +08:00
Jiang Jiang Jian
c6f5e4f505
Merge branch 'bugfix/memory_region_define_rtc_fast_v4.3' into 'release/v4.3'
...
backport v4.3: substract rtc_iram_seg memory region size from ESP_BOOTLOADER_RESERVE_RTC
See merge request espressif/esp-idf!19424
2022-08-12 14:00:51 +08:00
Jiang Jiang Jian
a456819d78
Merge branch 'bugfix/fix_bt_sphinx_warnings_4.3' into 'release/v4.3'
...
components_bt: fix unstandard typedefs [backport v4.3]
See merge request espressif/esp-idf!19339
2022-08-12 14:00:35 +08:00
weitianhua
d264f30e76
component_bt: Fix build doc errors of bt
...
1. bluedroid: use standard function pointer define.
2. blufi: Change ESP_BD_ADDR_LEN into ESP_BLUFI_BD_ADDR_LEN
3. doc/sphinx_known_warnings: Remove fixed parts.
2022-08-12 12:11:54 +08:00
xiongweichao
460cfbd583
1. Wi-Fi: update tsf tick interval when lpclk is modified
...
2. Move register_lpclk_callback to coexistence
2022-08-11 20:21:59 +08:00
xiongweichao
cfc5576b0d
Power Management: fix the issue of sleeping time error beacause external 32kHz xtal does not exist
2022-08-11 20:17:39 +08:00
xiongweichao
23e8e497da
make bluetooth and wifi use the same low power clock
2022-08-11 20:17:39 +08:00
xiongweichao
12ca203856
ESP32C3:bluetooth support use main XTAL in light sleep mode
2022-08-11 20:17:39 +08:00
Jiang Jiang Jian
a0a0b2b4f7
Merge branch 'bugfix/fix_some_wifi_bugs_0805_v4.3' into 'release/v4.3'
...
fix some wifi bugs 0805 (backport v4.3)
See merge request espressif/esp-idf!19412
2022-08-11 20:07:31 +08:00
Li Shuai
0d7b72e057
sleep: deep sleep does not need cpu and wifi/bt mac retention
2022-08-11 16:36:57 +08:00
wangmengyang
73cc09b118
components/bt: fixed the invalid workqueue number for BTU thread in Bluedroid
...
There should be only one workqueue for BTU task. The queue length for the second workqueue of BTU can be uninitialized and caused memory overflow and corruption.
Closes https://github.com/espressif/esp-idf/issues/9507
2022-08-11 16:18:12 +08:00
wangjialiang
041784e653
ble_mesh: stack: Fix kr from non-primary subnet shouldn't ignore
...
For case MESH/NODE/KR/BV-02-C
2022-08-11 14:15:56 +08:00
wangjialiang
bfb5e06df4
ble_mesh: stack: Add a check if the appkey is bound to the model.
...
For case MESH/NODE/CFG/MP/BI-03-C
2022-08-11 14:15:51 +08:00
wangjialiang
2490d28cc6
ble_mesh: stack: the count_log field should be set to 0 when HBS is sent.
...
For MESH/NODE/CFG/HBS/BV-02-C
2022-08-11 14:15:46 +08:00
wangjialiang
17372e5b3d
ble_mesh: stack: The Heartbeat Publication Period Log value can set to 0x11, range: [0, 0x11]
2022-08-11 14:15:40 +08:00
wangjialiang
7ce06c8c3b
ble_mesh: stack: The value of expect_ack_for will be rewrited after send_pub_key().
...
For case MESH/PVNR/PROV/BV-04-C
2022-08-11 14:15:33 +08:00
wangjialiang
ff8588ec46
ble_mesh: stack: Fix ignore connectable PB-ADV PDU containing a Link Open message.
...
For case MESH/NODE/PBADV/BI-04-C
2022-08-11 14:15:18 +08:00
wangjialiang
a6e921684c
ble_mesh: stack: Fix PB-GATT not check invalid link flag
...
For case MESH/NODE/PROV/BI-03-C
2022-08-11 14:15:12 +08:00
wangjialiang
529f49db5b
ble_mesh: stack: Fix invalid provisioning pdu type check
...
For case MESH/NODE/PROV/BI-15-C
2022-08-11 14:15:06 +08:00
Jiang Jiang Jian
a253cf8118
Merge branch 'opt/bluedroid_adv_report_datapath_v4.3' into 'release/v4.3'
...
Bluetooth/Bluedroid: optimize BLE adv report datapath and adv report flow control mechanism(backport v4.3)
See merge request espressif/esp-idf!19383
2022-08-11 10:57:03 +08:00
Jiang Jiang Jian
7c64c12b74
Merge branch 'contrib/github_pr_9498_backport4_3' into 'release/v4.3'
...
Bluetooth/Bluedroid: fix member typo(backport v4.3)
See merge request espressif/esp-idf!19459
2022-08-11 10:53:34 +08:00
wangjialiang
41b4ead681
ble_mesh: stack: Fix add continuously secure update into friend queue.
...
For MESH/NODE/FRND/FN/BV-20-C
2022-08-09 21:49:36 +08:00
wangjialiang
71fc7b73f6
ble_mesh: stack: Fix friend relay lpn message when relay feature is disable
...
For MESH/NODE/FRND/FN/BV-23-C
2022-08-09 21:49:24 +08:00
linruihao
6ad7114a45
Fixed union member access typo
...
Closes https://github.com/espressif/esp-idf/pull/9498
2022-08-09 13:23:18 +08:00
tgotic
763f9c91a4
bt member typo
...
Terminate sec_event.cfm_req.bd_name string, not sec_event.pin_req.bd_name
2022-08-09 13:23:05 +08:00
Li Shuai
2bf40e52c9
substract rtc_iram_seg memory region size from ESP_BOOTLOADER_RESERVE_RTC
2022-08-08 11:32:46 +08:00
zhangyanjiao
3c59955135
update wifi lib:
...
1. Clear old keys before going for new connection
2. Fix deep sleep can't reconnect to ap when pmf enable
3. Fix some ap will ignore auth when rx deauth for some time
4. Support force ht40 for espnow & 80211_tx
5. WAPI: Key mgmt type compability issue
6. Update wifi header file
7. Fix espnow recv unencrypted packets issue
2022-08-05 16:20:48 +08:00
Kapil Gupta
487ef592a2
esp_wifi: Clear old keys before going for new connection
2022-08-05 15:35:44 +08:00
ChenJianxing
c8814343dc
esp_wifi: add ht40 support for 80211_tx & espnow
2022-08-05 15:35:39 +08:00
zhangyanjiao
13da594657
update wifi api docs
2022-08-05 15:13:36 +08:00
aditi_lonkar
9027fef06f
esp_wifi: Fix for default ssid not set.
2022-08-04 16:27:55 +05:30
Karl Wang
7b3d4d5074
component/bt: use OSI utility "osi_event" for HCI downstream data processing
2022-08-04 14:27:34 +08:00
wangmengyang
6ffe0a5262
component/bt: consider to handle HCI LE Direct Advertising Report
2022-08-04 14:27:33 +08:00
Karl Wang
ca945e8211
component/bt: allocate and use one static buffer for HCI adv flow control command
2022-08-04 14:27:33 +08:00
wangmengyang
20705588b2
component/bt: use fixed_pkt_queue instead of fixed_queue for hci commands
...
some fixes after modifications:
1. removed the use of waiting_command_t
2. fix assert for HCI write_eir command
3. fixed the crash upon handling command status event when trying to free to the HCI command buffer
4. fixed the issue in transmitting HCI vendor specific commands
5. fixed the lost command complete callbacks for HCI commands LE_RAND and LE_ENCRYPT
2022-08-04 14:27:32 +08:00
wangmengyang
dd02446224
component/bt: add a timer to monitor the adv flow control credits downwards procedure
2022-08-04 14:27:32 +08:00
wangmengyang
2da8b2c78b
component/bt: fix adv report flow control logic, give ADV report credits every 10 packets
2022-08-04 14:27:32 +08:00
wangmengyang
64572b7ff2
component/bt: add simple ADV flow control mechanism -- drop the packets when the adv report queues are considered full
2022-08-04 14:27:31 +08:00
wangmengyang
e406be3cf4
component/bt: use the OSI utility "osi_event" to handle adv report in btc_layer
2022-08-04 14:27:31 +08:00
wangmengyang
f16e5df27f
component/bt: use the OSI utility "pkt_queue" to store ADV report packet in btu layer
...
# Conflicts:
# components/bt/host/bluedroid/hci/hci_hal_h4.c
2022-08-04 14:27:30 +08:00
wangmengyang
09a79cf90a
component/bt: use the OSI utility "osi_event" for hci_hal_h4 upstream data packets handling
2022-08-04 14:27:30 +08:00
wangmengyang
622148d491
component/bt: use the OSI utility "osi_event" to handle A2DP source data Tx processing
2022-08-04 14:27:29 +08:00
wangmengyang
ed509a8d52
component/bt: use the OSI utility "osi_event" to handle A2DP sink data Rx processing
2022-08-04 14:27:26 +08:00
wangmengyang
fb01677372
component/bt: add new OSI utility "fixed_pkt_queue", which has same functionality with "fixed_queue"
2022-08-04 14:25:03 +08:00
Karl Wang
3c14e739f0
component/bt: add new OSI utility "pkt_queue" which acts as a mutex-protected linked list, to be used as data queue between tasks
2022-08-04 14:25:03 +08:00
wangmengyang
0f4c9a47f1
component/bt: add new OSI utility "osi_event" to support the scenario that event need only to be handle once.
2022-08-04 14:25:02 +08:00
wangmengyang
26d2011442
component/bt: make OSI thread workqueue length configurable through API
...
reduce the length of workqueue1 for BTC and HCI task
# Conflicts:
# components/bt/common/osi/thread.c
2022-08-04 14:25:02 +08:00
wangmengyang
b1cded8e48
component/bt: modify the implementation of osi_thread using freeRTOS queue
2022-08-04 14:25:01 +08:00
Jiang Jiang Jian
bfb2fee42a
Merge branch 'bugfix/wlan_fixes_backports_v4.3' into 'release/v4.3'
...
esp_wifi: Fix some wlan issues(backport v4.3)
See merge request espressif/esp-idf!19359
2022-08-03 21:16:39 +08:00
Kapil Gupta
dc386c71b1
wpa_supplicant: Unicast key renew in TKIP mic failure
...
Currently we always request group key renew for during
TKIP mic failure. Add support for unicast/multicast
key renew as per packet.
2022-08-03 14:55:56 +05:30
Kapil Gupta
77661ba436
esp_wifi: Add APIs to check BTM and RRM support of connected AP
2022-08-03 11:35:44 +05:30
Kapil Gupta
3e789d4ed4
esp_wifi: Changes to not use pmkid caching when SSID is changed
2022-08-03 11:26:40 +05:30
Kapil Gupta
eb448172e9
wpa_supplicant: Fix issues reported by coverity
2022-08-03 11:26:31 +05:30
Jiang Jiang Jian
7b10f3264a
Merge branch 'bugfix/fix_esptouch_v2_found_none_issue_v4.3' into 'release/v4.3'
...
esp_wifi: fix the bug that check whether bssid is zero mac(Backport v4.3)
See merge request espressif/esp-idf!19281
2022-08-03 13:17:00 +08:00
Ivan Grokhotkov
7d383bb5fb
Merge branch 'bugfix/systimer_counter_value_bit_field_v4.3' into 'release/v4.3'
...
HAL: Fix systimer counter value bit field (v4.3)
See merge request espressif/esp-idf!18253
2022-08-02 16:48:29 +08:00
Jiang Jiang Jian
5eb176082d
Merge branch 'bugfix/memory_debug_not_work_v4.3' into 'release/v4.3'
...
bugfix/fix the dependency error of macro for memory debug (v4.3)
See merge request espressif/esp-idf!19236
2022-08-02 15:50:06 +08:00
Jiang Jiang Jian
658b4026c9
Merge branch 'bugfix/fix_legacy_pair_not_send_link_key_host_v4.3' into 'release/v4.3'
...
component_bt: fix legacy pair controller does not send the link key to the host (v4.3)
See merge request espressif/esp-idf!19321
2022-08-02 14:41:24 +08:00
Jiang Jiang Jian
3f88df5046
Merge branch 'bugfix/put_sempher_and_queue_used_in_isr_into_DRAM_v4.3' into 'release/v4.3'
...
Make sure semphr/queue used in interrupt is in DRAM
See merge request espressif/esp-idf!18989
2022-08-02 11:32:05 +08:00
Jiang Jiang Jian
588e9801a3
Merge branch 'bugfix/fix_ble_ke_mem_c_assert_on_c3_s3_v4.3' into 'release/v4.3'
...
Fixed BLE ke_mem.c assert on ESP32C3 for v4.3
See merge request espressif/esp-idf!18900
2022-08-01 21:10:59 +08:00
xiongweichao
c6671788d2
fix legacy pair controller does not send the link key to the host
...
Closes https://github.com/espressif/esp-idf/issues/5850
2022-08-01 20:31:26 +08:00
Jiang Jiang Jian
896090ce12
Merge branch 'bugfix/fix_bluedroid_host_memory_overflow_v4.3' into 'release/v4.3'
...
Fixed bluedroid host memory overflow for v4.3
See merge request espressif/esp-idf!18904
2022-08-01 19:41:29 +08:00
Jiang Jiang Jian
69ac4dd716
Merge branch 'bugfix/qatest_spp_crash_v4.3' into 'release/v4.3'
...
bugfix/qatest spp crash (v4.3)
See merge request espressif/esp-idf!19239
2022-08-01 19:41:09 +08:00
Michael (XIAO Xufeng)
3a88cf8b49
Merge branch 'bugfix/reserve_dma_ram_in_segments_v4.3' into 'release/v4.3'
...
psram: reserve dma pool in the step of heap max block (v4.3)
See merge request espressif/esp-idf!18859
2022-08-01 17:14:39 +08:00
Jiang Jiang Jian
6c38c6b176
Merge branch 'bugfix/add_multiple_scan_mode_v4.3' into 'release/v4.3'
...
Bugfix: Connect example to add scan mode config
See merge request espressif/esp-idf!19124
2022-07-29 10:58:32 +08:00
muhaidong
eed82f378e
esp_wifi: fix the bug that check whether bssid is zero mac
2022-07-28 21:53:30 +08:00
Jiang Jiang Jian
11508b6fbe
Merge branch 'bufix/Backport_some_wifi_lwip_bugs_for_4.3_0719' into 'release/v4.3'
...
Backport some wifi&lwip bugs for 4.3 0719
See merge request espressif/esp-idf!19110
2022-07-28 16:03:49 +08:00
wanlei
846b51fe15
param: fixed heap pool reservation for DMA/internal usage fail issue
...
As heap block may be allocated into multiple non-continuous chunks, to
reserve enough memory for dma/internal usage, we do the malloc in the
step of max available block.
2022-07-28 10:15:53 +08:00
jincheng
af5b3e600e
1. add protect for bt_util_buf_env buffers when multi-access
...
2. ignore assert_err in em_bt_clkoff1_setf
2022-07-27 18:02:54 +08:00
Mahavir Jain
949a6a8d3f
Merge branch 'bugfix/freertos_event_group_unblock_race_condition_v4.3' into 'release/v4.3'
...
FreeRTOS: Fix event group task list race condition (v4.3)
See merge request espressif/esp-idf!19104
2022-07-27 12:25:39 +08:00
xueyunfei
e7e962b8d0
lwip:add function for deinit lwip timers
2022-07-26 09:55:39 +00:00
xueyunfei
bc61578d68
esp_wifi: backport some wifi fix
...
1 Bugfix for wrong config of static txbuf
2 fix bug that qos data will update BA SSN
3 reset beacon timeout timer
4 Bugfix for close sniffer mode when wifi stop
5 update wifi header files
2022-07-26 09:55:39 +00:00
xueyunfei
61b1b2ac12
Icmp: get tos parameter in icmp reply
...
bugfix for add ttl for ping socket
2022-07-26 09:55:39 +00:00
Jeff H
55e69bf9cb
add option to route LWIP logs through ESP_LOG interface
...
Signed-off-by: xueyunfei <xueyunfei@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/8785
Closes https://github.com/espressif/esp-idf/issues/8361
2022-07-26 09:55:39 +00:00
Jessy Chen
63cb1da0b6
esp_wifi: update esp_wifi_internal_set_fix_rate usage
2022-07-26 09:55:39 +00:00
Jessy Chen
6e84f737a9
esp_wifi: update noise floor unit
2022-07-26 09:55:39 +00:00
xueyunfei
5b614cd3e4
Doc:update wifi api docs
...
* Add documents related to espnow config rate
* Optimization set dns server api description
2022-07-26 09:55:39 +00:00
David Čermák
96bd791c74
Merge branch 'bugfix/set_ipv6_dns_error_v4.3' into 'release/v4.3'
...
lw ip: Fixed that ipv6 dns cannot work (v4.3)
See merge request espressif/esp-idf!19063
2022-07-25 22:44:38 +08:00
baohongde
8ac667b763
components/coex: Make sure sempher and queue used in isr is in DRAM
...
Closes https://github.com/espressif/esp-idf/issues/9032
Closes https://github.com/espressif/esp-idf/issues/8928
Closes https://github.com/espressif/esp-idf/issues/9129
2022-07-25 11:37:06 +08:00
baohongde
f85c30a73c
components/bt: Make sure sempher and queue used in isr is in DRAM
2022-07-25 11:35:44 +08:00
Darian Leung
bfb4a0c9df
freertos: Fix flakey event group unit test
...
The "FreeRTOS Event Groups" main task will only wait a single tick for the created
tasks to set their response bits. This short delay may not be sufficent if the tick
frequency is high.
This commit updates the test so that
- the main task waits indefinitely for all the response bits to be set.
- created tasks are cleaned up by the main task
2022-07-25 03:01:16 +00:00
Darian Leung
ad39eaaeb0
freertos: Fix event group task list race condition
...
FreeRTOS synchronization primitives (e.g., queues, eventgroups) use various event lists (i.e., task lists) to track what
tasks are blocked on a current primitive. Usually these event lists are accessed via one of the event lists functions
(such as vTask[PlaceOn|RemoveFrom]UnorderedEventList()), which in turn ensure that the global task list spinlock
(xTaskQueueMutex) is taken when accessing these lists.
However, some functions in event_groups.c manually traverse their event lists. Thus if a tick interrupt occurs on
another core during traversal and that tick interrupt unblocks a task on the event list being traversed, the event list
will be corrupted.
This commit modifies the following event_groups.c functions so that they take the global task list lock before
traversing their event list.
- xEventGroupSetBits()
- vEventGroupDelete()
2022-07-25 03:01:16 +00:00
Darian Leung
22d052fe7a
hal: Fix systimer counter value bit field
...
This commit fixes the systimer_counter_value_t by adding a resreved field so that the
type fills 64-bits.
Without the reserved field, when compiling with -O0 optimization, the unoccupied high
bits would not be initalized by the compiler, leading to systimer_hal_get_counter_value()
returning a garbage value.
2022-07-24 16:34:24 +08:00
Mahavir Jain
cd9541fdb4
Merge branch 'bugfix/fix_esp32_ci_v4.3' into 'release/v4.3'
...
unit_test: power on wifi or bt domain before phy enable(v4.3)
See merge request espressif/esp-idf!19176
2022-07-23 03:13:40 +08:00
jincheng
e20fd0b4f1
fix the dependency error of macro for memory debug
2022-07-22 16:17:53 +08:00
xiongweichao
178e97b152
coex: fixed crash when calculating end transfer time
2022-07-22 16:11:27 +08:00
zwj
0a2d924a19
Update ble lib:
...
Fixed BLE ke_mem.c assert
Fixed adv report duplicate check
2022-07-22 07:44:46 +00:00
Jiang Jiang Jian
cbeb9ae14b
Merge branch 'bugfix/phy_init_failed_when_wifi_deinit_4.3' into 'release/v4.3'
...
esp_wifi:bugfix for phy init failed when wifi deinit(4.3)
See merge request espressif/esp-idf!19138
2022-07-22 12:01:06 +08:00
Jiang Jiang Jian
182af34da8
Merge branch 'bugfix/uart_isr_followup_v4.3' into 'release/v4.3'
...
UART: Fix custom ISR registration function (backport v4.3)
See merge request espressif/esp-idf!19053
2022-07-22 11:58:05 +08:00
chenjianxing
927b402153
unit_test: power on wifi or bt domain before phy enable
2022-07-22 10:28:32 +08:00
zhiweijian@espressif.com
197371d085
Fixed bluedroid host memory overflow
2022-07-20 09:12:46 +00:00
xueyunfei
78ba8d406d
bugfix for phy init failed when wifi deinit
2022-07-20 15:17:26 +08:00
0xFEEDC0DE64
c846ed9a58
Init phy data to default if invalid in flash partition to avoid bootloops
...
Signed-off-by: ronghulin <ronghulin@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/6610
2022-07-19 18:49:29 +08:00
Darian Leung
823e1da543
wifi: Fix linking of WiFi functions dependent on PM_ENABLE
...
The following functions are only defined when CONFIG_PM_ENABLE is defined:
- wifi_apb80m_request()
- wifi_apb80m_release()
This commit makes their linker script mapping statements also dependent on CONFIG_PM_ENABLE
thus fixing some linker errors when CONFIG_PM_ENABLE is disabled.
2022-07-19 12:41:58 +08:00
Mahavir Jain
af928313ab
Merge branch 'update_v4.3/mbedtls_v2.28.1' into 'release/v4.3'
...
mbedtls: Update to release v2.28.1 (v4.3)
See merge request espressif/esp-idf!19042
2022-07-18 18:49:01 +08:00
Chen Wu
ffc7057ae4
lwip: Fixed that ipv6 dns cannot work
2022-07-15 16:18:15 +08:00
David Cermak
0ab0ca5410
mqtt: Fix incorrect reads on error (idf_v4.x)
...
* Update submodule: git log --oneline 985078affa8a2d2b56b87c8e6455252850f895c6..27eb4726067465c5c67d4ecdca5ddccd26f02580
Detailed description of the changes:
* MQTT: Fix signature matching for integer values (Backport to idf_v4.x)
- See merge request espressif/esp-mqtt!133
- Closes https://github.com/espressif/esp-idf/issues/8482
- MQTT: Fix signature matching for integer values (espressif/esp-mqtt@f162002 )
* ci: Deploy idf_v4.x branch to GitHub (espressif/esp-mqtt@ee5ecad )
2022-07-15 06:16:40 +00:00
Omar Chebib
9fa0c131a4
UART: Fix custom ISR registration function
...
* Closes https://github.com/espressif/esp-idf/issues/8491
2022-07-14 17:49:52 +08:00
Laukik Hase
7008e36ccb
mbedtls: Update to release v2.28.1
...
- Changelog: https://github.com/Mbed-TLS/mbedtls/releases/tag/v2.28.1
2022-07-14 10:08:45 +05:30
wangmengyang
a471f1e18e
fix licence copyright for header file syscon_reg.h on ESP32C3 and ESP32S3
...
# Conflicts:
# components/soc/esp32s3/include/soc/syscon_reg.h
2022-07-13 17:35:27 +08:00
wangmengyang
580b57c8b1
component/bt: reset Bluetooth hardware during controller inititalization on ESP32-C3
...
1. Rename MACROs SYSTEM_WIFI_RST_EN register bit fields to be more recognizable
2. reset Bluetooth baseband and MAC bits to fix the issue of task watchdog triggered during controller initialization due to invalid hardware state
2022-07-13 17:35:22 +08:00
zwj
8769f62c3b
fix esp32 BLE ke_mem.c assert
2022-07-13 03:08:36 +00:00
Jiang Jiang Jian
0326e5874f
Merge branch 'bugfix/esp32s2_startup_garbled_output_v4.3' into 'release/v4.3'
...
esp_system: fix garbled UART output on startup on esp32s2 (v4.3)
See merge request espressif/esp-idf!18751
2022-07-13 11:01:33 +08:00
Jiang Jiang Jian
0df62cf49a
Merge branch 'bugfix/ble_50_sync_periodic_adv_lost_data_v4.3' into 'release/v4.3'
...
components/bt: Fix ble sync periodic adv report will lost data(backport release/v4.3)
See merge request espressif/esp-idf!18959
2022-07-13 11:01:05 +08:00
Jiang Jiang Jian
47c20c4294
Merge branch 'bugfix/wifi_sta_and_ble_disconnect_BCI-303_v4.3' into 'release/v4.3'
...
component_bt: Fix wifi is initialized before bluetooth initialization, bluetooth can't stay connected(v4.3)
See merge request espressif/esp-idf!19001
2022-07-13 11:00:23 +08:00
Jiang Jiang Jian
d6a422b0a6
Merge branch 'bugfix/correct_blecmd_for_rf_path_v4.3' into 'release/v4.3'
...
Bluedroid: Fixed compilation error due to incorrect macro name (v4.3)
See merge request espressif/esp-idf!18995
2022-07-12 20:37:05 +08:00
Jiang Jiang Jian
79765d12df
Merge branch 'bugfix/wifi_bt_power_domain_leakage_current_v4.3' into 'release/v4.3'
...
Bugfix/wifi bt power domain leakage current v4.3
See merge request espressif/esp-idf!18901
2022-07-12 15:45:07 +08:00
xiongweichao
5cf696a714
Fix wifi is initialized before bluetooth initialization, bluetooth can't stay connected
2022-07-12 14:44:46 +08:00
Jiang Jiang Jian
b6af8e08e8
Merge branch 'bugfix/s3_wakeup_light_sleep_rtc_wdt_timeout_v4.3' into 'release/v4.3'
...
component_bt: Fixed rtc watchdog timeout when waking up light sleep due to some functions not in IRAM(v4.3)
See merge request espressif/esp-idf!18873
2022-07-12 12:18:34 +08:00
Rahul Tank
e28ec880a3
Bluedroid: Fixed compilation error due to incorrect macro name
2022-07-12 09:44:23 +05:30
Jiang Jiang Jian
4e5162dd5c
Merge branch 'bugfix/update_gpio_intr_enable_note_v4.3' into 'release/v4.3'
...
Update the note of the gpio_intr_enable function(v4.3)
See merge request espressif/esp-idf!18543
2022-07-12 12:00:09 +08:00
Jiang Jiang Jian
890e29fcac
Merge branch 'bugfix/no_proxy_beacon_send_after_deinit_v4.3' into 'release/v4.3'
...
ble_mesh: stack: Bugfix for proxy beacon send after reinit mesh(v4.3)
See merge request espressif/esp-idf!18792
2022-07-12 10:42:22 +08:00
Jiang Jiang Jian
e66df0492e
Merge branch 'bugfix/fix_ble_ext_adv_parameter_detection_v4.3' into 'release/v4.3'
...
component/bt: check the ble ext adv parameters (backport release/v4.3)
See merge request espressif/esp-idf!18490
2022-07-12 10:35:09 +08:00
Jiang Jiang Jian
fc14448654
Merge branch 'doc/ble_deinit_v4.3' into 'release/v4.3'
...
doc(bt): Add description for de-initialize bt controller(backport release/v4.3)
See merge request espressif/esp-idf!18929
2022-07-12 10:34:53 +08:00
baohongde
7580de6be1
components/bt: Fix the issue caused by the power off the bt power domain
2022-07-11 21:16:42 +08:00
Li Shuai
3cfda14ed4
fix the wifi scan fail issue caused by the power off the wifi power domain
2022-07-11 21:16:42 +08:00
Li Shuai
94d1a1847e
ci: replace old header with new SPDX header style
2022-07-11 21:15:16 +08:00
Li Shuai
30b32fa45e
esp_hw_support: force power down wifi and bt power domain when rtc module init
2022-07-11 21:15:16 +08:00
baohongde
7f543bb3b4
Power Management: Initialize backup memory for MAC and Baseband power up/down
2022-07-11 21:15:16 +08:00
baohongde
1e7bc626ee
Power Management: power up/down BT power domain when BT init/deinit
2022-07-11 21:15:16 +08:00
Li Shuai
a66b5bbda2
Power Management: power up or down wifi power domain when wifi init or deinit
2022-07-11 21:15:16 +08:00
Anton Maklakov
e9514be5f8
Merge branch 'fix/tls-size-esp32c2_esp32c3_esp32h2_v4.3' into 'release/v4.3'
...
esp_system: Fix esp32c2/esp32c3/esp32h2 TLS size (v4.3)
See merge request espressif/esp-idf!18828
2022-07-11 18:44:45 +08:00
xiewenxiang
730094a3ef
components/bt: Fix ble sync periodic adv report lost data issue
2022-07-11 16:49:26 +08:00
Jiang Jiang Jian
1970d887a3
Merge branch 'bugfix/do_not_allow_unauthenticated_encrypted_key_data_release_v4.3' into 'release/v4.3'
...
esp_wifi: Ignore unauthenticated encrypted EAPOL-Key data and fix
See merge request espressif/esp-idf!18315
2022-07-11 16:33:30 +08:00
Wang Meng Yang
500df7bc1f
Merge branch 'bugfix/fix_osi_men_dbg_xxx_not_defined_when_enable_mem_dbg_v4.3' into 'release/v4.3'
...
bugfix/fix the issue of functions not defined when enable memory debug (v4.3)
See merge request espressif/esp-idf!18816
2022-07-11 15:37:43 +08:00
Jiang Jiang Jian
8225ffcda3
Merge branch 'bugfix/install_key_refactor_v4.3' into 'release/v4.3'
...
esp_wifi: Refactor key install code(v4.3)
See merge request espressif/esp-idf!18599
2022-07-11 11:28:28 +08:00
xiongweichao
5cc8262a09
Update the note of the gpio_intr_enable function
2022-07-11 02:45:01 +00:00
xiewenxiang
98245dabe0
component/bt: check the ble ext adv parameters
2022-07-11 02:44:30 +00:00
Ivan Grokhotkov
95dbc746ed
esp_system: fix garbled UART output on startup on esp32s2
...
Closes https://github.com/espressif/esp-idf/issues/9168
2022-07-11 02:41:46 +00:00
Hrudaynath Dhabe
7af06705d3
esp_wifi: Ignore unauthenticated encrypted EAPOL-Key data and fix handling of key RSC.
...
Closes https://github.com/espressif/esp-idf/issues/8401
2022-07-10 08:00:24 +00:00
Jiang Jiang Jian
a015532f66
Merge branch 'bugfix/mbedtls_free_keypair_v4.3' into 'release/v4.3'
...
Nimble: Fixed memory leak while generating keypair using embedtls v4.3
See merge request espressif/esp-idf!18719
2022-07-10 15:51:44 +08:00
Jiang Jiang Jian
5fe6852ed9
Merge branch 'bugfix/restore_edr_en_and_protect_for_vhci_env_v4.3' into 'release/v4.3'
...
bugfix/restore edr_en and add protect for vhci_env (v4.3)
See merge request espressif/esp-idf!18812
2022-07-10 15:49:48 +08:00
Jiang Jiang Jian
aa81cebd82
Merge branch 'bugfix/resolve_redefinition_in_spp_and_hid_v4.3' into 'release/v4.3'
...
bugfix/resolve redefinition in btc_spp.h and btc_hd.h/btc_hh.h (v4.3)
See merge request espressif/esp-idf!18825
2022-07-10 15:47:16 +08:00
Jiang Jiang Jian
802c93b5f1
Merge branch 'bugfix/xtensa_sol_frame_saves_extra_registers_v4.3' into 'release/v4.3'
...
freertos: Xtensa solicited stack frame should save threadptr register (v4.3)
See merge request espressif/esp-idf!18854
2022-07-10 15:45:16 +08:00
Jiang Jiang Jian
09b05350b3
Merge branch 'bugfix/main_task_on_cpu1_startup_failure_v4.3' into 'release/v4.3'
...
freertos: Fix issue with bootup failure in ESP_MAIN_TASK_AFFINITY_CPU1 config (v4.3)
See merge request espressif/esp-idf!18936
2022-07-10 15:41:46 +08:00
Jiang Jiang Jian
d5728c4583
Merge branch 'bugfix/not_use_malloc_in_bluedroid_v4.3' into 'release/v4.3'
...
component/bt: use osi_malloc instead of malloc in bluedroid
See merge request espressif/esp-idf!18844
2022-07-08 16:48:30 +08:00
Jiang Jiang Jian
e268aec85c
Merge branch 'bugfix/fix_some_memory_leak_in_phy_v4.3' into 'release/v4.3'
...
fix the bug that some memory leaked in phy after wifi/ble deinit
See merge request espressif/esp-idf!18550
2022-07-08 16:46:16 +08:00
jincheng
4e7b2fedcd
resolve redefinition in btc_spp.h and btc_hd.h/btc_hh.h
...
Closes https://github.com/espressif/esp-idf/issues/9199
2022-07-08 14:25:55 +08:00
jincheng
21888edbf3
restore edr_en which wrongly cleared by rsw
...
add critical protection for vhci_env_p->vhci_intr_st
ignore max_page when handle remote features
2022-07-08 14:11:46 +08:00
Mahavir Jain
35f8df3995
freertos: Fix issue with bootup failure in ESP_MAIN_TASK_AFFINITY_CPU1 config
...
Idle tick hook that indicates completion of scheduler init must be launched
on other core than the one where main task runs. Earlier it was assumed that
main task shall always run on PRO cpu but that behavior can be changed with
ESP_MAIN_TASK_AFFINITY_CPU1 and hence this fix.
Closes https://github.com/espressif/esp-idf/issues/9247
Closes IDFGH-7705
2022-07-08 08:37:28 +05:30
xiewenxiang
ac3fbccbe1
doc(bt): Add description for de-initialize bt controller
2022-07-08 11:03:16 +08:00
jincheng
5050625f9e
fix the issue of functions not defined when enable memory debug
2022-07-08 11:02:04 +08:00
Jack
937069dc6c
esp_wifi: clear phy calibrated flag when phy pd memory deinit
2022-07-06 04:36:12 +00:00
Jack
9b0b046382
fix the bug that some memory leaked in phy after wifi/ble deinit
2022-07-06 04:36:12 +00:00
KonstantinKondrashov
7841054063
efuse: Fix burn operation when data was written directly to regs
...
Closes https://github.com/espressif/esp-idf/issues/9290
2022-07-05 17:37:48 +08:00
Rahul Tank
aedf00cd78
Nimble: Added check to free keypair if already allocated to avoid memory leak.
...
Added an API that allows to free keypair
2022-07-05 10:53:21 +05:30
xiongweichao
24e47c1def
Fix rtc watchdog timeout when waking up light sleep because some functions are not in IRAM
2022-07-05 11:16:19 +08:00
Darian Leung
5f50e835e6
freertos: Xtensa FreeRTOS saves threadptr in solicited stack frame
...
The Xtensa FreeRTOS port does not save the threadptr register when
doing a voluntary yield. This can result in a crash when multiple
tasks used the threadptr register and call "taskYIELD()".
This commit adds the threadptr register to the solicited stack frame.
2022-07-04 18:27:26 +08:00
baohongde
565142e60c
component/bt: use osi_malloc instead of malloc in bluedroid
2022-07-04 16:17:51 +08:00
Alexey Lapshin
0f98788d59
esp_system: Fix esp32c2/esp32c3/esp32h2 TLS size
...
The change fixes thread-local-storage size by removing .srodata section
from it. It initially was included in TLS section by mistake.
The issue was found when stack size increased after building applications
with GCC-11.1 compiler. Stack size became bigger because some new data
appeared in .srodata. See more details here:
adce62f53d
2022-07-01 16:08:04 +04:00
wangjialiang
5747b35308
ble_mesh: stack: Bugfix for proxy beacon send after reinit mesh
2022-07-01 11:43:48 +08:00
Jiang Jiang Jian
228cbc4dae
Merge branch 'bugfix/sync_host_nocp_cmd_v4.3' into 'release/v4.3'
...
Nimble: Add support for sync for Host NOCP command .
See merge request espressif/esp-idf!18609
2022-06-30 15:55:08 +08:00
Jiang Jiang Jian
e313ab14ec
Merge branch 'bugfix/a_small_fix_for_multi_heap_backport_v4.3' into 'release/v4.3'
...
Heap: fix param passed to assert_valid_block, should be block not ptr(backport v4.3)
See merge request espressif/esp-idf!18675
2022-06-29 14:06:36 +08:00
Marius Vikhammer
85511fcafb
apptrace: move all apptrace related functions to IRAM
...
Closes: https://github.com/espressif/esp-idf/issues/9131
2022-06-29 10:21:32 +08:00
Djordje Nedic
dd10afb18d
tools: overhaul csv handling for mfg_gen and nvs_partition_gen
...
This fixes the issue where multiline strings and strings with delimiters inside the nvs input csv file were incorrectly parsed, and adds back the ability to add comment lines anywhere in the CSV file.
The issue stems from the move away from the python built in csv module to manual parsing, which was made after moving away from using the csv module to parse mfg data.
This reverts back to using the csv module for parsing and writing csv data in both mfg_gen and nvs_partition_gen, fixes the original issue in mfg_gen and improves code quality which makes the code more readable and maintainable.
Closes https://github.com/espressif/esp-idf/issues/7175
2022-06-24 22:18:00 +02:00
Island
7988aec391
Merge branch 'feature/add_filter_seq_auth_config_v4.3' into 'release/v4.3'
...
ble_mesh: stack: Add filter old seq_auth packet menuconfig(v4.3)
See merge request espressif/esp-idf!18650
2022-06-24 11:15:45 +08:00
ioio
d762f2bd3f
bugfix (nvs_flash): Fix nvs_flash_init_partition_ptr
...
Added unit test case.
Closes https://github.com/espressif/esp-idf/pull/8755
Signed-off-by: Jakob Hasse <jakob.hasse@espressif.com>
2022-06-24 10:46:27 +08:00
jingli
b01797b87d
fix param passed to assert_valid_block, should be block not ptr
2022-06-23 21:45:26 +08:00
Jiang Jiang Jian
b3f523b64b
Merge branch 'feature/efuse_rst_is_treated_as_poweron_rst_v4.3' into 'release/v4.3'
...
reset_reasons: EFUSE_RST is treated as POWERON_RST + checks errors of eFuse BLOCK0 (v4.3)
See merge request espressif/esp-idf!14806
2022-06-23 17:06:27 +08:00
wangjialiang
dd72d309b6
ble_mesh: stack: Add filter old seq_auth packet menuconfig
2022-06-23 16:19:15 +08:00
David Čermák
c8882c2ba5
Merge branch 'bugfix/vfs_sock_select_race_v4.3' into 'release/v4.3'
...
vfs: Fix potential select() race if both sock and other-fd trigger (v4.3)
See merge request espressif/esp-idf!18176
2022-06-22 22:56:39 +08:00
KonstantinKondrashov
714bc66e0e
efuse: Checks errors of 4x coding scheme for BLOCK0 if so then abort
2022-06-22 18:04:11 +08:00
KonstantinKondrashov
0a71dce1ef
reset_reasons: EFUSE_RST is treated as POWERON_RST
...
ESP32 does not have the EFUSE_RST, the rest chips has this reset reason.
2022-06-22 17:56:32 +08:00
morris
a1c4397ce2
Merge branch 'bugfix/cpu_cycle_count_not_iram_v4.3' into 'release/v4.3'
...
HAL: place cpu_ll_get_cycle_count in IRAM (v4.3)
See merge request espressif/esp-idf!18294
2022-06-22 11:42:27 +08:00
David Cermak
b972b442e0
vfs: Fix potential select() race if both sock and other-fd trigger
...
This fixes a potential race condition in select() if both a socket-fd
and non-socket fd trigger simultaneously to unblock this select.
In case of both fds, we use lwip's local thread semaphore, so we only
have to try return it (if it was taken/triggered more than once) when
we exit select().
Closes https://github.com/espressif/esp-idf/issues/8896
2022-06-21 16:39:58 +00:00