mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-23 08:34: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
136
core/rtw_cmd.c
136
core/rtw_cmd.c
|
@ -349,7 +349,7 @@ int rtw_cmd_filter(struct cmd_priv *pcmdpriv, struct cmd_obj *cmd_obj)
|
|||
u32 rtw_enqueue_cmd(struct cmd_priv *pcmdpriv, struct cmd_obj *cmd_obj)
|
||||
{
|
||||
int res = _FAIL;
|
||||
PADAPTER padapter = pcmdpriv->padapter;
|
||||
struct adapter *padapter = pcmdpriv->padapter;
|
||||
|
||||
_func_enter_;
|
||||
|
||||
|
@ -428,7 +428,7 @@ _func_exit_;
|
|||
}
|
||||
|
||||
|
||||
void rtw_stop_cmd_thread(_adapter *adapter)
|
||||
void rtw_stop_cmd_thread(struct adapter *adapter)
|
||||
{
|
||||
if(adapter->cmdThread && adapter->cmdpriv.cmdthd_running == _TRUE
|
||||
&& adapter->cmdpriv.stop_req == 0)
|
||||
|
@ -444,9 +444,9 @@ thread_return rtw_cmd_thread(thread_context context)
|
|||
u8 ret;
|
||||
struct cmd_obj *pcmd;
|
||||
u8 *pcmdbuf, *prspbuf;
|
||||
u8 (*cmd_hdl)(_adapter *padapter, u8* pbuf);
|
||||
void (*pcmd_callback)(_adapter *dev, struct cmd_obj *pcmd);
|
||||
PADAPTER padapter = (PADAPTER)context;
|
||||
u8 (*cmd_hdl)(struct adapter *padapter, u8* pbuf);
|
||||
void (*pcmd_callback)(struct adapter *dev, struct cmd_obj *pcmd);
|
||||
struct adapter *padapter = (struct adapter *)context;
|
||||
struct cmd_priv *pcmdpriv = &(padapter->cmdpriv);
|
||||
|
||||
_func_enter_;
|
||||
|
@ -677,7 +677,7 @@ _func_exit_;
|
|||
/*
|
||||
u8 rtw_setstandby_cmd(unsigned char *adapter)
|
||||
*/
|
||||
u8 rtw_setstandby_cmd(_adapter *padapter, uint action)
|
||||
u8 rtw_setstandby_cmd(struct adapter *padapter, uint action)
|
||||
{
|
||||
struct cmd_obj* ph2c;
|
||||
struct usb_suspend_parm* psetusbsuspend;
|
||||
|
@ -718,7 +718,7 @@ rtw_sitesurvey_cmd(~)
|
|||
### NOTE:#### (!!!!)
|
||||
MUST TAKE CARE THAT BEFORE CALLING THIS FUNC, YOU SHOULD HAVE LOCKED pmlmepriv->lock
|
||||
*/
|
||||
u8 rtw_sitesurvey_cmd(_adapter *padapter, NDIS_802_11_SSID *ssid, int ssid_num,
|
||||
u8 rtw_sitesurvey_cmd(struct adapter *padapter, NDIS_802_11_SSID *ssid, int ssid_num,
|
||||
struct rtw_ieee80211_channel *ch, int ch_num)
|
||||
{
|
||||
u8 res = _FAIL;
|
||||
|
@ -818,7 +818,7 @@ _func_exit_;
|
|||
return res;
|
||||
}
|
||||
|
||||
u8 rtw_setdatarate_cmd(_adapter *padapter, u8 *rateset)
|
||||
u8 rtw_setdatarate_cmd(struct adapter *padapter, u8 *rateset)
|
||||
{
|
||||
struct cmd_obj* ph2c;
|
||||
struct setdatarate_parm* pbsetdataratepara;
|
||||
|
@ -856,7 +856,7 @@ _func_exit_;
|
|||
return res;
|
||||
}
|
||||
|
||||
u8 rtw_setbasicrate_cmd(_adapter *padapter, u8 *rateset)
|
||||
u8 rtw_setbasicrate_cmd(struct adapter *padapter, u8 *rateset)
|
||||
{
|
||||
struct cmd_obj* ph2c;
|
||||
struct setbasicrate_parm* pssetbasicratepara;
|
||||
|
@ -898,7 +898,7 @@ unsigned char rtw_setphy_cmd(unsigned char *adapter)
|
|||
2. for AdHoc/Ap mode or mp mode?
|
||||
|
||||
*/
|
||||
u8 rtw_setphy_cmd(_adapter *padapter, u8 modem, u8 ch)
|
||||
u8 rtw_setphy_cmd(struct adapter *padapter, u8 modem, u8 ch)
|
||||
{
|
||||
struct cmd_obj* ph2c;
|
||||
struct setphy_parm* psetphypara;
|
||||
|
@ -935,7 +935,7 @@ _func_exit_;
|
|||
return res;
|
||||
}
|
||||
|
||||
u8 rtw_setbbreg_cmd(_adapter*padapter, u8 offset, u8 val)
|
||||
u8 rtw_setbbreg_cmd(struct adapter*padapter, u8 offset, u8 val)
|
||||
{
|
||||
struct cmd_obj* ph2c;
|
||||
struct writeBB_parm* pwritebbparm;
|
||||
|
@ -966,7 +966,7 @@ _func_exit_;
|
|||
return res;
|
||||
}
|
||||
|
||||
u8 rtw_getbbreg_cmd(_adapter *padapter, u8 offset, u8 *pval)
|
||||
u8 rtw_getbbreg_cmd(struct adapter *padapter, u8 offset, u8 *pval)
|
||||
{
|
||||
struct cmd_obj* ph2c;
|
||||
struct readBB_parm* prdbbparm;
|
||||
|
@ -1001,7 +1001,7 @@ _func_exit_;
|
|||
return res;
|
||||
}
|
||||
|
||||
u8 rtw_setrfreg_cmd(_adapter *padapter, u8 offset, u32 val)
|
||||
u8 rtw_setrfreg_cmd(struct adapter *padapter, u8 offset, u32 val)
|
||||
{
|
||||
struct cmd_obj* ph2c;
|
||||
struct writeRF_parm* pwriterfparm;
|
||||
|
@ -1032,7 +1032,7 @@ _func_exit_;
|
|||
return res;
|
||||
}
|
||||
|
||||
u8 rtw_getrfreg_cmd(_adapter *padapter, u8 offset, u8 *pval)
|
||||
u8 rtw_getrfreg_cmd(struct adapter *padapter, u8 offset, u8 *pval)
|
||||
{
|
||||
struct cmd_obj* ph2c;
|
||||
struct readRF_parm* prdrfparm;
|
||||
|
@ -1072,7 +1072,7 @@ _func_exit_;
|
|||
return res;
|
||||
}
|
||||
|
||||
void rtw_getbbrfreg_cmdrsp_callback(_adapter* padapter, struct cmd_obj *pcmd)
|
||||
void rtw_getbbrfreg_cmdrsp_callback(struct adapter* padapter, struct cmd_obj *pcmd)
|
||||
{
|
||||
_func_enter_;
|
||||
|
||||
|
@ -1083,7 +1083,7 @@ void rtw_getbbrfreg_cmdrsp_callback(_adapter* padapter, struct cmd_obj *pcmd)
|
|||
_func_exit_;
|
||||
}
|
||||
|
||||
void rtw_readtssi_cmdrsp_callback(_adapter* padapter, struct cmd_obj *pcmd)
|
||||
void rtw_readtssi_cmdrsp_callback(struct adapter* padapter, struct cmd_obj *pcmd)
|
||||
{
|
||||
_func_enter_;
|
||||
|
||||
|
@ -1093,7 +1093,7 @@ void rtw_readtssi_cmdrsp_callback(_adapter* padapter, struct cmd_obj *pcmd)
|
|||
_func_exit_;
|
||||
}
|
||||
|
||||
u8 rtw_createbss_cmd(_adapter *padapter)
|
||||
u8 rtw_createbss_cmd(struct adapter *padapter)
|
||||
{
|
||||
struct cmd_obj* pcmd;
|
||||
struct cmd_priv *pcmdpriv=&padapter->cmdpriv;
|
||||
|
@ -1135,7 +1135,7 @@ _func_exit_;
|
|||
return res;
|
||||
}
|
||||
|
||||
u8 rtw_createbss_cmd_ex(_adapter *padapter, unsigned char *pbss, unsigned int sz)
|
||||
u8 rtw_createbss_cmd_ex(struct adapter *padapter, unsigned char *pbss, unsigned int sz)
|
||||
{
|
||||
struct cmd_obj* pcmd;
|
||||
struct cmd_priv *pcmdpriv=&padapter->cmdpriv;
|
||||
|
@ -1165,7 +1165,7 @@ _func_exit_;
|
|||
return res;
|
||||
}
|
||||
|
||||
u8 rtw_joinbss_cmd(_adapter *padapter, struct wlan_network* pnetwork)
|
||||
u8 rtw_joinbss_cmd(struct adapter *padapter, struct wlan_network* pnetwork)
|
||||
{
|
||||
u8 *auth, res = _SUCCESS;
|
||||
uint t_len = 0;
|
||||
|
@ -1349,7 +1349,7 @@ _func_exit_;
|
|||
return res;
|
||||
}
|
||||
|
||||
u8 rtw_disassoc_cmd(_adapter*padapter, u32 deauth_timeout_ms, bool enqueue) /* for sta_mode */
|
||||
u8 rtw_disassoc_cmd(struct adapter*padapter, u32 deauth_timeout_ms, bool enqueue) /* for sta_mode */
|
||||
{
|
||||
struct cmd_obj *cmdobj = NULL;
|
||||
struct disconnect_parm *param = NULL;
|
||||
|
@ -1392,7 +1392,7 @@ _func_exit_;
|
|||
return res;
|
||||
}
|
||||
|
||||
u8 rtw_setopmode_cmd(_adapter *padapter, NDIS_802_11_NETWORK_INFRASTRUCTURE networktype, bool enqueue)
|
||||
u8 rtw_setopmode_cmd(struct adapter *padapter, NDIS_802_11_NETWORK_INFRASTRUCTURE networktype, bool enqueue)
|
||||
{
|
||||
struct cmd_obj* ph2c;
|
||||
struct setopmode_parm* psetop;
|
||||
|
@ -1431,7 +1431,7 @@ _func_exit_;
|
|||
return res;
|
||||
}
|
||||
|
||||
u8 rtw_setstakey_cmd(_adapter *padapter, u8 *psta, u8 unicast_key, bool enqueue)
|
||||
u8 rtw_setstakey_cmd(struct adapter *padapter, u8 *psta, u8 unicast_key, bool enqueue)
|
||||
{
|
||||
struct cmd_obj* ph2c;
|
||||
struct set_stakey_parm *psetstakey_para;
|
||||
|
@ -1512,7 +1512,7 @@ _func_exit_;
|
|||
return res;
|
||||
}
|
||||
|
||||
u8 rtw_clearstakey_cmd(_adapter *padapter, u8 *psta, u8 entry, u8 enqueue)
|
||||
u8 rtw_clearstakey_cmd(struct adapter *padapter, u8 *psta, u8 entry, u8 enqueue)
|
||||
{
|
||||
struct cmd_obj* ph2c;
|
||||
struct set_stakey_parm *psetstakey_para;
|
||||
|
@ -1573,7 +1573,7 @@ _func_exit_;
|
|||
return res;
|
||||
}
|
||||
|
||||
u8 rtw_setrttbl_cmd(_adapter *padapter, struct setratable_parm *prate_table)
|
||||
u8 rtw_setrttbl_cmd(struct adapter *padapter, struct setratable_parm *prate_table)
|
||||
{
|
||||
struct cmd_obj* ph2c;
|
||||
struct setratable_parm * psetrttblparm;
|
||||
|
@ -1605,7 +1605,7 @@ _func_exit_;
|
|||
|
||||
}
|
||||
|
||||
u8 rtw_getrttbl_cmd(_adapter *padapter, struct getratable_rsp *pval)
|
||||
u8 rtw_getrttbl_cmd(struct adapter *padapter, struct getratable_rsp *pval)
|
||||
{
|
||||
struct cmd_obj* ph2c;
|
||||
struct getratable_parm * pgetrttblparm;
|
||||
|
@ -1644,7 +1644,7 @@ _func_exit_;
|
|||
|
||||
}
|
||||
|
||||
u8 rtw_setassocsta_cmd(_adapter *padapter, u8 *mac_addr)
|
||||
u8 rtw_setassocsta_cmd(struct adapter *padapter, u8 *mac_addr)
|
||||
{
|
||||
struct cmd_priv *pcmdpriv = &padapter->cmdpriv;
|
||||
struct cmd_obj* ph2c;
|
||||
|
@ -1690,7 +1690,7 @@ _func_exit_;
|
|||
return res;
|
||||
}
|
||||
|
||||
u8 rtw_addbareq_cmd(_adapter*padapter, u8 tid, u8 *addr)
|
||||
u8 rtw_addbareq_cmd(struct adapter*padapter, u8 tid, u8 *addr)
|
||||
{
|
||||
struct cmd_priv *pcmdpriv = &padapter->cmdpriv;
|
||||
struct cmd_obj* ph2c;
|
||||
|
@ -1730,7 +1730,7 @@ _func_exit_;
|
|||
return res;
|
||||
}
|
||||
//add for CONFIG_IEEE80211W, none 11w can use it
|
||||
u8 rtw_reset_securitypriv_cmd(_adapter*padapter)
|
||||
u8 rtw_reset_securitypriv_cmd(struct adapter*padapter)
|
||||
{
|
||||
struct cmd_obj* ph2c;
|
||||
struct drvextra_cmd_parm *pdrvextra_cmd_parm;
|
||||
|
@ -1770,7 +1770,7 @@ _func_exit_;
|
|||
|
||||
}
|
||||
|
||||
u8 rtw_free_assoc_resources_cmd(_adapter*padapter)
|
||||
u8 rtw_free_assoc_resources_cmd(struct adapter*padapter)
|
||||
{
|
||||
struct cmd_obj* ph2c;
|
||||
struct drvextra_cmd_parm *pdrvextra_cmd_parm;
|
||||
|
@ -1810,7 +1810,7 @@ _func_exit_;
|
|||
|
||||
}
|
||||
|
||||
u8 rtw_dynamic_chk_wk_cmd(_adapter*padapter)
|
||||
u8 rtw_dynamic_chk_wk_cmd(struct adapter*padapter)
|
||||
{
|
||||
struct cmd_obj* ph2c;
|
||||
struct drvextra_cmd_parm *pdrvextra_cmd_parm;
|
||||
|
@ -1855,7 +1855,7 @@ _func_exit_;
|
|||
|
||||
}
|
||||
|
||||
u8 rtw_set_ch_cmd(_adapter*padapter, u8 ch, u8 bw, u8 ch_offset, u8 enqueue)
|
||||
u8 rtw_set_ch_cmd(struct adapter*padapter, u8 ch, u8 bw, u8 ch_offset, u8 enqueue)
|
||||
{
|
||||
struct cmd_obj *pcmdobj;
|
||||
struct set_ch_parm *set_ch_parm;
|
||||
|
@ -1910,7 +1910,7 @@ _func_exit_;
|
|||
return res;
|
||||
}
|
||||
|
||||
u8 rtw_set_chplan_cmd(_adapter*padapter, u8 chplan, u8 enqueue)
|
||||
u8 rtw_set_chplan_cmd(struct adapter*padapter, u8 chplan, u8 enqueue)
|
||||
{
|
||||
struct cmd_obj* pcmdobj;
|
||||
struct SetChannelPlan_param *setChannelPlan_param;
|
||||
|
@ -1969,7 +1969,7 @@ _func_exit_;
|
|||
return res;
|
||||
}
|
||||
|
||||
u8 rtw_led_blink_cmd(_adapter*padapter, PLED_871x pLed)
|
||||
u8 rtw_led_blink_cmd(struct adapter*padapter, PLED_871x pLed)
|
||||
{
|
||||
struct cmd_obj* pcmdobj;
|
||||
struct LedBlink_param *ledBlink_param;
|
||||
|
@ -2006,7 +2006,7 @@ _func_exit_;
|
|||
return res;
|
||||
}
|
||||
|
||||
u8 rtw_set_csa_cmd(_adapter*padapter, u8 new_ch_no)
|
||||
u8 rtw_set_csa_cmd(struct adapter*padapter, u8 new_ch_no)
|
||||
{
|
||||
struct cmd_obj* pcmdobj;
|
||||
struct SetChannelSwitch_param*setChannelSwitch_param;
|
||||
|
@ -2044,7 +2044,7 @@ _func_exit_;
|
|||
return res;
|
||||
}
|
||||
|
||||
u8 rtw_tdls_cmd(_adapter *padapter, u8 *addr, u8 option)
|
||||
u8 rtw_tdls_cmd(struct adapter *padapter, u8 *addr, u8 option)
|
||||
{
|
||||
struct cmd_obj* pcmdobj;
|
||||
struct TDLSoption_param *TDLSoption;
|
||||
|
@ -2090,7 +2090,7 @@ _func_exit_;
|
|||
}
|
||||
|
||||
#ifdef CONFIG_DETECT_C2H_BY_POLLING
|
||||
u8 rtw_event_polling_cmd(_adapter*padapter)
|
||||
u8 rtw_event_polling_cmd(struct adapter*padapter)
|
||||
{
|
||||
struct cmd_obj* ph2c;
|
||||
struct drvextra_cmd_parm *pdrvextra_cmd_parm;
|
||||
|
@ -2137,7 +2137,7 @@ exit:
|
|||
}
|
||||
#endif
|
||||
|
||||
static void traffic_status_watchdog(_adapter *padapter)
|
||||
static void traffic_status_watchdog(struct adapter *padapter)
|
||||
{
|
||||
#ifdef CONFIG_LPS
|
||||
u8 bEnterPS;
|
||||
|
@ -2276,12 +2276,12 @@ static void traffic_status_watchdog(_adapter *padapter)
|
|||
pmlmepriv->LinkDetectInfo.bHigherBusyTxTraffic = bHigherBusyTxTraffic;
|
||||
}
|
||||
|
||||
void dynamic_chk_wk_hdl(_adapter *padapter, u8 *pbuf, int sz);
|
||||
void dynamic_chk_wk_hdl(_adapter *padapter, u8 *pbuf, int sz)
|
||||
void dynamic_chk_wk_hdl(struct adapter *padapter, u8 *pbuf, int sz);
|
||||
void dynamic_chk_wk_hdl(struct adapter *padapter, u8 *pbuf, int sz)
|
||||
{
|
||||
struct mlme_priv *pmlmepriv;
|
||||
|
||||
padapter = (_adapter *)pbuf;
|
||||
padapter = (struct adapter *)pbuf;
|
||||
pmlmepriv = &(padapter->mlmepriv);
|
||||
|
||||
#ifdef CONFIG_ACTIVE_KEEP_ALIVE_CHECK
|
||||
|
@ -2317,8 +2317,8 @@ void dynamic_chk_wk_hdl(_adapter *padapter, u8 *pbuf, int sz)
|
|||
|
||||
#ifdef CONFIG_LPS
|
||||
|
||||
void lps_ctrl_wk_hdl(_adapter *padapter, u8 lps_ctrl_type);
|
||||
void lps_ctrl_wk_hdl(_adapter *padapter, u8 lps_ctrl_type)
|
||||
void lps_ctrl_wk_hdl(struct adapter *padapter, u8 lps_ctrl_type);
|
||||
void lps_ctrl_wk_hdl(struct adapter *padapter, u8 lps_ctrl_type)
|
||||
{
|
||||
struct pwrctrl_priv *pwrpriv = adapter_to_pwrctl(padapter);
|
||||
struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
|
||||
|
@ -2402,7 +2402,7 @@ _func_enter_;
|
|||
_func_exit_;
|
||||
}
|
||||
|
||||
u8 rtw_lps_ctrl_wk_cmd(_adapter*padapter, u8 lps_ctrl_type, u8 enqueue)
|
||||
u8 rtw_lps_ctrl_wk_cmd(struct adapter*padapter, u8 lps_ctrl_type, u8 enqueue)
|
||||
{
|
||||
struct cmd_obj *ph2c;
|
||||
struct drvextra_cmd_parm *pdrvextra_cmd_parm;
|
||||
|
@ -2459,12 +2459,12 @@ _func_exit_;
|
|||
#endif
|
||||
|
||||
#if (RATE_ADAPTIVE_SUPPORT==1)
|
||||
void rpt_timer_setting_wk_hdl(_adapter *padapter, u16 minRptTime)
|
||||
void rpt_timer_setting_wk_hdl(struct adapter *padapter, u16 minRptTime)
|
||||
{
|
||||
rtw_hal_set_hwreg(padapter, HW_VAR_RPT_TIMER_SETTING, (u8 *)(&minRptTime));
|
||||
}
|
||||
|
||||
u8 rtw_rpt_timer_cfg_cmd(_adapter*padapter, u16 minRptTime)
|
||||
u8 rtw_rpt_timer_cfg_cmd(struct adapter*padapter, u16 minRptTime)
|
||||
{
|
||||
struct cmd_obj *ph2c;
|
||||
struct drvextra_cmd_parm *pdrvextra_cmd_parm;
|
||||
|
@ -2502,12 +2502,12 @@ _func_exit_;
|
|||
#endif
|
||||
|
||||
#ifdef CONFIG_ANTENNA_DIVERSITY
|
||||
void antenna_select_wk_hdl(_adapter *padapter, u8 antenna)
|
||||
void antenna_select_wk_hdl(struct adapter *padapter, u8 antenna)
|
||||
{
|
||||
rtw_hal_set_hwreg(padapter, HW_VAR_ANTENNA_DIVERSITY_SELECT, (u8 *)(&antenna));
|
||||
}
|
||||
|
||||
u8 rtw_antenna_select_cmd(_adapter*padapter, u8 antenna,u8 enqueue)
|
||||
u8 rtw_antenna_select_cmd(struct adapter*padapter, u8 antenna,u8 enqueue)
|
||||
{
|
||||
struct cmd_obj *ph2c;
|
||||
struct drvextra_cmd_parm *pdrvextra_cmd_parm;
|
||||
|
@ -2553,25 +2553,25 @@ _func_exit_;
|
|||
}
|
||||
#endif
|
||||
|
||||
void power_saving_wk_hdl(_adapter *padapter, u8 *pbuf, int sz);
|
||||
void power_saving_wk_hdl(_adapter *padapter, u8 *pbuf, int sz)
|
||||
void power_saving_wk_hdl(struct adapter *padapter, u8 *pbuf, int sz);
|
||||
void power_saving_wk_hdl(struct adapter *padapter, u8 *pbuf, int sz)
|
||||
{
|
||||
rtw_ps_processor(padapter);
|
||||
}
|
||||
|
||||
//add for CONFIG_IEEE80211W, none 11w can use it
|
||||
void reset_securitypriv_hdl(_adapter *padapter)
|
||||
void reset_securitypriv_hdl(struct adapter *padapter)
|
||||
{
|
||||
rtw_reset_securitypriv(padapter);
|
||||
}
|
||||
|
||||
void free_assoc_resources_hdl(_adapter *padapter)
|
||||
void free_assoc_resources_hdl(struct adapter *padapter)
|
||||
{
|
||||
rtw_free_assoc_resources(padapter, 1);
|
||||
}
|
||||
|
||||
#ifdef CONFIG_P2P
|
||||
u8 p2p_protocol_wk_cmd(_adapter*padapter, int intCmdType )
|
||||
u8 p2p_protocol_wk_cmd(struct adapter*padapter, int intCmdType )
|
||||
{
|
||||
struct cmd_obj *ph2c;
|
||||
struct drvextra_cmd_parm *pdrvextra_cmd_parm;
|
||||
|
@ -2616,7 +2616,7 @@ _func_exit_;
|
|||
}
|
||||
#endif //CONFIG_P2P
|
||||
|
||||
u8 rtw_ps_cmd(_adapter*padapter)
|
||||
u8 rtw_ps_cmd(struct adapter*padapter)
|
||||
{
|
||||
struct cmd_obj *ppscmd;
|
||||
struct drvextra_cmd_parm *pdrvextra_cmd_parm;
|
||||
|
@ -2659,7 +2659,7 @@ _func_exit_;
|
|||
|
||||
#ifdef CONFIG_AP_MODE
|
||||
|
||||
static void rtw_chk_hi_queue_hdl(_adapter *padapter)
|
||||
static void rtw_chk_hi_queue_hdl(struct adapter *padapter)
|
||||
{
|
||||
int cnt=0;
|
||||
struct sta_info *psta_bmc;
|
||||
|
@ -2706,7 +2706,7 @@ static void rtw_chk_hi_queue_hdl(_adapter *padapter)
|
|||
|
||||
}
|
||||
|
||||
u8 rtw_chk_hi_queue_cmd(_adapter*padapter)
|
||||
u8 rtw_chk_hi_queue_cmd(struct adapter*padapter)
|
||||
{
|
||||
struct cmd_obj *ph2c;
|
||||
struct drvextra_cmd_parm *pdrvextra_cmd_parm;
|
||||
|
@ -2741,7 +2741,7 @@ exit:
|
|||
}
|
||||
#endif
|
||||
|
||||
u8 rtw_c2h_wk_cmd(PADAPTER padapter, u8 *c2h_evt)
|
||||
u8 rtw_c2h_wk_cmd(struct adapter *padapter, u8 *c2h_evt)
|
||||
{
|
||||
struct cmd_obj *ph2c;
|
||||
struct drvextra_cmd_parm *pdrvextra_cmd_parm;
|
||||
|
@ -2774,7 +2774,7 @@ exit:
|
|||
return res;
|
||||
}
|
||||
|
||||
s32 c2h_evt_hdl(_adapter *adapter, struct c2h_evt_hdr *c2h_evt, c2h_id_filter filter)
|
||||
s32 c2h_evt_hdl(struct adapter *adapter, struct c2h_evt_hdr *c2h_evt, c2h_id_filter filter)
|
||||
{
|
||||
s32 ret = _FAIL;
|
||||
u8 buf[16];
|
||||
|
@ -2804,7 +2804,7 @@ exit:
|
|||
static void c2h_wk_callback(_workitem *work)
|
||||
{
|
||||
struct evt_priv *evtpriv = container_of(work, struct evt_priv, c2h_wk);
|
||||
_adapter *adapter = container_of(evtpriv, _adapter, evtpriv);
|
||||
struct adapter *adapter = container_of(evtpriv, struct adapter, evtpriv);
|
||||
struct c2h_evt_hdr *c2h_evt;
|
||||
c2h_id_filter ccx_id_filter = rtw_hal_c2h_id_filter_ccx(adapter);
|
||||
|
||||
|
@ -2844,7 +2844,7 @@ static void c2h_wk_callback(_workitem *work)
|
|||
#endif
|
||||
|
||||
#ifdef CONFIG_DETECT_C2H_BY_POLLING
|
||||
void event_polling_hdl(_adapter *padapter, u8 *pbuf, int sz)
|
||||
void event_polling_hdl(struct adapter *padapter, u8 *pbuf, int sz)
|
||||
{
|
||||
c2h_id_filter ccx_id_filter = rtw_hal_c2h_id_filter_ccx(padapter);
|
||||
u8 check_c2hcmd, check_ccx;
|
||||
|
@ -2888,7 +2888,7 @@ void event_polling_hdl(_adapter *padapter, u8 *pbuf, int sz)
|
|||
}
|
||||
#endif
|
||||
|
||||
u8 rtw_drvextra_cmd_hdl(_adapter *padapter, unsigned char *pbuf)
|
||||
u8 rtw_drvextra_cmd_hdl(struct adapter *padapter, unsigned char *pbuf)
|
||||
{
|
||||
struct drvextra_cmd_parm *pdrvextra_cmd;
|
||||
|
||||
|
@ -2967,7 +2967,7 @@ u8 rtw_drvextra_cmd_hdl(_adapter *padapter, unsigned char *pbuf)
|
|||
return H2C_SUCCESS;
|
||||
}
|
||||
|
||||
void rtw_survey_cmd_callback(_adapter* padapter , struct cmd_obj *pcmd)
|
||||
void rtw_survey_cmd_callback(struct adapter* padapter , struct cmd_obj *pcmd)
|
||||
{
|
||||
struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
|
||||
|
||||
|
@ -2989,7 +2989,7 @@ _func_enter_;
|
|||
|
||||
_func_exit_;
|
||||
}
|
||||
void rtw_disassoc_cmd_callback(_adapter* padapter, struct cmd_obj *pcmd)
|
||||
void rtw_disassoc_cmd_callback(struct adapter* padapter, struct cmd_obj *pcmd)
|
||||
{
|
||||
_irqL irqL;
|
||||
struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
|
||||
|
@ -3020,7 +3020,7 @@ _func_exit_;
|
|||
}
|
||||
|
||||
|
||||
void rtw_joinbss_cmd_callback(_adapter* padapter, struct cmd_obj *pcmd)
|
||||
void rtw_joinbss_cmd_callback(struct adapter* padapter, struct cmd_obj *pcmd)
|
||||
{
|
||||
struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
|
||||
|
||||
|
@ -3043,7 +3043,7 @@ _func_enter_;
|
|||
_func_exit_;
|
||||
}
|
||||
|
||||
void rtw_createbss_cmd_callback(_adapter *padapter, struct cmd_obj *pcmd)
|
||||
void rtw_createbss_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd)
|
||||
{
|
||||
_irqL irqL;
|
||||
u8 timer_cancelled;
|
||||
|
@ -3170,7 +3170,7 @@ _func_exit_;
|
|||
|
||||
|
||||
|
||||
void rtw_setstaKey_cmdrsp_callback(_adapter* padapter , struct cmd_obj *pcmd)
|
||||
void rtw_setstaKey_cmdrsp_callback(struct adapter* padapter , struct cmd_obj *pcmd)
|
||||
{
|
||||
|
||||
struct sta_priv * pstapriv = &padapter->stapriv;
|
||||
|
@ -3194,7 +3194,7 @@ exit:
|
|||
_func_exit_;
|
||||
|
||||
}
|
||||
void rtw_setassocsta_cmdrsp_callback(_adapter* padapter, struct cmd_obj *pcmd)
|
||||
void rtw_setassocsta_cmdrsp_callback(struct adapter* padapter, struct cmd_obj *pcmd)
|
||||
{
|
||||
_irqL irqL;
|
||||
struct sta_priv * pstapriv = &padapter->stapriv;
|
||||
|
@ -3227,8 +3227,8 @@ exit:
|
|||
_func_exit_;
|
||||
}
|
||||
|
||||
void rtw_getrttbl_cmd_cmdrsp_callback(_adapter* padapter, struct cmd_obj *pcmd);
|
||||
void rtw_getrttbl_cmd_cmdrsp_callback(_adapter* padapter, struct cmd_obj *pcmd)
|
||||
void rtw_getrttbl_cmd_cmdrsp_callback(struct adapter* padapter, struct cmd_obj *pcmd);
|
||||
void rtw_getrttbl_cmd_cmdrsp_callback(struct adapter* padapter, struct cmd_obj *pcmd)
|
||||
{
|
||||
_func_enter_;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue