On Sun, Mar 28, 2010 at 12:50:52PM +0200, Jiri Moravec wrote:
> country 98:
>         (2402 - 2482 @ 40), (N/A, 20)
>         (5170 - 5250 @ 40), (N/A, 20), NO-OUTDOOR
>         (5250 - 5330 @ 40), (N/A, 20), NO-OUTDOOR, DFS
>         (5490 - 5710 @ 40), (N/A, 27), DFS
> 
> ~ # crda
> COUNTRY environment variable not set.
> 
> ~ # export COUNTRY="CZ"
> ~ # crda
> Failed to set regulatory domain: -22

The kernel calls crda (via a uevent through udev) -- you don't have to
call it yourself.  See:

http://wireless.kernel.org/en/developers/Regulatory/CRDA

> ~ # iw reg set CZ
> ~ # iw reg get
> country 98:
>         (2402 - 2482 @ 40), (N/A, 20)
>         (5170 - 5250 @ 40), (N/A, 20), NO-OUTDOOR
>         (5250 - 5330 @ 40), (N/A, 20), NO-OUTDOOR, DFS
>         (5490 - 5710 @ 40), (N/A, 27), DFS

No idea, Luis is the one to talk to about this stuff.

>   [<ffffffff8165903d>] ? _spin_lock_irq+0x1d/0x40
>   [<ffffffff816592d7>] ? _spin_unlock_irq+0x17/0x40
>   [<ffffffffa003d68d>] wiphy_unregister+0x9d/0x1c0 [cfg80211]
>   [<ffffffff81076480>] ? autoremove_wake_function+0x0/0x40
>   [<ffffffffa0057189>] ieee80211_unregister_hw+0xa9/0xf0 [mac80211]

I'm not sure what lock this is, can you do:

gdb cfg80211.ko
gdb> l *(wiphy_unregister+0x9d)

-- 
Bob Copeland %% www.bobcopeland.com

_______________________________________________
ath5k-devel mailing list
ath5k-devel@lists.ath5k.org
https://lists.ath5k.org/mailman/listinfo/ath5k-devel

Reply via email to