I have just seen that when I set the same country in WiFi configuration to all wireless interfaces as follows:
config wifi-device 'radio0'
option country 'IT'
[...]
config wifi-device 'radio1'
option country 'IT'
and then I check the status using:
iw reg get
the section global returns the assigned country, however the sections for each interface return the default country for that router.
For example if I set the country to 'IT' to both WiFi interfaces on a BT Home Hub 5, iw reg get returns:
global
country IT: DFS-ETSI
[...]
phy#1
country GB: DFS-ETSI
[...]
phy#0
country GB: DFS-ETSI
[...]
whilst if I set country = 'IT' to both WiFi interfaces of an R7800 or an EA8500 (same chipset), iw reg get returns:
global
country IT: DFS-ETSI
[...]
phy#1
country US: DFS-FCC
[...]
phy#0
country US: DFS-FCC
[...]
The same happens with Linksys EA8300, EA8500, MR8300 and Netgear R7800
However the radio country for each of the above devices varies. EA8300 and MR8300 have GB, EA8500 and R7800 have US. This messes up greatly my WiFi configuration as I have several routers/repeaters around the premises.
Is this the expected behaviour? Is this a defect? How do I ensure that the country is consistent across all devices?
[Moved to "For Developers" as this looks like a bug]
Note: For those who do not read books and newspapers [...] means "omissis" (omitting irrelevant information) to unclutter the message