diff options
author | Sujith Manoharan <Sujith.Manoharan@atheros.com> | 2011-04-20 01:31:25 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-04-25 14:50:15 -0400 |
commit | 767ad6a0a2342d42f6f03b50198418b1475e0a7b (patch) | |
tree | f3804e3099013147a4adf347419a18b208c6b1e7 /drivers/net/wireless/ath | |
parent | c58ca5b5083befda31009a64abd95ae6ac315265 (diff) |
ath9k_htc: Remove unused macros and structures
Signed-off-by: Sujith Manoharan <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/htc.h | 3 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath9k/htc_hst.h | 11 |
2 files changed, 0 insertions, 14 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc.h b/drivers/net/wireless/ath/ath9k/htc.h index af9082970845..55f4bb39c9ec 100644 --- a/drivers/net/wireless/ath/ath9k/htc.h +++ b/drivers/net/wireless/ath/ath9k/htc.h | |||
@@ -66,8 +66,6 @@ enum htc_opmode { | |||
66 | HTC_M_WDS = 2 | 66 | HTC_M_WDS = 2 |
67 | }; | 67 | }; |
68 | 68 | ||
69 | #define ATH9K_HTC_HDRSPACE sizeof(struct htc_frame_hdr) | ||
70 | |||
71 | #define ATH9K_HTC_AMPDU 1 | 69 | #define ATH9K_HTC_AMPDU 1 |
72 | #define ATH9K_HTC_NORMAL 2 | 70 | #define ATH9K_HTC_NORMAL 2 |
73 | #define ATH9K_HTC_BEACON 3 | 71 | #define ATH9K_HTC_BEACON 3 |
@@ -75,7 +73,6 @@ enum htc_opmode { | |||
75 | 73 | ||
76 | #define ATH9K_HTC_TX_CTSONLY 0x1 | 74 | #define ATH9K_HTC_TX_CTSONLY 0x1 |
77 | #define ATH9K_HTC_TX_RTSCTS 0x2 | 75 | #define ATH9K_HTC_TX_RTSCTS 0x2 |
78 | #define ATH9K_HTC_TX_USE_MIN_RATE 0x100 | ||
79 | 76 | ||
80 | struct tx_frame_hdr { | 77 | struct tx_frame_hdr { |
81 | u8 data_type; | 78 | u8 data_type; |
diff --git a/drivers/net/wireless/ath/ath9k/htc_hst.h b/drivers/net/wireless/ath/ath9k/htc_hst.h index cb9174ade53e..91a5305db95a 100644 --- a/drivers/net/wireless/ath/ath9k/htc_hst.h +++ b/drivers/net/wireless/ath/ath9k/htc_hst.h | |||
@@ -83,21 +83,10 @@ struct htc_ep_callbacks { | |||
83 | void (*rx) (void *, struct sk_buff *, enum htc_endpoint_id); | 83 | void (*rx) (void *, struct sk_buff *, enum htc_endpoint_id); |
84 | }; | 84 | }; |
85 | 85 | ||
86 | #define HTC_TX_QUEUE_SIZE 256 | ||
87 | |||
88 | struct htc_txq { | ||
89 | struct sk_buff *buf[HTC_TX_QUEUE_SIZE]; | ||
90 | u32 txqdepth; | ||
91 | u16 txbuf_cnt; | ||
92 | u16 txq_head; | ||
93 | u16 txq_tail; | ||
94 | }; | ||
95 | |||
96 | struct htc_endpoint { | 86 | struct htc_endpoint { |
97 | u16 service_id; | 87 | u16 service_id; |
98 | 88 | ||
99 | struct htc_ep_callbacks ep_callbacks; | 89 | struct htc_ep_callbacks ep_callbacks; |
100 | struct htc_txq htc_txq; | ||
101 | u32 max_txqdepth; | 90 | u32 max_txqdepth; |
102 | int max_msglen; | 91 | int max_msglen; |
103 | 92 | ||