Commit Graph
65 Commits
Author SHA1 Message Date
muhaidong bd77a74c9d esp_wifi: update pairwise cipher in softAP 2023-04-27 14:08:28 +08:00
muhaidong bd16d6feeb esp_supplicant: When the softAP authentication mode is set to WPA2_PSK, WPA2_WPA3_PSK, or WPA3_PSK, the pairwise cipher will be overwritten with WIFI_CIPHER_TYPE_CCMP 2023-04-27 10:56:36 +08:00
muhaidong 76ac4add53 esp_supplicant: wpa pmf should be disabled 2023-04-27 10:56:25 +08:00
muhaidong a33b9f9101 esp_wifi: fix logs information messages at warning level issue
1. fix logs information messages at warning level issue
2. fix set inactive time crash issue
2023-03-31 11:41:18 +08:00
muhaidong 61a5785414 Remove -Wno-format in esp_phy, esp_wifi, wpa_supplicant components 2023-03-27 06:42:08 +00:00
muhaidong f1cec643a7 esp_phy: add menuconfig of phy calibration mode 2023-03-20 11:16:37 +08:00
muhaidong 7207194442 disable reduce PHY TX power when brownout reset 2023-03-20 11:10:32 +08:00
Mu Hai Dong 40cc39528c Merge branch 'feature/multiple_antenna_example' into 'master'
add multiple antenna test example

Closes WIFI-5237 and WIFI-4985

See merge request espressif/esp-idf!22452
2023-03-15 11:49:09 +08:00
muhaidong 610cc41847 esp_wifi: fix pre commit issue 2023-03-14 16:06:41 +08:00
muhaidong fcdea7e9d4 smartconfig: fix the issue of sending failure and exit 2023-03-09 05:17:50 +00:00
muhaidong 4cb4faa998 esp_wifi: fix sta auth failed but softap shows it connected issue 2023-02-22 06:52:59 +00:00
muhaidong ec980ecc5f esp_wifi: fix ftm procedure with peer failed status 4 issue
1. send ftm frames immediately
2. fix ftm procedure with peer failed status 4 issue
2023-02-08 20:25:19 +08:00
muhaidong f72576684c wifi_mesh: Remove-Wno-format compile option for mesh examples 2023-02-08 02:32:07 +00:00
muhaidong f855d0790d docs: update ftm docs 2023-01-10 21:14:51 +08:00
muhaidong fe576d316e docs: add some details for wifi scan description 2023-01-10 21:14:42 +08:00
muhaidong b2e302fc97 docs: update wifi amsdu receiving docs 2023-01-10 21:14:34 +08:00
muhaidong 0af89c4611 esp_wifi: send null data when state change from association to run 2022-12-26 17:21:52 +08:00
muhaidong 66465ad7d7 esp_wifi: Remove -Wno-format compile option for FTM example, iperf example, roaming example 2022-12-23 11:05:17 +08:00
muhaidong d912bbbcb0 esp_phy: add country code 01 to country code map type table 2022-12-18 14:25:17 +08:00
Mu Hai Dong 8574ec3bd3 Merge branch 'doc/update_wifi_amsdu_docs' into 'master'
doc: update wifi amsdu docs

Closes DOC-4069

See merge request espressif/esp-idf!21230
2022-12-02 14:22:48 +08:00
muhaidong b07438f26f esp_wifi: fix softap beacon memory leak issue
1. fix softap beacon memory leak issue.
2. fix esp wifi sta get ap info does not return connected ssid issue.
3. update inactive timer when recv ps-poll or success send data.
4. decrease test memory leak threshold.
2022-12-02 02:24:02 +00:00
muhaidong 18d9f4322b doc: update wifi amsdu docs 2022-12-01 14:57:58 +08:00
muhaidong cc4be9946d esp_wifi: fix some softap issues
1. add lldesc_config and clr PWR MGT flag
2. send null data instead of qos null data when receive ps-poll while power save queue is empty
3. update power save queue hw len
4. set more data bit
5. only send null data when psq hw len is 0 after recv ps-poll
2022-11-09 20:47:44 +08:00
muhaidong e972161b7a esp_wifi: Modify wifi scan return value.
1. Modify wifi scan return value same to docs.
2. Change some logs' log level wo avoid misunderstanding.
3. Fix connect fail return wrong error code issue
2022-11-09 11:43:09 +08:00
muhaidong 4953f59b25 esp_wifi: number of WiFi cache TX buffers should not equal 0 when enable SPIRAM 2022-11-07 17:09:00 +08:00
muhaidong c2fe257ad6 esp_wifi: fix ignore rx sub ampdu interrupt issue 2022-10-13 11:40:13 +08:00
muhaidong 0960aa8d87 wpa_supplicant: try install gtk before send 2 of 2 2022-09-05 21:28:19 +08:00
Mu Hai Dong 681c538d77 Merge branch 'bugfix/fix_set_country_code_before_wifi_start_issue' into 'master'
esp_wifi: fix set country code before wifi start issue.

