Karl Wang
6c0c837378
component/bt: allocate and use one static buffer for HCI adv flow control command
2022-08-03 21:55:06 +08:00
wangmengyang
aaf1d3909d
component/bt: use fixed_pkt_queue instead of fixed_queue for hci commands
...
some fixes after modifications:
1. removed the use of waiting_command_t
2. fix assert for HCI write_eir command
3. fixed the crash upon handling command status event when trying to free to the HCI command buffer
4. fixed the issue in transmitting HCI vendor specific commands
5. fixed the lost command complete callbacks for HCI commands LE_RAND and LE_ENCRYPT
2022-08-03 21:55:05 +08:00
wangmengyang
c3f5b85032
component/bt: add a timer to monitor the adv flow control credits downwards procedure
2022-08-03 21:55:04 +08:00
wangmengyang
b735c46ba7
component/bt: fix adv report flow control logic, give ADV report credits every 10 packets
2022-08-03 21:55:03 +08:00
wangmengyang
2ef0627c2c
component/bt: add simple ADV flow control mechanism -- drop the packets when the adv report queues are considered full
2022-08-03 21:55:02 +08:00
wangmengyang
dcf173c95a
component/bt: use the OSI utility "osi_event" to handle adv report in btc_layer
2022-08-03 21:55:01 +08:00
wangmengyang
c9ebba2ddf
component/bt: use the OSI utility "pkt_queue" to store ADV report packet in btu layer
...
# Conflicts:
# components/bt/host/bluedroid/hci/hci_hal_h4.c
2022-08-03 21:54:52 +08:00
wangmengyang
71c072cc8c
component/bt: use the OSI utility "osi_event" for hci_hal_h4 upstream data packets handling
2022-08-03 21:50:38 +08:00
wangmengyang
88af2c548f
component/bt: use the OSI utility "osi_event" to handle A2DP source data Tx processing
2022-08-03 21:50:37 +08:00
wangmengyang
ceb4096287
component/bt: use the OSI utility "osi_event" to handle A2DP sink data Rx processing
2022-08-03 21:50:36 +08:00
wangmengyang
93d4306aff
component/bt: add new OSI utility "fixed_pkt_queue", which has same functionality with "fixed_queue"
2022-08-03 21:50:35 +08:00
Karl Wang
96cbdee383
component/bt: add new OSI utility "pkt_queue" which acts as a mutex-protected linked list, to be used as data queue between tasks
2022-08-03 21:50:34 +08:00
wangmengyang
6edcab3885
component/bt: add new OSI utility "osi_event" to support the scenario that event need only to be handle once.
2022-08-03 21:50:33 +08:00
wangmengyang
1e06076c3c
component/bt: make OSI thread workqueue length configurable through API
...
reduce the length of workqueue1 for BTC and HCI task
# Conflicts:
# components/bt/common/osi/thread.c
2022-08-03 21:50:32 +08:00
wangmengyang
d635d8f361
component/bt: modify the implementation of osi_thread using freeRTOS queue
2022-08-03 21:50:31 +08:00
Roland Dobai
ce1fde4b3b
Merge branch 'update/version_4_4_2' into 'release/v4.4'
...
Update version to 4.4.2
See merge request espressif/esp-idf!19346
2022-08-03 20:45:40 +08:00
Roland Dobai
1b16ef6cfc
versions: Update version to 4.4.2
2022-08-02 14:06:15 +02:00
Jiang Jiang Jian
6d85d53cee
Merge branch 'bugfix/qatest_spp_crash_v4.4' into 'release/v4.4'
...
bugfix/qatest spp crash (v4.4)
See merge request espressif/esp-idf!19238
2022-07-28 16:06:56 +08:00
Jiang Jiang Jian
e26a02d783
Merge branch 'bugfix/temp_fix_clk8m_and_cpu_cannot_pd_at_the_same_time_backport_v4.4' into 'release/v4.4'
...
esp_hw_support/sleep: fix cannot pd cpu and rc fast at the same time during light sleep(backport v4.4)
See merge request espressif/esp-idf!19266
2022-07-28 16:06:16 +08:00
jingli
23d934429c
esp_hw_support/sleep: fix cannot pd cpu and rc fast at the same time during light sleep
...
Since cpu retention dma use rc fast as clk source, so rc_fast_digi
will be enabled when we config to pd cpu. And cpu retention does not
need rc fast keep on during light sleep. So, if we use rc_fast_digi
to determine whether rc fast can be powered down, then cpu and and
rc fast cannot pd at the same time.
2022-07-28 11:24:40 +08:00
jincheng
a066de7fec
1. add protect for bt_util_buf_env buffers when multi-access
...
2. ignore assert_err in em_bt_clkoff1_setf
2022-07-27 18:01:12 +08:00
Jiang Jiang Jian
14903a46d1
Merge branch 'bugfix/optimize_beacon_timeout_issue_4.4' into 'release/v4.4'
...
esp_wifi:bugfix optimize beacon timeout issue(4.4)
See merge request espressif/esp-idf!19157
2022-07-25 15:48:57 +08:00
Jiang Jiang Jian
47b6a8c85a
Merge branch 'bugfix/phy_init_failed_when_wifi_deinit_4.4' into 'release/v4.4'
...
esp_wifi:bugfix for phy init failed when wifi deinit(4.4)
See merge request espressif/esp-idf!19137
2022-07-25 10:52:28 +08:00
Jiang Jiang Jian
145c3cd000
Merge branch 'bugfix/wps_disable_disconnect_v4.4' into 'release/v4.4'
...
WiFi: Do not disconnect in WPS disable API incase WPS is done/scanning (v4.4)
See merge request espressif/esp-idf!19148
2022-07-22 15:13:54 +08:00
xueyunfei
91dc99a3ce
esp_wifi:bugfix optimize beacon timeout issue
2022-07-21 10:57:20 +08:00
Kapil Gupta
f42fd4236c
WiFi: Do not disconnect in WPS disable incase WPS is done/scanning
...
Closes https://github.com/espressif/esp-idf/issues/9341
2022-07-20 18:17:45 +05:30
xueyunfei
1a17610895
bugfix for phy init failed when wifi deinit
2022-07-20 15:14:34 +08:00
Jiang Jiang Jian
f0a3ccc732
Merge branch 'ci/support_nightly_build_keyword_in_ttfw_v4.4' into 'release/v4.4'
...
ci: support keyword `nightly_run` in ttfw_idf decorator (v4.4)
See merge request espressif/esp-idf!18946
2022-07-18 21:20:28 +08:00
Jiang Jiang Jian
ee2029c38a
Merge branch 'update_v4.4/mbedtls_v2.28.1' into 'release/v4.4'
...
mbedtls: Update to release v2.28.1 (v4.4)
See merge request espressif/esp-idf!19041
2022-07-14 22:51:26 +08:00
morris
f69e6b3714
Merge branch 'bugfix/rgb_panel_set_gap_v4.4' into 'release/v4.4'
...
rgb_lcd: fix error in rgb_panel_set_gap
See merge request espressif/esp-idf!19051
2022-07-14 20:35:05 +08:00
Jiang Jiang Jian
c9119cbcef
Merge branch 'docs/update_wifi_beacon_timeout_doc_v4.4' into 'release/v4.4'
...
docs: update wifi beacon timeout docs (v4.4)
See merge request espressif/esp-idf!19044
2022-07-14 18:10:12 +08:00
morris
dee1bd1a24
rgb_lcd: fix error in rgb_panel_set_gap
...
Closes https://github.com/espressif/esp-idf/issues/9279
2022-07-14 16:52:55 +08:00
muhaidong
4b79600876
docs: add WIFI_EVENT_STA_BEACON_TIMEOUT event docs.
2022-07-14 15:38:33 +08:00
muhaidong
91a315f7c0
docs: update wifi beacon timeout docs
2022-07-14 15:38:33 +08:00
Laukik Hase
f7c20f3718
mbedtls: Update to release v2.28.1
...
- Changelog: https://github.com/Mbed-TLS/mbedtls/releases/tag/v2.28.1
2022-07-14 10:01:39 +05:30
Jiang Jiang Jian
d446c4a18f
Merge branch 'bugfix/fix_beacon_timeout_timer_assert_issue_v4.4' into 'release/v4.4'
...
esp_wifi: fix sta reset beacon timeout timer issue(Backport v4.4)
See merge request espressif/esp-idf!19035
2022-07-14 11:25:14 +08:00
Jiang Jiang Jian
8dbe7582a9
Merge branch 'bugfix/print_ready_after_init_transaction_forv4.4' into 'release/v4.4'
...
ble_mesh:example:change the location of print ready(V4.4)
See merge request espressif/esp-idf!19028
2022-07-14 11:24:48 +08:00
Jiang Jiang Jian
c074da530b
Merge branch 'feature/temp_sensor_v4.4' into 'release/v4.4'
...
temperature sensor: Add support on ESP32-S3 (backport v4.4)
See merge request espressif/esp-idf!18718
2022-07-14 10:51:43 +08:00
Jiang Jiang Jian
5744a18555
Merge branch 'docs/update_linker_script_generation_v4.4' into 'release/v4.4'
...
docs:update linker script generation (v4.4)
See merge request espressif/esp-idf!19039
2022-07-14 10:50:09 +08:00
Linda
5b816c8551
docs:update linker script generation
2022-07-14 10:27:49 +08:00
Michael (XIAO Xufeng)
e33df4d5b5
Merge branch 'bugfix/flash_encryption_8l_psram_v4.4' into 'release/v4.4'
...
flash_encryption: Fix issue that flash encryption cannot work when 8-line psram enabled(backport v4.4)
See merge request espressif/esp-idf!19023
2022-07-13 23:33:06 +08:00
muhaidong
9f0532bdf3
esp_wifi: fix sta reset beacon timeout timer issue
2022-07-13 20:37:38 +08:00
Yuan Hong Hui
c2fe9327f2
ble_mesh:change the location of print ready
2022-07-13 17:58:39 +08:00
Cao Sen Miao
daceb3516d
temperature sensor: Add support on ESP32-S3,
...
Closes https://github.com/espressif/esp-idf/issues/8086
2022-07-13 17:22:59 +08:00
Cao Sen Miao
8538153616
flash_encryption: Fix issue that flash encryption cannot work when 8-line psram enabled,
...
Closes https://github.com/espressif/esp-idf/issues/9244 ,
Closes https://github.com/espressif/esp-idf/issues/9287
2022-07-13 17:20:38 +08:00
Jiang Jiang Jian
322a2240f1
Merge branch 'bugfix/eapol_drop_issue_v4.4' into 'release/v4.4'
...
esp_wifi: clear old keys before going for new connection(backport v4.4)
See merge request espressif/esp-idf!18996
2022-07-13 15:40:11 +08:00
Jiang Jiang Jian
b68fd2b88f
Merge branch 'bugfix/fix_memory_leak_in_hidh_v4.4' into 'release/v4.4'
...
Fix memory leak in bt_hidh.c[backport 4.4]
See merge request espressif/esp-idf!19007
2022-07-13 14:03:32 +08:00
Jiang Jiang Jian
dfb75aa230
Merge branch 'feature/uart_get_free_tx_buffer_size_v4.4' into 'release/v4.4'
...
uart: Add a new API to get the free space size of tx buffer (backport v4.4)
See merge request espressif/esp-idf!18977
2022-07-13 10:56:44 +08:00
Jiang Jiang Jian
bd7269411a
Merge branch 'bugfix/wifi_sta_and_ble_disconnect_BCI-303_v4.4' into 'release/v4.4'
...
component_bt: Fix wifi is initialized before bluetooth initialization, bluetooth can't stay connected(v4.4)
See merge request espressif/esp-idf!18999
2022-07-13 00:13:03 +08:00
Jiang Jiang Jian
327624b04c
Merge branch 'bugfix/correct_blecmd_for_rf_path_v4.4' into 'release/v4.4'
...
Bluedroid: Fixed compilation error due to incorrect macro name (v4.4)
See merge request espressif/esp-idf!18994
2022-07-12 20:32:02 +08:00