feat(phy): add 11ax rate for cert test

This commit is contained in:
muhaidong
2025-05-06 14:46:45 +08:00
committed by BOT
parent 819970f439
commit 8a425253d1
3 changed files with 85 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
/*
* SPDX-FileCopyrightText: 2023-2024 Espressif Systems (Shanghai) CO LTD
* SPDX-FileCopyrightText: 2023-2025 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
@@ -37,6 +37,19 @@ typedef enum {
PHY_RATE_MCS5 = 0x15,
PHY_RATE_MCS6 = 0x16,
PHY_RATE_MCS7 = 0x17,
#if CONFIG_SOC_WIFI_HE_SUPPORT
// 11ax
PHY_RATE_11AX_MCS0 = 0x20,
PHY_RATE_11AX_MCS1 = 0x21,
PHY_RATE_11AX_MCS2 = 0x22,
PHY_RATE_11AX_MCS3 = 0x23,
PHY_RATE_11AX_MCS4 = 0x24,
PHY_RATE_11AX_MCS5 = 0x25,
PHY_RATE_11AX_MCS6 = 0x26,
PHY_RATE_11AX_MCS7 = 0x27,
PHY_RATE_11AX_MCS8 = 0x28,
PHY_RATE_11AX_MCS9 = 0x29,
#endif//CONFIG_SOC_WIFI_HE_SUPPORT
PHY_WIFI_RATE_MAX
} esp_phy_wifi_rate_t;
@@ -188,6 +201,10 @@ void esp_phy_bt_tx_tone(uint32_t start, uint32_t chan, uint32_t power);
*/
void esp_phy_get_rx_result(esp_phy_rx_result_t *rx_result);
#if CONFIG_SOC_WIFI_HE_SUPPORT
void esp_phy_11ax_tx_set(uint32_t he_format, uint32_t ru_index);
#endif
#ifdef __cplusplus
}
#endif