Commit Graph
100 Commits
Author SHA1 Message Date
zhangyanjiao e221554c3e fix(wifi/mesh): fixed the mesh connection failure in WPA3 mode after erasing flash
Closes https://github.com/espressif/esp-idf/issues/14095
2025-01-13 11:16:47 +08:00
zhangyanjiao 556b7c96b2 fix(ci): Enlarge the pcap memory size in sniffer example 2024-12-17 11:11:27 +08:00
zhangyanjiao 5a354837a8 fix(wifi): Optimization for wifi components
1. fix(wifi/pm): Fixed the tbtt interval update error when AP's beacon interval changed
   Closes https://github.com/espressif/esp-idf/issues/14720
2. fix(wifi/mesh): Enlarge the mesh TX task stack
3. fix(wifi/espnow): Added check for espnow type and length on v1.0
4. fix(wifi/mesh): Fixed delete group id error in wifi mesh
   Closes https://github.com/espressif/esp-idf/issues/14735
2024-11-14 10:42:42 +08:00
zhangyanjiao f9ef78528e docs(wifi/espnow): Update the description for ESP-NOW frame 2024-11-14 10:25:56 +08:00
zhangyanjiao d47ed7d6f8 fix(wifi): Support AES IV with random value in esptouch v2 2024-11-11 15:37:32 +08:00
zhangyanjiao cf21dd6b8b fix(wifi/mesh): update the mesh ip_internal_network example 2024-08-23 11:35:25 +08:00
zhangyanjiao 117c85961a fix(wifi/mesh): fixed the dhcp offer send error issue when root restart multiple times
Closes https://github.com/espressif/esp-idf/issues/13212
2024-08-23 11:35:15 +08:00
zhangyanjiao 845725a60f fix(wifi/mesh): clear the rootless state in mesh ie when changing from leaf to root
Closes https://github.com/espressif/esp-idf/issues/14063
2024-08-23 11:34:47 +08:00
zhangyanjiao 5e2951c8e8 fix(wifi/mesh): fix the beacon timeout issue in mesh 2024-07-30 14:36:46 +08:00
zhangyanjiao 2a6f4e796c fix(wifi/mesh): fix the issue that xon request timeout constantly when root reboot
Closes https://github.com/espressif/esp-idf/issues/13212
2024-07-17 19:06:34 +08:00
zhangyanjiao d0b7d7e75c fix(wifi): do not send null data when scan start/done for mesh
Closes https://github.com/espressif/esp-idf/issues/13786
2024-06-06 17:52:12 +08:00
zhangyanjiao d4c1af3740 fix(lwip): fixed the dhcp pool error on dhcp server 2024-06-03 11:33:12 +08:00
zhangyanjiao 8c958fb8c7 docs(wifi): update the docmentation for mesh API 2024-06-03 11:29:54 +08:00
zhangyanjiao a1fa536990 fix(wifi): fixed sniffer and espnow issue
1. fix(wifi): fixed sniffer dump fcs error packets fail

Closes https://github.com/espressif/esp-idf/issues/10777

2. fix(wifi): fixed the espnow priv parameter get error

Closes https://github.com/espressif/esp-idf/issues/13693
Closes https://github.com/espressif/esp-idf/issues/13880
2024-06-03 11:29:17 +08:00
zhangyanjiao 5570cd2a97 fix(wifi): fix the tx issue when mesh packet lifetime remain equal to zero 2024-05-13 10:42:39 +08:00
zhangyanjiao 830464eee7 docs(wifi): update the docmentation for sniffer API
Closes https://github.com/espressif/esp-idf/issues/10740
2024-04-17 16:17:00 +08:00
zhangyanjiao 83f272ca4f docs(wifi): change the magic varible from int to uint32_t on the receiving side
Closes https://github.com/espressif/esp-idf/issues/10912
2024-04-17 16:16:49 +08:00
zhangyanjiao 7727b7f693 docs(wifi): Updated the LMK description in ESP-NOW
Closes https://github.com/espressif/esp-idf/issues/12976
2024-03-15 15:05:10 +08:00
zhangyanjiao 1a4234c0e1 fix(wifi): fixed the spiram malloc issue in wifi mesh
Closes https://github.com/espressif/esp-idf/issues/13285
2024-03-14 10:28:32 +08:00
zhangyanjiao 8a6c2fe68f fix(wifi): fixed scan and home channel change issues
1. update scan ap number when clear scan ap records
2. fixed the old_snd filed error in WIFI_EVENT_HOME_CHANNEL_CHANGE event

Closes https://github.com/espressif/esp-idf/issues/13051
2024-02-22 15:09:09 +08:00
zhangyanjiao 69aeebb986 fix(wifi): fix the crash and malloc fail issue
1. fix(wifi/mesh): fix the crash issue when mesh deinit
2. fix(wifi):fix when ap recv auth in sa query porcess will memset psq issue
2024-01-17 16:57:44 +08:00
zhangyanjiao 1427e14b72 feat(wifi): add wifi channel change event
Closes https://github.com/espressif/esp-idf/issues/12538
2023-12-19 13:11:01 +05:30
zhangyanjiao c26660e504 fix(wifi/mesh): fix connection and opmoode error in mesh
1. fix the bug that station can't found AP when the authmode is WPA
2. fix wifi mode error when mesh start after station has connected to router

Closes https://github.com/espressif/esp-idf/issues/12646
2023-12-08 13:08:55 +00:00
zhangyanjiao 609d25482b fix(wifi): fix the crash issue when clear scan ap list 2023-12-05 18:54:15 +05:30
zhangyanjiao 36cbbdcf65 feat(wifi): add new api to get one scan ap record 2023-12-05 18:54:06 +05:30
zhangyanjiao 00484dc8a7 feat(wifi/vendor): get more wifi information in csi rx callback 2023-11-16 11:11:26 +08:00
zhangyanjiao 539c4d8cd0 doc(Wi-Fi/Vendor): Update comments for wifi_csi_info_t 2023-11-16 11:09:52 +08:00
zhangyanjiao 07245bf43a fix(wifi/mesh): fix the IE crypto disable error and update doc 2023-11-16 11:03:59 +08:00
zhangyanjiao 86a62e1de9 fix(wifi): fix rate check error in fragment 2023-11-06 19:16:14 +08:00
zhangyanjiao 04ea824740 fix(lwip): Modify the DHCP offer and DHCP ack from broadcast to unicast 2023-10-09 17:52:01 +08:00
zhangyanjiao 467c55314f doc(WiFi/Vendor): Update the ESPNOW example for the recv callback function 2023-09-07 16:04:50 +08:00
zhangyanjiao e9e149fc88 fix(wifi): fix some bugs in LR and bandwidth
1. Fix the LR rate set fail for espnow and 80211 tx
2. Check phy bandwidth when setting espnow peer rate

Closes https://github.com/espressif/esp-idf/issues/11751
2023-08-17 17:55:57 +08:00
zhangyanjiao a33a78f73f fix(wifi): fix the RX error when softAP and ESP-NOW both encrypted 2023-07-26 10:32:01 +08:00
zhangyanjiao 7ae5822f0e fix(wifi): Add bugfixes and improvements
1. Update wifi security mode
2. Add check for memory allocation in tx buffers
3. Fix association refused temporarily comeback time set to zero issue
2023-07-11 21:25:24 +08:00
zhangyanjiao 277f0f4470 feat(wifi): Add API to get RSSI info after station connects to AP
- Add esp_wifi_sta_get_rssi() function to retrieve RSSI info after station connects to AP
2023-07-06 17:27:42 +08:00
zhangyanjiao ce4b54361e esp_wifi:
1. mesh: layer2 node will scan all channels when fixed root leave
2. show warning info when setting max connection num for softAP
2023-05-26 11:33:33 +08:00
zhangyanjiao 71bb7d681a Update the ESP-NOW frame length in docs 2023-04-07 06:58:22 +00:00
zhangyanjiao 58defbf453 wifi_mesh: fix the heap corrupt issue in MTXON task 2023-04-07 06:58:22 +00:00
zhangyanjiao a6d5ad1dfb esp_wifi: Update tx rate when phymode change from LR to 11N 2023-03-30 10:51:30 +08:00
zhangyanjiao c7e0fa5f6a wifi_mesh: update mesh doc 2023-03-22 16:32:43 +08:00
zhangyanjiao 1cd056b49e wifi_mesh: Fix several bugs on mesh network 2023-03-22 11:44:12 +08:00
zhangyanjiao 572f117b79 fix typos in docs 2022-12-16 15:52:21 +08:00
zhangyanjiao 590481d531 esp_wifi: change max connection num on ESP32C3 and ESP32S3
Closes WIFI-5114
2022-12-15 15:23:32 +08:00
zhangyanjiao 4b5904aa58 esp_wifi: fix the ESPNOW crash when modify the interface of the peer
Closes WIFI-5046
Closes WIFI-5047
2022-12-01 11:13:10 +08:00
zhangyanjiao 8226de767c esp_wifi: fix esp32c3 connect fail
Closes IDFCI-1524
2022-11-28 16:09:24 +08:00
zhangyanjiao fbbb762a4e update wifi lib:
1. Modify wifi max connection num
2. Fix the ESPNOW senf fail after changing opmode

Closes IDFGH-7960
Closes WIFI-4176
Closes WIFI-5004
2022-11-18 17:56:46 +08:00
zhangyanjiao 8683a2622e update doc for espnow max encryped connection 2022-11-17 15:07:49 +08:00
zhangyanjiao d11ee31bf1 Modify maximum softap conn num and espnow encryption peer num 2022-11-17 15:02:34 +08:00
zhangyanjiao eab2ce1ca8 esp_mesh: fix the memeory leak issue when call esp_mesh_start/stop
Closes WIFI-5023
Closes FCS-1081
Closes IDFGH-4525
2022-11-16 14:14:07 +08:00
zhangyanjiao c8d0704f1c update doc for set channel 2022-11-09 11:42:26 +08:00
zhangyanjiao 3f87a9824a update wifi reason code 2022-11-09 11:42:26 +08:00
zhangyanjiao a37e3b5271 esp_wifi: report rssi info in wifi event 2022-11-07 13:11:14 +08:00
zhangyanjiao ff54ae22f7 lwip: fix the bug that long time to get IP
Closes WIFI-4932
2022-11-03 12:01:13 +08:00
zhangyanjiao a165d5b3ef esp_wifi: fix connect fail when enable SPIRAM
Closes IDFGH-8189
2022-10-08 15:49:02 +08:00
zhangyanjiao cdf1c69cbc esp_wifi: Fix the bug that espnow clear key register fail
Closes WIFI-4696
2022-08-23 14:47:47 +08:00
zhangyanjiao e979e9701f esp_wifi: bringup esp32c2 wifi 2022-05-28 08:52:55 +00:00
zhangyanjiao 7e0090b029 modify API-reference using Sphinx directives 2022-04-26 10:18:41 +08:00
zhangyanjiao e3b8f59867 update wifi api docs 2022-04-24 23:55:54 +08:00
zhangyanjiao 8ff8222519 esp_wifi: fix ESPTouch v2 issues 2021-03-30 14:29:33 +08:00
zhangyanjiao c803b37315 esp_wifi:
1. Added encrypt option for ESPTouch v1
2. Fixed issue of reason code change from 15 to 200 when provide wrong password
2021-02-26 20:17:43 +08:00
zhangyanjiao c97279b51c esp_wifi: fixed some Wi-Fi bugs
1. Fixed the MIC comparison logic AES-128-CMAC decryption
2. Fixed issue of setting incorrect log_length of NVS misc log
2021-01-29 19:29:57 +08:00
zhangyanjiao 1da9d9c356 esp_wifi: add esptouch v2
Closes https://github.com/espressif/esp-idf/issues/1311
2021-01-15 14:32:46 +08:00
zhangyanjiao 4ebc4eda8c esp_wifi: fix the espnow bug for esp32c3 2020-12-25 18:31:35 +08:00
zhangyanjiao e040168a9f esp_wifi: fix the bug that esp32s2 can't get CSI info
Closes https://github.com/espressif/esp-idf/issues/5857

