Commit Graph

20753 Commits

Author SHA1 Message Date
zhangyanjiao
7ae5822f0e fix(wifi): Add bugfixes and improvements
1. Update wifi security mode
2. Add check for memory allocation in tx buffers
3. Fix association refused temporarily comeback time set to zero issue
2023-07-11 21:25:24 +08:00
Chen Jichang
cdd18fd232 refactor(gpio):add gpio linker.lf to control the placement of driver and hal
since the linker placement of the hal functions are controlled by the Kconfig in the driver component,
we should create the linker.lf in the driver component, not in the hal component.
2023-07-11 20:44:36 +08:00
Jiang Guang Ming
67c3334b4a fix(esp_rom): remove unsupported rom headers 2023-07-11 05:09:34 -07:00
KonstantinKondrashov
b95dfc67fa feat(efuse): Add flash efuses for esp32c3 2023-07-11 19:49:17 +08:00
Rahul Tank
027c43e148 fix(nimble): Increase BLE_HOST_SEM_COUNT to allow more semaphore allocation 2023-07-11 17:14:12 +05:30
KonstantinKondrashov
cf46ef954f feat(efuse): Add flash&psram efuses for S3 2023-07-11 19:41:40 +08:00
Rahul Tank
f274a8bb06 Merge branch 'bugfix/handle_signed_power_level_pcl' into 'master'
fix(nimble): Fix data type of power level and delta to handle negative values

See merge request espressif/esp-idf!24116
2023-07-11 19:29:24 +08:00
Armando (Dou Yiwen)
9b17cce08c Merge branch 'refactor/s_adc_tsen_enabled_logic' into 'master'
refactor(adc): maintain s_adc_tsen_enabled in adc driver

See merge request espressif/esp-idf!24627
2023-07-11 18:15:49 +08:00
Ondrej Kosta
35d4dd74f5 Merge branch 'feature/lwip_bridge_wifi' into 'master'
lwip bridge wifi

Closes IDFGH-3778

See merge request espressif/esp-idf!24112
2023-07-11 17:54:10 +08:00
Armando
ec88a3f018 fix(ahb_dma): temporarily disable ahb_dma on p4 2023-07-11 16:59:02 +08:00
Kapil Gupta
01a9b46ea9 Fix(esp_wifi): Fix race conditions in btm task deletion 2023-07-11 14:22:10 +05:30
Chen Jian Xing
576ce647f8 Merge branch 'bugfix/fix_sometimes_sta_can_not_get_ip_from_softap_issue' into 'master'
lower the dhcp discover and request retry backoff time

Closes WIFI-5646, WIFI-5647, WIFI-4774, WIFI-4823, and WIFI-5823

See merge request espressif/esp-idf!24224
2023-07-11 15:18:41 +08:00
david zuhn
3d8f7b3895 spelling correction in documentation
Signed-off-by: zhangyanjiao <zhangyanjiao@espressif.com>

Closes https://github.com/espressif/esp-idf/pull/9721
2023-07-11 14:33:44 +08:00
Rocha Euripedes
23796e7f20 Merge branch 'mqtt/remove_no_format_on_tests' into 'master'
mqtt: Removes no-format from test_apps build

See merge request espressif/esp-idf!24525
2023-07-11 14:21:29 +08:00
Jiang Jiang Jian
cc1fe58ba3 Merge branch 'bugfix/sae_crypto_optimization_esp32' into 'master'
esp_wifi: Optimize sae crypto operations for esp32

See merge request espressif/esp-idf!24279
2023-07-11 13:57:29 +08:00
Jiang Jiang Jian
ccb6e2887a Merge branch 'bugfix/fix_ftm_dist_est' into 'master'
Enable FTM for ESP32C2, fix other FTM issues

Closes WIFI-3464, WIFI-4127, WIFI-4600, WIFI-4655, WIFI-5001, WIFI-5444, WIFI-5472, WIFI-5742, and WIFI-5893

See merge request espressif/esp-idf!22798
2023-07-11 12:20:42 +08:00
Armando
da8afe7c78 feat(cache): added direction selection to esp_cache_msync API
ESP_CACHE_MSYNC_FLAG_DIR_C2M: From cache to memory
ESP_CACHE_MSYNC_FLAG_DIR_M2C: From memory to cache

By default, if no direction flag is set, it will fallback C2M direction.

For M2C direction, now this API will do an invalidation.
2023-07-11 11:19:10 +08:00
Song Ruo Jing
b60f4a6f37 fix(uart): Fixed C++ type conversion compile error in uart_ll_get_sclk
Closes https://github.com/espressif/esp-idf/issues/11813
2023-07-11 11:18:00 +08:00
morris
682e5ae450 Merge branch 'feature/esp_gdma_ops' into 'master'
feat(esp_gdma): add hal interface for common operations

Closes IDF-7809

See merge request espressif/esp-idf!24433
2023-07-11 10:40:42 +08:00
Song Ruo Jing
a9523b2cef Merge branch 'contrib/github_pr_11810' into 'master'
ledc.c: Fix frequency calculation. (GitHub PR)

Closes IDFGH-10569

See merge request espressif/esp-idf!24618
2023-07-11 10:32:58 +08:00
Armando (Dou Yiwen)
282e3b03bb Merge branch 'feature/add_esp32p4_hal_support' into 'master'
hal: add esp32p4 hal support

See merge request espressif/esp-idf!24427
2023-07-11 10:09:16 +08:00
Marius Vikhammer
39b9113f13 Merge branch 'bugfix/heap_trace_depth_assert' into 'master'
core-systems/heap: fixed wrong error message from assert in heap trace

See merge request espressif/esp-idf!24071
2023-07-11 09:15:59 +08:00
Jiang Jiang Jian
8bfbd28535 Merge branch 'feature/phy_track_pll_logic_refactor' into 'master'
esp_phy: phy track pll logic refactor

See merge request espressif/esp-idf!24108
2023-07-11 04:11:00 +08:00
Marius Vikhammer
b70aaa16f1 Merge branch 'contrib/github_pr_11509' into 'master'
[Heap Trace Standalone] do not allocate memory until init is called (GitHub PR)

Closes IDFGH-10247

See merge request espressif/esp-idf!23958
2023-07-10 19:59:00 +08:00
C.S.M
58e7cb600e Merge branch 'test/temperature_phy' into 'master'
temperature sensor: Add test for temperature sensor and phy

See merge request espressif/esp-idf!24317
2023-07-10 19:36:02 +08:00
Rahul Tank
b926bf5048 fix (nimble): Fix data type of power level and delta to handle negative values 2023-07-10 15:50:01 +05:30
zhangwenxu
4d6b13f395 esp_phy: phy track pll logic refactor 2023-07-10 17:54:04 +08:00
Zhang Wen Xu
453dc6ab40 Merge branch 'fix/openthread_settings_out_of_range_issue' into 'master'
fix(openthread): fix ot settings out of range issue

See merge request espressif/esp-idf!24631
2023-07-10 17:25:03 +08:00
Armando
c5e99100e7 feat(hw stack): added todo for hw stack guard in soc_caps.h 2023-07-10 16:11:47 +08:00
Armando
fb420725d2 feat(hal): unify hal cmake for spi_flash_hal_gpspi.c 2023-07-10 16:11:47 +08:00
Armando
ea05ae6af2 feat(esp32p4): added hal support 2023-07-10 16:11:47 +08:00
Jiang Jiang Jian
cdaf1fd518 Merge branch 'fix/esp32s3_sysview_trace_corrupt' into 'master'
fix(app_trace): Fix apptrace data corruption on ESP32-S3

Closes OCD-647 and IDFGH-9216

See merge request espressif/esp-idf!24500
2023-07-10 16:01:43 +08:00
Zhang Wen Xu
b8e71140ad Merge branch 'feature/add_ieee802154_modem_reset' into 'master'
ieee802154: add modem reset and fix ieee802154 test app reg command error

See merge request espressif/esp-idf!24384
2023-07-10 14:45:23 +08:00
Zhang Wen Xu
80e1c5a2b7 Merge branch 'fix/txpower_max_value' into 'master'
IEEE802154: match C6/H2 max txpower value with datasheet

See merge request espressif/esp-idf!24325
2023-07-10 14:42:22 +08:00
Shu Chen
4365a03bdd Merge branch 'support/ieee802154_test_based_on_opensource' into 'master'
ieee802154: add CONFIG_IEEE802154_TEST for supporting ieee802154 test