Closes IDFGH-8011

See merge request espressif/esp-idf!19631
2022-09-05 12:17:11 +08:00
muhaidong a3226bd32a docs: update wifi country code docs. 2022-09-03 20:31:37 +08:00
muhaidong 067f4df513 esp_wifi: add small UT for country code 2022-09-03 20:31:37 +08:00
muhaidong 6f25e37ccb esp_wifi: fix set country code before wifi start issue. 2022-09-03 20:31:23 +08:00
muhaidong 3887cac78e esp_wifi: fix pairwise cipher tkip pmf compability issue. 2022-08-24 18:09:37 +08:00
Mu Hai Dong cd39088c9c Merge branch 'bugfix/fix_init_memory_leak_issue' into 'master'
esp_wifi: done beacon monitor timer when call pm deattach

Closes WIFI-4675, WIFI-4676, WIFI-4694, and WIFI-4695

See merge request espressif/esp-idf!19375
2022-08-16 17:43:17 +08:00
muhaidong 36feb95a9e esp_wifi: done beacon monitor timer and eloop timer when deinit 2022-08-09 17:22:39 +08:00
muhaidong 5fd42affdb esp_wifi: fix disconnect after set country issue 2022-08-03 11:53:37 +08:00
muhaidong ab8be80c3c esp_wifi: fix deinit return wrong value
1. Deinit does not return ESP_ERR_WIFI_NOT_INIT if the wifi driver is no longer initialized.
2. Fix get wrong channel value use esp_wifi_get_config.
3. Fix bug of missing unlock when wifi stop.
4. Fix annotation error of api esp_wifi_connect.
2022-08-02 11:45:21 +08:00
Mu Hai Dong 0aa6612371 Merge branch 'docs/remove_wifi_part_docs_not_updated_esp32c2' into 'master'
docs: remove wifi part in docs_not_updated of esp32c2

Closes WIFI-4620

See merge request espressif/esp-idf!19024
2022-07-27 13:11:54 +08:00
muhaidong b1ec15424c docs: remove wifi part in docs_not_updated of esp32c2 2022-07-13 17:16:59 +08:00
muhaidong 8daab872c5 esp_wifi: fix sta reset beacon timeout timer issue 2022-07-13 16:35:34 +08:00
muhaidong 52f378ac7b esp_wifi: reset beacon timeout timer when keep alive null works or hw drop beacon 2022-07-11 20:54:25 +08:00
Mu Hai Dong eb4421bf33 doc: esp32c2 wifi programming guide doc. 2022-07-07 14:13:11 +08:00
Mu Hai Dong cfa3b03d8e Merge branch 'bugfix/fix_blufi_example_softap_current_connection_equal_zero_issue' into 'master'
bluetooth:fix two blufi example bugs

Closes IDFGH-6621

See merge request espressif/esp-idf!18298
2022-06-30 15:34:11 +08:00
muhaidong 5dc221b0fc bluetooth: fix two blufi example bugs
1. Softap mode do not assign ip
2. SotAp current connection always show 0
2022-06-30 14:26:23 +08:00
Mu Hai Dong b0b44221ed Merge branch 'bugfix/fix_deinit_init_connect_fail_issue' into 'master'
esp_wifi: clear phy calibrated flag when phy pd memory deinit

Closes WIFI-4467, WIFI-4555, and WIFI-4543

See merge request espressif/esp-idf!18716
2022-06-30 12:13:36 +08:00
Mu Hai Dong 8078092fae Merge branch 'docs/update_wifi_beacon_timeout_doc' into 'master'
docs: update wifi beacon timeout docs

