Search Linux Wireless

Re: [PATCH 5/6] cfg80211: reg: make CRDA support optional

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Johannes,

On Thu, Oct 15, 2015 at 8:46 PM, Johannes Berg
<johannes@xxxxxxxxxxxxxxxx> wrote:
> From: Johannes Berg <johannes.berg@xxxxxxxxx>
>
> If there's a built-in regulatory database, there may be little point
> in also calling out to CRDA and failing if the system is configured
> that way. Allow removing CRDA support to save ~1K kernel size.
>
> Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx>
> ---
>  net/wireless/Kconfig   |  10 +++++
>  net/wireless/nl80211.c | 104 +++++++++++++++++++++++++------------------------
>  net/wireless/reg.c     |  73 +++++++++++++++++++++++-----------
>  3 files changed, 114 insertions(+), 73 deletions(-)
>
> diff --git a/net/wireless/Kconfig b/net/wireless/Kconfig
> index 4f5543dd2524..ab7017951083 100644
> --- a/net/wireless/Kconfig
> +++ b/net/wireless/Kconfig
> @@ -174,6 +174,16 @@ config CFG80211_INTERNAL_REGDB
>
>           Most distributions have a CRDA package.  So if unsure, say N.
>
> +config CFG80211_CRDA_SUPPORT
> +       bool "support CRDA" if EXPERT
> +       default y
> +       depends on CFG80211
> +       help
> +         You should enable this option unless you know for sure you have no
> +         need for it, for example when using internal regdb (above.)
> +
> +         If unsure, say Y.
> +

Is there a way to force the kernel builder to select at least one of
these if they're building cfg80211?

Thanks,

-- 
Julian Calaby

Email: julian.calaby@xxxxxxxxx
Profile: http://www.google.com/profiles/julian.calaby/
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux