mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-23 16:44:20 +00:00
rtl8192eu: Replace typedefs for struct adapter
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
a8b7b4d54c
commit
202d20077c
140 changed files with 3132 additions and 7948 deletions
|
@ -160,7 +160,7 @@ _func_exit_;
|
|||
/*
|
||||
Need to consider the fragment situation
|
||||
*/
|
||||
void rtw_wep_encrypt(_adapter *padapter, u8 *pxmitframe)
|
||||
void rtw_wep_encrypt(struct adapter *padapter, u8 *pxmitframe)
|
||||
{ // exclude ICV
|
||||
|
||||
unsigned char crc[4];
|
||||
|
@ -240,7 +240,7 @@ _func_exit_;
|
|||
|
||||
}
|
||||
|
||||
void rtw_wep_decrypt(_adapter *padapter, u8 *precvframe)
|
||||
void rtw_wep_decrypt(struct adapter *padapter, u8 *precvframe)
|
||||
{
|
||||
// exclude ICV
|
||||
u8 crc[4];
|
||||
|
@ -648,7 +648,7 @@ _func_exit_;
|
|||
|
||||
|
||||
//The hlen isn't include the IV
|
||||
u32 rtw_tkip_encrypt(_adapter *padapter, u8 *pxmitframe)
|
||||
u32 rtw_tkip_encrypt(struct adapter *padapter, u8 *pxmitframe)
|
||||
{ // exclude ICV
|
||||
u16 pnl;
|
||||
u32 pnh;
|
||||
|
@ -770,7 +770,7 @@ _func_exit_;
|
|||
|
||||
|
||||
//The hlen isn't include the IV
|
||||
u32 rtw_tkip_decrypt(_adapter *padapter, u8 *precvframe)
|
||||
u32 rtw_tkip_decrypt(struct adapter *padapter, u8 *precvframe)
|
||||
{ // exclude ICV
|
||||
u16 pnl;
|
||||
u32 pnh;
|
||||
|
@ -1579,7 +1579,7 @@ _func_exit_;
|
|||
|
||||
|
||||
|
||||
u32 rtw_aes_encrypt(_adapter *padapter, u8 *pxmitframe)
|
||||
u32 rtw_aes_encrypt(struct adapter *padapter, u8 *pxmitframe)
|
||||
{ // exclude ICV
|
||||
|
||||
|
||||
|
@ -1969,7 +1969,7 @@ _func_exit_;
|
|||
return res;
|
||||
}
|
||||
|
||||
u32 rtw_aes_decrypt(_adapter *padapter, u8 *precvframe)
|
||||
u32 rtw_aes_decrypt(struct adapter *padapter, u8 *precvframe)
|
||||
{ // exclude ICV
|
||||
|
||||
|
||||
|
@ -2092,7 +2092,7 @@ exit:
|
|||
}
|
||||
|
||||
#ifdef CONFIG_IEEE80211W
|
||||
u32 rtw_BIP_verify(_adapter *padapter, u8 *precvframe)
|
||||
u32 rtw_BIP_verify(struct adapter *padapter, u8 *precvframe)
|
||||
{
|
||||
struct rx_pkt_attrib *pattrib = &((union recv_frame *)precvframe)->u.hdr.attrib;
|
||||
u8 *pframe;
|
||||
|
@ -2902,7 +2902,7 @@ int omac1_aes_128(u8 *key, u8 *data, size_t data_len, u8 *mac)
|
|||
}
|
||||
|
||||
#ifdef CONFIG_TDLS
|
||||
void wpa_tdls_generate_tpk(_adapter *padapter, struct sta_info *psta)
|
||||
void wpa_tdls_generate_tpk(struct adapter *padapter, struct sta_info *psta)
|
||||
{
|
||||
struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
|
||||
u8 *SNonce = psta->SNonce;
|
||||
|
@ -3073,7 +3073,7 @@ int tdls_verify_mic(u8 *kck, u8 trans_seq,
|
|||
|
||||
void rtw_use_tkipkey_handler(void *FunctionContext)
|
||||
{
|
||||
_adapter *padapter = (_adapter *)FunctionContext;
|
||||
struct adapter *padapter = (struct adapter *)FunctionContext;
|
||||
|
||||
|
||||
_func_enter_;
|
||||
|
@ -3089,7 +3089,7 @@ _func_exit_;
|
|||
}
|
||||
|
||||
/* Restore HW wep key setting according to key_mask */
|
||||
void rtw_sec_restore_wep_key(_adapter *adapter)
|
||||
void rtw_sec_restore_wep_key(struct adapter *adapter)
|
||||
{
|
||||
struct security_priv* securitypriv=&(adapter->securitypriv);
|
||||
sint keyid;
|
||||
|
@ -3106,7 +3106,7 @@ void rtw_sec_restore_wep_key(_adapter *adapter)
|
|||
}
|
||||
}
|
||||
|
||||
u8 rtw_handle_tkip_countermeasure(_adapter* adapter, const char *caller)
|
||||
u8 rtw_handle_tkip_countermeasure(struct adapter* adapter, const char *caller)
|
||||
{
|
||||
struct security_priv* securitypriv=&(adapter->securitypriv);
|
||||
u8 status = _SUCCESS;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue