summaryrefslogtreecommitdiffstats
path: root/net/mac80211/sta_info.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-02-19 11:31:14 +0100
committerJohn W. Linville <linville@tuxdriver.com>2008-02-29 15:37:13 -0500
commit4a9a66e9a87a8346129d557c7ec2303173318012 (patch)
treee89092e2188f9d9b479aa8f13a38fdcb2ea3e163 /net/mac80211/sta_info.h
parentd007b7f42e2a3a2b95ef43e8cc1a3dfe66b19736 (diff)
mac80211: convert sta_info.pspoll to a flag
This doesn't really need to be a full int variable since it's just a flag to indicate a PS-poll is in progress. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/sta_info.h')
-rw-r--r--net/mac80211/sta_info.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/sta_info.h b/net/mac80211/sta_info.h
index 19f3fb41294..ca51d29b700 100644
--- a/net/mac80211/sta_info.h
+++ b/net/mac80211/sta_info.h
@@ -32,6 +32,7 @@
* @WLAN_STA_ASSOC_AP: We're associated to that station, it is an AP.
* @WLAN_STA_WME: Station is a QoS-STA.
* @WLAN_STA_WDS: Station is one of our WDS peers.
+ * @WLAN_STA_PSPOLL: Station has just PS-polled us.
*/
enum ieee80211_sta_info_flags {
WLAN_STA_AUTH = 1<<0,
@@ -43,6 +44,7 @@ enum ieee80211_sta_info_flags {
WLAN_STA_ASSOC_AP = 1<<6,
WLAN_STA_WME = 1<<7,
WLAN_STA_WDS = 1<<8,
+ WLAN_STA_PSPOLL = 1<<9,
};
#define STA_TID_NUM 16
@@ -133,7 +135,6 @@ struct sta_info {
struct sk_buff_head ps_tx_buf; /* buffer of TX frames for station in
* power saving state */
- int pspoll; /* whether STA has send a PS Poll frame */
struct sk_buff_head tx_filtered; /* buffer of TX frames that were
* already given to low-level driver,
* but were filtered */