9343 Commits

Author SHA1 Message Date
Xia Xiaotian
89c036498e esp_wifi: refactor PHY access
- Simplify PHY access API
- Move coexist initializing and deinitializing out from PHY API
  to Wi-Fi and Bluetooth
- Remove coexist pause and resume for they are no longer needed.
2022-02-24 14:35:48 +08:00
Michael (XIAO Xufeng)
77f6dea505 Merge branch 'bugfix/ledc_consecutive_fade_v4.1' into 'release/v4.1'
ledc: Bugfixes for issues related to fade protection (backport v4.1)

See merge request espressif/esp-idf!16957
2022-02-23 04:17:21 +00:00
Michael (XIAO Xufeng)
89b9ffbee7 Merge branch 'fix/sdio_slave_recv_intr_unhandled_v4.1' into 'release/v4.1'
sdio_slave: fixed the issue that interrupt may be cleared with finished trans unhandled (v4.1)

See merge request espressif/esp-idf!17151
2022-02-22 08:52:20 +00:00
Michael (XIAO Xufeng)
b183ef2586 esp_flash: fix write issue using buffer on stack out of lifetime 2022-02-20 03:25:37 +08:00
Wang Meng Yang
605fb98948 Merge branch 'bugfix/config_parse_crash_after_flash_erase_v4.1' into 'release/v4.1'
component_bt: fixed config parse crash after flash_erase(v4.1)

See merge request espressif/esp-idf!16732
2022-02-18 05:01:40 +00:00
Jiang Jiang Jian
e3433724cc Merge branch 'bugfix/fix_ble_adv_underrun_error_v4.1' into 'release/v4.1'
components/bt: Fix ble adv_underrun issue(backport v4.1)

See merge request espressif/esp-idf!17167
2022-02-17 04:49:18 +00:00
Zim Kalinowski
ea815ca751 Merge branch 'bugfix/sdio_slave_dma_desc_int_v4.1' into 'release/v4.1'
sdio_slave: Fixed the issue that DMA descriptors allocated to non-DMA capable area (v4.1)

See merge request espressif/esp-idf!17140
2022-02-16 13:24:18 +00:00
xiewenxiang
abcd2a7c9e components/bt: Fix ble adv_underrun issue
components/bt: Fix LLCP collision for channel map update
2022-02-16 00:30:05 +08:00
songruojing
08efd3e495 ledc: Fix FADE_NO_WAIT mode concurrency problem.
Add test cases for fade concurrency issue and fade timing check.

Closes https://github.com/espressif/esp-idf/issues/6710

(cherry picked from commit be2ab0983216d4d298b219ea21d75433efdae98c)
2022-02-15 12:43:08 +08:00
songruojing
370d24d001 ledc: Simplify the procedure to perform a one-time duty update
Avoid adding one extra fade cycle when performing a one-time duty update.
Add some notes to ledc_get_duty and ledc_update_duty APIs, so that users
are aware of when the new duty will be effective.

Closes https://github.com/espressif/esp-idf/issues/7288

(cherry picked from commit e175086226405ca5dfd0b0cdde917b0ad8330827)
2022-02-15 12:43:08 +08:00
xiongweichao
52f6ed8646 btc_a2dp_control_set_datachnl_stat is only used by a2dp sink 2022-02-15 11:56:45 +08:00
xiongweichao
b432340266 remove btc_a2dp_dispatch_datapath_evt and event 2022-02-15 11:56:45 +08:00
xiongweichao
cd05f5252a Fixed the crash caused by calling esp_a2d_media_ctrl(ESP_A2D_MEDIA_CTRL_START) after stream started 2022-02-15 11:56:45 +08:00
xiongweichao
b29ec46c88 Fixed a2dp source audio data packet congestion causing choppy audio in a2dp sink 2022-02-15 11:56:44 +08:00
Wang Meng Yang
8c1aa176f2 Merge branch 'bugfix/clear_whitelist_v4.1' into 'release/v4.1'
Nimble : Modify `ble_gap_wl_set` to support clearing complete whitelist (v4.1)

See merge request espressif/esp-idf!17142
2022-02-15 03:20:41 +00:00
Michael (XIAO Xufeng)
ece06a9016 sdio_slave: fixed the issue that interrupt may be cleared with finished trans unhandled 2022-02-15 00:02:02 +08:00
Jiang Jiang Jian
6ebe70287c Merge branch 'bugfix/wps_fixes_v4.1' into 'release/v4.1'
wpa_supplicant: Add WPS Fixes (backport V4.1)

