Commit Graph
99 Commits
Author SHA1 Message Date
liuning b9688b97ec fix(wifi): fix some esp-now issues and lightsleep issues
1. fix tbtt issues when wifi_slp_iram_opt is not enabled and light sleep
   enabled
2. support espnow rx all the time at coexistence default mode, fix some
   coexist perfermance issue with coexistence default mode.
3. support connectionless ps with enhanced_light_sleep
4. fix espnow coexist issue when switching to coexistence mode
5. fix concurrent issue of connectionless_interval_set API
2025-08-06 19:17:58 +08:00
liuning 43e21a032f fix(wifi): fix duplicated offchan error, add coex wifi event imm
Closes https://github.com/espressif/esp-idf/issues/16183
2025-06-25 19:08:15 +08:00
liuning 23f49324b2 fix(pm): reserve txqblocks when mac init at offchannels 2025-06-17 21:10:03 +08:00
liuning 7ab87012db fix(pm): fix ps none status check 2025-06-17 21:09:51 +08:00
liuning 4323627865 fix(wifi): fix cant sleep if connection breaks during sending probe 2025-06-05 20:48:46 +08:00
liuning 6418d4fcf3 feat(wifi): support ESP_WIFI_SLP_SAMPLE_BEACON_FEATURE and ESP_WIFI_SLP_BEACON_LOST_DROP_BEACON 2025-04-15 14:40:30 +08:00
liuning 5a6de21c6d feat(coex): optimize coex schm to rodata 2025-04-14 15:40:39 +08:00
liuning b5f992a9c9 example: add example for beacon sample feature 2025-04-14 11:51:06 +08:00
liuning c00d092bdb feat(wifi): support sample beacon feature
fix: adapt soc wakeup quick wake, fix light sleep beacon sample

feat(pm): giveup beacon and resample if rx prop too low (a16fa11)
2025-04-14 11:50:40 +08:00
liuning 2a0791b223 feat(wifi): support to configure wifi modem sleep parameters 2025-04-14 11:33:22 +08:00
liuning 826c4a098a feat(docs): update connectionless module window syncronization documentation 2025-04-08 10:48:48 +08:00
liuning 595c9f32f4 fix(wifi): fix double max active time, fix coex pwr period cant been updated by ps type set 2024-12-24 14:36:28 +08:00
liuning 43ee4e059c feat(coex): update coexist debug default event 2024-12-24 14:27:43 +08:00
liuning f0701b265d feat(phy): support to query phy used time 2024-11-05 17:18:35 +08:00
liuning 99dbcf536c fix(coex): fix esp32c2/esp32c5/esp32c61 coexist memory leakage issue 2024-10-16 10:26:55 +08:00
liuning 05173abc43 fix(coex): sync up coex head file 2024-10-16 10:26:55 +08:00
liuning 18f959623c fix(coex): fix esp32c5 coexist hw timer issue 2024-10-16 10:26:55 +08:00
liuning 3b8bd7b608 fix(coex): fix some coexist debug issues 2024-10-16 10:26:55 +08:00
liuning 83809910d2 feat(coex): optimize connectionless coexist pwr, optimize wifi pwr with bt idle 2024-09-14 19:28:09 +08:00
liuning 691b6e245b feat(coex): support GPIO debug 2024-09-10 10:40:15 +08:00
liuning 0833cc9bcb fix(phy): update c5 libphy to support sleep, fix wifi coex scan no app issue, fix ble rx crc err
phy_version: 102, 91c24e2, Sep  2 2024
2024-09-03 09:53:03 +08:00
liuning 418c856db0 feat(coex): support esp32c61 coex support 2024-08-30 20:43:06 +08:00
liuning 888967bcb0 feat(coex): support esp32c5mp coexist 2024-07-24 18:03:42 +08:00
liuning d562f9f4f0 fix(coex): fix esp32 crash issue, fix esp32c6 rx issue 2024-07-19 19:23:58 +08:00
liuning 0dcbbb8eb9 fix(coex): fix ESP32 Wi-Fi cant tx after sw_reset with BLE scan
Closes https://github.com/espressif/esp-idf/issues/13598
2024-06-25 15:42:47 +08:00
liuning 68fe185371 feat(wifi): support coex pwr 2024-05-21 14:14:30 +08:00
liuning 68cb30a609 fix(wifi): fix esp32 unrecoverable m f issue 2024-05-16 11:58:33 +08:00
liuning 18cde4e7d8 update c3 s3 c6 libphy fix coex reset and bug 2024-05-08 20:23:55 +08:00
liuning 9783bddde1 feat(coex): support esp32c5 beta3 coexist 2024-04-10 14:09:40 +08:00
liuning bd98ade2a8 fix(wifi): fix coex ld issue 2024-03-28 21:28:10 +08:00
liuning 81b86f657c fix(wifi): fix softap coex start issue, no wifi request if wifi is not used at idle 2024-03-21 19:35:27 +08:00
liuning 1cf760b73f feat(coex): support to scan long time on channel, fix coexist sync issue 2024-03-13 10:54:41 +08:00
liuning 5314cf8aee example: add custom partition table for mesh manual networking 2024-02-27 09:45:21 +08:00
liuning 7440e302be feat(coex): improve Wi-Fi connecting compatibility at coexistence 2024-02-27 09:43:00 +08:00
liuning 42a0128d9c fix(wifi): fix wifi stop cost too much time 2024-02-07 13:49:18 +08:00
liuning 3fa9c578f9 fix(clk): clear all lpclk source at clk init 2024-02-07 13:49:18 +08:00
liuning d962bc560b fix(pm): fix no sleep null after data sent (33290e79) 2024-01-05 14:12:21 +08:00
liuning f7d005bd34 fix(wifi): fix disconnected abnormal sleep 2023-12-06 11:32:02 +08:00
liuning 2366bab75f fix(wifi): fix wifi deinit s_wifi_modem_sleep_lock 2023-11-28 20:56:37 +08:00
Liu Ning e50d9fca3a Merge branch 'feature/refactor_some_coexist_sections' into 'master'
feature(coex): refactor some coexist sections

Closes WIFI-5976、WIFI-5464 以及 TZ-81

See merge request espressif/esp-idf!26706
2023-11-22 17:48:24 +08:00
liuning b47bf9e742 fix(wifi): fix wifi init reentrant issue 2023-11-22 17:39:56 +08:00
liuning c783332962 feat(coex): apply struct for coex version 2023-11-21 18:00:26 +08:00
liuning aec27052b6 feat(coex): rename coexist sections 2023-11-21 18:00:25 +08:00
liuning 4a7a27c189 fix(rom): fix wifi rom ld 2023-10-31 15:41:09 +08:00
liuning 7532df427a fix(rom): remove related rom funcs in c3 rom eco7 MR 2023-10-24 18:05:10 +08:00
liuning 516496b9d3 fix(pm): fix soc wakeup after wifi disconnected, station no respond after m f null, crash when connected to non_trans bssid 2023-10-13 18:14:54 +08:00
Liu Ning 8b74d9381d Merge branch 'bugfix/fix_wifi_beacon_timeout_after_connection_established' into 'master'
fix(wifi): fix wifi beacon timeout after connection established

Closes WIFIBUG-184

See merge request espressif/esp-idf!26385
2023-10-11 09:11:58 +08:00
liuning 79a1cb38dd (fix)esp_wifi: wifi beacon timeout after connection established 2023-10-10 05:50:13 +00:00
liuning 1314a9f8cf esp_wifi: support connectionless manually pwr mgmt 2023-09-18 13:16:54 +08:00
liuning c6db306833 sleep_modem: split esp_wifi_internal_mac_sleep_configure, add lock for pm functions 2023-09-18 11:49:52 +08:00
liuning 90698bf1f5 fix(sleep_modem): fix lightsleep failure if enable lightsleep at phy disabled 2023-09-18 11:46:32 +08:00
Liu Ning de409c2ec3 Merge branch 'bugfix/fix_no_mac_retention_at_wifi_start' into 'master'
fix(esp_wifi): fix no mac retention at wifi start

Closes WIFI-6068 和 WIFI-3695

See merge request espressif/esp-idf!25122
2023-08-03 10:47:52 +08:00
liuning 12b894fd5d fix(esp_wifi): fix no mac retention at wifi start 2023-08-02 21:33:41 +08:00
liuning ca4d22e8fd iperf: apply txline 2023-07-12 17:27:53 +08:00
liuning 2421997131 external coex: add txline, apply coex schm and half tx, apply lowest pti 2023-07-12 17:27:44 +08:00
Liu Ning 8514469092 esp_wifi: fix ret when setting channel at wifi not started, fix timer callback 2023-06-27 21:34:53 +08:00
liuning ae425ec0b8 docs: update for esp32c6 2023-05-31 15:21:09 +08:00
liuning 5bfb5baecf fix(phy): fix lp_bod reset if bt/i154 init phy before wifi 2023-05-18 20:58:44 +08:00
Liu Ning 51c682ce9e Merge branch 'bugfix/wifi_mac_txqmem_retention_in_light_sleep' into 'master'
bugfix: fix wifi mac txqmem retention in light sleep and esp32c6 coexist throughput issue, esp32 coexist issue

See merge request espressif/esp-idf!22955
2023-04-06 14:38:15 +08:00
liuning 0e54382faf esp_coex: fix esp32 wifi schm interrupted by ble suddenly act 2023-04-06 11:09:46 +08:00
liuning a36caf48fe esp_wifi: fix espnow unexpectly enter modem sleep on esp32c2 2023-03-17 17:33:46 +08:00
liuning 14ca81f03f rtc_sleep: workaround systimer stall issue during lightsleep on ESP32C3 2023-03-15 20:33:03 +08:00
liuning db11eaecdc feature: separate coex lib from wifi lib, support esp32c6 internal coex
update wifi, coex, phy libs
2023-02-26 06:58:18 +00:00
liuning 31e340ee0d esp_coex: correct wrapper names 2023-02-26 06:58:18 +00:00
liuning b3a040aa98 coex: apply new coex_schm_callback 2023-02-26 06:58:18 +00:00
liuning 7817c23623 esp_coex: correct Kconfig name 2023-02-26 06:58:18 +00:00
liuning 5e59276ddf esp_wifi: port coex adapter for esp32c6 2023-02-26 06:58:18 +00:00
liuning 38316b38b5 esp_wifi: move coex part from esp_wifi to esp_coex 2023-02-26 06:58:18 +00:00
liuning 103772df94 esp_wifi: support adapter of all chips for new coex lib 2023-02-26 06:58:18 +00:00
Liu Ning cb7686eec7 Merge branch 'bugfix/fix_ci_phy_modem_deinit_esp32c2' into 'master'
ci: fix esp_phy_modem_deinit issue

Closes IDFCI-1532

See merge request espressif/esp-idf!21338
2022-11-30 19:17:51 +08:00
liuning d9ef6aed66 ci: fix esp_phy_modem_deinit issue 2022-11-30 16:39:40 +08:00
liuning b8d3553a1c phy: only set phy_init_flag at power domain off, when all modems deinit 2022-11-25 03:18:12 +00:00
Liu Ning 6bb28c4cdc Merge branch 'bugfix/publish_wifi_connectionless_feature' into 'master'
esp_wifi: fix connectionless issues and add connectionless power-save documenation

Closes BT-2595 和 WIFI-4822

See merge request espressif/esp-idf!20600
2022-11-11 19:40:15 +08:00
liuning b153469841 esp_wifi: fix some connectionless related issue and add connectionless power save guide 2022-11-11 15:59:19 +08:00
liuning c41ce49c7a docs: update BluFi documentation 2022-11-07 13:11:20 +08:00
liuning 785248b3c7 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-11-07 13:11:20 +08:00
liuning 57c394c4e0 esp_wifi: add protection for mac reset 2022-10-31 06:41:42 +00:00
Liu Ning f444aa4a7c Merge branch 'bugfix/esp32s2_fail_to_scan_after_recv_disassoc' into 'master'
esp_wifi: fix fail to scan after recv disassoc/deauth for esp32s2

Closes WIFI-4539

See merge request espressif/esp-idf!19407
2022-08-09 16:02:26 +08:00
liuning 73817d8889 esp_wifi: fix fail to scan after recv disassoc/deauth for esp32s2 2022-08-06 09:54:27 +00:00
liuning bc2f2a3100 esp_wifi: select slowclk as coex hardware timer source on esp32c2 2022-07-22 21:44:11 +08:00
liuning e0decf4839 esp_wifi: fully support connectionless traffic with ps and coex 2022-05-28 08:52:55 +00:00
liuning 9d7479eda3 esp_wifi: fix no null data after WiFi waking up. 2022-05-17 21:45:55 +08:00
liuning 2a8c8686ac esp_wifi: fix common clock bug 2022-01-27 19:21:48 +08:00
ninh f1ee8aa14f esp_wifi: fix nolightsleep after wifi init 2021-04-29 18:50:28 +08:00
ninh 91dbae3eb5 esp_pm: allow dfs to swith down alltime if no lightsleep 2021-04-29 18:41:00 +08:00
ninh 7629a0b22f esp_wifi: fix some issue about wifi pm 2021-04-14 14:42:22 +08:00
ninh 7395e075f8 esp_pm: fix an issue and add an interface 2021-04-01 02:23:42 +00:00
ninh c80310b1f6 esp_wifi: close tsen when close phy 2021-03-31 21:06:00 +08:00
ninh 1c9fec8c8a esp_wifi: fix wdt timeout when enable rf 2021-03-23 10:28:01 +08:00
ninh deb94f4768 esp_wifi: support sta to sleep at disconnected status 2021-03-12 00:20:09 +08:00
ninh 25dcc68b5d newlib: keep esp_rtc_get_time_us when rewrite the value of RTC_SLOW_CLK_CAL_REG 2021-01-21 02:28:21 +00:00
ninh 659d805411 esp_wifi: light sleep optimization 2021-01-18 15:31:03 +08:00
ninh 27aa6c289f components/pm: Add slp gpio configure workaround 2021-01-15 15:34:45 +08:00
ninh 6dd6c8c3cf ci: fix IDFCI-377 2021-01-12 13:04:53 +00:00
ninh dc7bdb9857 adjust lightsleep overhead time and cali slowclk 2021-01-06 03:40:28 +00:00
ninh e908a32381 put pm_slp_iram_opt and pm_rtos_iram_opt related attributes in esp_pm/linker.lf 2021-01-06 03:40:28 +00:00
Liu Ning 57aa65eeed components/pm: Add sleep related code iram opt chioce 2020-12-23 14:45:36 +08:00
ninh 19fd0f5634 fix reject lightsleep when using rtc gpio to wakeup 2020-10-29 02:47:58 +00:00
ninh aa43ed8bb8 fix reboot or crash when enable lightsleep on esp32s2 2020-09-07 15:38:00 +08:00