summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ti/wlcore/wlcore.h
diff options
context:
space:
mode:
authorArik Nemtsov <arik@wizery.com>2012-05-10 13:13:30 +0400
committerLuciano Coelho <coelho@ti.com>2012-06-05 16:55:31 +0400
commit83d08d3ff385c810a341a5c1b97a8c81df96673d (patch)
tree28e744da850f8d3a36bd9b579cd003c0d1e9f317 /drivers/net/wireless/ti/wlcore/wlcore.h
parent23ee9bf8c3cb57768bba31a8cc62b87d39ca4e56 (diff)
downloadlinux-83d08d3ff385c810a341a5c1b97a8c81df96673d.tar.xz
wlcore: track current channel type per vif
Track the current 802.11 channel type, defaulting to a NO_HT channel. Update the channel type element when changed by mac80211. Signed-off-by: Arik Nemtsov <arik@wizery.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/ti/wlcore/wlcore.h')
-rw-r--r--drivers/net/wireless/ti/wlcore/wlcore.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wlcore/wlcore.h b/drivers/net/wireless/ti/wlcore/wlcore.h
index 2922d8aec699..83c43c9b10ed 100644
--- a/drivers/net/wireless/ti/wlcore/wlcore.h
+++ b/drivers/net/wireless/ti/wlcore/wlcore.h
@@ -362,6 +362,9 @@ struct wl1271 {
/* RX Data filter rule state - enabled/disabled */
bool rx_filter_enabled[WL1271_MAX_RX_FILTERS];
+
+ /* the current channel type */
+ enum nl80211_channel_type channel_type;
};
int __devinit wlcore_probe(struct wl1271 *wl, struct platform_device *pdev);