kopia lustrzana https://github.com/espressif/esp-idf
esp_wifi: update noise floor unit
rodzic
05770a1f52
commit
29432233f8
|
@ -343,7 +343,7 @@ typedef struct {
|
||||||
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 */
|
||||||
unsigned sgi:1; /**< Short Guide Interval(SGI). 0: Long GI; 1: Short GI */
|
unsigned sgi:1; /**< Short Guide Interval(SGI). 0: Long GI; 1: Short GI */
|
||||||
#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: dBm*/
|
||||||
#elif CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32S3 || CONFIG_IDF_TARGET_ESP32C3
|
#elif CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32S3 || CONFIG_IDF_TARGET_ESP32C3
|
||||||
unsigned :8; /**< reserved */
|
unsigned :8; /**< reserved */
|
||||||
#endif
|
#endif
|
||||||
|
@ -356,14 +356,14 @@ typedef struct {
|
||||||
#if CONFIG_IDF_TARGET_ESP32S2
|
#if CONFIG_IDF_TARGET_ESP32S2
|
||||||
unsigned :32; /**< reserved */
|
unsigned :32; /**< reserved */
|
||||||
#elif CONFIG_IDF_TARGET_ESP32S3 || CONFIG_IDF_TARGET_ESP32C3
|
#elif CONFIG_IDF_TARGET_ESP32S3 || CONFIG_IDF_TARGET_ESP32C3
|
||||||
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: dBm*/
|
||||||
unsigned :24; /**< reserved */
|
unsigned :24; /**< reserved */
|
||||||
unsigned :32; /**< reserved */
|
unsigned :32; /**< reserved */
|
||||||
#endif
|
#endif
|
||||||
unsigned :31; /**< reserved */
|
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 */
|
||||||
#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: dBm*/
|
||||||
unsigned :24; /**< reserved */
|
unsigned :24; /**< reserved */
|
||||||
#elif CONFIG_IDF_TARGET_ESP32S3 || CONFIG_IDF_TARGET_ESP32C3
|
#elif CONFIG_IDF_TARGET_ESP32S3 || CONFIG_IDF_TARGET_ESP32C3
|
||||||
unsigned :32; /**< reserved */
|
unsigned :32; /**< reserved */
|
||||||
|
|
Ładowanie…
Reference in New Issue