Page 1 of 1

struct wifi_pkt_rx_ctrl_t need more information about some fields for ESP32-C6

Posted: Tue Aug 08, 2023 12:31 pm
by aldardour
Hello to all of you developing for the ESP32 family,
I was trying to program an application that prints out Channel State Information (CSI) and I need meta data to be able to properly evaluate this data. I have a question about the following member of the struct mentioned in the title:

unsigned cur_bb_format : 4; /**< the format of the reception frame */

(the struct can be found here: https://github.com/espressif/esp-idf/bl ... pes.h#L141)

How exactly am I supposed to interpret the output of this struct member?

I hope somebody can help me with this since it is crucial for understanding the data I gathered.

Re: struct wifi_pkt_rx_ctrl_t need more information about some fields for ESP32-C6

Posted: Fri Sep 01, 2023 9:39 am
by ESP_krzychb
aldardour wrote: unsigned cur_bb_format : 4; /**< the format of the reception frame */

(the struct can be found here: https://github.com/espressif/esp-idf/bl ... pes.h#L141)

How exactly am I supposed to interpret the output of this struct member?

Hi aldardour,

From what I see, unsigned cur_bb_format is an input field.
It accepts values defined besides unsigned rate field.