Commit Graph

18057 Commits

Author SHA1 Message Date
muhaidong
8b59c17ef0 fix(wifi): fix some wifi bugs 230726
1. process association request verify ssid
2. fix ftm timer macro issue
3. lower the dhcp discover and request retry backoff time
2023-07-26 16:52:13 +08:00
muhaidong
210ffa0475 fix(wifi): missed annotate ld function from txop fix 2023-07-26 11:54:10 +08:00
Jiang Jiang Jian
b4b4306677 Merge branch 'bugfix/sae_and_nvs_fixes_v5.0' into 'release/v5.0'
Fix SAE and SAE related NVS issues (Backport v5.0)

See merge request espressif/esp-idf!24956
2023-07-26 11:06:29 +08:00
Jiang Jiang Jian
ba0ab6687d Merge branch 'change/rewrite_all_low_to_any_low_when_not_esp32' into 'release/v5.0'
Change: rewrite EXT1 triggle mode all_low to any_low when not esp32(backport v5.0)

See merge request espressif/esp-idf!24988
2023-07-26 10:17:43 +08:00
Lou Tianhao
3727d56c82 Change: rewrite EXT1 triggle mode all_low to any_low when not esp32 2023-07-25 17:53:33 +08:00
Shyamal Khachane
585cbec17b fix(wifi): Fix SAE and SAE related NVS issues
1. Discard commit frame received at confirmed state in SAE STA
2. Bugfix NVS get values for sae pwe
3. Bugfix memory leak caused by assoc retry timer and assoc IE
4. Bugfix store nvs authmode security values
2023-07-25 13:53:42 +05:30
morris
c36f5fb77a Merge branch 'contrib/github_pr_11810_v5.0' into 'release/v5.0'
ledc.c: Fix frequency calculation. (GitHub PR) (v5.0)

See merge request espressif/esp-idf!24698
2023-07-25 16:15:05 +08:00
morris
3fba3425f1 Merge branch 'bugfix/fix_spi_flash_api_concurrency_issue_v5.0' into 'release/v5.0'
spi_flash: fix concurrency issue when concurrently calling esp_flash apis (v5.0)

See merge request espressif/esp-idf!24512
2023-07-25 11:04:57 +08:00
morris
598c1fa7e2 Merge branch 'bugfix/fix_gpio_driver_calloc_v5.0' into 'release/v5.0'
fix(gpio): fix potential crash when processing gpio isr (v5.0)

See merge request espressif/esp-idf!24902
2023-07-25 11:03:09 +08:00
Jiang Jiang Jian
000450504d Merge branch 'bugfix/cache_writeback_bug_v5.0' into 'release/v5.0'
esp_rom: patch Cache_WriteBack_Addr (backport v5.0)

See merge request espressif/esp-idf!24940
2023-07-24 15:41:32 +08:00
Armando
38de42bd26 feat(spi_flash): add common test_flash_utils component 2023-07-24 15:28:18 +08:00
Armando
403cdb03ec spi_flash: rename spi_flash_os_func_app: spi_start, spi_end
spi_start -> s_acquire_spi_bus_lock
spi_end -> s_release_spi_bus_lock
2023-07-24 15:28:18 +08:00
Armando
c56ff93007 spiflash: added esp_flash API concurrency pressure test 2023-07-24 15:28:18 +08:00
Armando
5a59c50951 spi_flash: fix concurrency issue when calling esp_flash apis under xip_psram or auto_suspen 2023-07-24 15:28:18 +08:00
Armando
0c2cd2dfa6 spiflash: fix not calling on_spi_acquired when CONFIG_SPI_FLASH_SHARE_SPI1_BUS issue 2023-07-24 15:28:18 +08:00
Rahul Tank
5fb0d557a4 Merge branch 'bugfix/handle_conn_type_and_array_reset_v5.0' into 'release/v5.0'
fix(nimble): Update connection type in reattempt connection code (v5.0)

See merge request espressif/esp-idf!24916
2023-07-24 12:21:45 +08:00
gaoxiaojie
805f3bc557 fix(cache): add lock to protect cache sync operation 2023-07-24 10:51:23 +08:00
Nachiket Kukade
0148546df3 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-21 16:30:47 +05:30
Jiang Jiang Jian
264c807f3a Merge branch 'bugfix/fix_some_wifi_bugs_230720_v5.0' into 'release/v5.0'
fix(wifi): fix some wifi bugs 230720 (backport v5.0)

See merge request espressif/esp-idf!24912
2023-07-21 18:59:42 +08:00
gaoxiaojie
4a2f38930b fix(esp32s3): patch Cache_WriteBack_Addr api
Need to ensure that the cacheline being written back will not be
accessed during the write back process.
2023-07-21 11:46:45 +08:00
Rahul Tank
4d301ef3a2 fix(nimble): Update connection type in reattempt connection code
Added change to set connection type correctly and clear array when it is
    full in reattempt connection flow
2023-07-20 09:37:34 +05:30
zhangyanjiao
368dca0d84 fix(wifi): Add bugfixes and improvements
1. Update wifi security mode
2. Fix association refused temporarily comeback time set to zero issue
3. Vnd ie callback can be set to null
2023-07-20 11:39:41 +08:00
Li Shuai
0b42747d0a Wi-Fi/power save: fix the some mac issues of wifi power save
Some APs are configured to hide the SSID, the length field of the SSID element
in the Beacon frame is set to 0. This can cause incorrect parsing of the Beacon
by the Wi-Fi MAC hardware.

Some APs send two beacon frames with different BSSID in a TBTT cycle. After
correctly parsing the beacon of the associated AP, it continue to receive the
other beacon frame, which will cause the MAC to remain in a wait RX/TXING
state, blocking the Wi-Fi go to sleep.
2023-07-20 11:39:41 +08:00
david zuhn
b2134caf0d spelling correction in documentation
Signed-off-by: zhangyanjiao <zhangyanjiao@espressif.com>

Closes https://github.com/espressif/esp-idf/pull/9721
2023-07-20 11:22:09 +08:00
zhangyanjiao
7dddb468f4 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-20 11:21:38 +08:00
morris
acec0ef0ce Merge branch 'contrib/github_pr_11878_v5.0' into 'release/v5.0'
feat(mcpwm): Allow for pull up/down to be configurable on generators (GitHub PR) (v5.0)

See merge request espressif/esp-idf!24894
2023-07-20 11:19:30 +08:00
Song Ruo Jing
1da5dbf899 fix(gpio): fix potential crash when processing gpio isr
If CONFIG_SPIRAM_USE_MALLOC is enabled, and cache is disabled when GPIO ISR is triggered,
it would lead to Guru Meditation Error due to "Cache disabled but cached memory region accessed".

Closes https://github.com/espressif/esp-idf/issues/11876
2023-07-19 20:01:18 +08:00
Jiang Jiang Jian
55976a5bd7 Merge branch 'bugfix/fix_some_bluedroid_bugs_v5.0' into 'release/v5.0'
Fixed some bluedroid bugs (backport v5.0)

See merge request espressif/esp-idf!24861
2023-07-19 17:07:33 +08:00
morris
a87a04992e feat(mcpwm): support open drain output for generator IO
Closes https://github.com/espressif/esp-idf/issues/11877
2023-07-19 16:13:12 +08:00
Anne Brondijk
bf5c09aacd feat(mcpwm): Allow for pull up/down to be configurable on generators 2023-07-19 16:13:11 +08:00
Rahul Tank
baecf8d44f Merge branch 'feature/services_health_therm_v5.0' into 'release/v5.0'
NimBLE: Added health thermometer profile (v5.0)

See merge request espressif/esp-idf!24834
2023-07-19 15:13:20 +08:00
Jiang Jiang Jian
f2973dc4c6 Merge branch 'bugfix/offchan_action_frame_tx_v50' into 'release/v5.0'
Add check to ensure memory allocation for action frame.

See merge request espressif/esp-idf!24611
2023-07-18 21:12:31 +08:00
chenjianhua
902c6973f1 fix(bt/bluedroid): Fix memory leak of gattc cache upon disconnection 2023-07-18 11:44:43 +08:00
chenjianhua
7ca9ca6f90 bluedroid: fixed compile warning when optimize for performance 2023-07-18 11:41:44 +08:00
Jiang Jiang Jian
1853b46a37 Merge branch 'backport_v5.0' into 'release/v5.0'
fix(bt): Fix the issue of not printing the Bluetooth MAC address for ESP32(backport v5.0)

