fix(wifi): fix esp32c6 rxctrl info is not correct

This commit is contained in:
xuxiao 2023-10-23 13:49:36 +08:00 committed by zhangyanjiao
parent 86a62e1de9
commit 02045155ae
2 changed files with 2 additions and 1 deletions

View File

@ -97,6 +97,7 @@ typedef struct esp_now_rate_config {
wifi_phy_mode_t phymode; /**< ESPNOW phymode of specified interface */
wifi_phy_rate_t rate; /**< ESPNOW rate of specified interface*/
bool ersu; /**< ESPNOW using ersu send frame*/
bool dcm; /**< ESPNOW using dcm rate to send frame*/
} esp_now_rate_config_t;
/**

View File

@ -157,7 +157,7 @@ typedef struct {
unsigned : 15; /**< reserved */
unsigned : 15; /**< reserved */
unsigned : 2; /**< reserved */
unsigned noise_floor : 8; /**< the noise floor of the reception frame */
signed noise_floor : 8; /**< the noise floor of the reception frame */
unsigned channel : 4; /**< the primary channel */
unsigned second : 4; /**< the second channel if in HT40 */
unsigned : 8; /**< reserved */