mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-08 22:43:04 +00:00
rtl8188eu: Fix C90 comments in include/*.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
49ab4b6c4f
commit
f9d86b986b
81 changed files with 3809 additions and 3960 deletions
|
@ -23,12 +23,12 @@
|
|||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
|
||||
#define MAX_XMITBUF_SZ (20480) // 20k
|
||||
#define MAX_XMITBUF_SZ (20480) /* 20k */
|
||||
#define NR_XMITBUFF (4)
|
||||
|
||||
#define XMITBUF_ALIGN_SZ 4
|
||||
|
||||
// xmit extension buff defination
|
||||
/* xmit extension buff defination */
|
||||
#define MAX_XMIT_EXTBUF_SZ (1536)
|
||||
#define NR_XMIT_EXTBUFF (32)
|
||||
|
||||
|
@ -94,7 +94,7 @@ do { \
|
|||
#define TXDESC_OFFSET (TXDESC_SIZE + PACKET_OFFSET_SZ)
|
||||
|
||||
struct tx_desc{
|
||||
//DWORD 0
|
||||
/* DWORD 0 */
|
||||
__le32 txdw0;
|
||||
__le32 txdw1;
|
||||
__le32 txdw2;
|
||||
|
@ -116,7 +116,7 @@ struct hw_xmit {
|
|||
int accnt;
|
||||
};
|
||||
|
||||
//reduce size
|
||||
/* reduce size */
|
||||
struct pkt_attrib
|
||||
{
|
||||
u8 type;
|
||||
|
@ -125,12 +125,12 @@ struct pkt_attrib
|
|||
u8 dhcp_pkt;
|
||||
u16 ether_type;
|
||||
u16 seqnum;
|
||||
u16 pkt_hdrlen; //the original 802.3 pkt header len
|
||||
u16 hdrlen; //the WLAN Header Len
|
||||
u32 pktlen; //the original 802.3 pkt raw_data len (not include ether_hdr data)
|
||||
u16 pkt_hdrlen; /* the original 802.3 pkt header len */
|
||||
u16 hdrlen; /* the WLAN Header Len */
|
||||
u32 pktlen; /* the original 802.3 pkt raw_data len (not include ether_hdr data) */
|
||||
u32 last_txcmdsz;
|
||||
u8 nr_frags;
|
||||
u8 encrypt; //when 0 indicate no encrypt. when non-zero, indicate the encrypt algorith
|
||||
u8 encrypt; /* when 0 indicate no encrypt. when non-zero, indicate the encrypt algorith */
|
||||
u8 iv_len;
|
||||
u8 icv_len;
|
||||
u8 iv[18];
|
||||
|
@ -138,7 +138,7 @@ struct pkt_attrib
|
|||
u8 priority;
|
||||
u8 ack_policy;
|
||||
u8 mac_id;
|
||||
u8 vcs_mode; //virtual carrier sense method
|
||||
u8 vcs_mode; /* virtual carrier sense method */
|
||||
u8 dst[ETH_ALEN];
|
||||
u8 src[ETH_ALEN];
|
||||
u8 ta[ETH_ALEN];
|
||||
|
@ -146,14 +146,14 @@ struct pkt_attrib
|
|||
u8 key_idx;
|
||||
u8 qos_en;
|
||||
u8 ht_en;
|
||||
u8 raid;//rate adpative id
|
||||
u8 raid;/* rate adpative id */
|
||||
u8 bwmode;
|
||||
u8 ch_offset;//PRIME_CHNL_OFFSET
|
||||
u8 sgi;//short GI
|
||||
u8 ampdu_en;//tx ampdu enable
|
||||
u8 mdata;//more data bit
|
||||
u8 pctrl;//per packet txdesc control enable
|
||||
u8 triggered;//for ap mode handling Power Saving sta
|
||||
u8 ch_offset;/* PRIME_CHNL_OFFSET */
|
||||
u8 sgi;/* short GI */
|
||||
u8 ampdu_en;/* tx ampdu enable */
|
||||
u8 mdata;/* more data bit */
|
||||
u8 pctrl;/* per packet txdesc control enable */
|
||||
u8 triggered;/* for ap mode handling Power Saving sta */
|
||||
u8 qsel;
|
||||
u8 eosp;
|
||||
u8 rate;
|
||||
|
@ -213,7 +213,7 @@ struct xmit_buf
|
|||
u8 *pbuf;
|
||||
void *priv_data;
|
||||
|
||||
u16 ext_tag; // 0: Normal xmitbuf, 1: extension xmitbuf.
|
||||
u16 ext_tag; /* 0: Normal xmitbuf, 1: extension xmitbuf. */
|
||||
u16 flags;
|
||||
u32 alloc_sz;
|
||||
u32 len;
|
||||
|
@ -251,14 +251,14 @@ struct sta_xmit_priv
|
|||
{
|
||||
spinlock_t lock;
|
||||
int option;
|
||||
int apsd_setting; //When bit mask is on, the associated edca queue supports APSD.
|
||||
int apsd_setting; /* When bit mask is on, the associated edca queue supports APSD. */
|
||||
|
||||
|
||||
//struct tx_servq blk_q[MAX_NUMBLKS];
|
||||
struct tx_servq be_q; //priority == 0,3
|
||||
struct tx_servq bk_q; //priority == 1,2
|
||||
struct tx_servq vi_q; //priority == 4,5
|
||||
struct tx_servq vo_q; //priority == 6,7
|
||||
/* struct tx_servq blk_q[MAX_NUMBLKS]; */
|
||||
struct tx_servq be_q; /* priority == 0,3 */
|
||||
struct tx_servq bk_q; /* priority == 1,2 */
|
||||
struct tx_servq vi_q; /* priority == 4,5 */
|
||||
struct tx_servq vo_q; /* priority == 6,7 */
|
||||
struct list_head legacy_dz;
|
||||
struct list_head apsd;
|
||||
|
||||
|
@ -269,7 +269,7 @@ struct sta_xmit_priv
|
|||
struct hw_txqueue {
|
||||
volatile int head;
|
||||
volatile int tail;
|
||||
volatile int free_sz; //in units of 64 bytes
|
||||
volatile int free_sz; /* in units of 64 bytes */
|
||||
volatile int free_cmdsz;
|
||||
volatile int txsz[8];
|
||||
uint ff_hwaddr;
|
||||
|
@ -318,11 +318,11 @@ struct xmit_priv {
|
|||
struct hw_xmit *hwxmits;
|
||||
u8 hwxmit_entry;
|
||||
|
||||
u8 wmm_para_seq[4];//sequence for wmm ac parameter strength from large to small. it's value is 0->vo, 1->vi, 2->be, 3->bk.
|
||||
struct semaphore tx_retevt;//all tx return event;
|
||||
u8 txirp_cnt;//
|
||||
u8 wmm_para_seq[4];/* sequence for wmm ac parameter strength from large to small. it's value is 0->vo, 1->vi, 2->be, 3->bk. */
|
||||
struct semaphore tx_retevt;/* all tx return event; */
|
||||
u8 txirp_cnt;/* */
|
||||
struct tasklet_struct xmit_tasklet;
|
||||
//per AC pending irp
|
||||
/* per AC pending irp */
|
||||
int beq_cnt;
|
||||
int bkq_cnt;
|
||||
int viq_cnt;
|
||||
|
@ -400,7 +400,7 @@ int rtw_ack_tx_wait(struct xmit_priv *pxmitpriv, u32 timeout_ms);
|
|||
void rtw_ack_tx_done(struct xmit_priv *pxmitpriv, int status);
|
||||
|
||||
|
||||
//include after declaring struct xmit_buf, in order to avoid warning
|
||||
/* include after declaring struct xmit_buf, in order to avoid warning */
|
||||
#include <xmit_osdep.h>
|
||||
|
||||
#endif //_RTL871X_XMIT_H_
|
||||
#endif /* _RTL871X_XMIT_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue