Commit Graph

141 Commits

Author SHA1 Message Date
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
liuning
38316b38b5 esp_wifi: move coex part from esp_wifi to esp_coex 2023-02-26 06:58:18 +00:00
zhangwenxu
91113c44e5 esp_phy: fix phy init when SW restart 2023-02-10 07:42:40 +00:00
cjin
13ccf8e906 phy: update esp32c6 phy lib
phy_init: phy_version 101,061a19e,Jan 11 2023,18:48:18
2023-01-31 12:29:22 +08:00
Cao Sen Miao
94120b82c2 esp32h2: add build test 2023-01-17 10:29:04 +08:00
Armando
5ab90e9728 phy_override: add pwdet power function 2023-01-09 17:10:36 +08:00
Armando
5be3c21cfc adc: improve power logic 2023-01-09 17:10:04 +08:00
Chen Yu Dong
e72905ee35 Merge branch 'ci/enable_more_wifi_tests' into 'master'
CI: enable more wifi cases

See merge request espressif/esp-idf!21488
2023-01-09 14:42:10 +08:00
Konstantin Kondrashov
ffea490cc7 Merge branch 'feature/mac_crc' into 'master'
esp_hw_support(esp32): If the MAC_FACTORY CRC check fails, then INVALID_CRC instead of abort

Closes IDFGH-8989

See merge request espressif/esp-idf!21789
2023-01-06 14:50:40 +08:00
Chen Yudong
8aca3932b0 CI: enable more wifi cases 2023-01-06 06:03:52 +00:00
wangmengyang
3cd5ba44d1 phy: removed unit test cases for some functions against cache disabled condition on ESP32-C3
function bt_bb_v2_init_cmplx and coex_pti_v2 are only used during bluetooth Controller initialization and do not require IRAM attribute
2023-01-06 06:03:52 +00:00
zhangwenxu
1abe00d82b phy: update esp32c6 phy lib
* phy_version 101,587adde,Dec 20 2022,14:21:21
2023-01-03 14:53:33 +08:00
KonstantinKondrashov
185262c283 esp_hw_support(esp32): If the MAC_FACTORY CRC check fails, then esp_efuse_mac_get_default returns INVALID_CRC instead of abort
Closes https://github.com/espressif/esp-idf/issues/10401
2022-12-29 05:23:18 +08:00
wuzhenghui
3b43b63d47 soc: add ieee8020154_only cap for esp32hx 2022-12-28 16:15:58 +08:00
Li Shuai
3ce896429c periph clock: implemented the modem module enable, disable and reset for esp32c6 2022-12-27 21:31:59 +08:00
Shu Chen
0215575606 Merge branch 'feature/esp32c6_ieee802154_support' into 'master'
ieee802154: add ieee802154 support for esp32c6

See merge request espressif/esp-idf!21615
2022-12-22 18:01:58 +08:00
xiaqilin
57a6abdad1 ieee802154: add support ieee802154 for esp32c6 2022-12-22 10:45:23 +08:00
Jiang Jiang Jian
8cd0571cc9 Merge branch 'bugfix/fix_test_failure_in_test_phy_multi_init_data_bin_issue' into 'master'
esp_phy: add country code 01 to country code map type table

Closes IDFCI-1299

See merge request espressif/esp-idf!21656
2022-12-20 21:31:24 +08:00
muhaidong
d912bbbcb0 esp_phy: add country code 01 to country code map type table 2022-12-18 14:25:17 +08:00
wuzhenghui
5822cdf93b esp_phy: enable for esp32c6 2022-12-16 15:47:56 +08:00
Jiang Jiang Jian
09231b4fa2 Merge branch 'bugfix/fix_failure_of_wifi_channel_configuration' into 'master'
phy: only set phy_init_flag at power domain off, when all modems deinit

Closes WIFI-4983

See merge request espressif/esp-idf!21235
2022-11-30 14:41:08 +08:00
Song Ruo Jing
e13a4ad963 ci: Disable some unit-test-apps for esp32c6 to pass ci build stage 2022-11-28 11:58:30 +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
C.S.M
28b2deaf24 Merge branch 'feature/add_target_esp32h2' into 'master'
ESP32-H2: Introduce new target for ESP32H2

See merge request espressif/esp-idf!21190
2022-11-24 18:31:19 +08:00
Cao Sen Miao
86aa4df5b5 ESP32-H2: Introduce new target for ESP32H2 2022-11-23 14:38:05 +08:00
zhiweijian
73cd69d5ad Fixed CI esp32s3.default_2_s3.Test failed 2022-11-21 10:20:34 +08:00
zhiweijian
ebd2825379 - update phy lib
- Enable BLE pll track to fix bluetooth disconnection caused by temperature rise or fall on ESP32C3 and ESP32S3
- call pll track in controller task
2022-11-21 10:19:54 +08:00
laokaiyao
8677216576 esp32h2: renaming esp32h2 to esp32h4 2022-11-08 17:05:33 +08:00
KonstantinKondrashov
1f9260d790 all: Apply new version logic (major * 100 + minor) 2022-11-03 08:36:23 +00:00