Choosing country-codes

Suggest improvements and new features for Gargoyle.

Moderator: Moderators

Post Reply
hnl_dk
Moderator
Posts: 408
Joined: Mon Aug 29, 2011 12:37 pm

Choosing country-codes

Post by hnl_dk »

I guess this is a combination of a bugreport and a featurerequest...

Checking dmesg, I can see that the country is set to US, even though I am from Denmark.

Code: Select all

ath: Country alpha2 being used: US
cfg80211: Calling CRDA for country: US
cfg80211: Regulatory domain changed to country: US
As it does not seem to work, would it be nice to be able to set the "country" from the webinterface.
Either use this to set it to Denmark

Code: Select all

iw reg set DK
Or use this to set it to Europe

Code: Select all

iw reg set EU
You can see all the accepted countrycodes here: http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
Router: TL-WR1043ND - Gargoyle 1.5.4
AP: TL-WR1043ND - Gargoyle 1.5.4

hnl_dk
Moderator
Posts: 408
Joined: Mon Aug 29, 2011 12:37 pm

Re: Choosing country-codes

Post by hnl_dk »

While looking at another thread ( http://www.gargoyle-router.com/phpbb/vi ... 092#p11092 ), it looks like CONFIG_ATH_USER_REGD=y needs to be set in http://www.gargoyle-router.com/gargoyle ... usb/config , to make it possible to set the correct country/region.
Router: TL-WR1043ND - Gargoyle 1.5.4
AP: TL-WR1043ND - Gargoyle 1.5.4

b4nd0ler0
Posts: 8
Joined: Tue Nov 22, 2011 8:26 am

Re: Choosing country-codes

Post by b4nd0ler0 »

I strongly subscribe this one. We should be able to use all legally available 5GHz channels for EU countries.

My flat is on the 9th floor of one of the tallest buildings on the neighbourhood. I pick up tons of wlans from the living room and even more from the balcony. The 2.4GHz band is seriously overcrowded here.
Inssider shows a right mess, particularly in channels 1, 6 & 11.

When I got a WNDR3700 a year ago mine was the only 5g wlan around but now there are another 5 already and lately more keep appearing every couple of months so I reckon the more channels available the better for all of us future-wise.

I would be grateful if we could do this with Gargoyle without having to compile our own build.

Adios

hnl_dk
Moderator
Posts: 408
Joined: Mon Aug 29, 2011 12:37 pm

Re: Choosing country-codes

Post by hnl_dk »

I hope that I will be able to test it this weekend, if my health allows me to do so.
Router: TL-WR1043ND - Gargoyle 1.5.4
AP: TL-WR1043ND - Gargoyle 1.5.4

Post Reply