Commit Graph

169 Commits

Author SHA1 Message Date
Li Shuai
958ae62197 power save: fix bcn_timeout and disconnect with error code 201, m f probe req l=0 issue 2023-07-13 17:02:50 +08:00
Jiang Jiang Jian
a300e79589 Merge branch 'backport/openthread_light_sleep' into 'release/v5.1'
Backportv5.1/openthread light sleep

See merge request espressif/esp-idf!24736
2023-07-13 10:20:38 +08:00
Jiang Jiang Jian
5ed5b83f70 Merge branch 'bufix/update_esp_phy_h_comments_5.1' into 'release/v5.1'
esp_phy:update comments in esp_phy_init.h_5.1

See merge request espressif/esp-idf!24704
2023-07-12 22:36:21 +08:00
xiaqilin
aee329de2b ieee802154: change BLE_BB/ieee802154_BB 2023-07-12 14:36:55 +08:00
xueyunfei
ba54ce8657 esp_phy:update comments in esp_phy_init.h 2023-07-11 17:37:13 +08:00
zhangwenxu
2bee46a354 esp_phy: phy track pll logic refactor 2023-07-11 10:50:29 +08:00
Armando
a33541f036 phy: fix phy pwdet and tsens power cannot be set twice issue
Closes https://github.com/espressif/esp-idf/issues/11627
2023-07-10 11:16:09 +08:00
Cao Sen Miao
acc6d99572 temperature_sensor: Add new interface and reference counts so that phy and driver can use together 2023-07-10 11:16:09 +08:00
zhangwenxu
8592f19a95 esp_phy: fix rtc_printf and libbtbb version print 2023-07-07 17:39:25 +08:00
lixiaofan
044baf90e5 sync libphy to v5.1 2023-07-07 17:38:01 +08:00
Jiang Jiang Jian
64ba835d05 Merge branch 'feat/improve_wifi_rx_in_high_interference_v5.1' into 'release/v5.1'
esp_phy: update esp32c2 phy lib to fix some issues(v5.1)

See merge request espressif/esp-idf!24163
2023-07-07 17:19:27 +08:00
Island
a8c9665ae2 Merge branch 'ble_dev/support_esp32h2_modem_clock_selection_5.1' into 'release/v5.1'
ble: support esp32h2 modem clock selection

See merge request espressif/esp-idf!24388
2023-07-07 16:57:22 +08:00
chenjianxing
bb3bd09b93 esp_phy: update esp32c2 phy lib to fix some issues
1. improve Wi-Fi rx 11b pkts for AC-DC power supply modules.
2. fix Wi-Fi disconnect in low temperature.
3. fix RTC_SW_CPU_RST occur in Wi-Fi start and stop process.
2023-07-06 17:09:09 +08:00
cjin
30a67ed72c btbb: support register retention in esp32c6 2023-07-04 12:09:22 +08:00
cjin
1eb43094c5 phy: update phy enable/disable for h2 light sleep 2023-07-03 11:45:16 +08:00
cjin
06c6281add ble: support esp32h2 modem clock selection 2023-07-03 11:45:16 +08:00
zwl
50d30f7ff1 esp_phy:Update phy lib for ESP32-C2 2023-06-05 16:49:48 +08:00
zhangwenxu
d9e289a5fb esp_phy: updating lib phy to adapt the voltage changes 2023-05-24 10:35:39 +08:00
Jiang Jiang Jian
8cecbafe18 Merge branch 'bugfix/close_phy_tsens_before_sleep_v5.1' into 'release/v5.1'
sleep: fix deepsleep current leakage caused by phy_tsens (backport v5.1)

See merge request espressif/esp-idf!23843
2023-05-19 20:29:22 +08:00
wuzhenghui
fc5fe1132a bugfix: close phy_tsens before deepsleep 2023-05-19 11:04:17 +08:00
liuning
bd0f9b8512 fix(phy): fix lp_bod reset if bt/i154 init phy before wifi 2023-05-18 20:57:57 +08:00
zhiweijian
9b73003628 Fix the bug that the iPhone disconnects immediately after connecting when BLE and wifi coexist 2023-05-16 17:54:06 +08:00
zhangwenxu
ea65b1fefb esp_phy: remove esp32h4 phylib 2023-04-27 11:28:12 +08:00
laokaiyao
954a6a2cff esp32h4: removed esp32h4 related codes 2023-04-26 18:53:12 +08:00
xuxiao
8438887cb4 esp_wifi: update phy_init_data.h for c6 mcs 8 9 power issue 2023-04-24 12:30:30 +08:00
Li Shuai
94ebda298a fix the issue of failure of receiving beacons in modem state caused by enabling light sleep in wifi min/max modem sleep mode 2023-04-07 05:57:15 +00:00
zhangwenxu
32acc034e7 esp_phy: fix esp32h2 rx long term 2023-04-04 08:40:10 +00:00
xiehang
33e9d8c18f esp_phy: Update phy lib
* esp32s3: phy_version: 600, 8dd0147, Mar 31 2023, 16:34:12
* esp32c3: phy_version: 960, 7392adf, Mar 31 2023, 16:27:13
2023-03-31 17:45:08 +08:00
muhaidong
61a5785414 Remove -Wno-format in esp_phy, esp_wifi, wpa_supplicant components 2023-03-27 06:42:08 +00:00
wangmengyang
cbb8bf9f88 esp_phy: added API esp_btbb_disable
APIs esp_btbb_enable and esp_btbb_disable are supposed to be used by 802.15.4 and Bluetooth module, and implemented with reference counter for resource management
2023-03-23 05:40:32 +00:00
Shen Weilong
16a05153c9 esp_phy: delete phy_multiple_init_data.bin for esp32h2 2023-03-20 19:09:29 +08: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
wuzhenghui
94034246b2 bugfix: close rf in deep sleep prepare to reduce base current 2023-03-17 19:45:56 +08:00
wangmengyang
20e596bbcf esp_phy: fix failure of unit test for test_phy_rtc_init on ESP32-C6
- esp_phy_enable() blocks in the unit test due to the FE related functions in modem clock registers are not enabled. This MR adds dependency of FE for PHY module.
2023-03-16 12:13:00 +08:00
Jiang Jiang Jian
266a58f85b Merge branch 'bugfix/add_rf_test_lib' into 'master'
esp_phy: Update esp32c3/s3 phy lib and add test lib

