Limit WiFi channels for FCC compliance

pimbutton
Posts: 1
Joined: Mon Dec 18, 2017 11:05 pm

Limit WiFi channels for FCC compliance

Postby pimbutton » Mon Dec 18, 2017 11:12 pm

Hi,

We are working on a product based around the ESP8266 (WROOM-02). We are having problems requiring FCC approval due to the fact that the ESP radiates on channels 13 and 14, which is not allowed for the North America market.
I have found this topic (viewtopic.php?f=7&t=2206) and implement a custom scan for each channel so that we can limit the active scans to channels 1-12.
However, during FCC tests the ESP still radiates on channels 13 and 14. It seems to be scanning for the latest known AP on every channel when auto re-connect is activated after boot.
Because the chip itself is FCC approved it should be possible to complete disable channels 13-14. Can you please tell me how this can be achieved and what API's to use in order to do so?

With kind regards,
Pim Knops
The Netherlands

blubb
Posts: 116
Joined: Mon Jun 22, 2015 5:35 am

Re: Limit WiFi channels for FCC compliance

Postby blubb » Wed Dec 20, 2017 12:24 am

Have you tried this?

Code: Select all

wifi_country_t wc = {.cc="USA", .schan=1, .nchan=12, .policy=WIFI_COUNTRY_POLICY_AUTO};
wifi_set_country(&wc);


Edit: Please report if it worked and if calling it in user_init is enough. Otherwise try putting it in user_rf_pre_init, I guess.

blubb
Posts: 116
Joined: Mon Jun 22, 2015 5:35 am

Re: Limit WiFi channels for FCC compliance

Postby blubb » Sun Dec 24, 2017 12:56 am

Oh, and I think the FCC limits are channels 1 to 11 (not 12).

Who is online

Users browsing this forum: No registered users and 285 guests