Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
wifi country #942
adds support for setting the wifi country code. This is used to set the available channels, and in the case of japan, the transmit power.
This changes the default country setting to UK, which gives channels 1-13 (previously the default was japan.) This change is so that the default is still full power.
The country code
In theory, the JP2 setting should have 25% less transmit power than the default setting. Looking at the Signal/Noise and SNR on my router, I could see some correlation, although I would welcome further testes to be certain the power level is being altered.
I can't really see any difference in the transmit power. My laptop and phone are not able to pick up that kind of difference.
I see 2 areas of the DCT that change when I poke values with DFU. I don't know yet how to decode the DCT so I assume that's correct.
Setting erased (all 0xFF):