mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-08 22:43:04 +00:00
rtl8188eu: Convert typedef for _queue to struct __queue
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
e76fb1a97d
commit
689d01adf6
20 changed files with 125 additions and 208 deletions
|
@ -112,7 +112,7 @@ union txdesc {
|
|||
};
|
||||
|
||||
struct hw_xmit {
|
||||
_queue *sta_queue;
|
||||
struct __queue *sta_queue;
|
||||
int accnt;
|
||||
};
|
||||
|
||||
|
@ -246,7 +246,7 @@ struct xmit_frame
|
|||
|
||||
struct tx_servq {
|
||||
_list tx_pending;
|
||||
_queue sta_pending;
|
||||
struct __queue sta_pending;
|
||||
int qcnt;
|
||||
};
|
||||
|
||||
|
@ -293,30 +293,17 @@ struct xmit_priv {
|
|||
struct semaphore xmit_sema;
|
||||
struct semaphore terminate_xmitthread_sema;
|
||||
|
||||
//_queue blk_strms[MAX_NUMBLKS];
|
||||
_queue be_pending;
|
||||
_queue bk_pending;
|
||||
_queue vi_pending;
|
||||
_queue vo_pending;
|
||||
_queue bm_pending;
|
||||
|
||||
//_queue legacy_dz_queue;
|
||||
//_queue apsd_queue;
|
||||
struct __queue be_pending;
|
||||
struct __queue bk_pending;
|
||||
struct __queue vi_pending;
|
||||
struct __queue vo_pending;
|
||||
struct __queue bm_pending;
|
||||
|
||||
u8 *pallocated_frame_buf;
|
||||
u8 *pxmit_frame_buf;
|
||||
uint free_xmitframe_cnt;
|
||||
|
||||
//uint mapping_addr;
|
||||
//uint pkt_sz;
|
||||
|
||||
_queue free_xmit_queue;
|
||||
|
||||
//struct hw_txqueue be_txqueue;
|
||||
//struct hw_txqueue bk_txqueue;
|
||||
//struct hw_txqueue vi_txqueue;
|
||||
//struct hw_txqueue vo_txqueue;
|
||||
//struct hw_txqueue bmc_txqueue;
|
||||
struct __queue free_xmit_queue;
|
||||
|
||||
uint frag_len;
|
||||
|
||||
|
@ -325,7 +312,6 @@ struct xmit_priv {
|
|||
u8 vcs_setting;
|
||||
u8 vcs;
|
||||
u8 vcs_type;
|
||||
//u16 rts_thresh;
|
||||
|
||||
u64 tx_bytes;
|
||||
u64 tx_pkts;
|
||||
|
@ -345,13 +331,13 @@ struct xmit_priv {
|
|||
int bkq_cnt;
|
||||
int viq_cnt;
|
||||
int voq_cnt;
|
||||
_queue free_xmitbuf_queue;
|
||||
_queue pending_xmitbuf_queue;
|
||||
struct __queue free_xmitbuf_queue;
|
||||
struct __queue pending_xmitbuf_queue;
|
||||
u8 *pallocated_xmitbuf;
|
||||
u8 *pxmitbuf;
|
||||
uint free_xmitbuf_cnt;
|
||||
|
||||
_queue free_xmit_extbuf_queue;
|
||||
struct __queue free_xmit_extbuf_queue;
|
||||
u8 *pallocated_xmit_extbuf;
|
||||
u8 *pxmit_extbuf;
|
||||
uint free_xmit_extbuf_cnt;
|
||||
|
@ -375,7 +361,7 @@ extern s32 rtw_put_snap(u8 *data, u16 h_proto);
|
|||
|
||||
extern struct xmit_frame *rtw_alloc_xmitframe(struct xmit_priv *pxmitpriv);
|
||||
extern s32 rtw_free_xmitframe(struct xmit_priv *pxmitpriv, struct xmit_frame *pxmitframe);
|
||||
extern void rtw_free_xmitframe_queue(struct xmit_priv *pxmitpriv, _queue *pframequeue);
|
||||
extern void rtw_free_xmitframe_queue(struct xmit_priv *pxmitpriv, struct __queue *pframequeue);
|
||||
struct tx_servq *rtw_get_sta_pending(_adapter *padapter, struct sta_info *psta, sint up, u8 *ac);
|
||||
extern s32 rtw_xmitframe_enqueue(_adapter *padapter, struct xmit_frame *pxmitframe);
|
||||
extern struct xmit_frame* rtw_dequeue_xframe(struct xmit_priv *pxmitpriv, struct hw_xmit *phwxmit_i, sint entry);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue