feat(wifi): support dump 802.11 ACK frame for CSI

1. fix beacon was unexpectedly freed issue
2. support dump ACK frame for CSI
This commit is contained in:
alanmaxwell 2023-12-07 11:48:43 +08:00 committed by muhaidong
parent 54bce56ae3
commit 2cda3fc0c1
3 changed files with 4 additions and 2 deletions

View File

@ -54,7 +54,8 @@ typedef struct {
1- acquire the complete HE-LTF2
2- sample evenly among the HE-LTF1 and HE-LTF2 */
uint32_t val_scale_cfg : 2; /**< value 0-3 */
uint32_t reserved : 20; /**< reserved */
uint32_t dump_ack_en : 1; /**< enable to dump 802.11 ACK frame, default disabled */
uint32_t reserved : 19; /**< reserved */
} wifi_csi_acquire_config_t;
/**

View File

@ -562,6 +562,7 @@ typedef struct {
bool channel_filter_en; /**< enable to turn on channel filter to smooth adjacent sub-carrier. Disable it to keep independence of adjacent sub-carrier. Default enabled */
bool manu_scale; /**< manually scale the CSI data by left shifting or automatically scale the CSI data. If set true, please set the shift bits. false: automatically. true: manually. Default false */
uint8_t shift; /**< manually left shift bits of the scale of the CSI data. The range of the left shift bits is 0~15 */
bool dump_ack_en; /**< enable to dump 802.11 ACK frame, default disabled */
} wifi_csi_config_t;
#endif

@ -1 +1 @@
Subproject commit e2e43adb60a8be990ab71f0dab1d2899308e2454
Subproject commit efd78a6ea06829988a335b1914b5399fdef191f1