NINA-W1 series - User Manual
Figure 21: Sample screenshot of the Wi-Fi scan
2.6.4
Output power configuration
2.6.5
NINA-W10 series
To operate within the regulatory output power limits, the integrator must configure the module as
per the instructions in the following subsections.
The following power configurations for Wi-Fi, Bluetooth BR/EDR and Bluetooth low energy are only
valid for the official esp-idf git
repositories.
2.6.5.1
Wi-Fi output power configuration for version v2.1
The original file (
phy_init.c
) is located in the folder
...\esp-idf\components\esp32\
in the official
v2.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] = 58;//target power 1
init_data[46] = 54;//target power 2
init_data[47] = 47;//target power 3
init_data[48] = 44;//target power 4
init_data[49] = 37;//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] = 2; //msc5
init_data[56] = 4; //msc6
init_data[57] = 5; //msc7
init_data[58] = 1; //11B special rate enable
init_data[59] = 3; //11B 1m, 2m
init_data[60] = 3; //11B 5.5, 11m
init_data[61] = 1; //channel backoff enable
init_data[62] = 18; //backoff channel 1
init_data[63] = 4;//backoff channel 2
init_data[64] = 2;//backoff channel 3
init_data[65] = 2;//backoff channel 4
init_data[66] = 2;//backoff channel 5
init_data[67] = 0;//backoff channel 6