ARMWorks / NanoPi-tasks

For tracking and triage of tasks
0 stars 0 forks source link

CRDA Regulatory update #5

Open jrspruitt opened 9 years ago

jrspruitt commented 9 years ago

Bootup messages

 cfg80211: Calling CRDA to update world regulatory domain
 ... (10 Times waiting for timeout)
 cfg80211: Exceeded CRDA call max attempts. Not calling CRDA

This is an attempt by the Wifi system to get the regulatory parameters for the country it is configured for. In this case, it is All or 00. The userspace is missing the necessary tools crda and wireless-regdb, included with these there should also be a udev rule that triggers on KERNEL=="regulatory*" and runs the crda app. Doing so manually does not work.

There may need to be a COUNTRY=<code> environment variable or entry in wpa_supplicant set also, this part I am not sure of, as it is sometimes possible to get the info from the router you're connecting to.

-Jason

jrspruitt commented 9 years ago

This issue is solved with Debian by installing the CRDA package through apt-get.

For Buildroot this seems to be an issue with mdev not catching the kernel event. Using udev instead probably would solve this, along with adding the necessary target packages.