Closes WIFI-4427 and IDFGH-7496

See merge request espressif/esp-idf!18379
2022-06-29 21:54:29 +08:00
muhaidong 3ed30a515f esp_wifi: clear phy calibrated flag when phy pd memory deinit 2022-06-28 15:03:11 +08:00
muhaidong 96f86e0bb4 esp_wifi: esp32c2 does not support wifi mesh 2022-06-21 16:48:52 +08:00
muhaidong b48b9beace esp_wifi: esp32c2 does not support csi. 2022-06-20 21:47:51 +08:00
muhaidong 9a25d06b5f esp_wifi: esp32s2 esp32c3 and esp32s3 support ftm 2022-06-20 21:47:51 +08:00
muhaidong 2ccce0ca41 esp_wifi: update comments of WI-FI CAPS in soc_caps.h 2022-06-20 19:43:16 +08:00
muhaidong 6ca2804107 esp_wifi: esp32c2 does not support wapi. 2022-06-20 11:42:12 +08:00
muhaidong 820bfe9cd8 esp_wifi: fix ftm with ps and add multiphy support for c2
1. sleep: fix potential issue when PSRAM enable.
2. esp32c2: add multiphy support.
3. ftm: workaround for ftm with ps.
4. add regdomain max channel of ap.
5. update total scan time.
6. update min chan when country policy is auto.
7. check whether country schan and nchan is valid.
2022-06-16 20:11:22 +08:00
muhaidong 1b496ed9e2 docs: add WIFI_EVENT_STA_BEACON_TIMEOUT event docs. 2022-06-07 17:59:40 +08:00
muhaidong 9be681be35 docs: update wifi beacon timeout docs 2022-06-06 17:00:26 +08:00
Mu Hai Dong 2905223889 Merge branch 'bugfix/fix_country_policy_issue' into 'master'
esp_wifi: fix country policy issue

Closes WIFI-3908, WIFI-4287, and WIFI-4279

See merge request espressif/esp-idf!17366
2022-06-02 20:01:07 +08:00
muhaidong 06fb6b2e32 esp_wifi: fix country policy issue
1. Fix not update phy according to country code.
    2. Update regdomain max channel according to country info from nvs and or AP.
    3. Change nvs default country from "CN" to "01".
    4. Channel 14 is allowed only 11b mode.
    5. Remove csa when switch channel from/to 14 channel.
    6. Update phy mode nvs when softap channel from 14 to other.
    7. Fix the bug that check whether channel parameter is valid.

Docs: change default country from "CN" to "01"
2022-06-02 16:15:48 +08:00
muhaidong af04a58633 docs: modify some Chinese expressions related to CSI 2022-06-02 11:55:48 +08:00
muhaidong ce37a2f205 docs:update wifi sci subcarrier index docs 2022-06-02 11:25:59 +08:00
Mu Hai Dong 1ce55c9267 Merge branch 'docs/update_wifi_multiple_antennas_doc' into 'master'
docs: update wifi multiple antennas docs

Closes WIFI-4034

See merge request espressif/esp-idf!17966
2022-05-10 15:58:28 +08:00
muhaidong 832eed4b22 docs: update wifi multiple antennas docs 2022-05-03 14:50:39 +08:00
muhaidong 8ef2ed8269 esp_wifi: fix the bug that check whether bssid is zero mac 2022-04-24 20:09:07 +08:00
muhaidong 832123a5e1 esp_wifi: fix fragment plt loss and update header file
1. fix(pp): fix fragment plt loss when 2td pn compare with 1th pn
2. pmf allow keyindex in big endian format to workaround faulty APs
3. docs: update miswritten and abbreviated words and syntax errors for initialize WiFi section in esp_wifi.h header file
4. allow for minimal scope of wifi_init_config_t
2021-12-08 19:39:14 +08:00
muhaidong f9b2cb6f11 esp_wifi:compute packet length use lldesc length instead of rx_ctl sig_len in sniffer mode 2021-12-01 21:07:32 +08:00
muhaidong 5eee64bd16 esp_wifi: fix airkiss and esptouch find channel crash issue 2021-08-25 20:34:27 +08:00
muhaidong b54c2732fc esp_wifi: fix nvs init status issue 2021-07-30 11:13:27 +08:00