aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2007-08-28 17:01:54 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:48:48 -0400
commite8bf96495cd67090b4900ddaf8e8672a17ec39fa (patch)
tree00630b109a928733217dc25ea1f5aefbf8b48a46 /net/mac80211/ieee80211_i.h
parentcf966838cd5596ca61d3e9949050442a943f6238 (diff)
[MAC80211]: Remove bitfields from struct ieee80211_tx_packet_data
remove bitfields from struct ieee80211_tx_packet_data [Johannes: completely clear flags in ieee80211_remove_tx_extra] Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Acked-by: Michael Wu <flamingice@sourmilk.net> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r--net/mac80211/ieee80211_i.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index 9c5fd861eb72..a2b018bae180 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -155,15 +155,17 @@ struct ieee80211_txrx_data {
155 } u; 155 } u;
156}; 156};
157 157
158/* flags used in struct ieee80211_tx_packet_data.flags */
159#define IEEE80211_TXPD_REQ_TX_STATUS BIT(0)
160#define IEEE80211_TXPD_DO_NOT_ENCRYPT BIT(1)
161#define IEEE80211_TXPD_REQUEUE BIT(2)
162#define IEEE80211_TXPD_MGMT_IFACE BIT(3)
158/* Stored in sk_buff->cb */ 163/* Stored in sk_buff->cb */
159struct ieee80211_tx_packet_data { 164struct ieee80211_tx_packet_data {
160 int ifindex; 165 int ifindex;
161 unsigned long jiffies; 166 unsigned long jiffies;
162 unsigned int req_tx_status:1; 167 unsigned int flags;
163 unsigned int do_not_encrypt:1; 168 u8 queue;
164 unsigned int requeue:1;
165 unsigned int mgmt_iface:1;
166 unsigned int queue:4;
167}; 169};
168 170
169struct ieee80211_tx_stored_packet { 171struct ieee80211_tx_stored_packet {