802.11a/n

Grant emailgrant
Thu Aug 18 11:10:14 PDT 2011


>> I noticed that the channel allowances for country 00 match what is
>> enabled for me under crda. ?The kernel must set my country to US and
>> crda must set it to 00. ?I'm using crda-1.1.1 and
>> wireless-regdb-20101124 which are Gentoo's latest versions. ?Does
>> anyone know what could be wrong? ?Are these packages created by
>> Gentoo, meaning I should file a bug with them?
>
> Could you please check what the driver is saying about the regulatory
> domain of the card? You can check this in dmesg output, e.g., like this:
>
> $ dmesg | grep "ath:"
> [ ? 11.255148] ath: EEPROM regdomain: 0x64
> [ ? 11.255150] ath: EEPROM indicates we should expect a direct regpair
> map
> [ ? 11.255154] ath: Country alpha2 being used: 00
> [ ? 11.255156] ath: Regpair used: 0x64

I get this and only the default "00" channels are enabled:

# dmesg|grep ath
ath9k 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
ath9k 0000:02:00.0: setting latency timer to 64
ath: EEPROM regdomain: 0x0
ath: EEPROM indicates default country code should be used
ath: doing EEPROM country->regdmn map search
ath: country maps to regdmn code: 0x3a
ath: Country alpha2 being used: US
ath: Regpair used: 0x3a
ieee80211 phy0: Selected rate control algorithm 'ath9k_rate_control'
Registered led device: ath9k-phy0

# dmesg|grep cfg80211
cfg80211: Calling CRDA to update world regulatory domain

When I enable CONFIG_CFG80211_INTERNAL_REGDB (without editing db.txt),
I get this instead and all US channels are enabled:

# dmesg|grep cfg80211
cfg80211: Calling CRDA for country: US
cfg80211: Regulatory domain changed to country: US
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
cfg80211:     (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5490000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)

Since CONFIG_CFG80211_INTERNAL_REGDB works perfectly, I think
something is wrong with my userspace crda.

- Grant



More information about the Hostap mailing list