Commit 767ad6a0 authored by Sujith Manoharan's avatar Sujith Manoharan Committed by John W. Linville

ath9k_htc: Remove unused macros and structures

Signed-off-by: default avatarSujith Manoharan <Sujith.Manoharan@atheros.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent c58ca5b5
...@@ -66,8 +66,6 @@ enum htc_opmode { ...@@ -66,8 +66,6 @@ enum htc_opmode {
HTC_M_WDS = 2 HTC_M_WDS = 2
}; };
#define ATH9K_HTC_HDRSPACE sizeof(struct htc_frame_hdr)
#define ATH9K_HTC_AMPDU 1 #define ATH9K_HTC_AMPDU 1
#define ATH9K_HTC_NORMAL 2 #define ATH9K_HTC_NORMAL 2
#define ATH9K_HTC_BEACON 3 #define ATH9K_HTC_BEACON 3
...@@ -75,7 +73,6 @@ enum htc_opmode { ...@@ -75,7 +73,6 @@ enum htc_opmode {
#define ATH9K_HTC_TX_CTSONLY 0x1 #define ATH9K_HTC_TX_CTSONLY 0x1
#define ATH9K_HTC_TX_RTSCTS 0x2 #define ATH9K_HTC_TX_RTSCTS 0x2
#define ATH9K_HTC_TX_USE_MIN_RATE 0x100
struct tx_frame_hdr { struct tx_frame_hdr {
u8 data_type; u8 data_type;
......
...@@ -83,21 +83,10 @@ struct htc_ep_callbacks { ...@@ -83,21 +83,10 @@ struct htc_ep_callbacks {
void (*rx) (void *, struct sk_buff *, enum htc_endpoint_id); void (*rx) (void *, struct sk_buff *, enum htc_endpoint_id);
}; };
#define HTC_TX_QUEUE_SIZE 256
struct htc_txq {
struct sk_buff *buf[HTC_TX_QUEUE_SIZE];
u32 txqdepth;
u16 txbuf_cnt;
u16 txq_head;
u16 txq_tail;
};
struct htc_endpoint { struct htc_endpoint {
u16 service_id; u16 service_id;
struct htc_ep_callbacks ep_callbacks; struct htc_ep_callbacks ep_callbacks;
struct htc_txq htc_txq;
u32 max_txqdepth; u32 max_txqdepth;
int max_msglen; int max_msglen;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment