diff options
author | Yan-Hsuan Chuang <yhchuang@realtek.com> | 2020-03-12 08:43:37 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2020-03-20 14:42:21 +0100 |
commit | 8fa180bb4aceaa25233ea61032eab5b025fb522f (patch) | |
tree | 9c6678fef56ba6b9d9045dc44a706401bd381673 /net/mac80211/driver-ops.c | |
parent | nl80211: clarify code in nl80211_del_station() (diff) | |
download | linux-8fa180bb4aceaa25233ea61032eab5b025fb522f.tar.xz linux-8fa180bb4aceaa25233ea61032eab5b025fb522f.zip |
mac80211: driver can remain on channel if not using chan_ctx
Some of the drivers are not using channel context, but let the
stack to control/switch channels instead. For such cases, driver
can still remain on channel because the mac80211 stack actually
supports it.
The stack will check if the driver is using chan_ctx and has
ops->remain_on_channel been hooked. Otherwise it will start its
ROC work to remain on channel. So, even if the driver is not
using chan_ctx, the driver is still capable of doing remain on
channel.
Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Link: https://lore.kernel.org/r/20200312074337.16198-1-yhchuang@realtek.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/driver-ops.c')
0 files changed, 0 insertions, 0 deletions