Re: [PATCH v2] cfg80211: Try multiple bandwidths when checking usable channels.

From: Rostislav Lisovy
Date: Thu Jul 24 2014 - 08:55:16 EST


On Thu, 2014-07-24 at 14:43 +0200, Rostislav Lisovy wrote:
> diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
> index e46c437..919f759 100644
> --- a/include/net/cfg80211.h
> +++ b/include/net/cfg80211.h
> @@ -3679,6 +3679,8 @@ void wiphy_apply_custom_regulatory(struct wiphy *wiphy,
> * freq_reg_info - get regulatory information for the given frequency
> * @wiphy: the wiphy for which we want to process this rule for
> * @center_freq: Frequency in KHz for which we want regulatory information for
> + * @desired_bw_khz: The bandwidth of the channel in KHz we want regulatory
> + * information for

Forgot to add this:
... or 0 to use the default bandwidth (20MHz)


Best regards;
Rostislav Lisovy

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/