kopia lustrzana https://github.com/espressif/esp-idf
Merge branch 'bugfix/update_docs_for_wifi_header' into 'master'
esp_wifi: Update docs for wifi headers See merge request espressif/esp-idf!7604pull/4797/head
commit
23c62a4225
|
@ -310,15 +310,15 @@ typedef struct {
|
||||||
typedef struct {
|
typedef struct {
|
||||||
signed rssi:8; /**< Received Signal Strength Indicator(RSSI) of packet. unit: dBm */
|
signed rssi:8; /**< Received Signal Strength Indicator(RSSI) of packet. unit: dBm */
|
||||||
unsigned rate:5; /**< PHY rate encoding of the packet. Only valid for non HT(11bg) packet */
|
unsigned rate:5; /**< PHY rate encoding of the packet. Only valid for non HT(11bg) packet */
|
||||||
unsigned :1; /**< reserve */
|
unsigned :1; /**< reserved */
|
||||||
unsigned sig_mode:2; /**< 0: non HT(11bg) packet; 1: HT(11n) packet; 3: VHT(11ac) packet */
|
unsigned sig_mode:2; /**< 0: non HT(11bg) packet; 1: HT(11n) packet; 3: VHT(11ac) packet */
|
||||||
unsigned :16; /**< reserve */
|
unsigned :16; /**< reserved */
|
||||||
unsigned mcs:7; /**< Modulation Coding Scheme. If is HT(11n) packet, shows the modulation, range from 0 to 76(MSC0 ~ MCS76) */
|
unsigned mcs:7; /**< Modulation Coding Scheme. If is HT(11n) packet, shows the modulation, range from 0 to 76(MSC0 ~ MCS76) */
|
||||||
unsigned cwb:1; /**< Channel Bandwidth of the packet. 0: 20MHz; 1: 40MHz */
|
unsigned cwb:1; /**< Channel Bandwidth of the packet. 0: 20MHz; 1: 40MHz */
|
||||||
unsigned :16; /**< reserve */
|
unsigned :16; /**< reserved */
|
||||||
unsigned smoothing:1; /**< reserve */
|
unsigned smoothing:1; /**< reserved */
|
||||||
unsigned not_sounding:1; /**< reserve */
|
unsigned not_sounding:1; /**< reserved */
|
||||||
unsigned :1; /**< reserve */
|
unsigned :1; /**< reserved */
|
||||||
unsigned aggregation:1; /**< Aggregation. 0: MPDU packet; 1: AMPDU packet */
|
unsigned aggregation:1; /**< Aggregation. 0: MPDU packet; 1: AMPDU packet */
|
||||||
unsigned stbc:2; /**< Space Time Block Code(STBC). 0: non STBC packet; 1: STBC packet */
|
unsigned stbc:2; /**< Space Time Block Code(STBC). 0: non STBC packet; 1: STBC packet */
|
||||||
unsigned fec_coding:1; /**< Flag is set for 11n packets which are LDPC */
|
unsigned fec_coding:1; /**< Flag is set for 11n packets which are LDPC */
|
||||||
|
@ -326,27 +326,27 @@ typedef struct {
|
||||||
#if CONFIG_IDF_TARGET_ESP32
|
#if CONFIG_IDF_TARGET_ESP32
|
||||||
signed noise_floor:8; /**< noise floor of Radio Frequency Module(RF). unit: 0.25dBm*/
|
signed noise_floor:8; /**< noise floor of Radio Frequency Module(RF). unit: 0.25dBm*/
|
||||||
#elif CONFIG_IDF_TARGET_ESP32S2
|
#elif CONFIG_IDF_TARGET_ESP32S2
|
||||||
unsigned :8;
|
unsigned :8; /**< reserved */
|
||||||
#endif
|
#endif
|
||||||
unsigned ampdu_cnt:8; /**< ampdu cnt */
|
unsigned ampdu_cnt:8; /**< ampdu cnt */
|
||||||
unsigned channel:4; /**< primary channel on which this packet is received */
|
unsigned channel:4; /**< primary channel on which this packet is received */
|
||||||
unsigned secondary_channel:4; /**< secondary channel on which this packet is received. 0: none; 1: above; 2: below */
|
unsigned secondary_channel:4; /**< secondary channel on which this packet is received. 0: none; 1: above; 2: below */
|
||||||
unsigned :8; /**< reserve */
|
unsigned :8; /**< reserved */
|
||||||
unsigned timestamp:32; /**< timestamp. The local time when this packet is received. It is precise only if modem sleep or light sleep is not enabled. unit: microsecond */
|
unsigned timestamp:32; /**< timestamp. The local time when this packet is received. It is precise only if modem sleep or light sleep is not enabled. unit: microsecond */
|
||||||
#if CONFIG_IDF_TARGET_ESP32
|
#if CONFIG_IDF_TARGET_ESP32
|
||||||
unsigned :32; /**< reserve */
|
unsigned :32; /**< reserved */
|
||||||
unsigned :31; /**< reserve */
|
unsigned :31; /**< reserved */
|
||||||
unsigned ant:1; /**< antenna number from which this packet is received. 0: WiFi antenna 0; 1: WiFi antenna 1 */
|
unsigned ant:1; /**< antenna number from which this packet is received. 0: WiFi antenna 0; 1: WiFi antenna 1 */
|
||||||
#elif CONFIG_IDF_TARGET_ESP32S2
|
#elif CONFIG_IDF_TARGET_ESP32S2
|
||||||
unsigned :32;
|
unsigned :32; /**< reserved */
|
||||||
unsigned :32;
|
unsigned :32; /**< reserved */
|
||||||
#endif
|
#endif
|
||||||
#if CONFIG_IDF_TARGET_ESP32S2
|
#if CONFIG_IDF_TARGET_ESP32S2
|
||||||
signed noise_floor:8; /**< noise floor of Radio Frequency Module(RF). unit: 0.25dBm*/
|
signed noise_floor:8; /**< noise floor of Radio Frequency Module(RF). unit: 0.25dBm*/
|
||||||
unsigned :24;
|
unsigned :24; /**< reserved */
|
||||||
#endif
|
#endif
|
||||||
unsigned sig_len:12; /**< length of packet including Frame Check Sequence(FCS) */
|
unsigned sig_len:12; /**< length of packet including Frame Check Sequence(FCS) */
|
||||||
unsigned :12; /**< reserve */
|
unsigned :12; /**< reserved */
|
||||||
unsigned rx_state:8; /**< state of the packet. 0: no error; others: error numbers which are not public */
|
unsigned rx_state:8; /**< state of the packet. 0: no error; others: error numbers which are not public */
|
||||||
} wifi_pkt_rx_ctrl_t;
|
} wifi_pkt_rx_ctrl_t;
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 5feec6a0323b7fd5662c64d2463ad61fba3cd774
|
Subproject commit 16036e13dfd924bbc9cc834a107c43939071d335
|
Ładowanie…
Reference in New Issue