Commit Graph

19697 Commits

Author SHA1 Message Date
Jiang Jiang Jian
c6a75ac0cd Merge branch 'bugfix/fix_uart_tx_done_hardware_concurrency_v4.3' into 'release/v4.3'
uart: Fix TX side concurrency issues (v4.3)

See merge request espressif/esp-idf!22597
2023-07-25 10:43:44 +08:00
Jiang Jiang Jian
adc016c8e6 Merge branch 'bugfix/fix_gpio_driver_calloc_v4.3' into 'release/v4.3'
fix(gpio): fix potential crash when processing gpio isr (v4.3)

See merge request espressif/esp-idf!24904
2023-07-24 20:06:13 +08:00
Aditya Patwardhan
f0b5277a2c Merge branch 'ci/fix_failures_in_esp_http_client_example_v4.3' into 'release/v4.3'
CI: fix esp_http_client example failures in CI. Timeout was observed in the... (v4.3)

See merge request espressif/esp-idf!24967
2023-07-24 19:20:19 +08:00
Song Ruo Jing
6a80e30839 uart: Fix two TX concurrency issues
1. Concurrency might cause ESP_ERR_TIMEOUT when calling uart_wait_tx_done
2. Concurrency might cause RTS line being de-assreted during tx transmission for rs485 mode
2023-07-24 11:18:38 +00:00
Cao Sen Miao
35e88d5f8f temperature_sensor: Add new interface and reference counts so that phy and driver can use together 2023-07-24 16:55:05 +08:00
Jiang Jiang Jian
637f491ebd Merge branch 'bugfix/sae_and_nvs_fixes_v4.3' into 'release/v4.3'
Fix SAE and SAE related NVS issues (Backport v4.3)

See merge request espressif/esp-idf!24925
2023-07-24 16:02:30 +08:00
Harshit Malpani
bb9d410578
fix(ci): update HTTP client example tests runner assignment
HTTP client example tests now connect with locally hosted httpbin service
for more stable results across multiple runs
2023-07-24 11:47:42 +05:30
Harshit Malpani
b04cca4933
CI: fix esp_http_client example failures in CI. Timeout was observed in the logs while performing HTTP requests. Changing the endpoint when testing in CI 2023-07-24 11:41:19 +05:30
Jiang Jiang Jian
3ebd574487 Merge branch 'test/rtc_8m_d256_v4.3' into 'release/v4.3'
rtc: fixed multiple RTC issues (dangerous power parameters in sleep modes, support S2/C3 different sleep mode) (v4.3)

See merge request espressif/esp-idf!24910
2023-07-24 10:14:27 +08:00
Shyamal Khachane
113a2ceaf7 fix(wifi): Fix SAE and SAE related NVS issues
1. Discard commit frame received at confirmed state in SAE STA
2. Add nvs values for new config params
3. Bugfix NVS get values for sae pwe
4. Bugfix memory leak caused by assoc retry timer and assoc IE
2023-07-22 20:42:45 +05:30
Jiang Jiang Jian
f93805ab5e Merge branch 'bugfix/fix_ftm_dist_est_v4.3' into 'release/v4.3'
FTM calibration update and improvements in FTM (Backport v4.3)

See merge request espressif/esp-idf!24928
2023-07-21 19:21:42 +08:00
Michael (XIAO Xufeng)
e1647e5b02 Merge branch 'bugfix/fix_spi_flash_api_concurrency_issue_v4.3' into 'release/v4.3'
spi_flash: fix concurrency issue when concurrently calling esp_flash apis (v4.3)

See merge request espressif/esp-idf!24516
2023-07-21 16:53:33 +08:00
Aditya Patwardhan
470fbc347f Merge branch 'fix/esp_aes_return_values_v4.3' into 'release/v4.3'
fix(mbedtls): fix return values of esp-aes APIs (v4.3)

See merge request espressif/esp-idf!24808
2023-07-21 16:00:52 +08:00
morris
08aab06556 Merge branch 'bugfix/bod_glitch_reset_c6_v4.3' into 'release/v4.3'
bootloader: fix BOD and glitch reset on C6 and H2 (v4.3)

