On Thu, Nov 13, 2014 at 12:53 AM, Luis R. Rodriguez
wrote:
> On Wed, Nov 5, 2014 at 1:18 AM, Arik Nemtsov wrote:
>> On Wed, Nov 5, 2014 at 5:16 AM, Luis R. Rodriguez
>> wrote:
>>> On Wed, Oct 22, 2014 at 11:37 PM, Arik Nemtsov wrote:
+static bool reg_wdev_chan_valid(struct wiphy *wiphy, st
On Wed, Nov 5, 2014 at 1:18 AM, Arik Nemtsov wrote:
> On Wed, Nov 5, 2014 at 5:16 AM, Luis R. Rodriguez
> wrote:
>> On Wed, Oct 22, 2014 at 11:37 PM, Arik Nemtsov wrote:
>>> +static bool reg_wdev_chan_valid(struct wiphy *wiphy, struct wireless_dev
>>> *wdev)
>>> +{
>>> + struct ieee80211_
On Wed, Nov 5, 2014 at 5:16 AM, Luis R. Rodriguez
wrote:
> On Wed, Oct 22, 2014 at 11:37 PM, Arik Nemtsov wrote:
>> +static bool reg_wdev_chan_valid(struct wiphy *wiphy, struct wireless_dev
>> *wdev)
>> +{
>> + struct ieee80211_channel *ch;
>> + struct cfg80211_chan_def chandef;
>> +
On Wed, Oct 22, 2014 at 11:37 PM, Arik Nemtsov wrote:
> +static bool reg_wdev_chan_valid(struct wiphy *wiphy, struct wireless_dev
> *wdev)
> +{
> + struct ieee80211_channel *ch;
> + struct cfg80211_chan_def chandef;
> + struct cfg80211_registered_device *rdev = wiphy_to_rdev(wip
When the regulatory settings change, some channels might become invalid.
Disconnect interfaces acting on these channels, after giving userspace
code a grace period to leave them.
Signed-off-by: Arik Nemtsov
---
include/net/regulatory.h | 6 +++
net/wireless/reg.c | 99