aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-4965.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-4965.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-4965.h24
1 files changed, 1 insertions, 23 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.h b/drivers/net/wireless/iwlwifi/iwl-4965.h
index 267ae75254fe..9a975efc9460 100644
--- a/drivers/net/wireless/iwlwifi/iwl-4965.h
+++ b/drivers/net/wireless/iwlwifi/iwl-4965.h
@@ -91,29 +91,6 @@ struct iwl4965_rx_mem_buffer {
91 struct list_head list; 91 struct list_head list;
92}; 92};
93 93
94struct iwl4965_rt_rx_hdr {
95 struct ieee80211_radiotap_header rt_hdr;
96 __le64 rt_tsf; /* TSF */
97 u8 rt_flags; /* radiotap packet flags */
98 u8 rt_rate; /* rate in 500kb/s */
99 __le16 rt_channelMHz; /* channel in MHz */
100 __le16 rt_chbitmask; /* channel bitfield */
101 s8 rt_dbmsignal; /* signal in dBm, kluged to signed */
102 s8 rt_dbmnoise;
103 u8 rt_antenna; /* antenna number */
104 u8 payload[0]; /* payload... */
105} __attribute__ ((packed));
106
107struct iwl4965_rt_tx_hdr {
108 struct ieee80211_radiotap_header rt_hdr;
109 u8 rt_rate; /* rate in 500kb/s */
110 __le16 rt_channel; /* channel in mHz */
111 __le16 rt_chbitmask; /* channel bitfield */
112 s8 rt_dbmsignal; /* signal in dBm, kluged to signed */
113 u8 rt_antenna; /* antenna number */
114 u8 payload[0]; /* payload... */
115} __attribute__ ((packed));
116
117/* 94/*
118 * Generic queue structure 95 * Generic queue structure
119 * 96 *
@@ -1054,6 +1031,7 @@ struct iwl4965_priv {
1054 1031
1055 u8 phymode; 1032 u8 phymode;
1056 int alloc_rxb_skb; 1033 int alloc_rxb_skb;
1034 bool add_radiotap;
1057 1035
1058 void (*rx_handlers[REPLY_MAX])(struct iwl4965_priv *priv, 1036 void (*rx_handlers[REPLY_MAX])(struct iwl4965_priv *priv,
1059 struct iwl4965_rx_mem_buffer *rxb); 1037 struct iwl4965_rx_mem_buffer *rxb);