Closes https://github.com/espressif/esp-idf/issues/1855
2020-12-23 16:18:11 +08:00
zhangyanjiao c0f4fdfd4d wpa_supplicant: Use WPA3 flag to reduce code size
Flag ESP32_WIFI_ENABLE_WPA3_SAE from Menuconfig is used to
control the stack size required by WPA3. Use the same flag
to compile out the WPA3 code and control the code size.
With this flag disabled code footprint reduces by about 7.7kB
in libwpa_supplicant.a
Update WiFi libs with added checks to cleanly handle disabling
of WPA3 callbacks.

Closes https://github.com/espressif/esp-idf/issues/5971
2020-11-23 14:28:12 +08:00
zhangyanjiao 2a5a6a87fd esp_wifi: fix tsf bug
Closes https://github.com/espressif/esp-idf/issues/5915
2020-10-20 16:08:22 +08:00
zhangyanjiao 7b10cbfaaa esp_wifi: fix the bug that no event when run connect twice 2020-09-24 14:40:41 +08:00
zhangyanjiao f8ea1f0045 esp_wifi:
1. get primary channel from HT info
2. fix the bug that set_channel doesn't work for softAP when STA connects
2020-09-01 14:46:50 +08:00
zhangyanjiao a5c05e2c94 esp_wifi: fix the bug for softAP power save buffer issue 2020-08-05 14:35:50 +08:00
zhangyanjiao b47dee59dc esp_wifi: fix the crash when wifi stop after deinit 2020-08-05 11:50:27 +08:00
zhangyanjiao b9b82659dd esp_wifi:
1. fix the bug when calculating the PMK, the local rx beacon time increment is 0
2. mesh: don't disconnect when tbtt update
2020-07-02 16:50:21 +08:00
zhangyanjiao 7cf59a8d18 esp_wifi:
Zhang Yan Jiao authored 1 day ago
1. Add TBTT update when AP reset TSF
2. fix the bug for regdomian update
3. update ESP32S2 phy lib to 601,5b0f7cd
2020-06-19 14:24:23 +08:00
zhangyanjiao b73f62c95d esp_wifi: fix the bug that airkiss find hidden AP fail 2020-06-15 17:13:09 +08:00
zhangyanjiao 6f5e9398f7 esp_wifi: upadte esp32 phy lib to 4182
Closes https://github.com/espressif/esp-idf/issues/5323
2020-06-05 17:07:18 +08:00
zhangyanjiao 1fe08ef40e wifi: fix the bug that ESP32S2 can't receive AMPDU when airkiss 2020-06-02 14:57:13 +08:00
zhangyanjiao 4dc7a36eca wifi: fix the crash issue when fetch peer after delete cur_peer 2020-05-12 21:05:50 +08:00
zhangyanjiao b96652c257 wifi changes:
1. fix the bug for softAP update second channel wrong
2. query country code wrong when policy change from manual to auto
3. change wifi_scan_time_t from union to struct
2020-04-28 20:02:25 +08:00
zhangyanjiao a11673ebe4 wifi: return fail when setting softAP's channnel is out of range 2020-03-16 17:34:48 +08:00
zhangyanjiao 36c726de99 esp_wifi: fix bugs related to espnow and channel set
1. Fix the bug for setting channel when Wi-Fi in NULL mode
2. Fix the espnow crash issue
2020-03-02 11:32:05 +08:00
zhangyanjiao 50b9ccf8b4 fix the bug for Airkiss
Closes https://github.com/espressif/esp-idf/issues/3362
2020-02-12 08:27:09 +00:00
zhangyanjiao 56c309b40b fix the bugs in ESP-NOW:
1. fix the bug when modifying the channel info of peer node
2. fix the crash when modifying peer node between unencrypted and encrypted
3. fix the bug for fetch peer
4. modify the esp_wifi_set_channel() function
5. fix the bug that the channel parameter doesn't work when adding peer node