See merge request espressif/esp-idf!24779
2023-07-18 10:52:39 +08:00
Mahavir Jain
f1d060a511 Merge branch 'bugfix/mbedtls_sha_test_fail_when_run_twice_v5.0' into 'release/v5.0'
fix(mbedtls): sha test will fail when run twice (backport v5.0)

See merge request espressif/esp-idf!24828
2023-07-17 20:07:34 +08:00
Mahavir Jain
1315845d75 Merge branch 'fix/mbedtls_internal_shaX_process_api_port_v5.0' into 'release/v5.0'
fix(mbedtls): Fix the port for mbedtls_internal_shaX_process api (v5.0)

See merge request espressif/esp-idf!24810
2023-07-17 17:00:44 +08:00
isha.pardikar@espressif.com
642aba7c03 feat (Nimble): Added Health Thermometer as a service 2023-07-17 14:20:05 +05:30
isha.pardikar@espressif.com
71f5dc4973 NimBLE: Added health thermometer profile 2023-07-17 11:24:04 +05:30
jgujarathi
5037c2ec02 fix(action_tx) : Add check to ensure memory allocation for action frame.
Add check to ensure memory allocation in tx buffers for off channel action frame.
Prints error message in case of allocation failure in esp_wifi_action_tx_req().
2023-07-17 10:57:03 +05:30
Mahavir Jain
3fc6eb9000 Merge branch 'fix/esp_aes_return_values_v5.0' into 'release/v5.0'
fix(mbedtls): fix return values of esp-aes APIs (v5.0)

See merge request espressif/esp-idf!24805
2023-07-17 12:35:24 +08:00
Mahavir Jain
befe69d152 Merge branch 'fix/esp_ptr_check_sign_compare_v5.0' into 'release/v5.0'
fix(esp_hw_support): Fix different signed comparison in `esp_ptr_in_drom` (v5.0)

See merge request espressif/esp-idf!24799
2023-07-17 12:34:22 +08:00
Jiang Jiang Jian
7f2c879d71 Merge branch 'bugfix/split_scan_tx_v50' into 'release/v5.0'
fix(esp_wifi) : Fix collection of issues in sta roam and scan.

See merge request espressif/esp-idf!24576
2023-07-17 11:17:57 +08:00
Jiang Guang Ming
f418a998a9 fix(mbedtls): sha test will fail when run twice 2023-07-17 10:54:32 +08:00
Jiang Jiang Jian
bb89a5769b Merge branch 'bugfix/multiple_btm_rrm_task_v50' into 'release/v5.0'
Fix race conditions in btm task deletion(v5.0)

See merge request espressif/esp-idf!24766
2023-07-17 10:30:15 +08:00
Jiang Jiang Jian
3d015a44d2 Merge branch 'bugfix/sae_crypto_optimization_esp32_v5.0' into 'release/v5.0'
esp_wifi: Optimize sae crypto operations for esp32 (v5.0)

See merge request espressif/esp-idf!24761
2023-07-17 10:29:49 +08:00
Jiang Jiang Jian
87f2e7e415 Merge branch 'bugfix/concurrency_while_eloop_register_v5.0' into 'release/v5.0'
esp_wifi: Bugfix concurrency observed while doing eloop register (v5.0)

See merge request espressif/esp-idf!24571
2023-07-17 10:28:36 +08:00
Jiang Jiang Jian
b0b3e0dc70 Merge branch 'bugfix/esp_netif_recieve_returns_v5.0' into 'release/v5.0'
esp_netif: Report error if esp_netif_receive() fails (v5.0)

See merge request espressif/esp-idf!24656
2023-07-17 10:28:06 +08:00
Jiang Jiang Jian
4c7e65238f Merge branch 'bugfix/lwip_dhcps_hook_types_v5.0' into 'release/v5.0'
lwip: Fix incorrect invocation of the hook `LWIP_HOOK_DHCPS_POST_APPEND_OPTS` (v5.0)

See merge request espressif/esp-idf!24659
2023-07-17 10:27:06 +08:00
Marius Vikhammer
cf83b324d3 Merge branch 'bugfix/ringbuf_static_object_size_v5.0' into 'release/v5.0'
Ringbuf: Fix ordering of StaticRingbuffer_t (v5.0)

See merge request espressif/esp-idf!24594
2023-07-17 10:12:02 +08:00