Tomas Rezucha
5842aca69c
usb: Refactor USB Host tests
...
* Error messages improved
* Configurable for different mock devices
Note: Backport 645592e157
to v4.4 without
migrating to pytest.
2022-12-13 22:26:47 +08:00
Darian Leung
7295933f5f
usb_host: Rename struct/ll/hal symbols to use "usb_dwc" prefix
...
Following the file renaming to use the "usb_dwc" prefix, this commit
updates the symbol names of those files to use the "usb_dwc" as well.
Some LL functions were also renamed so that the register name is
mentioned.
2022-12-13 21:36:00 +08:00
Darian Leung
c06346da35
usb_host: Rename struct/ll/hal files to use "usb_dwc" prefix
...
This commit updates the DWC_OTG based struct/ll/hal file names to
use the prefix "usb_dwc". This naming scheme reduces ambiguity if
another USB controller implementation is added.
As a result, "hcd.c" has been renamed to "hcd_dwc.c"
2022-12-13 21:36:00 +08:00
Darian Leung
9f3c0b1e38
usb_host: Fix incorrect memset() usage in HCD
...
This commit fixes incorrect usage of memset() in the HCD's various
_buffer_parse_...() functions. The memset was not clearing the qtd lists, and
were simply setting the first qtd to a non zero value (i.e., the length of
the QTD list).
However, no bug occurred as the subsequent _buffer_fill_...() functions would
overwrite the QTD list anyways.
2022-12-13 16:57:56 +08:00
Aditya Patwardhan
0a83ebcded
esp_flash_encrypt: If it is supported then Enable secure download mode in release mode instead of disabling it completely.
2022-12-08 10:28:48 +05:30
Mahavir Jain
9e46c9b894
Merge branch 'bugfix/fix_esp_https_server_initialize_v4.4' into 'release/v4.4'
...
esp_https_server: Fix initializers missing in esp_https_server (backport v4.4)
See merge request espressif/esp-idf!21482
2022-12-08 12:19:16 +08:00
morris
e72afc771f
Merge branch 'bugfix/fix_slave_gpio_cs_mixed_with_iomux_bus_v4.4' into 'release/v4.4'
...
spi_slave: fix slave can't use iomux bus mixed with gpio cs_pin (v4.4)
See merge request espressif/esp-idf!21375
2022-12-08 10:58:08 +08:00
Jiang Jiang Jian
4500ddf2f0
Merge branch 'bugfix/modify_wifi_max_conn_num_v4.4' into 'release/v4.4'
...
esp_wifi: update wifi lib
See merge request espressif/esp-idf!21479
2022-12-08 09:49:20 +08:00
Jiang Jiang Jian
6da4c6b513
Merge branch 'bugfix/fix_long_time_to_get_ip_v4.4' into 'release/v4.4'
...
lwip: fix the bug that long time to get IP (backport v4.4)
See merge request espressif/esp-idf!21462
2022-12-07 21:49:28 +08:00
jack
a34a4a91fb
esp_wifi: update wifi lib
...
1. Modify wifi max connection num
2. Fix the ESPNOW senf fail after changing opmode
3.Add wifi station config for enabling transition_disbale feature
2022-12-07 18:14:36 +08:00
jack
43f93678ce
reduce the max connection number to 15
2022-12-07 18:04:46 +08:00
zhangyanjiao
e943143e0f
esp_wifi: fix esp32c3 connect fail
...
Closes IDFCI-1524
2022-12-07 18:04:46 +08:00
Ivan Grokhotkov
a82a530387
Merge branch 'staging/esp_static_assert_v4.4' into 'release/v4.4'
...
C/Cxx: unify static assertions with the macro ESP_STATIC_ASSERT (v4.4)
See merge request espressif/esp-idf!21439
2022-12-07 16:58:01 +08:00
yuanjianmin
12252773b9
esp_https_server: Fix initializers missing in esp_https_server
2022-12-07 15:10:03 +08:00
Jiang Jiang Jian
17db9540d6
Merge branch 'fix/usb/error_handling_bacport_v4.4' into 'release/v4.4'
...
USB Host: Invalid pointer hotfix (backport v4.4)
See merge request espressif/esp-idf!21367
2022-12-07 14:00:01 +08:00
Shreyas Sheth
2bbd3ac583
esp_wifi:Add wifi station config for enabling transition_disbale feature
2022-12-07 11:44:28 +08:00
zhangyanjiao
5c1ff3d70b
Modify maximum softap conn num and espnow encryption peer num
2022-12-07 11:33:00 +08:00
Wang Meng Yang
77b37716a3
Merge branch 'bugfix/reduce_BTU_TASK_stack_consumption_v4.4' into 'release/v4.4'
...
Reduce the stack consumption of BTU_TASK (backport v4.4)
See merge request espressif/esp-idf!21435
2022-12-07 11:29:48 +08:00
zhangyanjiao
85bf17d7e2
lwip: fix the bug that long time to get IP
2022-12-07 11:24:13 +08:00
morris
56342a6057
Merge branch 'feature/support_rotating_lcd_ssd1306_v4.4' into 'release/v4.4'
...
Support rotation on SSD1306 (backport v4.4)
See merge request espressif/esp-idf!21469
2022-12-07 10:55:55 +08:00
Jiang Jiang Jian
1d52944fda
Merge branch 'bufix/Backport_some_wifi_lwip_bugs_for_4.4_1205' into 'release/v4.4'
...
lwip:optimization dns ipv4 ipv6 timer
See merge request espressif/esp-idf!21447
2022-12-07 10:37:19 +08:00
Jiang Jiang Jian
1c0d0e505d
Merge branch 'bugfix/multiple_wifi_fixes_v4.4' into 'release/v4.4'
...
esp_wifi: backport some wifi bugfixes to v4.4
See merge request espressif/esp-idf!21449
2022-12-07 10:28:57 +08:00
Vilem Zavodny
68178540f0
lcd: Support rotation SSD1306 and fix mirror y.
2022-12-06 15:43:17 +01:00
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
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