Closes WIFI-5097

See merge request espressif/esp-idf!22058
2023-03-13 20:21:47 +08:00
jingli
cb0f517fe3 soc/soc_caps: update soc caps for chips that support power-down of modem hardware
Closes WIFI-4424
2023-03-10 14:15:27 +08:00
xiehang
c8d7c9bd71 Add the output RX result command 2023-03-10 09:29:27 +08:00
Jiang Jiang Jian
7dd7498212 Merge branch 'bugfix/add_mmu_pwr_ctrl_reg_to_retention_link' into 'master'
bugfix: esp32c6 light sleep minor fixes

Closes WIFI-5353

See merge request espressif/esp-idf!22619
2023-03-08 14:44:51 +08:00
xiehang
481c264d0d Add cert test example 2023-03-08 11:03:33 +08:00
xiehang
de4091b0d8 esp_phy: Add RF certification APIs 2023-03-08 11:03:16 +08:00
Ivan Grokhotkov
e0009e6d9e Specification Kconfig description 2023-03-08 11:01:49 +08:00
xiehang
9c8b7fc0dd esp_phy: Update esp32c3/s3 phy lib and add test lib 2023-03-08 11:01:31 +08:00
Jiang Jiang Jian
54b0779b34 Merge branch 'support/esp32h2_phy_lib' into 'master'
esp_phy: update esp32h2 libphy

See merge request espressif/esp-idf!22622
2023-03-07 23:53:51 +08:00
zhangwenxu
566ea41de9 esp_phy: update esp32h2 libphy
* phy_version: 101,0, 90773fa-dirty, Feb 27 2023, 16:19:13
2023-03-07 14:07:45 +08:00
wuzhenghui
e213a7ffdd bugfix: fix esp_mac_bb_power_up 2023-03-06 21:38:48 +08:00
Shen Weilong
e77a07e5d0 esp_phy: Add libphy for esp32h2 2023-03-06 10:43:17 +08:00
Li Shuai
200f69e6eb auto beacon: support esp32c6 autobeacon (advanced DTIM sleep feature)
modem retention: Support esp32c6 wifi MAC and baseband sleep retention

sleep_modem: wifi MAC modem wakeup protect in modem state before PMU trigger sleep enable request

sleep modem: provide a interface to get whether the Modem power domain is allowed to power off during sleep

add i2c_ana master header file to project

auto beacon: release PMU's lock on root clock source (it is locked in the PLL)

wifi receiving beacon frame in PMU modem state strongly depends on the BBPLL
clock, PMU will forcibly lock the root clock source as PLL, when the root
clock source of the software system is selected as PLL, we need to release
the root clock source locking.

When it is judged that the PLL is locked by PMU after wakeing up from the PMU
modem state, switch the root clock source to the PLL in the sleep process (a
critical section).

auto beacon: fix the failure to receive broadcast/multicast frames in modem state

When the multicast field in the beacon frame received in the PMU modem state is
True, the PMU switches to the PMU active state (the PMU waits for the HP LDO to
stabilize and then restores the MAC context) and starts to receive
broadcast/multicast frames (Broadcast/Multicast frames will be sent after a
minimum delay of 48 us after the beacon frame), because the PMU waits for the HP
LDO to stabilize too long (~154 us), which will cause broadcast/multicast frame
reception to be missed.

auto beacon: select the PLL clock source as the REGDMA backup clock source when the PMU switches to ACTIVE from MODEM state

update Digital Peripheral (M2A switch) REGDMA restore time parameter

auto beacon: fix the issue that only channel 1 can connect to AP in modem state
2023-03-04 00:17:40 +08:00
zhangwenxu
2816ff14e4 ieee802154: add support for esp32h2 2023-02-27 15:32:32 +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