See merge request espressif/esp-idf!24148
2023-07-10 14:06:03 +08:00
morris
9eb145aa21 feat(esp_gdma): adapt the gdma driver to ahb-dma and axi-dma 2023-07-10 13:45:57 +08:00
morris
56a376c696 feat(esp_gdma): add hal interface for common operations
GDMA driver will be adapted to more DMA peripherals in the future.
This commit is to extract a minimal interface in the hal layer
2023-07-10 13:45:57 +08:00
Nachiket Kukade
6e6139061d fix(esp_wifi): Enable FTM for ESP32C2, fix other FTM issues
Enable FTM for ESP32C2 and update wifi libs with below fixes -

1. Bugfixes in Initiator and Responder mode
2. Fix wrong RTT value in first FTM procedure without connection
3. Update FTM calibration values for ESP32S2, S3, C3 and C2
4. Update distance estimation logic
5. Add some useful command parameters in FTM example
6. Fix bug when number of FTM measurement frames received is more
   than (number_of_brusts * FTMs per brust).

Co-authored-by: Sarvesh Bodakhe <sarvesh.bodakhe@espressif.com>
2023-07-10 10:41:37 +05:30
IhorNehrutsa
909d8b6db5 fix(ledc): fix frequency calculation
ledc.c: Fix frequency calculation.
Round int instead of truncate.

Merges https://github.com/espressif/esp-idf/pull/11810
2023-07-10 11:45:09 +08:00
Shen Wei Long
e46e3f18f1 Merge branch 'feature/update_ble_libs' into 'master'
ble: Added APIs for QA test

See merge request espressif/esp-idf!24616
2023-07-07 19:53:30 +08:00
Rahul Tank
64a01af42d Merge branch 'feature/services_proximity' into 'master'
NimBLE : Added proximity sensor as a service

See merge request espressif/esp-idf!24357
2023-07-07 16:51:22 +08:00
morris
65e1ced886 Merge branch 'bugfix/ringbuf_coverity_issues' into 'master'
esp_ringbuf: Fix "USE_AFTER_FREE" coverity issue

Closes IDF-7671

See merge request espressif/esp-idf!24530
2023-07-07 14:44:32 +08:00
morris
ad4ab84fd8 Merge branch 'refactor/esp_lcd_linker' into 'master'
refactor(esp_lcd): move hal function placement to the driver layer

See merge request espressif/esp-idf!24617
2023-07-07 14:34:44 +08:00
Song Ruo Jing
ea48030514 Merge branch 'refactor/rtcio_caps_responsibility' into 'master'
refactor(driver/rtcio): Re-wrap RTCIO APIs with more accurate soc_caps

Closes IDF-7406

See merge request espressif/esp-idf!24522
2023-07-07 14:25:47 +08:00
Armando (Dou Yiwen)
adb93a3770 Merge branch 'feature/add_esp32p4_soc_support_part_3' into 'master'
soc: added soc headers for esp32p4 (part 3)

See merge request espressif/esp-idf!24481
2023-07-07 11:44:46 +08:00
Wu Zheng Hui
94613a5904 Merge branch 'bugfix/fix_deepsleep_wakestub_example_ci_failure_master' into 'master'
ci: fix deepsleep wakestub example ci failure

See merge request espressif/esp-idf!24466
2023-07-07 11:38:14 +08:00
Jiang Jiang Jian
625f1bae6e Merge branch 'feature/add_api_to_get_rssi_for_sta' into 'master'
feat(wifi): Add new API to get rssi info after station connected to AP

Closes AUD-4662, WIFI-5066, and TCI-1326

See merge request espressif/esp-idf!24505
2023-07-07 11:32:01 +08:00
Marius Vikhammer
450618c39d docs(heap): fixed typo in heap trace docs 2023-07-07 10:49:15 +08:00
Cao Sen Miao
53dee1abe0 feat(temperature_sensor_test): Add test for temperature sensor and phy 2023-07-07 10:15:07 +08:00
Mahavir Jain
ca6d4a571e Merge branch 'feature/make_read_otadata_api_public' into 'master'
feat: Made read_otadata() API public

Closes IDFGH-10345

See merge request espressif/esp-idf!24560
2023-07-06 22:23:16 +08:00
zhangwenxu
0d94cefe4b fix(openthread): fix ot settings out of range issue 2023-07-06 21:04:01 +08:00
Kevin (Lao Kaiyao)
a6e2ea141a Merge branch 'refactor/adc_2nd_step_calib_coeff_stuff' into 'master'
adc_calib: refactor 2nd step coeff

Closes IDF-7653

