Comment 0 for bug 1126751

Tony Espy (awe) wrote :

Our images currently are broken with respect to Wi-Fi CRDA ( Central Regulatory Domain Agent ) / Regulatory support.

We don't include the regulatory DB package ( wireless-regdb ) nor the user agent used to load regulatory information into the kernel ( crda ). The kernel requests CRDA updates by generating a uevent, which is caught by udevd, which in turn matches a simple role that causes /sbin/crda to be invoked. As we're missing the required packages and not running udev on our images, CRDA updates fail.

If you look /var/log/syslog on a Galaxy Nexus / maguro running phablet-image >= 83, you'll see the following messages whenever the phone boots:

cfg80211: Calling CRDA to update world regulatory domain

This may be related to some of the bugs we're seeing with 802.11an ( 5GHz band ) access points we've seen including bug # 1107943 ( maguro ) and bug # 1126264 ( manta ).

Also, I went ahead an installed wireless-regdb and crda on my maguro. When I run /sbin/crda ( note, you need to make sure the env var COUNTRY is set first ), I get the following error:

# /sbin/crda
Failed to set regulatory domain: -7

I haven't looked at the crda code yet, so I'm not sure if this is an errno or not. If it is, it's E2BIG.

Note, for more information on the Linux regulatory framework, please refer to:

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

or Documentation/networking/regulatory.txt in the kernel.