mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
qcacld-3.0: Fix -Wmissing-prototypes in lim_api
We want to enable the compiler's -Wmissing-prototypes switch, but there is existing code that is generating warnings. Fix all warnings in lim_api. Change-Id: Ie3defa164278d775759686a7f9508d42799a48e4 CRs-Fixed: 1075090
This commit is contained in:
parent
f731b30df8
commit
82b0c626dd
2 changed files with 20 additions and 9 deletions
|
|
@ -122,6 +122,18 @@ tSirRetStatus pe_start(tpAniSirGlobal pMac);
|
|||
void pe_stop(tpAniSirGlobal pMac);
|
||||
tSirRetStatus pe_post_msg_api(tpAniSirGlobal pMac, tSirMsgQ *pMsg);
|
||||
tSirRetStatus peProcessMsg(tpAniSirGlobal pMac, tSirMsgQ *limMsg);
|
||||
|
||||
/**
|
||||
* pe_register_callbacks_with_wma() - register SME and PE callback functions to
|
||||
* WMA.
|
||||
* @pMac: mac global ctx
|
||||
* @ready_req: Ready request parameters, containing callback pointers
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void pe_register_callbacks_with_wma(tpAniSirGlobal pMac,
|
||||
tSirSmeReadyReq *ready_req);
|
||||
|
||||
/**
|
||||
* Function to cleanup LIM state.
|
||||
* This called upon reset/persona change etc
|
||||
|
|
|
|||
|
|
@ -1014,7 +1014,7 @@ tSirRetStatus pe_process_messages(tpAniSirGlobal pMac, tSirMsgQ *pMsg)
|
|||
* @return None
|
||||
*/
|
||||
|
||||
QDF_STATUS pe_handle_mgmt_frame(void *p_cds_gctx, void *cds_buff)
|
||||
static QDF_STATUS pe_handle_mgmt_frame(void *p_cds_gctx, void *cds_buff)
|
||||
{
|
||||
tpAniSirGlobal pMac;
|
||||
tpSirMacMgmtHdr mHdr;
|
||||
|
|
@ -1091,10 +1091,7 @@ QDF_STATUS pe_handle_mgmt_frame(void *p_cds_gctx, void *cds_buff)
|
|||
/**
|
||||
* pe_register_callbacks_with_wma() - register SME and PE callback functions to
|
||||
* WMA.
|
||||
* @pMac: mac global ctx
|
||||
* @ready_req: Ready request parameters, containing callback pointers
|
||||
*
|
||||
* Return: None
|
||||
* (function documentation in lim_api.h)
|
||||
*/
|
||||
void pe_register_callbacks_with_wma(tpAniSirGlobal pMac,
|
||||
tSirSmeReadyReq *ready_req)
|
||||
|
|
@ -1748,9 +1745,10 @@ void lim_fill_join_rsp_ht_caps(tpPESession session, tpSirSmeJoinRsp join_rsp)
|
|||
#endif
|
||||
|
||||
#ifdef WLAN_FEATURE_ROAM_OFFLOAD
|
||||
QDF_STATUS lim_roam_fill_bss_descr(tpAniSirGlobal pMac,
|
||||
roam_offload_synch_ind *roam_offload_synch_ind_ptr,
|
||||
tpSirBssDescription bss_desc_ptr)
|
||||
static QDF_STATUS
|
||||
lim_roam_fill_bss_descr(tpAniSirGlobal pMac,
|
||||
roam_offload_synch_ind *roam_offload_synch_ind_ptr,
|
||||
tpSirBssDescription bss_desc_ptr)
|
||||
{
|
||||
uint32_t ie_len = 0;
|
||||
tpSirProbeRespBeacon parsed_frm_ptr;
|
||||
|
|
@ -2083,7 +2081,8 @@ QDF_STATUS pe_roam_synch_callback(tpAniSirGlobal mac_ctx,
|
|||
}
|
||||
#endif
|
||||
|
||||
uint8_t lim_is_beacon_miss_scenario(tpAniSirGlobal pMac, uint8_t *pRxPacketInfo)
|
||||
static bool lim_is_beacon_miss_scenario(tpAniSirGlobal pMac,
|
||||
uint8_t *pRxPacketInfo)
|
||||
{
|
||||
tpSirMacMgmtHdr pHdr = WMA_GET_RX_MAC_HEADER(pRxPacketInfo);
|
||||
uint8_t sessionId;
|
||||
|
|
|
|||
Loading…
Reference in a new issue