See merge request espressif/esp-idf!24397
2023-07-06 20:32:31 +08:00
isha.pardikar@espressif.com
85661d38e6 feat (NimBLE): Add proximity sensor as a service 2023-07-06 17:59:54 +05:30
Rahul Tank
78c33778a9 Merge branch 'bugfix/refactor_nimble_header' into 'master'
refactor (nimble): Refactor nimble header files

Closes DOC-5615

See merge request espressif/esp-idf!24432
2023-07-06 20:17:35 +08:00
Armando
93d4095fb0 feat(soc): added pmu_icg_mapping.h on p4 2023-07-06 18:57:41 +08:00
Armando
1c3aedf45e remove p4 rtc_io related files as requested 2023-07-06 18:23:18 +08:00
Armando
a9365b8049 feat(soc): rename rtc_timer_reg to lp_timer_reg 2023-07-06 18:23:18 +08:00
Armando
369f8ba459 feat(soc): update interrupts.c 2023-07-06 18:23:18 +08:00
Armando
9d755f855e feat(soc): update efuse registers 2023-07-06 18:23:18 +08:00
Armando
e921d03a0d feat(soc): update gpio_ext_reg.h and its base addr 2023-07-06 18:23:18 +08:00
Armando
65bfa590da feat(soc): soc updates 2023-07-06 18:23:18 +08:00
Armando
2f6ce0cc17 fix(regi2c): wrong ADC_CALI_PD_WORKAROUND on c6, h2 2023-07-06 17:54:31 +08:00
Armando
8cf0e5d5b8 feat(soc): rename rtc_wdt_reg to lp_wdt_reg 2023-07-06 17:54:31 +08:00
Armando
0959c0cb96 feat(soc): rename mspi registers 2023-07-06 17:54:31 +08:00
Armando
611c1037a2 feat(soc): added soc_caps.h on esp32p4 2023-07-06 17:54:31 +08:00
Armando
8bcef5abb0 refactor(adc): maintain s_adc_tsen_enabled in adc driver 2023-07-06 17:28:49 +08:00
zhangyanjiao
277f0f4470 feat(wifi): Add API to get RSSI info after station connects to AP
- Add esp_wifi_sta_get_rssi() function to retrieve RSSI info after station connects to AP
2023-07-06 17:27:42 +08:00
laokaiyao
edc1abc8ea refactor(adc_calib): Simplify 2nd step coefficient calculation
- remove unnecessary variables and calculations
- improve readability of code
2023-07-06 14:22:03 +08:00
Harshit Malpani
941eb4e61e
feat: Made read_otadata() API public
Updated the read_otadata() API name to bootloader_common_read_otadata() and made the API public.

Closes https://github.com/espressif/esp-idf/issues/11603
2023-07-06 11:40:49 +05:30
Jin Chen
d918b5226c Merge branch 'ble_dev/support_esp32h2_modem_clock_selection' into 'master'
ble: support esp32h2 modem clock selection

Closes EBLE50Y23-129

See merge request espressif/esp-idf!24387
2023-07-06 13:58:11 +08:00
morris
6f3e07d97b Merge branch 'feature/gptimer_linker_file' into 'master'
feat(gptimer): add gptimer linker.lf to control the placement of driver and hal

See merge request espressif/esp-idf!24598
2023-07-06 12:42:47 +08:00
morris
2e5eb30382 Merge branch 'origin/bugfix/fix_header_violations_in_hal_component' into 'master'
Fix(components/hal): fix header violations in hal component

Closes IDF-7658

See merge request espressif/esp-idf!24493
2023-07-06 10:32:25 +08:00
Jiang Jiang Jian
781d2717cd Merge branch 'bugfix/nan_sd_dp_fixes' into 'master'
NAN Service discovery and datapath bugfixes

Closes WIFI-5588

See merge request espressif/esp-idf!24302
2023-07-06 10:30:05 +08:00
morris
b72df43a3f refactor(esp_lcd): control hal function placement in the esp_lcd component
because G1 component can't rely on G2 component, thus  we shouldn't use the esp_lcd's Kconfig in the hal's linker.lf
2023-07-05 22:54:01 +08:00
Island
a7e5d49d10 Merge branch 'feature/update_ble_duplicte_vs_hci_lib_fix' into 'master'
Feature/update ble duplicte vs hci lib fix

See merge request espressif/esp-idf!24521
2023-07-05 21:28:31 +08:00
Shu Chen
1cd3ace96a Merge branch 'bugfix/openthread_pm_lock' into 'master'
openthread: fix light sleep lock issue

See merge request espressif/esp-idf!24575
2023-07-05 20:39:51 +08:00
Shen Weilong
303b330bca ble: Added APIs for QA test 2023-07-05 20:18:09 +08:00
Jiang Jiang Jian
5354759735 Merge branch 'feature/update_avrcp_v1.5' into 'master'
bt: Update AVRCP version to v1.5

Closes BT-3283 and BT-2945

See merge request espressif/esp-idf!23959
2023-07-05 19:38:01 +08:00
wuzhenghui
05d15a2eed sleep: enrich top_domain_pd_allowed function description 2023-07-05 11:16:44 +00:00
Planck (Lu Zeyu)
333553caf2 fix(hal): check the public header files and fix violations
fix(hal/include): fix header violations in hal component
fix(hal/include): Move type definitions from `xx_hal.h` to `xx_types.h`
fix(hal/include): Move type definitions from `xx_hal.h` to `xx_types.h`
fix(hal/include): Add comment for a far away `#endif`
fix(hal/include): change scope for cpp guard
ci: Remove components/hal/ comment from public headers check exceptions
Add missing include macro sdkconfig.h for header files
Add missing include macro stdbool.h for header files
Add missing include macro stdint.h for header files
Add missing capability guard macro for header files
Add missing cpp guard macro for header files
Remove some useless include macros
Add some missing `inline` attribute for functions defined in header files
Remove components/hal/ from public headers check exceptions
fix(hal/include): fix invalid licenses
fix(hal/include): fix invalid licenses
fix(hal/include): add missing soc_caps.h
fix(hal): include soc_caps.h before cap macro is used
fix(hal): Remove unnecessary target check
fix(hal): fix header and macro problems
Add missing include macro
Remove loop dependency in hal
Add comment for far-away endif
fix(hal): Add missing soc_caps.h
ci: update check_copyright_ignore.txt
Change the sequence of `#include` macro, cpp guard macro
Change the wrap scope of capacity macro

fix(hal): Change position of C++ guard to pass test
2023-07-05 17:33:32 +08:00
Omar Chebib
d2471b11e7 Merge branch 'bugfix/fpu_registers_overwritten' into 'master'
Xtensa: fix a bug that altered CPU registers in FPU exception handlers

Closes IDFGH-10439

See merge request espressif/esp-idf!24518
2023-07-05 17:28:53 +08:00
Rahul Tank
b0b722da33 Merge branch 'bufix/fix_assert_while_stack_deinit' into 'master'
NimBLE :  Fix assert due to controller event while stack deinit

Closes IDFGH-10527

See merge request espressif/esp-idf!24520
2023-07-05 16:24:27 +08:00
Rahul Tank
3c902677d8 refactor(nimble): Refactor header files
Refactor header files to separate out APIs developed by Espressif for
   documentation purpose
2023-07-05 13:50:33 +05:30
Rahul Tank
1268530ace Merge branch 'feature/add_support_pcl_vsc' into 'master'
fix(Nimble): Add VSC / VSE handling code and structure for PCL Set RSSI

See merge request espressif/esp-idf!24181
2023-07-05 15:33:43 +08:00
xiaqilin
d8bfd97d60 fix(openthread): Fixed light sleep lock issue 2023-07-05 14:37:56 +08:00
Shyamal Khachane
6138ec7a61 fix(esp_wifi): NAN Service discovery and datapath bugfixes
1. Increase timeout value for NDP Accepted/Rejected events.
    2. Update publisher ID incase publisher restarts(service).
    3. Ignore service discovery frames with invalid/inactive service ID.
    4. Update NAN documentation
2023-07-05 10:35:14 +05:30
Jiang Jiang Jian
cbcddc8ed0 Merge branch 'bugfix/fix_bootloader_wrong_spi_freq_print' into 'master'
bugfix: fix esp32c6 bootloader print wrong spi speed mode

See merge request espressif/esp-idf!24261
2023-07-05 12:24:04 +08:00
morris
81a641d437 feat(gptimer): add gptimer linker.lf to control the placement of driver and hal
since the linker placement of the hal functions are controlled by the Kconfig in the driver component,
we should create the linker.lf in the driver component, not in the hal component.
2023-07-05 12:09:00 +08:00
morris
0d401ae443 Merge branch 'feature/check_callgraph_multiple_dirs' into 'master'
fix(test): check call graph for hal component

See merge request espressif/esp-idf!24547
2023-07-05 12:00:10 +08:00
Song Ruo Jing
4985caa38f refactor(driver/rtcio): Re-wrap RTCIO APIs with more accurate soc_caps 2023-07-05 11:47:51 +08:00
Armando
d9e25c305a feat(adc): use soc_caps to decide which files to be included 2023-07-05 11:45:48 +08:00
Armando
070040c444 feat(soc): added soc support for esp32p4, part3 2023-07-05 11:45:48 +08:00
Jiang Jiang Jian
510e544e16 Merge branch 'bugfix/fix_association_request_miss_verify_ssid_issue' into 'master'
esp_wifi: fix association request miss verify ssid issue

Closes WIFI-6077, WIFI-6078, and WIFI-6120

See merge request espressif/esp-idf!24435
2023-07-05 11:34:14 +08:00
Chen Jian Hua
5ebe3b0fc2 Merge branch 'fix/print_bt_mac_for_esp32' into 'master'
fix(bt): Fix the issue of not printing the Bluetooth MAC address for ESP32

See merge request espressif/esp-idf!24552
2023-07-05 10:46:28 +08:00
morris
f0c07f82b5 fix(test): check call graph for hal component 2023-07-05 09:09:01 +08:00
Darian Leung
4a15db126a fix(esp_ringbuf): Fix "USE_AFTER_FREE" coverity issue
Fix false positive in coverity where it thinks memory buffers are freed for
statically created ring buffers, leading to a "USE_AFTER_FREE" warning in
vRingbufferDeleteWithCaps().
2023-07-04 21:53:46 +01:00
Shu Chen
28a6aeb303 Merge branch 'openthread/thread_state' into 'master'
openthread: Add event post for OpenThread role changed

See merge request espressif/esp-idf!24141
2023-07-05 01:32:16 +08:00
Lou Tian Hao
4cf39d7851 Merge branch 'update/pm_trace_io_num_for_esp32h2' into 'master'
bugfix: update pm trace io num for esp32h2

Closes IDF-7657

See merge request espressif/esp-idf!24559
2023-07-04 23:14:14 +08:00
Mahavir Jain
de9cb53bc1 Merge branch 'fix/nvs_sec_provider_coverity_issues' into 'master'
fix (nvs_sec_provider): Fix memory leakage reported by coverity

See merge request espressif/esp-idf!24555
2023-07-04 22:29:08 +08:00
Aditya Patwardhan
8b5eea8519 Merge branch 'fix/esp_tls_missing_explicit_header' into 'master'
fix (esp-tls): Missing explicit inclusion of header `mbedtls/x509_crt.h`

Closes IDFGH-10519

See merge request espressif/esp-idf!24544
2023-07-04 21:15:11 +08:00
Jiang Jiang Jian
df36c3adcc Merge branch 'bugfix/rtc_clk_int_rc32k_miss_calib_cycles_config' into 'master'
fix the issue of missing configuration for calibration cycles of the internal 32 kHz RC

See merge request espressif/esp-idf!24568
2023-07-04 20:41:45 +08:00
muhaidong
79ddd24d23 fix(wifi): fix some wifi bugs
1. esp_wifi: fix association request miss verify ssid issue
2. esp_wifi: fix wpa3 softAP allocate aid issue
2023-07-04 19:49:34 +08:00
Jiang Jiang Jian
c133949da6 Merge branch 'bugfix/obss_scan_disasrm' into 'master'
esp_wifi : Add a obss scan timer disarm upon sta disconnect.

Closes WIFI-5888

See merge request espressif/esp-idf!23897
2023-07-04 19:24:18 +08:00
Jiang Jiang Jian
12306efc19 Merge branch 'bugfix/btm_scan_done_crash' into 'master'
wpa_supplicant : Fix race condition in BTM scan

Closes WIFI-5838

See merge request espressif/esp-idf!23775
2023-07-04 16:03:08 +08:00
WanqQixiang
58b99731f5 feat(openthread): Add event post for thread role changed and integrate all the thread state change callbacks 2023-07-04 15:28:41 +08:00
morris
0298e6f257 Merge branch 'feature/gpio_num_per_target' into 'master'
refactor(gpio): per-target gpio number definition

See merge request espressif/esp-idf!24546
2023-07-04 14:12:39 +08:00
Sudeep Mohanty
c14bdc9394 Merge branch 'bugfix/missing_return_in_lp_print' into 'master'
fix(lp-core): Added missing return statement to lp_core_printf()

See merge request espressif/esp-idf!24531
2023-07-04 13:42:18 +08:00
Marius Vikhammer
8abdf2fc6d Merge branch 'bugfix/esp_event_err_docs' into 'master'
fix(core-system/esp event): Fixed missing error return  documentation for...

Closes IDFGH-10499

See merge request espressif/esp-idf!24417
2023-07-04 13:40:58 +08:00
Geng Yuchao
d9d9d4c36b fix(ble): Fix duplicate var length issue 2023-07-04 11:45:00 +08:00
Geng Yuchao
f226e75f4b fix(ci): Fix declaration isn't a prototype issue 2023-07-04 11:45:00 +08:00
Geng Yuchao
ba7b365f23 feat(ble): Update ble lib to 6f9ef119 2023-07-04 11:45:00 +08:00
Geng Yuchao
d64f902c95 change(ble): Enable pdu type trig in duplicate in default mode as before 2023-07-04 11:45:00 +08:00
Geng Yuchao
0b2fde8a17 feat(ble): Add duplicate refersh function support for esp32h2 2023-07-04 11:44:59 +08:00
Geng Yuchao
d2b9583c45 feat(ble): Add support to scan period refresh duplicate cache list 2023-07-04 11:44:50 +08:00
Li Shuai
f4c3b07436 fix(rtc_clk): fix the issue of missing configuration for calibration cycles of the internal 32 kHz RC 2023-07-04 11:23:07 +08:00
Chen Jian Hua
f71b23e767 Merge branch 'bugfix/bluedroid_ble_adv_length_0_error' into 'master'
bluedroid: fix ble adv length 0 error

See merge request espressif/esp-idf!24496
2023-07-04 11:00:43 +08:00
zhanghaipeng
18a1a01764 fix(bt): Fix the issue of not printing the Bluetooth MAC address for ESP32
- Add a log statement to print the Bluetooth MAC address
2023-07-04 11:00:32 +08:00
Omar Chebib
2aee63a773 freertos: add a unit test for FPU context switch 2023-07-04 02:45:56 +00:00
Omar Chebib
b03c8912c7 Xtensa: fix a bug that altered CPU registers in FPU exception handlers
* Fixes https://github.com/espressif/esp-idf/issues/11690
2023-07-04 02:45:56 +00:00
Geng Yuchao
fbb88ef979 feat(ble): Add duplicate filter feature enable on ble for h2. 2023-07-04 10:40:04 +08:00
Geng Yuchao
2310c68966 feat(ble): Add duplicate filter feature enable on ble for c6. 2023-07-04 10:39:05 +08:00
Shu Chen
f64a6bcb6a Merge branch 'feature/esp32c6_light_sleep_support_ieee802154' into 'master'
ieee802154: esp32c6 light sleep support

See merge request espressif/esp-idf!23629
2023-07-04 10:13:28 +08:00
Lou Tianhao
3513d82df0 remove: TODO IDF-7555 2023-07-03 20:29:27 +08:00
jgujarathi
2fe35e8b49 esp_wifi : Add a obss scan timer disarm upon sta disconnect.
Adds a obss scan timer disarm when a sta disconnects from an AP.
2023-07-03 17:55:57 +05:30
Alexey Lapshin
e270427367 Merge branch 'feature/hw_stack_guard_for_riscv' into 'master'
esp_system: implement hw stack guard for riscv chips

Closes IDF-7124 and IDF-3839

See merge request espressif/esp-idf!23808
2023-07-03 20:17:09 +08:00
Lou Tianhao
bedc26d032 bugfix: update pm trace io num for esp32h2 2023-07-03 17:23:48 +08:00
Jiang Jiang Jian
6b16801863 Merge branch 'bugfix/split_scan_tx' into 'master'
esp_wifi : Fix issues with split scan data tx and sta roam.

Closes WIFI-5285, IDFGH-9885, and WIFI-5016