See merge request espressif/esp-idf!17061
2022-02-14 13:05:05 +00:00
Rahul Tank
eee592d809 Nimble : Modify ble_gap_wl_set to support clearing complete whitelist 2022-02-14 16:44:57 +05:30
Michael (XIAO Xufeng)
786bbc26eb sdio_slave: fixed the issue DMA desc not capable 2022-02-14 12:58:14 +08:00
Michael (XIAO Xufeng)
7916c4079c Merge branch 'flash/add_th_support_v4.1' into 'release/v4.1'
spi_flash: add support for th 1M flash(backport v4.1)

See merge request espressif/esp-idf!16719
2022-02-14 04:46:59 +00:00
Michael (XIAO Xufeng)
793b1cc8e8 Merge branch 'feature/support_new_psram_v4.1' into 'release/v4.1'
psram: add ESP32-D0WD-R2-V3 support(backport v4.1)

See merge request espressif/esp-idf!16711
2022-02-13 14:46:01 +00:00
Wang Meng Yang
5ea980e80c Merge branch 'bugfix/rd_rem_ext_feats_delayed_cs_v4.1' into 'release/v4.1'
bugfix/fix cs event for rd_rem_ext_feats delayed issue (v4.1)

See merge request espressif/esp-idf!16816
2022-02-10 09:46:44 +00:00
jincheng
c726a25d98 fix cs event for rd_rem_ext_feats delayed issue 2022-02-10 15:40:41 +08:00
xiongweichao
f5516d661c fixed config parse crash after flash_erase
Closes https://github.com/espressif/esp-idf/issues/6170
2022-02-09 19:20:20 +08:00
Kapil Gupta
9f70b89794 wpa_supplicant: Add WPS Fixes
Add following bugfixes

1. Station not able to connect when WPS pin is pressed first on AP.
2. PBC overlap getting detected for selected registrar PIN APs.
3. Station not considering authorised MACs for PIN method.
4. For PIN methodm If no AP is found, station will loop through
   APs in its vicinity and try to do WPS with them one by one till
   WPS timeout occurs. This is for some APs which do not set
   selected registrar correctly.
2022-02-08 17:09:41 +05:30
Michael (XIAO Xufeng)
d199dc421d Merge branch 'bugfix/modbus_add_task_affinity_and_callbacks_v41' into 'release/v4.1'
freemodbus: add affinity option for modbus stack tasks (backport v4.1)

See merge request espressif/esp-idf!14543
2022-02-07 09:44:38 +00:00
Jiang Jiang Jian
df2856c13d Merge branch 'bugfix/wps_wfa_cert_fixes_v4.1' into 'release/v4.1'
wpa_supplicant: Add WPS strict in config option(backport v4.1)

See merge request espressif/esp-idf!14229
2022-01-28 13:04:12 +00:00
Jiang Jiang Jian
fb948175f8 Merge branch 'bugfix/alarm_update_invalid_v4.1' into 'release/v4.1'
timer: stop alarm if alarm value doesn't change in ISR callback (v4.1)

See merge request espressif/esp-idf!16535
2022-01-28 09:26:54 +00:00
aditi_lonkar
d9ed6d93e9 wpa_supplicant: Add WPS strict in config option
WPS strict disables workarounds with different APs and may cause
IOT issues. Remove this as default and introduce as a config option.

Also declare esp device as single band mobile device otherwise
WFA sniffer was not able to identify it in the certification setup.
2022-01-28 16:52:51 +08:00
Jiang Jiang Jian
4066200d98 Merge branch 'bugfix/fix_spp_open_err_bda_v4.1' into 'release/v4.1'
Component_bt/Fix SPP acceptor open with wrong remote address[backport 4.1]

See merge request espressif/esp-idf!16616
2022-01-28 08:47:25 +00:00
Jiang Jiang Jian
916e3ef1f1 Merge branch 'bugfix/fix_tbtt_and_phy_issues_v4.1' into 'release/v4.1'
esp_wifi: fix tbtt and phy issues (Backport v4.1)

See merge request espressif/esp-idf!16842
2022-01-27 10:29:15 +00:00
zhangyanjiao
3410711f9b esp_wifi:
1. fix the issue that no tbtt is generated in station+softap mode when maximum modem sleep is enabled
2. update libphy.a to V4670 719f9f6_20210218 for esp32
2022-01-27 14:37:28 +08:00
Michael (XIAO Xufeng)
9bc21c4906 spi_flash_test: remove threshold from unit test 2022-01-18 16:34:19 +08:00
yuanjm
b59e3b88b6 smartconfig: Fix smartconfig set socket option fail 2022-01-12 14:56:22 +08:00
Cao Sen Miao
0fc751ad6c spi_flash: add support for th 1M flash 2022-01-10 11:58:57 +08:00
Cao Sen Miao
19d2a765d3 psram: add ESP32-D0WD-R2-V3 support 2022-01-10 11:13:00 +08:00
Jiang Jiang Jian
b84233626e Merge branch 'bugfix/set_authmode_by_switching_number_to_string_v4.1' into 'release/v4.1'
CI: set authmode by switching number to string (backport v4.1)