See merge request espressif/esp-idf!24937
2023-07-21 15:18:29 +08:00
Nachiket Kukade
afca18bbf0 fix(esp_wifi): Update FTM calibration and fix other FTM issues
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 and C3
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 10:34:19 +05:30
Ivan Grokhotkov
e6901634f8 examples: wifi/ftm: make global variables static
Prevents conflict between g_ftm_report_num_entries defined in the
example and in the Wi-Fi library.
2023-07-21 10:17:33 +05:30
Jiang Jiang Jian
f846908135 Merge branch 'bugfix/split_scan_tx_v43' into 'release/v4.3'
Fix collection of issues in sta roam and scan.(v4.3)

See merge request espressif/esp-idf!24885
2023-07-21 11:25:31 +08:00
Xiao Xufeng
a42e6db2fa bootloader: cleanup ana reset config code 2023-07-21 03:28:40 +08:00
Xiao Xufeng
3778687975 bootloader: fixed super watchdog not enabled issue on C3 2023-07-21 03:28:26 +08:00
Xiao Xufeng
77e0c5b553 bootloader: removed unavailable rtc features 2023-07-21 03:28:22 +08:00
Xiao Xufeng
9c75a0fff7 sleep_modes: rename rtc_sleep_enable_adc_tesn_monitor
Partially pick e8b5096f52
2023-07-21 02:50:06 +08:00
harshal.patil
a7f4bb8503 fix(mbedtls): Fixed the transmission of return values of the esp-aes APIs
- Earlier, some intermediate return values were not stored and returned,
thus incorrect return values used to get transmitted to the upper layer of APIs.

- Also, zeroised the output buffer in case of error condition.
2023-07-20 18:56:22 +05:30
Jiang Jiang Jian
7b9ab494e4 Merge branch 'bufix/Backport_some_lwip_bugs_for_4.3_0719' into 'release/v4.3'
lw-ip:backport some lwip bugs for 4.3

See merge request espressif/esp-idf!24909
2023-07-20 13:38:04 +08:00
jgujarathi
984aa78261 fix(esp_wifi) : Fix collection of issues in sta roam and scan.
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.
5) Adds a obss scan timer disarm when a sta disconnects from an AP
2023-07-20 10:09:14 +05:30
hongshuqing
8e911f67b8 fix chip broken bug in monitor mode c3 s2 to v4.4 2023-07-20 03:11:18 +08:00
Xiao Xufeng
f326b7e7a6 ci: Remove fast template build for S3 2023-07-20 03:07:51 +08:00
Michael (XIAO Xufeng)
0fda49b059 test_rtc: add test_app to test power consumption 2023-07-20 03:07:51 +08:00
Michael (XIAO Xufeng)
2e31c8ed52 soc_caps: add SOC_PM_SUPPORT_RTC_PERIPH_PD
Partially pick 6336f8191e
2023-07-20 03:07:51 +08:00
Michael (XIAO Xufeng)
d00d96ae98 pm: putting dbias and pd_cur code into same function 2023-07-20 03:07:51 +08:00
xueyunfei
bb70fa6450 Backport some lwip bugs for 4.3
* Update submodule: git log --oneline 8290c3b8f2adaf82aa45ec992b87f16205f2689b..4f24c9baf9101634b7c690802f424b197b3bb685

Detailed description of the changes:
- lower the dhcp discover and request retry backoff time (esp-lwip@4f24c9ba)
- netdb:fixed bug for getaddrinfo returns null when IPV4 mapped address (esp-lwip@a4d70c7e)
2023-07-19 21:06:58 +08:00
xueyunfei
aa24bfc1df esp_phy:update comments in esp_phy_init.h 2023-07-19 20:31:06 +08:00
Song Ruo Jing
9e7882ba6d 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:04:14 +08:00
Jiang Jiang Jian
258623acf4 Merge branch 'bugfix/fix_some_wifi_bugs_230719_v4.3' into 'release/v4.3'
fix(wifi): fix some wifi bugs 230719 (backport v4.3)

See merge request espressif/esp-idf!24882
2023-07-19 16:36:52 +08:00
zhangyanjiao
2ab431b060 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
4. Vnd ie callback can be set to null
5. Check the second channel info when bandwidth is ht40
6. Fix softap qos null issue
7. Fix the mac bug that hardware parse beacon of ie length equal to zero
8. Remove waiting RX/TXING during hw mac deinit
2023-07-19 12:47:57 +08:00
Rotzbua
7358881dd4 doc: remove WEP as security mode
Signed-off-by: zhangyanjiao <zhangyanjiao@espressif.com>

Closes https://github.com/espressif/esp-idf/pull/10015
2023-07-19 11:34:31 +08:00
david zuhn
5bce0abff8 spelling correction in documentation
Signed-off-by: zhangyanjiao <zhangyanjiao@espressif.com>

Closes https://github.com/espressif/esp-idf/pull/9721
2023-07-19 11:34:08 +08:00
zhangyanjiao
05695f7cba 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-19 11:32:33 +08:00
Jiang Jiang Jian
a29d767e4e Merge branch 'lwip/dhcp_fine_tmr_bug_fix_backport' into 'release/v4.3'
lwip/dhcp: Fixed ondemand fine timers leakage bug (v4.3)

See merge request espressif/esp-idf!24299
2023-07-19 10:03:12 +08:00
Jiang Jiang Jian
a93ccc188e Merge branch 'bugfix/fix_some_wifi_bugs_230717_v4.3' into 'release/v4.3'
fix(wifi): fix some wifi bugs 230717 (Backport v4.3)

See merge request espressif/esp-idf!24860
2023-07-18 21:15:40 +08:00
Abhik Roy
84d93a31dd lwip/dhcp: Fixed ondemand fine timers leakage bug.
Fixed ondemand fine timers bug, that allowed only one dhcp client to run at a time without issue.
2023-07-18 04:02:22 +00:00
muhaidong
82a3693a4e fix(wifi): missed annotate ld function from txop fix 2023-07-18 11:04:48 +08:00
Jiang Jiang Jian
e8f2f5eceb Merge branch 'bugfix/multiple_btm_rrm_task_v43' into 'release/v4.3'
Fix race conditions in btm task deletion(v4.3)

See merge request espressif/esp-idf!24832
2023-07-18 10:49:43 +08:00
Jiang Jiang Jian
e45f7900a0 Merge branch 'bugfix/fix_some_bluedroid_bugs_v4.3' into 'release/v4.3'
Fixed some bluedroid bugs( backport v4.3)

See merge request espressif/esp-idf!24842
2023-07-18 10:49:26 +08:00
Roland Dobai
b3a98e2971 Merge branch 'pkg_resources_deprecation-v4.3' into 'release/v4.3'
fix(tools/python_dep_check): replace deprecated pkg_resources with importlib (backport v4.3)

See merge request espressif/esp-idf!24821
2023-07-17 22:56:05 +08:00
muhaidong
b2aa2eb384 esp_wifi: fix some txop issues 2023-07-17 20:24:28 +08:00
muhaidong
e9d414dea7 esp_supplicant: When the softAP authentication mode is set to WPA2_PSK, WPA2_WPA3_PSK, or WPA3_PSK, the pairwise cipher will be overwritten with WIFI_CIPHER_TYPE_CCMP 2023-07-17 20:19:25 +08:00
muhaidong
520e67b5bb 1. fix set inactive time crash issue 2023-07-17 20:11:50 +08:00
chenjianhua
2d1e936062 fix(bt/bluedroid): Fix memory leak of gattc cache upon disconnection 2023-07-17 16:36:45 +08:00
chenjianhua
a88e680fc8 bluedroid: fixed gatt tcb free when disconnecting 2023-07-17 16:36:45 +08:00
chenjianhua
2a9ded6195 bluedroid: fixed compile warning when optimize for performance 2023-07-17 16:36:45 +08:00