mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-08 22:43:04 +00:00
rtl8188eu: Remove C90 comments from include/*.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
e2285839e9
commit
b2720d8002
73 changed files with 3323 additions and 3402 deletions
|
@ -28,7 +28,7 @@
|
|||
#define C2H_MEM_SZ (16*1024)
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <ieee80211.h> // <ieee80211/ieee80211.h>
|
||||
#include <ieee80211.h> /* <ieee80211/ieee80211.h> */
|
||||
|
||||
|
||||
#define FREE_CMDOBJ_SZ 128
|
||||
|
@ -55,9 +55,9 @@
|
|||
struct semaphore terminate_cmdthread_sema;
|
||||
struct __queue cmd_queue;
|
||||
u8 cmd_seq;
|
||||
u8 *cmd_buf; //shall be non-paged, and 4 bytes aligned
|
||||
u8 *cmd_buf; /* shall be non-paged, and 4 bytes aligned */
|
||||
u8 *cmd_allocated_buf;
|
||||
u8 *rsp_buf; //shall be non-paged, and 4 bytes aligned
|
||||
u8 *rsp_buf; /* shall be non-paged, and 4 bytes aligned */
|
||||
u8 *rsp_allocated_buf;
|
||||
u32 cmd_issued_cnt;
|
||||
u32 cmd_done_cnt;
|
||||
|
@ -83,7 +83,7 @@
|
|||
u8 *cmdevt_parm;
|
||||
#endif
|
||||
ATOMIC_T event_seq;
|
||||
u8 *evt_buf; //shall be non-paged, and 4 bytes aligned
|
||||
u8 *evt_buf; /* shall be non-paged, and 4 bytes aligned */
|
||||
u8 *evt_allocated_buf;
|
||||
u32 evt_done_cnt;
|
||||
};
|
||||
|
@ -123,7 +123,7 @@ void rtw_cmd_clr_isr(struct cmd_priv *pcmdpriv);
|
|||
void rtw_evt_notify_isr(struct evt_priv *pevtpriv);
|
||||
#ifdef CONFIG_P2P
|
||||
u8 p2p_protocol_wk_cmd(struct adapter*padapter, int intCmdType );
|
||||
#endif //CONFIG_P2P
|
||||
#endif /* CONFIG_P2P */
|
||||
|
||||
enum rtw_drvextra_cmd_id
|
||||
{
|
||||
|
@ -131,17 +131,17 @@ enum rtw_drvextra_cmd_id
|
|||
DYNAMIC_CHK_WK_CID,
|
||||
DM_CTRL_WK_CID,
|
||||
PBC_POLLING_WK_CID,
|
||||
POWER_SAVING_CTRL_WK_CID,//IPS,AUTOSuspend
|
||||
POWER_SAVING_CTRL_WK_CID,/* IPS,AUTOSuspend */
|
||||
LPS_CTRL_WK_CID,
|
||||
ANT_SELECT_WK_CID,
|
||||
P2P_PS_WK_CID,
|
||||
P2P_PROTO_WK_CID,
|
||||
CHECK_HIQ_WK_CID,//for softap mode, check hi queue if empty
|
||||
CHECK_HIQ_WK_CID,/* for softap mode, check hi queue if empty */
|
||||
INTEl_WIDI_WK_CID,
|
||||
C2H_WK_CID,
|
||||
RTP_TIMER_CFG_WK_CID,
|
||||
RESET_SECURITYPRIV, // add for CONFIG_IEEE80211W, none 11w also can use
|
||||
FREE_ASSOC_RESOURCES, // add for CONFIG_IEEE80211W, none 11w also can use
|
||||
RESET_SECURITYPRIV, /* add for CONFIG_IEEE80211W, none 11w also can use */
|
||||
FREE_ASSOC_RESOURCES, /* add for CONFIG_IEEE80211W, none 11w also can use */
|
||||
MAX_WK_CID
|
||||
};
|
||||
|
||||
|
@ -170,7 +170,7 @@ Command Mode
|
|||
|
||||
*/
|
||||
struct usb_suspend_parm {
|
||||
u32 action;// 1: sleep, 0:resume
|
||||
u32 action;/* 1: sleep, 0:resume */
|
||||
};
|
||||
|
||||
/*
|
||||
|
@ -217,24 +217,6 @@ struct createbss_parm {
|
|||
struct wlan_bssid_ex network;
|
||||
};
|
||||
|
||||
/*
|
||||
Caller Mode: AP, Ad-HoC, Infra
|
||||
|
||||
Notes: To set the NIC mode of RTL8711
|
||||
|
||||
Command Mode
|
||||
|
||||
The definition of mode:
|
||||
|
||||
#define IW_MODE_AUTO 0 // Let the driver decides which AP to join
|
||||
#define IW_MODE_ADHOC 1 // Single cell network (Ad-Hoc Clients)
|
||||
#define IW_MODE_INFRA 2 // Multi cell network, roaming, ..
|
||||
#define IW_MODE_MASTER 3 // Synchronisation master or Access Point
|
||||
#define IW_MODE_REPEAT 4 // Wireless Repeater (forwarder)
|
||||
#define IW_MODE_SECOND 5 // Secondary master/repeater (backup)
|
||||
#define IW_MODE_MONITOR 6 // Passive monitor (listen only)
|
||||
|
||||
*/
|
||||
struct setopmode_parm {
|
||||
u8 mode;
|
||||
u8 rsvd[3];
|
||||
|
@ -249,11 +231,10 @@ Command-Event Mode
|
|||
|
||||
*/
|
||||
|
||||
#define RTW_SSID_SCAN_AMOUNT 9 // for WEXT_CSCAN_AMOUNT 9
|
||||
#define RTW_SSID_SCAN_AMOUNT 9 /* for WEXT_CSCAN_AMOUNT 9 */
|
||||
#define RTW_CHANNEL_SCAN_AMOUNT (14+37)
|
||||
struct sitesurvey_parm {
|
||||
sint scan_mode; //active: 1, passive: 0
|
||||
/* sint bsslimit; // 1 ~ 48 */
|
||||
sint scan_mode; /* active: 1, passive: 0 */
|
||||
u8 ssid_num;
|
||||
u8 ch_num;
|
||||
struct ndis_802_11_ssid ssid[RTW_SSID_SCAN_AMOUNT];
|
||||
|
@ -269,8 +250,8 @@ Command Mode
|
|||
|
||||
*/
|
||||
struct setauth_parm {
|
||||
u8 mode; //0: legacy open, 1: legacy shared 2: 802.1x
|
||||
u8 _1x; //0: PSK, 1: TLS
|
||||
u8 mode; /* 0: legacy open, 1: legacy shared 2: 802.1x */
|
||||
u8 _1x; /* 0: PSK, 1: TLS */
|
||||
u8 rsvd[2];
|
||||
};
|
||||
|
||||
|
@ -287,11 +268,11 @@ when 802.1x ==> keyid > 2 ==> unicast key
|
|||
|
||||
*/
|
||||
struct setkey_parm {
|
||||
u8 algorithm; // encryption algorithm, could be none, wep40, TKIP, CCMP, wep104
|
||||
u8 algorithm; /* encryption algorithm, could be none, wep40, TKIP, CCMP, wep104 */
|
||||
u8 keyid;
|
||||
u8 grpkey; // 1: this is the grpkey for 802.1x. 0: this is the unicast key for 802.1x
|
||||
u8 set_tx; // 1: main tx key for wep. 0: other key.
|
||||
u8 key[16]; // this could be 40 or 104
|
||||
u8 grpkey; /* 1: this is the grpkey for 802.1x. 0: this is the unicast key for 802.1x */
|
||||
u8 set_tx; /* 1: main tx key for wep. 0: other key. */
|
||||
u8 key[16]; /* this could be 40 or 104 */
|
||||
};
|
||||
|
||||
/*
|
||||
|
@ -306,7 +287,7 @@ when shared key ==> algorithm/keyid
|
|||
struct set_stakey_parm {
|
||||
u8 addr[ETH_ALEN];
|
||||
u8 algorithm;
|
||||
u8 id;// currently for erasing cam entry if algorithm == _NO_PRIVACY_
|
||||
u8 id;/* currently for erasing cam entry if algorithm == _NO_PRIVACY_ */
|
||||
u8 key[16];
|
||||
};
|
||||
|
||||
|
@ -609,10 +590,10 @@ struct geth2clbk_rsp {
|
|||
|
||||
#endif /* CONFIG_H2CLBK */
|
||||
|
||||
// CMD param Formart for driver extra cmd handler
|
||||
/* CMD param Formart for driver extra cmd handler */
|
||||
struct drvextra_cmd_parm {
|
||||
int ec_id; //extra cmd id
|
||||
int type_size; // Can use this field as the type id or command size
|
||||
int ec_id; /* extra cmd id */
|
||||
int type_size; /* Can use this field as the type id or command size */
|
||||
unsigned char *pbuf;
|
||||
};
|
||||
|
||||
|
@ -641,7 +622,7 @@ struct gettxagctbl_rsp {
|
|||
};
|
||||
|
||||
struct setagcctrl_parm {
|
||||
u32 agcctrl; // 0: pure hw, 1: fw
|
||||
u32 agcctrl; /* 0: pure hw, 1: fw */
|
||||
};
|
||||
|
||||
|
||||
|
@ -710,7 +691,7 @@ struct getratable_rsp {
|
|||
};
|
||||
|
||||
|
||||
//to get TX,RX retry count
|
||||
/* to get TX,RX retry count */
|
||||
struct gettxretrycnt_parm{
|
||||
unsigned int rsvd;
|
||||
};
|
||||
|
@ -725,7 +706,7 @@ struct getrxretrycnt_rsp{
|
|||
unsigned long rx_retrycnt;
|
||||
};
|
||||
|
||||
//to get BCNOK,BCNERR count
|
||||
/* to get BCNOK,BCNERR count */
|
||||
struct getbcnokcnt_parm{
|
||||
unsigned int rsvd;
|
||||
};
|
||||
|
@ -740,7 +721,7 @@ struct getbcnerrcnt_rsp{
|
|||
unsigned long bcnerrcnt;
|
||||
};
|
||||
|
||||
// to get current TX power level
|
||||
/* to get current TX power level */
|
||||
struct getcurtxpwrlevel_parm{
|
||||
unsigned int rsvd;
|
||||
};
|
||||
|
@ -798,7 +779,7 @@ struct SwitchAntenna_parm
|
|||
{
|
||||
u16 antenna_tx;
|
||||
u16 antenna_rx;
|
||||
// R_ANTENNA_SELECT_CCK cck_txrx;
|
||||
/* R_ANTENNA_SELECT_CCK cck_txrx; */
|
||||
u8 cck_txrx;
|
||||
};
|
||||
|
||||
|
@ -920,7 +901,7 @@ u8 rtw_setfwdig_cmd(struct adapter*padapter, u8 type);
|
|||
u8 rtw_setfwra_cmd(struct adapter*padapter, u8 type);
|
||||
|
||||
u8 rtw_addbareq_cmd(struct adapter*padapter, u8 tid, u8 *addr);
|
||||
// add for CONFIG_IEEE80211W, none 11w also can use
|
||||
/* add for CONFIG_IEEE80211W, none 11w also can use */
|
||||
u8 rtw_reset_securitypriv_cmd(struct adapter*padapter);
|
||||
u8 rtw_free_assoc_resources_cmd(struct adapter *padapter);
|
||||
u8 rtw_dynamic_chk_wk_cmd(struct adapter *adapter);
|
||||
|
@ -1118,4 +1099,4 @@ static struct _cmd_callback rtw_cmd_callback[] =
|
|||
};
|
||||
#endif
|
||||
|
||||
#endif // _CMD_H_
|
||||
#endif /* _CMD_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue