Jiang Jiang Jian
4e083d8214
Merge branch 'bugfix/spp_vfs_memory_leak_v4.4' into 'release/v4.4'
...
Component_bt/fix esp_spp_vfs_register memory leak(v4.4)
See merge request espressif/esp-idf!21440
2022-12-06 20:40:33 +08:00
Omar Chebib
622fb9e906
CI: check_public_headers script will detect the use of static asserts in headers
...
When a public header contains _Static_assert or static_assert, check_public_headers.py script will detect it and report it as an issue.
Indeed, public headers shall now use ESP_STATIC_ASSERT.
2022-12-06 19:28:51 +08:00
xueyunfei
2e17ad62b8
lwip:optimization dns ipv4 ipv6 timer
...
* Update submodule: git log --oneline * Update submodule: git log --oneline 6132c9755a43d4e04de4457f1558ced415756e4d..79182163e9e77547e58a6aa34db94902b9812cb3
Detailed description of the changes:
- dhcp: optimization fine timer when dhcp start(esp-lwip@79182163)
- ip6 timer: optimization lwip ip6 reassembly timer (esp-lwip@c943fc5a)
- ip4 timer: optimization lwip ip4 reassembly timer (esp-lwip@17f41c9f)
- dns timer: optimization lwip dns timer (esp-lwip@7f5ab42c)
2022-12-06 17:30:47 +08:00
Marius Vikhammer
1d13716d28
Merge branch 'bugfix/freertos_port_miss_header_v4.4' into 'release/v4.4'
...
freertos: add missing header include for esp_chip_info.h to port.c (v4.4)
See merge request espressif/esp-idf!21459
2022-12-06 14:32:36 +08:00
Jiang Jiang Jian
52ba3f1ee0
Merge branch 'bugfix/Fix_exceptional_list_params_check_v4.4' into 'release/v4.4'
...
ble_mesh: stack: Fix exceptional list parameters check issue(v4.4)
See merge request espressif/esp-idf!21442
2022-12-06 14:13:20 +08:00
Wang Meng Yang
e0b8f83253
Merge branch 'bugfix/reattempt_crash_v4.4' into 'release/v4.4'
...
NimBLE: Fixed going for reattempt connection code (v4.4)
See merge request espressif/esp-idf!21176
2022-12-06 14:02:25 +08:00
xiongweichao
8246d6bec6
Assert when malloc user_data fail
2022-12-06 06:02:01 +00:00
xiongweichao
cdbdb31d6d
Fixed memory leak when SPP initialization failed
2022-12-06 06:02:01 +00:00
xiongweichao
67341a31b7
Added esp_spp_vfs_unregister() to free memory allocated by esp_spp_vfs_register()
2022-12-06 06:02:01 +00:00
Marius Vikhammer
9e66eb4c9f
freertos: add missing header include for esp_chip_info.h to port.c
...
Closes https://github.com/espressif/esp-idf/issues/10310
2022-12-06 12:18:20 +08:00
Wang Meng Yang
d78c08587d
Merge branch 'contrib/github_pr_9529_v4.4' into 'release/v4.4'
...
component_bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails(v4.4)
See merge request espressif/esp-idf!21446
2022-12-06 10:51:53 +08:00
Jiang Jiang Jian
e5b0abcc57
Merge branch 'bugfix/backport_wifi_fixes_v4.4' into 'release/v4.4'
...
backported some wifi fixes (backport v4.4)
See merge request espressif/esp-idf!21448
2022-12-06 10:25:02 +08:00
Simon Arlott
731486ad33
hal/uart_ll.h: Fix compile with C++
...
I'm including <hal/uart_ll.h> in my C++ application because I need to
bypass the uart driver. The inline functions in the header file fail to
compile as C++.
All of the enums need explicit casts for conversion to/from integers.
Merges https://github.com/espressif/esp-idf/pull/10106
2022-12-06 10:18:32 +08:00
Kapil Gupta
c71071b36c
esp_wifi: Add changes to skip SAE handshake during WPS connection
2022-12-05 21:35:11 +05:30
Kapil Gupta
c34ba085ba
esp_wifi: Flush PMK caching if bss akm has changed
2022-12-05 21:35:05 +05:30
Kapil Gupta
9e4b31e0f2
Correct SSID copy length during WPS scan
2022-12-05 21:34:46 +05:30
morris
99b4b5fbb2
Merge branch 'bugfix/allow_bypass_lcd_cmd_v4.4' into 'release/v4.4'
...
spi_lcd: panel_io_spi_tx_color without cmd (v4.4)
See merge request espressif/esp-idf!21428
2022-12-05 22:47:22 +08:00
jack
9acf90f5e4
esp_wifi: backport some bugfixes to v4.4
...
1.Bugfix for clear bss info when wifi stop
2.Bugfix for add clear ap list interface
3.Modify wifi scan return value.
4.Change the log level of some logs to avoid misunderstanding.
5.Fix connect fail return wrong error code issue.
6.Fix WAPI issue on gtk compability and referrence to broadcast arp pkts.
7.Support WiFi tx fragment in the crypto mode of gcmp.
8.Fix tx fragment issue that pn code is less than msdu after pn code add two for tx fragment.
9.Fixed some issues on Soft-AP power save.
10.fix invalid child issue
11.fix WIFI_EVENT_AP_STADISCONNECTED event error
12.Fix SoftAP memory leak issue.
13.Fixed sta get ap info does not return connected ssid issue.
14.Fix SoftAP recv ps-poll not update inactive timer issue.
2022-12-05 22:38:33 +08:00
alex.li
d8362cce90
esp_wifi: fix wapi gtk id compability issue and adapt tx frag pn sequently.
2022-12-05 21:48:36 +08:00
zhangyanjiao
df9fba9d22
update doc for set channel
2022-12-05 21:41:39 +08:00
zhangyanjiao
c227cbea3f
update wifi reason code
2022-12-05 21:40:44 +08:00
xueyunfei
cf3e45deef
esp_wifi:add clear ap list interface
2022-12-05 20:57:00 +08:00
xiongweichao
91983ad0cf
bt: Fixed incorrect parameters in switching to BTC context
2022-12-05 20:49:18 +08:00
xiongweichao
5c14b6eed1
bt:Modify the member variable *arg in struct btc_msg to arg[0]
2022-12-05 20:48:16 +08:00
xiongweichao
9ec06ba4ac
bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails
2022-12-05 20:48:04 +08:00
wangjialiang
4aa7b2a837
ble_mesh: stack: Fix exceptional list parameters check issue
2022-12-05 20:25:07 +08:00
Omar Chebib
049d21bb12
C/Cxx: unify static assertions with the macro ESP_STATIC_ASSERT
...
Closes https://github.com/espressif/esp-idf/issues/9938
2022-12-05 18:16:08 +08:00
isha.pardikar@espressif.com
d927830b81
NimBLE: Fixed going for reattempt connection code
2022-12-05 14:36:48 +05:30
Zim Kalinowski
c529135c71
Merge branch 'bugfix/share_intr_v4.4' into 'release/v4.4'
...
intr_alloc: fixed freed interrupt sources not being able to be allocated again with different flags (v4.4)
See merge request espressif/esp-idf!21286
2022-12-05 16:38:09 +08:00
zwj
b07e7d7c3f
Reduce the stack consumption of BTU_TASK
2022-12-05 15:50:09 +08:00
Jiang Jiang Jian
694bc6bf47
Merge branch 'feature/backport_blufi_coexist_phy_init_flag_v4.4' into 'release/v4.4'
...
esp_wifi: backport coexist fix, connectionless ps fix, blufi feature
See merge request espressif/esp-idf!21411
2022-12-05 15:04:43 +08:00
Marius Vikhammer
628af15b5a
Merge branch 'bugfix/xtensa_freertos_16B_aligned_v4.4' into 'release/v4.4'
...
FreeRTOS: Make the default stack alignment 16 for Xtensa
See merge request espressif/esp-idf!21405
2022-12-05 15:00:55 +08:00
morris
ca6a427a81
spi_lcd: panel_io_spi_tx_color without cmd
...
Closes https://github.com/espressif/esp-idf/issues/10302
2022-12-05 14:27:34 +08:00
Wang Meng Yang
6672ec0692
Merge branch 'feature/support_ble_max_conn_num_to_9_v4.4' into 'release/v4.4'
...
Support bluedroid host maximum number of connections to 9 (backport v4.4)
See merge request espressif/esp-idf!21399
2022-12-05 12:16:55 +08:00
Jiang Jiang Jian
8b24bbd919
Merge branch 'bugfix/fix_c3_s3_ble_temperature_performance_v4.4' into 'release/v4.4'
...
Fixed bluetooth disconnection caused by HW temperature rise or fall(backport v4.4)
See merge request espressif/esp-idf!21371
2022-12-05 10:52:27 +08:00
liuning
78cef1b7d2
esp_wifi: update lib for backport
2022-12-02 20:02:07 +08:00
liuning
b6800c3e01
phy: only set phy_init_flag at power domain off, when all modems deinit
2022-12-02 19:54:58 +08:00
liuning
c9996c010d
esp_wifi: fix some connectionless related issue
2022-12-02 19:53:35 +08:00
liuning
2d2177b4ad
blufi: update version to 1.3
...
record connecting status, got ip status, maximum retry, connection end info (reason code, rssi) and provide greater information to phone
2022-12-02 19:45:28 +08:00
zhangyanjiao
de5156bb20
esp_wifi: report rssi info in wifi event
2022-12-02 19:43:24 +08:00
Jiang Jiang Jian
f90c12fc3c
Merge branch 'bugfix/fix_hid_device_vup_without_connection_4.4' into 'release/v4.4'
...
Bugfix/Fix HID Device can not remove virtually cabled device without a connection[backport 4.4]
See merge request espressif/esp-idf!21366
2022-12-02 16:00:20 +08:00
Jiang Jiang Jian
3dcb9cf8ec
Merge branch 'bugfix/sta_set_extra_ies_for_open_AP_v4.4' into 'release/v4.4'
...
esp_wifi: STA set extra IEs for open AP v4.4
See merge request espressif/esp-idf!21363
2022-12-02 16:00:31 +08:00
Omar Chebib
b2ddedb941
FreeRTOS: Make the default stack alignment 16 for Xtensa
2022-12-02 15:20:09 +08:00
Marius Vikhammer
7ae5ec946d
Merge branch 'bugfix/rtc_retain_mem_always_erased_v4.4' into 'release/v4.4'
...
Bootloader: retained memory can now be kept after reboot when custom data enabled (backport v4.4)
See merge request espressif/esp-idf!21233
2022-12-02 13:49:59 +08:00
morris
ee867ec16b
Merge branch 'bugfix/i2c_func_iram_v4.4' into 'release/v4.4'
...
I2C: put some interrupt used functions into IRAM
See merge request espressif/esp-idf!20991
2022-12-02 12:43:40 +08:00
zwj
417dff3a1e
update BLE lib for ESP32-C3 and ESP32-S3
...
- Fixed lld_con.c line 3048 assert
- Fixed crash sometimes when connected as a slave by 8th device
2022-12-02 12:01:04 +08:00
zhiweijian
6e1eb4af26
bluedroid host supports the maximum number of connections to 9
2022-12-02 12:00:53 +08:00
Wang Meng Yang
2c41b01771
Merge branch 'bugfix/fix_bt_sleep_hangs_when_enable_light_sleep_backport_v4.4' into 'release/v4.4'
...
bt: fix bt sleep flow hangs in btdm_sleep_clock_sync(backport v4.4)
See merge request espressif/esp-idf!21383
2022-12-02 11:27:12 +08:00
jack
d688fc3542
eps-wifi: update wifi lib
...
1. Adding check for ies in match security
2. Set AP rsnxe while connecting to a AP
3. Restores station status to connected when no other AP is found for roam
4. Add config option for AP retry count
5. Fix unprotected SA Query issue
2022-12-01 19:35:30 +05:30
jingli
458f7190f1
bt: fix bt sleep flow hangs in btdm_sleep_clock_sync
...
Bluetooth low power related logic and regs have separate power domain from MAC and BB,
and do not power down during light sleep. If reset when power up MAC and BB in sleep
flow, it may destroy the state of bt low power part.
2022-12-01 20:53:02 +08:00
wanlei
cd08ea1f31
spi_slave: fix slave can't use iomux bus mixed with gpio cs_pin
2022-12-01 20:15:21 +08:00
zhiweijian
3f42a81447
Fixed CI esp32s3.default_2_s3.Test failed
2022-12-01 19:45:04 +08:00
zhiweijian
2902766706
- update phy lib
...
- Enable BLE pll track to fix bluetooth disconnection caused by temperature rise or fall on ESP32C3 and ESP32S3
- call pll track in controller task
2022-12-01 19:43:55 +08:00
Omar Chebib
465577dd28
Bootloader: retained memory can now be kept after reboot when custom data enabled
...
User's custom data are not taken into account during the CRC calculation anymore.
Which means taht the retained mem structure is not systematically erased
on each reboot anymore.
2022-12-01 16:34:59 +08:00
Cao Sen Miao
9a6a28734b
I2C: put some interrupt used functions into IRAM,
...
closes https://github.com/espressif/esp-idf/issues/10079
2022-12-01 16:20:56 +08:00
Tomas Rezucha
2c89caab9b
usb: Don't access uninit pointer if usbh_install fails
2022-12-01 08:37:01 +01:00
liqigan
7ba36f4d47
fix HID device can not remove virtually cabled device without a connection
...
Closes https://github.com/espressif/esp-idf/issues/10107
2022-12-01 15:18:19 +08:00
Shreyas Sheth
7252d678a0
esp_wifi: STA set extra IEs for open AP
2022-12-01 12:19:33 +05:30
Jiang Jiang Jian
00396a9d49
Merge branch 'bufix/a2dp_fail_connect_again_after_disconnect_v4.4' into 'release/v4.4'
...
component_bt: Fixed a2dp failing to connect again after disconnect(v4.4)
See merge request espressif/esp-idf!21343
2022-12-01 10:34:45 +08:00
Jiang Jiang Jian
db7c50b373
Merge branch 'bugfix/security_params_overwrite_v4.4' into 'release/v4.4'
...
Add changes to prevent security params overwritten in full scan (backport v4.4)
See merge request espressif/esp-idf!21301
2022-11-30 22:53:32 +08:00
xiongweichao
a2e8c6f95c
Fixed a2dp failing to connect again after disconnect
2022-11-30 19:11:27 +08:00
Mahavir Jain
7c1dd9025f
Merge branch 'feature/update_expat_2_5_0' into 'release/v4.4'
...
expat: Upgrade version to release v2.5.0
See merge request espressif/esp-idf!21294
2022-11-30 16:43:15 +08:00
Jiang Jiang Jian
cdf8810f63
Merge branch 'bugfix/disable_prov_encryption_v4.4' into 'release/v4.4'
...
Wifi Prov: Disabled the default support for BLE Encrpytion on characteristics read /write (v4.4)
See merge request espressif/esp-idf!21264
2022-11-30 12:06:08 +08:00
Wang Meng Yang
89bb0c0759
Merge branch 'bt/opt_audio_datapath_v4.4' into 'release/v4.4'
...
bt/optimized a2dp_sink audio datapath (v4.4)
See merge request espressif/esp-idf!21223
2022-11-29 17:58:26 +08:00
Wang Meng Yang
359762c84a
Merge branch 'bugfix/optimize_hidh_disconnection_4.4' into 'release/v4.4'
...
Bugfix/Fix HID Host improper handle of freeing resource in esp_hid component[backport 4.4]
See merge request espressif/esp-idf!21249
2022-11-29 17:56:12 +08:00
gauri patankar
5bcd438a45
Add changes to prevent security params overwritten in full scan (backport v4.4)
2022-11-28 14:52:43 +05:30
Harshit Malpani
7ad67bf462
expat: Upgrade version to release v2.5.0
2022-11-28 13:55:21 +05:30
Marius Vikhammer
e5999ea4fb
intr_alloc: fixed freed interrupt sources not being able to be allocated again with different flags
...
Mark the vector descriptor source as freed.
2022-11-28 10:45:27 +08:00
Aditya Patwardhan
98430b2f94
secure_boot_v2: Fix warning message
2022-11-25 18:34:31 +05:30
David Čermák
56b2ae504f
Merge branch 'feature/mqtt_cmakefile_cleanup_v4.4' into 'release/v4.4'
...
[MQTT] Simplifies MQTT CMakeLists file(v4.4)
See merge request espressif/esp-idf!20483
2022-11-25 19:27:08 +08:00
Rahul Tank
d86afd82c1
Wifi Prov: Disabled the default support for BLE Encrpytion on characteristics read /write
...
By default, disabled the BLE Encrpyption requirement for provisioning characteristic.
With this flag enabled, when remote attempts to read and if the ACL link is not encrypted,
ESP device will return Insufficient Authentication. It is remote device responsibility to go
for link encryption which may result in pairing.
Some devices do not proceed for any pairing and just show failure pop-up. Also, user needs
to remove bonding on remote phone manually and then try again. This is causing bad user experience.
End user can enable it as per their use case.
2022-11-25 14:18:15 +05:30
David Čermák
c2c6457fbf
Merge branch 'bugfix/mqtt_start_stop_timer_fixes_v4.4' into 'release/v4.4'
...
mqtt: Fix keepalive with esp-timer; clean close SM (v4.4)
See merge request espressif/esp-idf!20816
2022-11-25 15:25:24 +08:00
liqigan
54c5e28c80
optimize HID Host disconnection procedure
2022-11-25 09:34:12 +08:00
Euripedes Rocha
c273e132ff
[MQTT] Simplifies MQTT CMakeLists file
...
- Removes mocks creation
- Adds tcp_transport explicitly as dependency
Closes https://github.com/espressif/esp-idf/issues/9630
2022-11-24 15:03:23 +00:00
Jin Cheng
2c38701f68
optimized a2dp_sink audio datapath
...
1. removed audio cache in BTC layer of Bluedroid
2. added flow control for audio data in application layer
Closes https://github.com/espressif/esp-idf/issues/9622
2022-11-24 12:14:08 +08:00
Jiang Jiang Jian
2302651311
Merge branch 'mesh/bugfix_fix_memory_leak_issue_v4.4' into 'release/v4.4'
...
esp_mesh: fix the memeory leak issue when call esp_mesh_start/stop (backport v4.4)
See merge request espressif/esp-idf!21133
2022-11-23 11:42:25 +08:00
morris
832ba7dba2
Merge branch 'bugfix/legacy_rmt_resource_leak_v4.4' into 'release/v4.4'
...
rmt: fix memory leak in the legacy driver (v4.4)
See merge request espressif/esp-idf!21167
2022-11-23 11:29:17 +08:00
Wang Meng Yang
4f3f8ebb3d
Merge branch 'bugfix/fix_hfp_clcc_parser_bug_4.4' into 'release/v4.4'
...
Bugfix/Fix HFP client parse CLCC command response bug[backport 4.4]
See merge request espressif/esp-idf!21157
2022-11-23 11:09:41 +08:00
Jiang Jiang Jian
76d805f15a
Merge branch 'feature/support_ble_memory_release_on_esp32c3_and_esp32s3_v4.4' into 'release/v4.4'
...
support BLE memory release on ESP32C3 and ESP32S3 (backport v4.4)
See merge request espressif/esp-idf!21168
2022-11-22 14:38:03 +08:00
Zim Kalinowski
345a12c1f9
Merge branch 'feature/tlsf-dynamic-control-size_v4.4' into 'release/v4.4'
...
heap: Update to the new tlsf implementation of dynamic metadata size (backport v4.4)
See merge request espressif/esp-idf!20797
2022-11-21 19:02:35 +08:00
zwj
8e50c5acb2
support BLE memory release on ESP32C3 and ESP32S3
2022-11-21 10:46:30 +08:00
morris
1cece7eef0
rmt: fix memory leak in the legacy driver
...
Closes https://github.com/espressif/esp-idf/issues/10173
2022-11-21 10:00:24 +08:00
wuzhenghui
cf0c0d98ee
bugfix: fix redefined _iram_end
2022-11-18 19:51:23 +08:00
liqigan
a96c1fc7c6
fix HFP client parse CLCC command response bug
2022-11-18 19:41:41 +08:00
morris
be9d294718
Merge branch 'contrib/github_pr_10027_v4.4' into 'release/v4.4'
...
[Panic] also print to secondary USB Serial/JTAG Console (GitHub PR) (v4.4)
See merge request espressif/esp-idf!21022
2022-11-18 11:52:06 +08:00
Wang Meng Yang
da943339ad
Merge branch 'bugfix/change_default_tx_power_on_c3_and_s3_v4.4' into 'release/v4.4'
...
Change BLE default TX power on ESP32C3 and ESP32S3(backport v4.4)
See merge request espressif/esp-idf!21102
2022-11-18 10:46:33 +08:00
zhangyanjiao
4d6cce4b3b
esp_mesh: fix the memeory leak issue when call esp_mesh_start/stop
2022-11-17 17:30:52 +08:00
morris
a54467fcfb
Merge branch 'contrib/github_pr_7144_v4.4' into 'release/v4.4'
...
Update i2c.c to consider two I2C buses for clear bus counter (GitHub PR) (backport v4.4)
See merge request espressif/esp-idf!20505
2022-11-17 16:35:50 +08:00
zwj
b6f3bfaa13
Update bt lib for ESP32C3 and ESP32S3
...
- Added config to disable scan backoff
- Fixed llm_scan.c assert at line 1485 during controller deinit if duplicate scan is not stopped
- Call pll track in controller task
2022-11-17 03:46:02 +00:00
zwj
80078b6192
Fixed errors reported by CI clang_tidy_check
2022-11-17 03:46:02 +00:00
zwj
d6e3d887c1
Fixed sometimes BTU task overflow when doing read and write performance test
2022-11-17 03:46:02 +00:00
zwj
485f3a4ce1
change default tx power from 3dBm to 9dBm
2022-11-17 03:46:02 +00:00
morris
36dde93b57
Merge branch 'feature/remove_psram_cs_clk_pin_settings_config_s2_s3_v4.4' into 'release/v4.4'
...
psram: remove CS/CLK pin settings in kconfig on ESP32S2/S3 (v4.4)
See merge request espressif/esp-idf!21045
2022-11-15 10:53:23 +08:00
Jiang Jiang Jian
f902b64f40
Merge branch 'bugfix/a2dp_can_not_connect_after_ble_connected_v4.4' into 'release/v4.4'
...
fixed the issue iOS devices cannot initiate connection (v4.4)
See merge request espressif/esp-idf!21062
2022-11-14 15:41:14 +08:00
Shreyas Sheth
24efd4a505
esp_wifi: Bugfix WPA Enterprise Reauthentication issue
2022-11-14 11:12:22 +05:30
morris
c01e186442
Merge branch 'bugfix/esp32s3_rom_has_ets_printf_issue_v4.4' into 'release/v4.4'
...
esp_rom: fix esp32s3 rom ets_printf bug (backport to v4.4)
See merge request espressif/esp-idf!20795
2022-11-14 10:59:02 +08:00
Jiang Jiang Jian
c3439e040a
Merge branch 'bugfix/fixing_memory_leak_wps_scan_v4.4' into 'release/v4.4'
...
(wpa_supplicant) : Fixed a memory leak issue created when parsing scan results
See merge request espressif/esp-idf!20988
2022-11-14 10:46:31 +08:00
Jin Cheng
07518cf467
fixed the issue iOS devices cannot initiate connection
...
to ESP32 while there is a BLE connection to this ESP32
Closes https://github.com/espressif/esp-idf/issues/6557
2022-11-14 09:48:13 +08:00
jgujarathi
cb0ce135a5
(wpa_supplicant) : Fixed a memory leak issue created when parsing scan results.
2022-11-11 17:11:00 +05:30
Armando
3fb3600ee0
psram: remove CS/CLK pin settings in kconfig on ESP32S2/S3
2022-11-11 17:45:03 +08:00