See merge request espressif/esp-idf!23163
2023-07-03 17:18:42 +08:00
Sudeep Mohanty
f6df189437 fix(lp-core): Added missing return statement to lp_core_printf() 2023-07-03 11:01:17 +02:00
Laukik Hase
bfaeb075a6
fix(nvs_sec_provider): Fix memory leakage reported by coverity 2023-07-03 14:26:49 +05:30
Laukik Hase
3565a9ba89
fix(esp-tls): Add explicit inclusion of header mbedtls/x509_crt.h
- Closes https://github.com/espressif/esp-idf/issues/11761
2023-07-03 14:24:38 +05:30
cjin
dcac0d0d6a phy: update phy enable/disable for h2 light sleep 2023-07-03 16:05:42 +08:00
cjin
3d2342df6c ble: support esp32h2 modem clock selection 2023-07-03 16:05:42 +08:00
Jiang Jiang Jian
f5ccae4d93 Merge branch 'bugfix/concurrency_while_eloop_register' into 'master'
esp_wifi: Bugfix concurrency observed while doing eloop register

Closes WIFI-5955

See merge request espressif/esp-idf!24046
2023-07-03 13:41:36 +08:00
morris
d623ce0d53 refactor(gpio): per-target gpio number definition 2023-07-03 13:33:11 +08:00
Roshan Bangar
de0798c460 fix(nimble): Fix assert due to controller event while stack deinit 2023-07-03 04:57:20 +00:00
jgujarathi
98e33605b4 wpa_supplicant : Fix occasional crash during btm roam.
Fix crash due to premature deallocation of neighbour report elements
by scan_done. Post event to btm_rrm_t task to handle scan_done serially
rather than when btm_rrm_t task is processing btm request rx frame.
2023-07-03 04:16:21 +00:00
jgujarathi
1302c5a622 esp_wifi : Fix collection of issues during sta scan and roam.
1) Fix issue during split scan to allow for data tx.
2) Fix issue when parsing wpa_ie to set correct authmode when AP
   supports both WPA_EAP and WPA_EAP_SHA256 authmode.
   Closes https://github.com/espressif/esp-idf/issues/11202
3) Fix an occasional crash during sta roam.
4) Add home_channel_dwell_time to wifi_scan_config_t. This allows
   configuration of the time spent between scanning consecutive
   channels for tx.
2023-07-03 04:05:52 +00:00
xiongweichao
e86b367f21 change(bt/Bluedroid): Update AVRCP version to 1.5 2023-07-03 03:57:26 +00:00
xiaqilin
05d3451578 ieee802154: update test code 2023-07-03 10:50:51 +08:00
xiaqilin
c7ab495b0b ieee802154: exclude sleep file when do not define CONFIG_FREERTOS_USE_TICKLESS_IDLE 2023-07-03 02:21:58 +00:00
xiaqilin
ee7d180e55 ieee802154: update radio state in test 2023-07-03 02:21:58 +00:00
xiaqilin
1bb0c2c723 ieee802154: change light sleep config in ieee802154 2023-07-03 02:21:58 +00:00
xiaqilin
59ffcd07d6 ieee802154: change BLE_BB/ieee802154_BB 2023-07-03 02:21:58 +00:00
xiaqilin
95afd4b9af openthread: add openthread autostart for sleep device 2023-07-03 02:21:58 +00:00
xiaqilin
485a9d44cf ieee802154: add sleep state 2023-07-03 02:21:58 +00:00
xiaqilin
dc4b3f24bc ieee802154: support light sleep 2023-07-03 02:21:58 +00:00
Alexey Lapshin
4df3ff619e feat(esp_system): implement hw stack guard for riscv chips
- add hardware stack guard based on assist-debug module
- enable hardware stack guard by default
- disable hardware stack guard for freertos ci.release test
- refactor rtos_int_enter/rtos_int_exit to change SP register inside them
- fix panic_reason.h header for RISC-V
- update docs to include information about the new feature
2023-07-01 16:27:40 +00:00
Wang Meng Yang
fe04d6dad9 Merge branch 'bugfix/fix_some_bt_controller_bug' into 'master'
component_bt:Fixed some bluetooth bugs

Closes AUD-3566 and ESPCS-871

See merge request espressif/esp-idf!19247
2023-06-30 20:57:26 +08:00
Ondrej Kosta
3288f83401 feat(network/examples): extended LwIP bridge example
Extended LwIP bridge example to support WiFi AP interface and DHCP Server

https://github.com/espressif/esp-idf/issues/5697
2023-06-30 14:38:24 +02:00
Euripedes Rocha
d73ed34072 fix(test/mqtt): Removes no-format from test_apps build
Allows warnings on mismatching format strings.
2023-06-30 11:31:38 +02:00