See merge request espressif/esp-idf!16556
2022-01-06 10:10:27 +00:00
liqigan
09d97a007b fix SPP open with wrong remote bd_addr 2021-12-31 15:48:48 +08:00
Zim Kalinowski
fa9ca143c1 Merge branch 'bugfix/ringbuf_read_pointer_wrap_v4.1' into 'release/v4.1'
ringbuf: Fix bug where comparision between a signed and unsigned operand resulted in incorrect free size for no-split/allow-split buffers (v4.1)

See merge request espressif/esp-idf!15884
2021-12-30 02:23:29 +00:00
Jiang Jiang Jian
ebf628e4ae Merge branch 'feature/support_ble_direct_ind_low_adv_v4.1' into 'release/v4.1'
components/bt: Support low duty cycle directed advertising(backport release/v4.1)

See merge request espressif/esp-idf!16380
2021-12-29 06:09:51 +00:00
huchaoru
9e9be2538d bugfix: set authmode by switching number to string (backport v4.1) 2021-12-27 20:01:58 +08:00
Sudeep Mohanty
30cd5a6f0f ringbuf: Fix bug where comparision between a signed and unsigned operand resulted in incorrect free size for no-split/allow-split buffers
This commit fixes a bug in no-split and allow-split ring buffers free buffer size calculation.
When the free size available in the buffers less than the size of one item header,
the function prvGetCurMaxSizeNoSplit/AllowSplit() incorrectly returned the maxItemSize instead of 0.
This is due to the comparision between a negative and a positive value
where both operands are treated as unsigned during the comparision operation,
thereby treating the negative operand as a large integer.

Also added new unit tests to test buffer-full and almost-full conditions
where this scenario is likely to be hit.

Closes https://github.com/espressif/esp-idf/issues/7344
Closes https://github.com/espressif/esp-idf/pull/7371
2021-12-27 15:13:52 +08:00
Jiang Jiang Jian
6cd99a7ebd Merge branch 'bugfix/fix_rx_fragment_error_issue_v4.1' into 'release/v4.1'
esp_wifi: fix fragment issue and PMF compatible for faulty APs(Backport v4.1)

See merge request espressif/esp-idf!16400
2021-12-24 08:39:09 +00:00
Sudeep Mohanty
0a68ce5952 Merge branch 'bugfix/ringbuf_send_semaphore_release_order_v4.1' into 'release/v4.1'
esp_ringbuf: Fix order of semaphore release in xRingbufferSend (v4.1)

See merge request espressif/esp-idf!16232
2021-12-24 06:16:16 +00:00
morris
7abb92fbea timer: stop alarm if alarm value doesn't change in ISR handler
Alarm will be disabled by hardware when alarm event happend.
In the ISR, if auto-reload is enabled, we should re-enable the alarm.
If the alarm target value is changed in user's callback,
the alarm will be reenabled as well.

Closes https://github.com/espressif/esp-idf/issues/7001
Closes https://github.com/espressif/esp-idf/issues/8095
2021-12-24 13:10:49 +08:00
Jiang Jiang Jian
2515d115fe Merge branch 'feature/mbedtls-2.16.12-integration_v4.1' into 'release/v4.1'
mbedtls: upgrade to release v2.16.12 (v4.1)

See merge request espressif/esp-idf!16486
2021-12-24 03:21:59 +00:00
Zim Kalinowski
2b23f04968 Merge branch 'bugfix/fix_select_timeout_v4.1' into 'release/v4.1'
VFS: `select` function's timeout is now POSIX compliant (backport v4.1)

See merge request espressif/esp-idf!16192
2021-12-22 05:50:32 +00:00
Mahavir Jain
b47a7353ac mbedtls: upgrade to release v2.16.12
For release notes, please refer to:
https://github.com/ARMmbed/mbedtls/releases/tag/v2.16.12
2021-12-21 14:08:11 +05:30
Wang Meng Yang
284fa65271 Merge branch 'bugfix/fix_spp_listen_err_v4.1' into 'release/v4.1'
Component_bt/Fix SPP cannot malloc slot bugs[backport v4.1]

See merge request espressif/esp-idf!16386
2021-12-21 08:01:18 +00:00
Jiang Jiang Jian
0d500b84df Merge branch 'doc/nvs_get_used_entry_count__clarify_4.1' into 'release/v4.1'
[doc]: NVS documentation updates (backport 4.1)

See merge request espressif/esp-idf!16431
2021-12-21 03:33:25 +00:00