aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/hostap/hostap_wlan.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/hostap/hostap_wlan.h')
-rw-r--r--drivers/net/wireless/hostap/hostap_wlan.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/drivers/net/wireless/hostap/hostap_wlan.h b/drivers/net/wireless/hostap/hostap_wlan.h
index a632d45f334d..6f5bea8a5c23 100644
--- a/drivers/net/wireless/hostap/hostap_wlan.h
+++ b/drivers/net/wireless/hostap/hostap_wlan.h
@@ -941,16 +941,21 @@ struct hostap_interface {
941 941
942#define HOSTAP_SKB_TX_DATA_MAGIC 0xf08a36a2 942#define HOSTAP_SKB_TX_DATA_MAGIC 0xf08a36a2
943 943
944/* TX meta data - stored in skb->cb buffer, so this must be not increase over 944/*
945 * 48-byte limit */ 945 * TX meta data - stored in skb->cb buffer, so this must not be increased over
946 * the 40-byte limit
947 */
946struct hostap_skb_tx_data { 948struct hostap_skb_tx_data {
947 unsigned int magic; /* HOSTAP_SKB_TX_DATA_MAGIC */ 949 u32 magic; /* HOSTAP_SKB_TX_DATA_MAGIC */
948 int rate; /* transmit rate */ 950 u8 rate; /* transmit rate */
951#define HOSTAP_TX_FLAGS_WDS BIT(0)
952#define HOSTAP_TX_FLAGS_BUFFERED_FRAME BIT(1)
953#define HOSTAP_TX_FLAGS_ADD_MOREDATA BIT(2)
954 u8 flags; /* HOSTAP_TX_FLAGS_* */
955 u16 tx_cb_idx;
949 struct hostap_interface *iface; 956 struct hostap_interface *iface;
950 unsigned long jiffies; /* queueing timestamp */ 957 unsigned long jiffies; /* queueing timestamp */
951 int wds;
952 unsigned short ethertype; 958 unsigned short ethertype;
953 int tx_cb_idx;
954}; 959};
955 960
956 961