kopia lustrzana https://github.com/espressif/esp-idf
(S2) WiFi: add ant field for esp32s2 and update phy lib from v102 to v202
rodzic
e69a50fa1d
commit
a182c0682e
|
@ -333,14 +333,12 @@ typedef struct {
|
||||||
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; /**< reserved */
|
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
|
|
||||||
unsigned :32; /**< reserved */
|
|
||||||
unsigned :31; /**< reserved */
|
|
||||||
unsigned ant:1; /**< antenna number from which this packet is received. 0: WiFi antenna 0; 1: WiFi antenna 1 */
|
|
||||||
#elif CONFIG_IDF_TARGET_ESP32S2
|
|
||||||
unsigned :32; /**< reserved */
|
unsigned :32; /**< reserved */
|
||||||
|
#if CONFIG_IDF_TARGET_ESP32S2
|
||||||
unsigned :32; /**< reserved */
|
unsigned :32; /**< reserved */
|
||||||
#endif
|
#endif
|
||||||
|
unsigned :31; /**< reserved */
|
||||||
|
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: 0.25dBm*/
|
||||||
unsigned :24; /**< reserved */
|
unsigned :24; /**< reserved */
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 16aec3da866314d37781caa597b7d4bc19079fbc
|
Subproject commit 59f2ff048a2f7f6b9fd75df8c40fb51363656516
|
|
@ -765,8 +765,3 @@ void esp_phy_load_cal_and_init(phy_rf_module_t module)
|
||||||
free(cal_data); // PHY maintains a copy of calibration data, so we can free this
|
free(cal_data); // PHY maintains a copy of calibration data, so we can free this
|
||||||
}
|
}
|
||||||
|
|
||||||
#if CONFIG_IDF_TARGET_ESP32S2
|
|
||||||
/* Just a stub to avoid SSC build failure. Need to update phylib */
|
|
||||||
void set_cca(bool en ,uint8_t cca_thr) {}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue