Matthias Kilian a icrit :
Hi,
I just tried to get a D-Link DWL-520 PCI adapter I purchased the
other day running.
First problem:
ath0 at pci0 dev 15 function 0 "Atheros AR5212" rev 0x01: irq 6
ath0: AR5212 7.9 phy 4.5 rf2112 5.6 rf2112 5.6ath0: no valid channels for
regdomain NONE(32976)
[Full dmesg follows at the end of this mail]
This problem has been mentioned earlier on this mailinglist (e.g.
http://www.monkey.org/openbsd/archive2/bugs/200503/msg00043.html), but
without any solution.
So, after some source code reading and debugging, I changed
ieee80211_regdomain.h to let the driver recognize that regulatory
domain:
[snip]
Try to overwrite the reg domain directly in :
/usr/src/sys/dev/ic/ar5xxx.c
/*
* Enable to overwrite the country code (use "00" for debug)
*/
#if 1
#define COUNTRYCODE "de"
#endif
Fred