Commit Graph

19231 Commits

Author SHA1 Message Date
Shyamal Khachane
aa78c85a05 wpa_supplicant: Clear current pmksa before generating RSN IE
Also update wifi libs with below changes -
  - Fix reason codes for Invalid PMKID
  - Fix handling of Assoc Resp status codes for Station
2022-12-23 16:56:20 +05:30
Jiang Jiang Jian
72a643e7e1 Merge branch 'bugfix/avoid_ftm_initiator_mode_on_softap_v4.3' into 'release/v4.3'
Avoid ftm initiator mode on softap (Backport v4.3)

See merge request espressif/esp-idf!21768
2022-12-23 11:55:46 +08:00
gauri patankar
c1075e32e0 esp_wifi:Update wifi libs
1. Avoid ftm initiator mode on softap
2. Fix home channel issue in ftm for apsta mode
3. Fix int overflow for T1-T4 counter variable
2022-12-22 15:52:47 +05:30
Laukik Hase
dbedcc264d
esp_tls: Fix issue when timeout is not explicitly given in esp_tls_cfg_t
- If internet connectivity weakened or disappeared suddenly while we were
  in the TLS handshake stage, the app got stuck at that point indefinitely.
- This was because when timeout was not explicitly specified in esp_tls_cfg_t,
  the default timeout was set at the wrong place. This causes the sockets to be
  setup with zero timeout, hence the indefinite wait.
2022-12-21 14:59:58 +05:30
Jiang Jiang Jian
8cd8ec019c Merge branch 'bugfix/fix_ble_some_bugs_20221219_v4.3' into 'release/v4.3'
backport some BLE bugs 20221219 (backport v4.3)

See merge request espressif/esp-idf!21716
2022-12-21 15:02:35 +08:00
Jiang Jiang Jian
0cf1971b3b Merge branch 'bugfix/fix_some_ble_bugs_by_cjh_v4.3' into 'release/v4.3'
Fixed some BLE bugs (backport v4.3)

See merge request espressif/esp-idf!21692
2022-12-21 11:27:50 +08:00
Jiang Jiang Jian
0528ace322 Merge branch 'bugfix/flush_pmksa_entry_after_disconnect_v4.3' into 'release/v4.3'
Fix PMK caching related regression (Backport v4.3)

See merge request espressif/esp-idf!21694
2022-12-20 16:28:31 +08:00
zwj
5c4a30d08b Update bt lib for ESP32
- Add config to set duplicate scan list refresh period
- overwrite the oldest device infor if the list is full
- Fixed duplicate scan period is not accurate
2022-12-20 15:58:37 +08:00
zhiweijian
3467e9db8b bluedroid host supports the maximum number of connections to 9 2022-12-20 15:03:30 +08:00
zwj
ad0f1bb807 Update bt lib for ESP32-C3 and ESP32-S3
- Add config to set duplicate scan list refresh period
- overwrite the oldest device infor if the list is full
- Fixed duplicate scan period is not accurate
- Fixed some memory was not released after bluetooth controller initialization failed
- Fixed privacy errorr for directed advertising
- Fixed multiple periodic advertising sync failed in air
- Fixed lld_con.c line 3048 assert
- Fixed crash sometimes when connected as a slave by the 8th device
2022-12-20 15:02:22 +08:00
Jiang Jiang Jian
7d61396a35 Merge branch 'bugfix/spp_vfs_memory_leak_v4.3' into 'release/v4.3'
Component_bt/fix esp_spp_vfs_register memory leak(v4.3)

See merge request espressif/esp-idf!21508
2022-12-20 13:53:08 +08:00
chenjianhua
df29143371 update bt-lib for ESP32
1 change default TX power to 9 dBm
2 fixed disconnect reason 0x1f (unspecified error)
3 fixed connection timeout due to terminate ind has not been acknowledged
2022-12-20 12:08:06 +08:00
zwj
3425d4df52 Fixed some memory was not released after bluetooth controller initialization failed on ESP32 2022-12-20 12:06:54 +08:00
Shyamal Khachane
37ce55cd3f wpa_supplicant: Fix PMK caching related regression
Fixed regression caused by commit c171f0f3
2022-12-19 19:11:37 +05:30
chenjianhua
8e4701275c bluedroid: fix ble connection update with same params 2022-12-19 19:32:41 +08:00
chenjianhua
2ff4ab0bd9 examples: fix ble hid led output report 2022-12-19 19:32:23 +08:00
chenjianhua
65b3d93f79 bluedroid: fix encrypt keysize of GATT characteristic permission 2022-12-19 19:32:00 +08:00
chenjianhua
262387025b bluedroid: correct the length of att read by type pdu 2022-12-19 19:31:49 +08:00
xiongweichao
f05fcfc752 bt: Fixed repeated register of vfs_id causing memory leaks 2022-12-19 12:17:14 +08:00
xiongweichao
110bdea520 Assert when malloc user_data fail 2022-12-19 12:17:14 +08:00
xiongweichao
efaa43d01b Fixed memory leak when SPP initialization failed 2022-12-19 12:17:14 +08:00
Jiang Jiang Jian
76eb67253d Merge branch 'bugfix/bdsa_security_issues_v4.3' into 'release/v4.3'
wpa_supplicant:BDSA related patch updates v4.3

See merge request espressif/esp-idf!21561
2022-12-17 18:03:21 +08:00
Shreyas Sheth
c171f0f39b wpa_supplicant:BDSA related patch updates 2022-12-16 16:14:06 +05:30
Jiang Jiang Jian
ec25f91a9d Merge branch 'feature/backport_blufi_coexist_phy_init_flag_v4.3' into 'release/v4.3'
esp_wifi: backport coexist fix, connectionless ps fix, blufi feature

See merge request espressif/esp-idf!21609
2022-12-16 17:57:49 +08:00
liuning
a02a385ee2 esp_wifi: update lib 2022-12-16 14:20:17 +08:00
liuning
ce2deab1a4 phy: only set phy_init_flag at power domain off, when all modems deinit 2022-12-16 14:20:17 +08:00
liuning
312da39eb9 esp_wifi: fix some connectionless related issue 2022-12-16 14:20:17 +08:00
liuning
dcdae20972 docs: update BluFi documentation 2022-12-16 14:20:12 +08:00
Island
607b7a9fd1 Merge branch 'bugfix/change_the_level_of_nimble_log_forv4.3' into 'release/v4.3'
ble_mesh:example:change the level of nimble host log(v4.3)

See merge request espressif/esp-idf!21630
2022-12-16 14:13:00 +08:00
Jiang Jiang Jian
3bb9fb3488 Merge branch 'bugfix/backport_wifi_fixes_v4.3' into 'release/v4.3'
backported some wifi fixes (backport v4.3)

See merge request espressif/esp-idf!21636
2022-12-16 11:13:30 +08:00
Kapil Gupta
6678e3fb8b esp_wifi: Add changes to skip SAE handshake during WPS connection 2022-12-15 12:35:26 +00:00
Kapil Gupta
9dfaf20508 esp_wifi: Flush PMK caching if bss akm has changed 2022-12-15 12:35:26 +00:00
Kapil Gupta
7c5b13f611 Correct SSID copy length during WPS scan 2022-12-15 12:35:26 +00:00
Yuan Hong Hui
4a5459f012 ble_mesh:example:change the level of nimble host log 2022-12-15 18:05:24 +08:00
Jiang Jiang Jian
6439222c31 Merge branch 'Bufix/backport_some_lwip_bugs_for_4.3_1214' into 'release/v4.3'
Lwip:Backport some lwip bugs to 4.3

See merge request espressif/esp-idf!21594
2022-12-15 13:55:20 +08:00
liuning
626b87871d 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-14 19:23:08 +08:00
zhangyanjiao
ca17dc4f2d esp_wifi: report rssi info in wifi event 2022-12-14 19:21:13 +08:00
morris
0319c702cf Merge branch 'feature/_spi_slave_reset_trans_queue_api_v4.3' into 'release/v4.3'
spi: limit esp32 dma workaround only on esp32(v4.3)

See merge request espressif/esp-idf!21384
2022-12-14 17:43:27 +08:00
xueyunfei
6abb3eb0b4 Lwip:Backport some lwip bugs to 4.3
* Update submodule: git log --oneline 76303df2386902e0d7873be4217f1d9d1b50f982..6fa02bd30daa656f896c7a36248253fb3b97660d

Detailed description of the changes:
  - dhcp: reduce the DHCP Request timeout(esp-lwip@6fa02bd3)
  - 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)
  - napt: Fix clean compilation  (espressif/esp-lwip@6132c975)
  - Lwip:add TCP Fin2 timeout configuration (espressif/esp-lwip@15b4400e)
  - napt: Fix IP forwarding when forward netif enable NAPT (espressif/esp-lwip@c950063f)
  - napt/stats: Move some napt counters to stats module (espressif/esp-lwip@475d658a)
  - ip_napt_maint: Fix timestamp overflow handling (espressif/esp-lwip@2e904508)
  - napt: Fixes and improvements (espressif/esp-lwip@fb1f3552)
2022-12-14 14:56:06 +08:00
Jiang Jiang Jian
ca6553ad9b Merge branch 'bugfix/multiple_wifi_fixes_v4.3' into 'release/v4.3'
esp_wifi: backport some wifi bug fixes to v4.3

See merge request espressif/esp-idf!21467
2022-12-14 13:55:08 +08:00
Jiang Jiang Jian
0ee643387b Merge branch 'feature/nimble_support_ble_max_conn_num_v4.3' into 'release/v4.3'
Nimble:  Support maximum number of connections to 9 on ESP32-C3 and ESP32-S3 (v4.3)

See merge request espressif/esp-idf!21552
2022-12-14 10:43:24 +08:00
Jiang Jiang Jian
9248dcfc17 Merge branch 'doc/update_nimble_mesh_example_information_v4.3' into 'release/v4.3'
Nimble: Update Mesh example documentation (v4.3)

See merge request espressif/esp-idf!21580
2022-12-14 10:42:46 +08:00
jack
fc1e91f53c esp_wifi: update wifi lib
1.wifi: fixed sniffer mode can not capture control packet when station is enabled
2.Fixed WAPI issue on GTK compability and reference to broadcast arp pkts.
3.Fixed TX fragment issue that PN code is less than MSDU after PN code add two for TX fragment.
4.Added station connect retry count to make it easier to connect to the except AP
5.Fixed some issues on Soft-AP power save.
6.Fixed SoftAP memory leak after wifi init and deinit
7.Fixed sta get ap info does not return connected ssid issue.
8.Fixed SoftAP disconnection happened even when receive PS-Poll.
2022-12-13 16:19:41 +05:30
Rahul Tank
4e366665ae Nimble: Update documentation to include distinction between upstream
mesh example and ESP-BLE-MESH
2022-12-13 12:56:29 +05:30
morris
81ee095b16 Merge branch 'bugfix/fix_slave_gpio_cs_mixed_with_iomux_bus_v4.3' into 'release/v4.3'
spi_slave: fix slave can't use iomux bus mixed with gpio cs_pin (v4.3)

See merge request espressif/esp-idf!21376
2022-12-12 15:49:09 +08:00
Jiang Jiang Jian
19310eea60 Merge branch 'bugfix/correct_the_default_SR_mode_v4.3' into 'release/v4.3'
bugfix/correct the SR_mode selection when konw nothing about Peripheral's SR_mode (v4.3)

See merge request espressif/esp-idf!21521
2022-12-12 14:57:27 +08:00
Wang Meng Yang
4268238733 Merge branch 'feature/report_acl_conn_cmp_stat_to_app_v4.3' into 'release/v4.3'
feature/report ACL link related events to application (v4.3)

See merge request espressif/esp-idf!21526
2022-12-12 10:51:55 +08:00
Rahul Tank
b07ca316d0 Nimble: Support maximum number of connections to 9 on ESP32-C3 and ESP32-S3 2022-12-09 19:13:56 +05:30
jincheng
629d445374 Added ACL link related events handler in A2DP sink GAP callback 2022-12-09 11:16:08 +08:00
jincheng
31b6acc88a Added reporting for ACL link related events to application 2022-12-09 11:15:56 +08:00