esp32: some changes relating to phy v3900

1. Store the calibration data to NVS if PHY does full calibration because of calibration data checksum failure
2. Pass the station's mac to PHY for checksum calculation
This commit is contained in:
Liu Zhi Fu
2018-05-19 12:13:34 +08:00
parent 46d6fd1ddf
commit 67424816cc
3 changed files with 17 additions and 3 deletions

View File

@@ -37,7 +37,9 @@ typedef struct {
* @brief Opaque PHY calibration data
*/
typedef struct {
uint8_t opaque[1904]; /*!< calibration data */
uint8_t version[4]; /*!< PHY version */
uint8_t mac[6]; /*!< The MAC address of the station */
uint8_t opaque[1894]; /*!< calibration data */
} esp_phy_calibration_data_t;
typedef enum {