Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 420645

Summary: net-wireless/hostapd missing net-wireless/crda dependency
Product: Gentoo Linux Reporter: Guillaume Castagnino <casta>
Component: Current packagesAssignee: Bjarke Istrup Pedersen (RETIRED) <gurligebis>
Status: RESOLVED FIXED    
Severity: enhancement CC: mobile+disabled
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Guillaume Castagnino 2012-06-11 08:01:23 UTC
To change the regulatory domain used by the hostapd driven access point, the kernel needs crda.
This is mandatory e.g. to use hostapd with the 5GHz band (the default world regulatory domain do not allow this, since the 5GHz band is set as only passive scanning).

hostapd allows to change the regdom when it starts (country_code configuration parameter in hostapd.conf), but this only works when crda is installed.

So imho, hostapd should push a net-wireless/crda dependency, just like wpa_supplicant does.

Thanks !
Comment 1 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2012-06-11 15:32:55 UTC
Fixed, please wait a few hours for the portage servers to catch up.
Comment 2 cilly 2012-06-13 09:09:52 UTC
Please, make it an option to use crda.

Reasons:

- hostapd works without crda
- additional userspace support for regdb and crda is a feature and not needed for most access-points

Suggestion:

- add a useflag crda which sets the dependency to crda
Comment 3 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2012-06-17 15:53:31 UTC
Optional dependency on crda has been added, please see bug #421087