Commit Graph

19439 Commits

Author SHA1 Message Date
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
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
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
Peter Dragun
bbdaa0b3e1 fix(tools/python_dep_check): replace deprecated pkg_resources with importlib 2023-07-17 10:18:28 +02:00
Jiang Jiang Jian
b4494e6a11 Merge branch 'bugfix/sae_crypto_optimization_esp32_v4.3' into 'release/v4.3'
esp_wifi: Optimize sae crypto operations for esp32 (v4.3)

See merge request espressif/esp-idf!24763
2023-07-17 14:58:49 +08:00
Jiang Jiang Jian
7839ba508a Merge branch 'bugfix/btm_scan_done_crash_v43' into 'release/v4.3'
fix(wpa_supplicant) : Fix occasional crash during btm roam.

See merge request espressif/esp-idf!24734
2023-07-17 14:40:29 +08:00
jgujarathi
8fa90c2234 fix(esp_wifi): Fix race conditions in btm task deletion.
Fix possible cases of multiple btm_rrm_t tasks due to possible race
condition during btm task deletion.
2023-07-17 10:27:04 +05:30
Jiang Jiang Jian
328e1519cb Merge branch 'backport_v4.3' into 'release/v4.3'
fix(bt): Fix the issue of not printing the Bluetooth MAC address for ESP32(backport v4.3)

See merge request espressif/esp-idf!24777
2023-07-17 10:34:44 +08:00
zhanghaipeng
a2c9469e6c 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-13 16:20:51 +08:00
zhanghaipeng
ad3414cbd6 fix(bt): Fix ble advertising data length 0 error
- Fixed an issue where the BLE advertisement length of 0 was causing an error
2023-07-13 16:20:50 +08:00
Kapil Gupta
b0e4888063 esp_wifi: Optimize sae crypto operations for esp32 2023-07-13 09:47:44 +05:30