aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/cfg80211.h
diff options
context:
space:
mode:
authorMichal Kazior <michal.kazior@tieto.com>2012-06-29 06:46:58 -0400
committerJohannes Berg <johannes.berg@intel.com>2012-06-29 07:39:15 -0400
commitf4489ebeffa436c8427a20e2f05004e783708cde (patch)
treef113512858b0114cc108375b81cab004e8a8369b /include/net/cfg80211.h
parentac800140c20e7ae51117e71289065bedd4930fc2 (diff)
cfg80211: add channel tracking for AP and mesh
We need to know which channel is used by a running AP and mesh for channel context accounting and finding matching/active interface combination. STA/IBSS have current_bss already which allows us to check which channel a vif is tuned to. Non-fixed channel IBSS can be handled with additional changes. Monitor mode is going to be handled differently. Signed-off-by: Michal Kazior <michal.kazior@tieto.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r--include/net/cfg80211.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 1fc89c4f930c..c62bc7864adf 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -2408,6 +2408,9 @@ struct wireless_dev {
2408 struct ieee80211_channel *preset_chan; 2408 struct ieee80211_channel *preset_chan;
2409 enum nl80211_channel_type preset_chantype; 2409 enum nl80211_channel_type preset_chantype;
2410 2410
2411 /* for AP and mesh channel tracking */
2412 struct ieee80211_channel *channel;
2413
2411 bool ps; 2414 bool ps;
2412 int ps_timeout; 2415 int ps_timeout;
2413 2416