diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-02-19 05:31:14 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-02-29 15:37:13 -0500 |
commit | 4a9a66e9a87a8346129d557c7ec2303173318012 (patch) | |
tree | e89092e2188f9d9b479aa8f13a38fdcb2ea3e163 /net/mac80211/sta_info.h | |
parent | d007b7f42e2a3a2b95ef43e8cc1a3dfe66b19736 (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.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/sta_info.h b/net/mac80211/sta_info.h index 19f3fb412940..ca51d29b7008 100644 --- a/net/mac80211/sta_info.h +++ b/net/mac80211/sta_info.h | |||
@@ -32,6 +32,7 @@ | |||
32 | * @WLAN_STA_ASSOC_AP: We're associated to that station, it is an AP. | 32 | * @WLAN_STA_ASSOC_AP: We're associated to that station, it is an AP. |
33 | * @WLAN_STA_WME: Station is a QoS-STA. | 33 | * @WLAN_STA_WME: Station is a QoS-STA. |
34 | * @WLAN_STA_WDS: Station is one of our WDS peers. | 34 | * @WLAN_STA_WDS: Station is one of our WDS peers. |
35 | * @WLAN_STA_PSPOLL: Station has just PS-polled us. | ||
35 | */ | 36 | */ |
36 | enum ieee80211_sta_info_flags { | 37 | enum ieee80211_sta_info_flags { |
37 | WLAN_STA_AUTH = 1<<0, | 38 | WLAN_STA_AUTH = 1<<0, |
@@ -43,6 +44,7 @@ enum ieee80211_sta_info_flags { | |||
43 | WLAN_STA_ASSOC_AP = 1<<6, | 44 | WLAN_STA_ASSOC_AP = 1<<6, |
44 | WLAN_STA_WME = 1<<7, | 45 | WLAN_STA_WME = 1<<7, |
45 | WLAN_STA_WDS = 1<<8, | 46 | WLAN_STA_WDS = 1<<8, |
47 | WLAN_STA_PSPOLL = 1<<9, | ||
46 | }; | 48 | }; |
47 | 49 | ||
48 | #define STA_TID_NUM 16 | 50 | #define STA_TID_NUM 16 |
@@ -133,7 +135,6 @@ struct sta_info { | |||
133 | 135 | ||
134 | struct sk_buff_head ps_tx_buf; /* buffer of TX frames for station in | 136 | struct sk_buff_head ps_tx_buf; /* buffer of TX frames for station in |
135 | * power saving state */ | 137 | * power saving state */ |
136 | int pspoll; /* whether STA has send a PS Poll frame */ | ||
137 | struct sk_buff_head tx_filtered; /* buffer of TX frames that were | 138 | struct sk_buff_head tx_filtered; /* buffer of TX frames that were |
138 | * already given to low-level driver, | 139 | * already given to low-level driver, |
139 | * but were filtered */ | 140 | * but were filtered */ |