Commit 68345dd7 authored by Luca Ceresoli's avatar Luca Ceresoli Committed by Greg Kroah-Hartman

staging: rtl8188eu: rtw_mlme_ext.c: unexport message callbacks

These are internal functions. Remove their declaration in rtw_mlme_ext.h
and make them static.
Signed-off-by: default avatarLuca Ceresoli <luca@lucaceresoli.net>
Cc: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4e102344
...@@ -2569,7 +2569,8 @@ Following are the callback functions for each subtype of the management frames ...@@ -2569,7 +2569,8 @@ Following are the callback functions for each subtype of the management frames
*****************************************************************************/ *****************************************************************************/
unsigned int OnProbeReq(struct adapter *padapter, struct recv_frame *precv_frame) static unsigned int OnProbeReq(struct adapter *padapter,
struct recv_frame *precv_frame)
{ {
unsigned int ielen; unsigned int ielen;
unsigned char *p; unsigned char *p;
...@@ -2609,7 +2610,8 @@ unsigned int OnProbeReq(struct adapter *padapter, struct recv_frame *precv_frame ...@@ -2609,7 +2610,8 @@ unsigned int OnProbeReq(struct adapter *padapter, struct recv_frame *precv_frame
return _SUCCESS; return _SUCCESS;
} }
unsigned int OnProbeRsp(struct adapter *padapter, struct recv_frame *precv_frame) static unsigned int OnProbeRsp(struct adapter *padapter,
struct recv_frame *precv_frame)
{ {
struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv;
...@@ -2621,7 +2623,8 @@ unsigned int OnProbeRsp(struct adapter *padapter, struct recv_frame *precv_frame ...@@ -2621,7 +2623,8 @@ unsigned int OnProbeRsp(struct adapter *padapter, struct recv_frame *precv_frame
return _SUCCESS; return _SUCCESS;
} }
unsigned int OnBeacon(struct adapter *padapter, struct recv_frame *precv_frame) static unsigned int OnBeacon(struct adapter *padapter,
struct recv_frame *precv_frame)
{ {
int cam_idx; int cam_idx;
struct sta_info *psta; struct sta_info *psta;
...@@ -2711,7 +2714,8 @@ unsigned int OnBeacon(struct adapter *padapter, struct recv_frame *precv_frame) ...@@ -2711,7 +2714,8 @@ unsigned int OnBeacon(struct adapter *padapter, struct recv_frame *precv_frame)
return _SUCCESS; return _SUCCESS;
} }
unsigned int OnAuth(struct adapter *padapter, struct recv_frame *precv_frame) static unsigned int OnAuth(struct adapter *padapter,
struct recv_frame *precv_frame)
{ {
#ifdef CONFIG_88EU_AP_MODE #ifdef CONFIG_88EU_AP_MODE
unsigned int auth_mode, ie_len; unsigned int auth_mode, ie_len;
...@@ -2880,7 +2884,8 @@ unsigned int OnAuth(struct adapter *padapter, struct recv_frame *precv_frame) ...@@ -2880,7 +2884,8 @@ unsigned int OnAuth(struct adapter *padapter, struct recv_frame *precv_frame)
return _FAIL; return _FAIL;
} }
unsigned int OnAuthClient(struct adapter *padapter, struct recv_frame *precv_frame) static unsigned int OnAuthClient(struct adapter *padapter,
struct recv_frame *precv_frame)
{ {
unsigned int seq, len, status, offset; unsigned int seq, len, status, offset;
unsigned char *p; unsigned char *p;
...@@ -2955,7 +2960,8 @@ unsigned int OnAuthClient(struct adapter *padapter, struct recv_frame *precv_fra ...@@ -2955,7 +2960,8 @@ unsigned int OnAuthClient(struct adapter *padapter, struct recv_frame *precv_fra
return _FAIL; return _FAIL;
} }
unsigned int OnAssocReq(struct adapter *padapter, struct recv_frame *precv_frame) static unsigned int OnAssocReq(struct adapter *padapter,
struct recv_frame *precv_frame)
{ {
#ifdef CONFIG_88EU_AP_MODE #ifdef CONFIG_88EU_AP_MODE
u16 capab_info; u16 capab_info;
...@@ -3393,7 +3399,8 @@ unsigned int OnAssocReq(struct adapter *padapter, struct recv_frame *precv_frame ...@@ -3393,7 +3399,8 @@ unsigned int OnAssocReq(struct adapter *padapter, struct recv_frame *precv_frame
return _FAIL; return _FAIL;
} }
unsigned int OnAssocRsp(struct adapter *padapter, struct recv_frame *precv_frame) static unsigned int OnAssocRsp(struct adapter *padapter,
struct recv_frame *precv_frame)
{ {
uint i; uint i;
int res; int res;
...@@ -3483,7 +3490,8 @@ unsigned int OnAssocRsp(struct adapter *padapter, struct recv_frame *precv_frame ...@@ -3483,7 +3490,8 @@ unsigned int OnAssocRsp(struct adapter *padapter, struct recv_frame *precv_frame
return _SUCCESS; return _SUCCESS;
} }
unsigned int OnDeAuth(struct adapter *padapter, struct recv_frame *precv_frame) static unsigned int OnDeAuth(struct adapter *padapter,
struct recv_frame *precv_frame)
{ {
unsigned short reason; unsigned short reason;
struct mlme_priv *pmlmepriv = &padapter->mlmepriv; struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
...@@ -3537,7 +3545,8 @@ unsigned int OnDeAuth(struct adapter *padapter, struct recv_frame *precv_frame) ...@@ -3537,7 +3545,8 @@ unsigned int OnDeAuth(struct adapter *padapter, struct recv_frame *precv_frame)
return _SUCCESS; return _SUCCESS;
} }
unsigned int OnDisassoc(struct adapter *padapter, struct recv_frame *precv_frame) static unsigned int OnDisassoc(struct adapter *padapter,
struct recv_frame *precv_frame)
{ {
u16 reason; u16 reason;
struct mlme_priv *pmlmepriv = &padapter->mlmepriv; struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
...@@ -3590,13 +3599,15 @@ unsigned int OnDisassoc(struct adapter *padapter, struct recv_frame *precv_frame ...@@ -3590,13 +3599,15 @@ unsigned int OnDisassoc(struct adapter *padapter, struct recv_frame *precv_frame
return _SUCCESS; return _SUCCESS;
} }
unsigned int OnAtim(struct adapter *padapter, struct recv_frame *precv_frame) static unsigned int OnAtim(struct adapter *padapter,
struct recv_frame *precv_frame)
{ {
DBG_88E("%s\n", __func__); DBG_88E("%s\n", __func__);
return _SUCCESS; return _SUCCESS;
} }
unsigned int on_action_spct(struct adapter *padapter, struct recv_frame *precv_frame) static unsigned int on_action_spct(struct adapter *padapter,
struct recv_frame *precv_frame)
{ {
struct sta_info *psta = NULL; struct sta_info *psta = NULL;
struct sta_priv *pstapriv = &padapter->stapriv; struct sta_priv *pstapriv = &padapter->stapriv;
...@@ -3633,17 +3644,20 @@ unsigned int on_action_spct(struct adapter *padapter, struct recv_frame *precv_f ...@@ -3633,17 +3644,20 @@ unsigned int on_action_spct(struct adapter *padapter, struct recv_frame *precv_f
return _FAIL; return _FAIL;
} }
unsigned int OnAction_qos(struct adapter *padapter, struct recv_frame *precv_frame) static unsigned int OnAction_qos(struct adapter *padapter,
struct recv_frame *precv_frame)
{ {
return _SUCCESS; return _SUCCESS;
} }
unsigned int OnAction_dls(struct adapter *padapter, struct recv_frame *precv_frame) static unsigned int OnAction_dls(struct adapter *padapter,
struct recv_frame *precv_frame)
{ {
return _SUCCESS; return _SUCCESS;
} }
unsigned int OnAction_back(struct adapter *padapter, struct recv_frame *precv_frame) static unsigned int OnAction_back(struct adapter *padapter,
struct recv_frame *precv_frame)
{ {
u8 *addr; u8 *addr;
struct sta_info *psta = NULL; struct sta_info *psta = NULL;
...@@ -3799,7 +3813,8 @@ static unsigned int on_action_public_default(struct recv_frame *precv_frame, u8 ...@@ -3799,7 +3813,8 @@ static unsigned int on_action_public_default(struct recv_frame *precv_frame, u8
return ret; return ret;
} }
unsigned int on_action_public(struct adapter *padapter, struct recv_frame *precv_frame) static unsigned int on_action_public(struct adapter *padapter,
struct recv_frame *precv_frame)
{ {
unsigned int ret = _FAIL; unsigned int ret = _FAIL;
u8 *pframe = precv_frame->rx_data; u8 *pframe = precv_frame->rx_data;
...@@ -3828,22 +3843,26 @@ unsigned int on_action_public(struct adapter *padapter, struct recv_frame *precv ...@@ -3828,22 +3843,26 @@ unsigned int on_action_public(struct adapter *padapter, struct recv_frame *precv
return ret; return ret;
} }
unsigned int OnAction_ht(struct adapter *padapter, struct recv_frame *precv_frame) static unsigned int OnAction_ht(struct adapter *padapter,
struct recv_frame *precv_frame)
{ {
return _SUCCESS; return _SUCCESS;
} }
unsigned int OnAction_wmm(struct adapter *padapter, struct recv_frame *precv_frame) static unsigned int OnAction_wmm(struct adapter *padapter,
struct recv_frame *precv_frame)
{ {
return _SUCCESS; return _SUCCESS;
} }
unsigned int OnAction_p2p(struct adapter *padapter, struct recv_frame *precv_frame) static unsigned int OnAction_p2p(struct adapter *padapter,
struct recv_frame *precv_frame)
{ {
return _SUCCESS; return _SUCCESS;
} }
unsigned int DoReserved(struct adapter *padapter, struct recv_frame *precv_frame) static unsigned int DoReserved(struct adapter *padapter,
struct recv_frame *precv_frame)
{ {
return _SUCCESS; return _SUCCESS;
} }
...@@ -3862,7 +3881,8 @@ static struct action_handler OnAction_tbl[] = { ...@@ -3862,7 +3881,8 @@ static struct action_handler OnAction_tbl[] = {
{RTW_WLAN_CATEGORY_P2P, "ACTION_P2P", &OnAction_p2p}, {RTW_WLAN_CATEGORY_P2P, "ACTION_P2P", &OnAction_p2p},
}; };
unsigned int OnAction(struct adapter *padapter, struct recv_frame *precv_frame) static unsigned int OnAction(struct adapter *padapter,
struct recv_frame *precv_frame)
{ {
int i; int i;
unsigned char category; unsigned char category;
......
...@@ -604,48 +604,6 @@ void start_clnt_auth(struct adapter *padapter); ...@@ -604,48 +604,6 @@ void start_clnt_auth(struct adapter *padapter);
void start_clnt_join(struct adapter *padapter); void start_clnt_join(struct adapter *padapter);
void start_create_ibss(struct adapter *padapter); void start_create_ibss(struct adapter *padapter);
unsigned int OnAssocReq(struct adapter *padapter,
struct recv_frame *precv_frame);
unsigned int OnAssocRsp(struct adapter *padapter,
struct recv_frame *precv_frame);
unsigned int OnProbeReq(struct adapter *padapter,
struct recv_frame *precv_frame);
unsigned int OnProbeRsp(struct adapter *padapter,
struct recv_frame *precv_frame);
unsigned int DoReserved(struct adapter *padapter,
struct recv_frame *precv_frame);
unsigned int OnBeacon(struct adapter *padapter,
struct recv_frame *precv_frame);
unsigned int OnAtim(struct adapter *padapter,
struct recv_frame *precv_frame);
unsigned int OnDisassoc(struct adapter *padapter,
struct recv_frame *precv_frame);
unsigned int OnAuth(struct adapter *padapter,
struct recv_frame *precv_frame);
unsigned int OnAuthClient(struct adapter *padapter,
struct recv_frame *precv_frame);
unsigned int OnDeAuth(struct adapter *padapter,
struct recv_frame *precv_frame);
unsigned int OnAction(struct adapter *padapter,
struct recv_frame *precv_frame);
unsigned int on_action_spct(struct adapter *padapter,
struct recv_frame *precv_frame);
unsigned int OnAction_qos(struct adapter *padapter,
struct recv_frame *precv_frame);
unsigned int OnAction_dls(struct adapter *padapter,
struct recv_frame *precv_frame);
unsigned int OnAction_back(struct adapter *padapter,
struct recv_frame *precv_frame);
unsigned int on_action_public(struct adapter *padapter,
struct recv_frame *precv_frame);
unsigned int OnAction_ht(struct adapter *padapter,
struct recv_frame *precv_frame);
unsigned int OnAction_wmm(struct adapter *padapter,
struct recv_frame *precv_frame);
unsigned int OnAction_p2p(struct adapter *padapter,
struct recv_frame *precv_frame);
void mlmeext_joinbss_event_callback(struct adapter *padapter, int join_res); void mlmeext_joinbss_event_callback(struct adapter *padapter, int join_res);
void mlmeext_sta_del_event_callback(struct adapter *padapter); void mlmeext_sta_del_event_callback(struct adapter *padapter);
void mlmeext_sta_add_event_callback(struct adapter *padapter, void mlmeext_sta_add_event_callback(struct adapter *padapter,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment