cfg80211: Allow GO concurrent relaxation after BSS disconnection
authorAvraham Stern <avraham.stern@intel.com>
Mon, 27 Apr 2015 13:52:16 +0000 (16:52 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 6 May 2015 12:47:28 +0000 (14:47 +0200)
commitbe69c24a184490f941fa8ab0fefe0d6cee96afbf
treed75d18a640edfa059238fe9017920d7b9848f02c
parente3a55b5399d55200c024fe0c2984dc7ad049da44
cfg80211: Allow GO concurrent relaxation after BSS disconnection

If a P2P GO was allowed on a channel because of the GO concurrent
relaxation, i.e., another station interface was associated to an AP on
the same channel or the same UNII band, and the station interface
disconnected from the AP, allow the following use cases unless the
channel is marked as indoor only and the device is not operating in an
indoor environment:

1. Allow the P2P GO to stay on its current channel. The rationale behind
   this is that if the channel or UNII band were allowed by the AP they
   could still be used to continue the P2P GO operation, and avoid connection
   breakage.
2. Allow another P2P GO to start on the same channel or another channel
   that is in the same UNII band as the previous instantiated P2P GO.

Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/chan.c