Closes https://github.com/espressif/esp-idf/issues/2833
Closes https://github.com/espressif/esp-idf/issues/4311
2019-12-25 11:46:27 +08:00
zhangyanjiao 7416c37fe1 fix the bug for getting channel and bandwidth 2019-12-23 20:06:13 +08:00
zhangyanjiao b9da410cbb espnow: fix the bug for calling esp_wifi_set_channel(), this function only can be called after Wi-Fi started and sniffer enabled. 2019-11-13 16:40:30 +08:00
zhangyanjiao bf37f8a03c 1. modify esp_wifi.h to support esp_netif feature
2. fix the bug for API_CHECK_ENABLE
2019-11-06 12:48:02 +00:00
zhangyanjiao 53d57dd736 esp_wifi:
1. Fixed smartconfig ipc crash
2. Fix the WiFi init sequence bug
3. Fixed the bug that WiFi stop leads to task watchdog
2019-09-29 10:44:49 +08:00
zhangyanjiao d885df946a fix the bug that ESP32 sends broadcast to phone after smartconfig done 2019-09-11 10:42:16 +08:00
zhangyanjiao 45c72dd372 fix the bug that STA fails to connect WPA_WPA2_PSK Apple AP 2019-09-05 20:20:42 +08:00
zhangyanjiao ff96965a91 wifi: fix the bug for softAP set authmode 2019-08-23 14:37:08 +08:00
zhangyanjiao 02e5266778 modify WIFI_CONN_0101 case for wrong authmode of AP 2019-08-02 10:22:46 +08:00
zhangyanjiao 9f9d876799 wifi: fix wifi bugs for authmode and multi ssid 2019-08-02 10:22:20 +08:00
zhangyanjiao 017a60a69d fix the wrong comment in esp_wifi_types.h 2019-08-01 12:24:08 +00:00
zhangyanjiao 62bb107b31 docs: fix the bug in wifi doc 2019-07-29 14:55:17 +08:00
zhangyanjiao 69504bd9c5 phy change for WiFi scan BLE scan watchdog 2019-07-18 11:00:18 +08:00
zhangyanjiao d1bf08d4ad coexist: fix the watchdog bug during WiFi scan and BLE scan 2019-07-12 20:23:59 +08:00
zhangyanjiao 22a991bb29 wifi bugfixs:
1. fix the bug no disconnect event when STA recv disassoc after sending auth
2. fix the bug full scan send multi events when recv deauth/disassoc

Closes https://github.com/espressif/esp-idf/issues/3474
2019-05-24 11:23:16 +08:00
zhangyanjiao 513353c641 wifi: fix the bug when scan fail after STA failed to connect to a nonexistent AP 2019-04-22 11:59:40 +08:00
zhangyanjiao 7097e5b0d0 wifi: fix the set config bug for bssid_set 2019-04-16 10:57:00 +08:00
zhangyanjiao b13ceaf468 wifi: increase the block scan time because of changing channel will take at 30nm when BT/WiFi coexist 2019-04-01 03:12:20 +00:00
zhangyanjiao ebe7190f01 wifi: modify wifi reason code 2019-03-26 11:16:47 +08:00
zhangyanjiao 6408ef9e7c wifi: fix the bug that when call set_config before connecting to an encrypted AP, PMK will be recalculated
Closes https://github.com/espressif/esp-idf/issues/2880
2019-03-15 16:28:58 +08:00