Re: [PATCH 2/5] cfg80211: leave invalid channels on regdomain change

2014-11-13 Thread Arik Nemtsov
On Thu, Nov 13, 2014 at 12:53 AM, Luis R. Rodriguez mcg...@do-not-panic.com wrote: On Wed, Nov 5, 2014 at 1:18 AM, Arik Nemtsov a...@wizery.com wrote: On Wed, Nov 5, 2014 at 5:16 AM, Luis R. Rodriguez mcg...@do-not-panic.com wrote: On Wed, Oct 22, 2014 at 11:37 PM, Arik Nemtsov a...@wizery.com

Re: [PATCH 2/5] cfg80211: leave invalid channels on regdomain change

2014-11-12 Thread Luis R. Rodriguez
On Wed, Nov 5, 2014 at 1:18 AM, Arik Nemtsov a...@wizery.com wrote: On Wed, Nov 5, 2014 at 5:16 AM, Luis R. Rodriguez mcg...@do-not-panic.com wrote: On Wed, Oct 22, 2014 at 11:37 PM, Arik Nemtsov a...@wizery.com wrote: +static bool reg_wdev_chan_valid(struct wiphy *wiphy, struct wireless_dev

Re: [PATCH 2/5] cfg80211: leave invalid channels on regdomain change

2014-11-04 Thread Luis R. Rodriguez
On Wed, Oct 22, 2014 at 11:37 PM, Arik Nemtsov a...@wizery.com 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 =

[PATCH 2/5] cfg80211: leave invalid channels on regdomain change

2014-10-23 Thread Arik Nemtsov
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 arikx.nemt...@intel.com --- include/net/regulatory.h | 6 +++ net/wireless/reg.c |