Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 379993 - net-wireless/crda and/or net-wireless/wireless-regdb do not work, while CONFIG_CFG80211_INTERNAL_REGDB does work
Summary: net-wireless/crda and/or net-wireless/wireless-regdb do not work, while CONFI...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Bjarke Istrup Pedersen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-20 17:50 UTC by A. Person
Modified: 2011-11-12 09:51 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description A. Person 2011-08-20 17:50:08 UTC
I have a Ubiquiti SR71-E abgn wireless card and it doesn't set my US country code in AP mode so I don't get access to 5ghz channels.  If I switch to CONFIG_CFG80211_INTERNAL_REGDB, the country code is set to US and I have access to 5ghz channels.

With crda:

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

With CONFIG_CFG80211_INTERNAL_REGDB:

# 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)

I have tried this with 2 different Ubiquiti SR71-E cards with the same result.  I've tried crda-1.0.1-r1 and 1.1.1 and wireless-regdb-20090115 and 20101124.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2011-10-30 16:51:26 UTC
CC gurligebis@gentoo.org as the maintainer of net-wireless/crda.
Comment 2 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2011-11-07 21:11:41 UTC
I am pretty sure it works now with crda-1.1.2-r1, since I have fixed the path it installs the udev rule to.

Also, if you need custom regdb , please the public key in this directory: /etc/wireless-regdb/pubkeys
Comment 3 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2011-11-12 09:51:48 UTC
I fixed a problem related to multilib, so it wireless-regdb gets installed correctly, and crda gets build expecting it to be placed the correct place.

Please test crda-1.1.2-r2 together with wireless-regdb-20110428-r1 and see if that works.

Please reopen if it fails.