qcacld-3.0: Fix -Wmissing-prototypes in sme_qos
We want to enable the compiler's -Wmissing-prototypes switch, but there is existing code that is generating warnings. Fix all warnings in sme_qos. Change-Id: Ic9b42f91eb9a2563c146965581b5ef321c201bee CRs-Fixed: 1075575
This commit is contained in:

committato da
qcabuildsw

parent
2f36819243
commit
4ae7506db1
@@ -2933,9 +2933,10 @@ QDF_STATUS sme_qos_process_set_key_success_ind(tpAniSirGlobal pMac,
|
|||||||
*
|
*
|
||||||
* Return: QDF_STATUS_SUCCESS - Release is successful.
|
* Return: QDF_STATUS_SUCCESS - Release is successful.
|
||||||
*/
|
*/
|
||||||
QDF_STATUS sme_qos_ese_save_tspec_response(tpAniSirGlobal pMac, uint8_t sessionId,
|
static QDF_STATUS
|
||||||
tDot11fIEWMMTSPEC *pTspec, uint8_t ac,
|
sme_qos_ese_save_tspec_response(tpAniSirGlobal pMac, uint8_t sessionId,
|
||||||
uint8_t tspecIndex)
|
tDot11fIEWMMTSPEC *pTspec, uint8_t ac,
|
||||||
|
uint8_t tspecIndex)
|
||||||
{
|
{
|
||||||
tpSirAddtsRsp pAddtsRsp =
|
tpSirAddtsRsp pAddtsRsp =
|
||||||
&sme_qos_cb.sessionInfo[sessionId].ac_info[ac].addTsRsp[tspecIndex];
|
&sme_qos_cb.sessionInfo[sessionId].ac_info[ac].addTsRsp[tspecIndex];
|
||||||
@@ -2977,6 +2978,7 @@ QDF_STATUS sme_qos_ese_save_tspec_response(tpAniSirGlobal pMac, uint8_t sessionI
|
|||||||
*
|
*
|
||||||
* Return: QDF_STATUS_SUCCESS - Release is successful.
|
* Return: QDF_STATUS_SUCCESS - Release is successful.
|
||||||
*/
|
*/
|
||||||
|
static
|
||||||
QDF_STATUS sme_qos_ese_process_reassoc_tspec_rsp(tpAniSirGlobal pMac,
|
QDF_STATUS sme_qos_ese_process_reassoc_tspec_rsp(tpAniSirGlobal pMac,
|
||||||
uint8_t sessionId,
|
uint8_t sessionId,
|
||||||
void *pEvent_info)
|
void *pEvent_info)
|
||||||
@@ -3192,7 +3194,7 @@ uint8_t sme_qos_ese_retrieve_tspec_info(tpAniSirGlobal mac_ctx,
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
static
|
||||||
QDF_STATUS sme_qos_create_tspec_ricie(tpAniSirGlobal pMac,
|
QDF_STATUS sme_qos_create_tspec_ricie(tpAniSirGlobal pMac,
|
||||||
sme_QosWmmTspecInfo *pTspec_Info,
|
sme_QosWmmTspecInfo *pTspec_Info,
|
||||||
uint8_t *pRICBuffer, uint32_t *pRICLength,
|
uint8_t *pRICBuffer, uint32_t *pRICLength,
|
||||||
@@ -3540,7 +3542,9 @@ QDF_STATUS sme_qos_ft_aggr_qos_req(tpAniSirGlobal mac_ctx, uint8_t session_id)
|
|||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
QDF_STATUS sme_qos_process_ftric_response(tpAniSirGlobal pMac, uint8_t sessionId,
|
static
|
||||||
|
QDF_STATUS sme_qos_process_ftric_response(tpAniSirGlobal pMac,
|
||||||
|
uint8_t sessionId,
|
||||||
tDot11fIERICDataDesc *pRicDataDesc,
|
tDot11fIERICDataDesc *pRicDataDesc,
|
||||||
uint8_t ac, uint8_t tspecIndex)
|
uint8_t ac, uint8_t tspecIndex)
|
||||||
{
|
{
|
||||||
@@ -3813,6 +3817,7 @@ sme_qos_next_ric:
|
|||||||
}
|
}
|
||||||
#endif /* WLAN_FEATURE_ROAM_OFFLOAD */
|
#endif /* WLAN_FEATURE_ROAM_OFFLOAD */
|
||||||
|
|
||||||
|
static
|
||||||
QDF_STATUS sme_qos_process_ft_reassoc_rsp_ev(tpAniSirGlobal mac_ctx,
|
QDF_STATUS sme_qos_process_ft_reassoc_rsp_ev(tpAniSirGlobal mac_ctx,
|
||||||
uint8_t sessionid, void *event_info)
|
uint8_t sessionid, void *event_info)
|
||||||
{
|
{
|
||||||
@@ -4510,6 +4515,7 @@ QDF_STATUS sme_qos_process_reassoc_req_ev(tpAniSirGlobal pMac, uint8_t sessionId
|
|||||||
*
|
*
|
||||||
* Return: QDF_STATUS
|
* Return: QDF_STATUS
|
||||||
*/
|
*/
|
||||||
|
static
|
||||||
QDF_STATUS sme_qos_handle_handoff_state(tpAniSirGlobal mac_ctx,
|
QDF_STATUS sme_qos_handle_handoff_state(tpAniSirGlobal mac_ctx,
|
||||||
sme_QosSessionInfo *qos_session, sme_QosACInfo *ac_info,
|
sme_QosSessionInfo *qos_session, sme_QosACInfo *ac_info,
|
||||||
sme_QosEdcaAcType ac, uint8_t sessionid)
|
sme_QosEdcaAcType ac, uint8_t sessionid)
|
||||||
|
Fai riferimento in un nuovo problema
Block a user