NINA-W1 series - System Integration Manual
UBX-17005730 - R07
Software
Page 25 of 47
init_data[68] = 0;//backoff channel 7
init_data[69] = 0;//backoff channel 8
init_data[70] = 0;//backoff channel 9
init_data[71] = 0;//backoff channel 10
init_data[72] = 14;//backoff channel 11
init_data[73] = 26;//backoff channel 12
init_data[74] = 255;//backoff channel 13
init_data[75] = 255;//backoff channel 14
init_data[76] = 15; //backoff rate on channel 1
init_data[77] = 15; //backoff rate on channel 2
init_data[78] = 8; //backoff rate on channel 3
init_data[79] = 8; //backoff rate on channel 4
init_data[80] = 8; //backoff rate on channel 5
init_data[81] = 0; //backoff rate on channel 6
init_data[82] = 0; //backoff rate on channel 7
init_data[83] = 0; //backoff rate on channel 8
init_data[84] = 0; //backoff rate on channel 9
init_data[85] = 0; //backoff rate on channel 10
init_data[86] = 7; //backoff rate on channel 11
init_data[87] = 63; //backoff rate on channel 12
init_data[88] = 63; //backoff rate on channel 13
init_data[89] = 63; //backoff rate on channel 14
apply_rf_frequency_calibration(init_data);
ESP_LOGD(TAG, "loading PHY init data from application binary");
return (esp_phy_init_data_t*)init_data;
}
2.5.1.2
Wi-Fi output power configuration for version v3.1
The original file (phy_init.c) is located in the folder - ...\esp-idf\components\esp32\ in the official v3.1
esp-idf git
repository. Update this file with the values provided below:
const esp_phy_init_data_t* esp_phy_get_init_data()
{
int8_t *init_data = malloc(sizeof(esp_phy_init_data_t));
memcpy(init_data, &phy_init_data, sizeof(esp_phy_init_data_t));
init_data[44] = 56;//target power 0
init_data[45] = 54;//target power 1
init_data[46] = 48;//target power 2
init_data[47] = 46;//target power 3
init_data[48] = 42;//target power 4
init_data[49] = 36;//target power 5
init_data[50] = 0; //msc0
init_data[51] = 0; //msc1
init_data[52] = 0; //msc2
init_data[53] = 0; //msc3
init_data[54] = 0; //msc4
init_data[55] = 1; //msc5
init_data[56] = 3; //msc6
init_data[57] = 4; //msc7
init_data[58] = 1; //11B special rate enable
init_data[59] = 2; //11B 1m, 2m
init_data[60] = 2; //11B 5.5, 11m
init_data[61] = 2; //fcc enable 2: enable 62-80 bytes to set maximum power
init_data[62] = 0x53; //channel 1
init_data[63] = 0x52;//channel 2
init_data[64] = 0x30;//channel 3
init_data[65] = 0x20;//channel 4
init_data[66] = 0x20;//channel 5
init_data[67] = 0x20;//channel 6
init_data[68] = 0x20;//channel 7
init_data[69] = 0x20;//channel 8
init_data[70] = 0x20;//channel 9
init_data[71] = 0x20;//channel 10
init_data[72] = 0x22;//channel 11
init_data[73] = 0x10;//channel 12