|
|
@@ -325,7 +325,7 @@ typedef struct {
|
|
|
unsigned sgi:1; /**< Short Guide Interval(SGI). 0: Long GI; 1: Short GI */
|
|
|
#if CONFIG_IDF_TARGET_ESP32
|
|
|
signed noise_floor:8; /**< noise floor of Radio Frequency Module(RF). unit: 0.25dBm*/
|
|
|
-#elif CONFIG_IDF_TARGET_ESP32S2BETA
|
|
|
+#elif CONFIG_IDF_TARGET_ESP32S2
|
|
|
unsigned :8;
|
|
|
#endif
|
|
|
unsigned ampdu_cnt:8; /**< ampdu cnt */
|
|
|
@@ -333,10 +333,15 @@ typedef struct {
|
|
|
unsigned secondary_channel:4; /**< secondary channel on which this packet is received. 0: none; 1: above; 2: below */
|
|
|
unsigned :8; /**< reserve */
|
|
|
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
|
|
|
unsigned :32; /**< reserve */
|
|
|
unsigned :31; /**< reserve */
|
|
|
unsigned ant:1; /**< antenna number from which this packet is received. 0: WiFi antenna 0; 1: WiFi antenna 1 */
|
|
|
-#if CONFIG_IDF_TARGET_ESP32S2BETA
|
|
|
+#elif CONFIG_IDF_TARGET_ESP32S2
|
|
|
+ unsigned :32;
|
|
|
+ unsigned :32;
|
|
|
+#endif
|
|
|
+#if CONFIG_IDF_TARGET_ESP32S2
|
|
|
signed noise_floor:8; /**< noise floor of Radio Frequency Module(RF). unit: 0.25dBm*/
|
|
|
unsigned :24;
|
|
|
#endif
|