On Thu, 2015-06-11 at 14:46 +0200, Matthias May wrote:
> Using the dummy country code:
> country XS: DFS-UNSET
> (5170 - 5180 @ 5), (N/A, 14), (N/A)
> (5175 - 5185 @ 10), (N/A, 17), (N/A)
> (5170 - 5190 @ 20), (N/A, 20), (N/A)
>
> For a center freq of 5175
> The first loop finds th
On 11/06/15 13:44, Johannes Berg wrote:
On Thu, 2015-06-11 at 13:06 +0200, Matthias May wrote:
const struct ieee80211_reg_rule *freq_reg_info(struct wiphy *wiphy,
- u32 center_freq)
+ u32 center_freq, u3
On Thu, 2015-06-11 at 13:06 +0200, Matthias May wrote:
> const struct ieee80211_reg_rule *freq_reg_info(struct wiphy *wiphy,
> -u32 center_freq)
> +u32 center_freq, u32 min_bw)
> {
> const struct ieee80
On Thu, 2015-06-11 at 13:06 +0200, Matthias May wrote:
> This patch changes the API of freq_freq_info() to take as additional argument
> the minimum bandwidth the caller can handle.
> If multiple rules match, the match with the widest bandwidth is returned.
You can't make a patch like this that br
This patch changes the API of freq_freq_info() to take as additional argument
the minimum bandwidth the caller can handle.
If multiple rules match, the match with the widest bandwidth is returned.
Signed-off-by: Matthias May
---
include/net/cfg80211.h | 3 ++-
net/wireless/reg.c | 46 ++