Lantis wrote:I haven't dug into the config files yet to find the right one, but I believe it's in the 80211 folder.
Do some kind of grep search fir the line "CONFIG_ATH_USER_REGD is not set". Uncomment that line and change it to, "CONFIG_ATH_USER_REGD=y".
Do your build as normal.
Once the router is running you can set your region by doing a "iw reg set" or adding a "country" option to /etc/config/wireless under the wifi device.
This is my understanding from a brief reading.
Thanks a lot Lantis. Been there, done that. It's easier than i thought to build your own image. Especially using a VPS.
I still have to fix some things, but at least i created the image and upgraded my router. And now iw list shows channel 12 and 13 available.
First of all the 2 files i had to modify for my tp-link 841nd were inside
gargoyle/targets/ar71xx/profiles/default and named .config (the one with the "CONFIG_ATH_USER_REGD is not set" directive and -profile_images where i removed all routers but my target.
What's not working: Gargoyle interface is still not showing chan 12 and 13.
And i found something else really strange. On standard image, fresh flashed, iw list reports maximum power of 30dBm. Typing iw reg set (eu-country) don't allow chan 12 and 13 but just lower maximum power to 20dBm. Setting again to US gives back 30dBm. That's the expected behavior.
On my modded image, fresh installed, iw list show maximum 20dBm, even if iw reg get
country US: DFS-FCC
(2402 - 2472 @ 40), (N/A, 30), (N/A)
(5170 - 5250 @ 80), (N/A, 17), (N/A)
(5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS
(5735 - 5835 @ 80), (N/A, 30), (N/A)
(57240 - 63720 @ 2160), (N/A, 40), (N/A)
do you know what am i missing here?