Jiang Jiang Jian
aa81e5bbbe
Merge branch 'bugfix/fix_bt_sphinx_warnings_4.4' into 'release/v4.4'
...
components_bt: fix unstandard typedefs [backport v4.4]
See merge request espressif/esp-idf!19338
2022-08-04 14:41:28 +08:00
Jiang Jiang Jian
6770180781
Merge branch 'bugfix/fix_write_to_null_pointer_if_malloc_failed_issue_v4.4' into 'release/v4.4'
...
Bugfix/fix write to null pointer if malloc failed issue(Backport v4.4)
See merge request espressif/esp-idf!19352
2022-08-04 14:41:17 +08:00
Jiang Jiang Jian
40a8214314
Merge branch 'feature/esp_lcd_spi_rx_v4.4' into 'release/v4.4'
...
Add support SPI rx into LCD component (backport v4.4)
See merge request espressif/esp-idf!19122
2022-08-04 14:41:03 +08:00
Jiang Jiang Jian
824a5547b7
Merge branch 'feature/wifi_beacon_loss_optimize_v4.4' into 'release/v4.4'
...
backport v4.4: beacon loss and noise check timer optimize for wifi power save
See merge request espressif/esp-idf!19172
2022-08-04 14:23:14 +08:00
Li Shuai
e4c5e5a701
sleep: beacon loss and noise check timer optimize for wifi power save
2022-08-04 12:11:39 +08:00
Mahavir Jain
c0d04787ca
Merge branch 'feature/rainmaker_BT_configurable_v4.4' into 'release/v4.4'
...
Wifi_prov_mgr: Made BT configurable after provisioning is completed (v4.4)
See merge request espressif/esp-idf!19263
2022-08-04 11:49:36 +08:00
Mahavir Jain
6854841267
Merge branch 'contrib/github_pr_9446_v4.4' into 'release/v4.4'
...
Add missing comma (GitHub PR) (v4.4)
See merge request espressif/esp-idf!19307
2022-08-04 11:47:02 +08:00
Roland Dobai
b2770bd18e
Merge branch 'tools/mfg_fix_blank_lines_csv_v4.4' into 'release/v4.4'
...
tools: Introduce support for blank lines in config and value files for mfg utility (v4.4)
See merge request espressif/esp-idf!19253
2022-08-03 22:49:14 +08:00
Roland Dobai
575d28e56c
Merge branch 'contrib/github_pr_9408_v4.4' into 'release/v4.4'
...
nvs_partition_gen: Allow up to 4000 byte strings with NVS V2 (GitHub PR) (v4.4)
See merge request espressif/esp-idf!19306
2022-08-03 22:49:02 +08:00
Roland Dobai
8ed69bd03a
Merge branch 'bugfix/s3_dfu_tool_v4.4' into 'release/v4.4'
...
dfu: add esp32s3 to supported DFU targets for idf.py (v4.4)
See merge request espressif/esp-idf!19166
2022-08-03 22:48:44 +08:00
Karl Wang
e5a96aaca6
component/bt: use OSI utility "osi_event" for HCI downstream data processing
2022-08-03 21:55:08 +08:00
wangmengyang
c6c4a23098
component/bt: consider to handle HCI LE Direct Advertising Report
2022-08-03 21:55:07 +08:00
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
Oleg Savchenko
2c59eb0bca
fix possible memory leak if report level not set
2022-08-02 20:42:44 +08:00
Oleg Savchenko
007381cf82
fix write to null pointer if malloc failed
2022-08-02 20:42:38 +08:00
Roland Dobai
1b16ef6cfc
versions: Update version to 4.4.2
2022-08-02 14:06:15 +02:00
weitianhua
72fd3bc1e6
component_bt: Fix build doc errors of bt
...
1. bluedroid: use standard function pointer define.
2. blufi: Change ESP_BD_ADDR_LEN into ESP_BLUFI_BD_ADDR_LEN
3. doc/sphinx_known_warnings: Remove fixed parts.
2022-08-02 13:39:36 +08:00
xiongweichao
c4491c352d
fix legacy pair controller does not send the link key to the host
...
Closes https://github.com/espressif/esp-idf/issues/5850
2022-08-01 19:07:16 +08:00
weitianhua
5b648b8452
components_bt/bluedroid: Fix Memory&String Copy Build Err
...
1. When setting compilier into -O2 optimization, build for classic bt demo will get wrong
2. Fix a memcpy bug that maybe get memory truncated
Closes https://github.com/espressif/esp-idf/issues/9398
2022-08-01 14:27:56 +08:00
FanhuaCloud
dc626195f0
Add missing comma
...
Add missing comma when CONFIG_ESP32S3_DATA_CACHE_16KB is enabled
2022-08-01 09:17:40 +05:30
Angus Gratton
b765963c7c
nvs_partition_gen: Allow up to 4000 byte strings with NVS V2
...
As documented, the limit for NVS format v2 is 4000 bytes for a string.
2022-08-01 09:12:39 +05:30
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
236bd27134
further fix spi flash/ram current leakage
...
Currently, we pull up cs io for spi flash/ram to reduce current leakage during
light sleep. But some kind of spi flash/ram chip need all io pull up. Otherwise,
current leakage will still exist.
2022-07-28 13:11:55 +08:00
jingli
0d83001bd4
docs: fix docs of power down flash
2022-07-28 13:10:55 +08:00
jingli
5f2855882b
kconfig: fix kconfig help of power down flash
2022-07-28 13:10:55 +08:00
Yuan Hong Hui
6b6fa902ed
ble_mesh:the memory requested by malloc has not benn released
2022-07-28 11:35:22 +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
wanlei
92abac1fd8
psram: fixed heap pool reservation for DMA/internal usage fail issue
...
As heap block may be allocated into multiple non-continuous chunks, to
reserve enough memory for dma/internal usage, we do the malloc in the
step of max available block.
2022-07-28 10:12:17 +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
Isha Pardikar
eb490dc18e
Merge branch 'feature/rainmaker_BT_configurable' into 'release/v4.4'
...
Doc: Made bluetooth configurable after wifi provisioning is completed
See merge request espressif/esp-idf!19263
2022-07-27 12:24:50 +05:30
Djordje Nedic
b654c14d0e
tools: Introduce support for blank lines in config and value files for mfg utility
...
Some users have requested this feature.
In order to avoid complete refactoring or introducing more code complexity, a design choice to create temporary files without blank lines is made.
Additionally, an extension check is added and there are multiple smaller code style and structure improvements.
Closes https://github.com/espressif/esp-idf/issues/8421
2022-07-26 23:17:33 +02: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
baohongde
aadd18514c
components/coex: Make sure sempher and queue used in isr is in DRAM
...
Closes https://github.com/espressif/esp-idf/issues/9032
Closes https://github.com/espressif/esp-idf/issues/8928
Closes https://github.com/espressif/esp-idf/issues/9129
2022-07-25 11:10:28 +08:00
baohongde
c5db1591cf
components/bt: Make sure sempher and queue used in isr is in DRAM
2022-07-25 11:08:13 +08:00