qcacld-3.0: Fix 80 columns issue introduced in tSirMsgQ clean up
Fix code exceeding 80 columns introduced after replacing tSirMsgQ message types in mac with converged scheduler apis. Change-Id: I8fe87318fd913d6fa8dbabdb7ebfaa96fd57d959 CRs-Fixed: 1114457
This commit is contained in:
@@ -101,6 +101,7 @@ tSirRetStatus lim_send_hal_msg_del_ts(tpAniSirGlobal pMac,
|
||||
uint8_t tspecIdx,
|
||||
tSirDeltsReqInfo delts,
|
||||
uint8_t sessionId, uint8_t *bssId);
|
||||
void lim_process_hal_add_ts_rsp(tpAniSirGlobal pMac, struct scheduler_msg *limMsg);
|
||||
void lim_process_hal_add_ts_rsp(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *limMsg);
|
||||
|
||||
#endif
|
||||
|
@@ -167,7 +167,8 @@ void pe_register_callbacks_with_wma(tpAniSirGlobal pMac,
|
||||
extern void lim_cleanup(tpAniSirGlobal);
|
||||
/* / Function to post messages to LIM thread */
|
||||
extern uint32_t lim_post_msg_api(tpAniSirGlobal, struct scheduler_msg *);
|
||||
uint32_t lim_post_msg_high_priority(tpAniSirGlobal mac, struct scheduler_msg *msg);
|
||||
uint32_t lim_post_msg_high_priority(tpAniSirGlobal mac,
|
||||
struct scheduler_msg *msg);
|
||||
|
||||
/**
|
||||
* Function to process messages posted to LIM thread
|
||||
@@ -229,7 +230,8 @@ tSirRetStatus lim_update_short_slot(tpAniSirGlobal pMac,
|
||||
tpUpdateBeaconParams pBeaconParams,
|
||||
tpPESession);
|
||||
|
||||
void lim_ps_offload_handle_missed_beacon_ind(tpAniSirGlobal pMac, struct scheduler_msg *pMsg);
|
||||
void lim_ps_offload_handle_missed_beacon_ind(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *pMsg);
|
||||
void lim_send_heart_beat_timeout_ind(tpAniSirGlobal pMac, tpPESession psessionEntry);
|
||||
tMgmtFrmDropReason lim_is_pkt_candidate_for_drop(tpAniSirGlobal pMac,
|
||||
uint8_t *pRxPacketInfo,
|
||||
@@ -300,7 +302,8 @@ static inline void lim_get_rf_band_new(tpAniSirGlobal pMac, tSirRFBand *band,
|
||||
\return uint32_t - TX_SUCCESS for success.
|
||||
|
||||
--------------------------------------------------------------------------*/
|
||||
tSirRetStatus pe_process_messages(tpAniSirGlobal pMac, struct scheduler_msg *pMsg);
|
||||
tSirRetStatus pe_process_messages(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *pMsg);
|
||||
QDF_STATUS pe_mc_process_handler(struct scheduler_msg *msg);
|
||||
|
||||
/** -------------------------------------------------------------
|
||||
|
@@ -48,7 +48,8 @@ void lim_ft_cleanup(tpAniSirGlobal pMac, tpPESession psessionEntry);
|
||||
#ifdef WLAN_FEATURE_HOST_ROAM
|
||||
void lim_ft_cleanup_pre_auth_info(tpAniSirGlobal pMac,
|
||||
tpPESession psessionEntry);
|
||||
int lim_process_ft_pre_auth_req(tpAniSirGlobal pMac, struct scheduler_msg *pMsg);
|
||||
int lim_process_ft_pre_auth_req(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *pMsg);
|
||||
void lim_process_ft_preauth_rsp_timeout(tpAniSirGlobal pMac);
|
||||
void lim_process_mlm_ft_reassoc_req(tpAniSirGlobal pMac, uint32_t *pMsgBuf,
|
||||
tpPESession psessionEntry);
|
||||
@@ -130,6 +131,7 @@ static inline void lim_ft_prepare_add_bss_req(tpAniSirGlobal pMac,
|
||||
bool lim_process_ft_update_key(tpAniSirGlobal pMac, uint32_t *pMsgBuf);
|
||||
tSirRetStatus lim_process_ft_aggr_qos_req(tpAniSirGlobal pMac,
|
||||
uint32_t *pMsgBuf);
|
||||
void lim_process_ft_aggr_qo_s_rsp(tpAniSirGlobal pMac, struct scheduler_msg *limMsg);
|
||||
void lim_process_ft_aggr_qo_s_rsp(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *limMsg);
|
||||
void lim_ft_cleanup_all_ft_sessions(tpAniSirGlobal pMac);
|
||||
#endif /* __LIMFT_H__ */
|
||||
|
@@ -74,13 +74,16 @@ extern void sch_initializeCfPollTemplate(tpAniSirGlobal pMac);
|
||||
extern void sch_initializeCfEndTemplate(tpAniSirGlobal pMac);
|
||||
|
||||
/* / Process the scheduler messages */
|
||||
extern void sch_process_message(tpAniSirGlobal pMac, struct scheduler_msg *pSchMsg);
|
||||
extern void sch_process_message(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *pSchMsg);
|
||||
|
||||
/* / The beacon Indication handler function */
|
||||
extern void sch_process_pre_beacon_ind(tpAniSirGlobal pMac, struct scheduler_msg *limMsg);
|
||||
extern void sch_process_pre_beacon_ind(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *limMsg);
|
||||
|
||||
/* / Post a message to the scheduler message queue */
|
||||
extern tSirRetStatus sch_post_message(tpAniSirGlobal pMac, struct scheduler_msg *pMsg);
|
||||
extern tSirRetStatus sch_post_message(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *pMsg);
|
||||
|
||||
extern void sch_beacon_process(tpAniSirGlobal pMac, uint8_t *pRxPacketInfo,
|
||||
tpPESession psessionEntry);
|
||||
|
@@ -1049,7 +1049,8 @@ err:
|
||||
\param tpAniSirGlobal pMac
|
||||
\param struct scheduler_msg *limMsg
|
||||
-------------------------------------------------------------*/
|
||||
void lim_process_hal_add_ts_rsp(tpAniSirGlobal pMac, struct scheduler_msg *limMsg)
|
||||
void lim_process_hal_add_ts_rsp(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *limMsg)
|
||||
{
|
||||
tpAddTsParams pAddTsRspMsg = NULL;
|
||||
tpDphHashNode pSta = NULL;
|
||||
|
@@ -937,7 +937,8 @@ uint32_t lim_post_msg_api(tpAniSirGlobal pMac, struct scheduler_msg *pMsg)
|
||||
*
|
||||
* Return: returns value returned by vos_mq_post_message_by_priority
|
||||
*/
|
||||
uint32_t lim_post_msg_high_priority(tpAniSirGlobal mac, struct scheduler_msg *msg)
|
||||
uint32_t lim_post_msg_high_priority(tpAniSirGlobal mac,
|
||||
struct scheduler_msg *msg)
|
||||
{
|
||||
return scheduler_post_msg_by_priority(QDF_MODULE_ID_PE,
|
||||
msg, HIGH_PRIORITY);
|
||||
@@ -976,7 +977,8 @@ tSirRetStatus pe_post_msg_api(tpAniSirGlobal pMac, struct scheduler_msg *pMsg)
|
||||
|
||||
--------------------------------------------------------------------------*/
|
||||
|
||||
tSirRetStatus pe_process_messages(tpAniSirGlobal pMac, struct scheduler_msg *pMsg)
|
||||
tSirRetStatus pe_process_messages(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *pMsg)
|
||||
{
|
||||
if (ANI_DRIVER_TYPE(pMac) == eDRIVER_TYPE_MFG) {
|
||||
return eSIR_SUCCESS;
|
||||
@@ -1732,7 +1734,8 @@ void lim_send_heart_beat_timeout_ind(tpAniSirGlobal pMac, tpPESession psessionEn
|
||||
*
|
||||
* Return: void
|
||||
*/
|
||||
void lim_ps_offload_handle_missed_beacon_ind(tpAniSirGlobal pMac, struct scheduler_msg *pMsg)
|
||||
void lim_ps_offload_handle_missed_beacon_ind(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *pMsg)
|
||||
{
|
||||
tpSirSmeMissedBeaconInd pSirMissedBeaconInd =
|
||||
(tpSirSmeMissedBeaconInd) pMsg->bodyptr;
|
||||
|
@@ -874,7 +874,8 @@ lim_ft_send_aggr_qos_rsp(tpAniSirGlobal pMac, uint8_t rspReqd,
|
||||
return;
|
||||
}
|
||||
|
||||
void lim_process_ft_aggr_qo_s_rsp(tpAniSirGlobal pMac, struct scheduler_msg *limMsg)
|
||||
void lim_process_ft_aggr_qo_s_rsp(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *limMsg)
|
||||
{
|
||||
tpAggrAddTsParams pAggrQosRspMsg = NULL;
|
||||
tAddTsParams addTsParam = { 0 };
|
||||
|
@@ -126,7 +126,8 @@ void lim_ft_cleanup_pre_auth_info(tpAniSirGlobal pMac,
|
||||
*
|
||||
* Return: value to indicate if buffer was consumed
|
||||
*/
|
||||
int lim_process_ft_pre_auth_req(tpAniSirGlobal mac_ctx, struct scheduler_msg *msg)
|
||||
int lim_process_ft_pre_auth_req(tpAniSirGlobal mac_ctx,
|
||||
struct scheduler_msg *msg)
|
||||
{
|
||||
int buf_consumed = false;
|
||||
tpPESession session;
|
||||
|
@@ -208,7 +208,8 @@ static void lim_delete_sta_util(tpAniSirGlobal mac_ctx, tpDeleteStaContext msg,
|
||||
*
|
||||
* Return: none
|
||||
*/
|
||||
void lim_delete_sta_context(tpAniSirGlobal mac_ctx, struct scheduler_msg *lim_msg)
|
||||
void lim_delete_sta_context(tpAniSirGlobal mac_ctx,
|
||||
struct scheduler_msg *lim_msg)
|
||||
{
|
||||
tpDeleteStaContext msg = (tpDeleteStaContext) lim_msg->bodyptr;
|
||||
tpPESession session_entry;
|
||||
|
@@ -449,7 +449,7 @@ __lim_pno_match_fwd_bcn_probepsp(tpAniSirGlobal pmac, uint8_t *rx_pkt_info,
|
||||
{
|
||||
struct pno_match_found *result;
|
||||
uint8_t *body;
|
||||
struct scheduler_msg mmh_msg;
|
||||
struct scheduler_msg mmh_msg;
|
||||
tpSirMacMgmtHdr hdr;
|
||||
uint32_t num_results = 1, len, i;
|
||||
|
||||
@@ -507,7 +507,7 @@ __lim_ext_scan_forward_bcn_probe_rsp(tpAniSirGlobal pmac, uint8_t *rx_pkt_info,
|
||||
{
|
||||
tpSirWifiFullScanResultEvent result;
|
||||
uint8_t *body;
|
||||
struct scheduler_msg mmh_msg;
|
||||
struct scheduler_msg mmh_msg;
|
||||
tpSirMacMgmtHdr hdr;
|
||||
|
||||
result = qdf_mem_malloc(sizeof(*result) + ie_len);
|
||||
@@ -850,7 +850,8 @@ lim_check_mgmt_registered_frames(tpAniSirGlobal mac_ctx, uint8_t *buff_desc,
|
||||
*/
|
||||
|
||||
static void
|
||||
lim_handle80211_frames(tpAniSirGlobal pMac, struct scheduler_msg *limMsg, uint8_t *pDeferMsg)
|
||||
lim_handle80211_frames(tpAniSirGlobal pMac, struct scheduler_msg *limMsg,
|
||||
uint8_t *pDeferMsg)
|
||||
{
|
||||
uint8_t *pRxPacketInfo = NULL;
|
||||
tSirMacFrameCtl fc;
|
||||
@@ -1199,7 +1200,7 @@ void lim_process_abort_scan_ind(tpAniSirGlobal mac_ctx,
|
||||
}
|
||||
|
||||
static void lim_process_sme_obss_scan_ind(tpAniSirGlobal mac_ctx,
|
||||
struct scheduler_msg *msg)
|
||||
struct scheduler_msg *msg)
|
||||
{
|
||||
struct sPESession *session;
|
||||
uint8_t session_id;
|
||||
@@ -1238,7 +1239,8 @@ static void lim_process_sme_obss_scan_ind(tpAniSirGlobal mac_ctx,
|
||||
*
|
||||
* Return: None.
|
||||
*/
|
||||
static void lim_process_messages(tpAniSirGlobal mac_ctx, struct scheduler_msg *msg)
|
||||
static void lim_process_messages(tpAniSirGlobal mac_ctx,
|
||||
struct scheduler_msg *msg)
|
||||
{
|
||||
#ifdef FEATURE_AP_MCC_CH_AVOIDANCE
|
||||
uint8_t vdev_id = 0;
|
||||
@@ -1973,7 +1975,8 @@ static void lim_process_deferred_message_queue(tpAniSirGlobal pMac)
|
||||
if (size > 0) {
|
||||
while ((readMsg = lim_read_deferred_msg_q(pMac)) != NULL) {
|
||||
qdf_mem_copy((uint8_t *) &limMsg,
|
||||
(uint8_t *) readMsg, sizeof(struct scheduler_msg));
|
||||
(uint8_t *) readMsg,
|
||||
sizeof(struct scheduler_msg));
|
||||
size--;
|
||||
lim_process_messages(pMac, &limMsg);
|
||||
|
||||
@@ -2024,8 +2027,9 @@ void lim_message_processor(tpAniSirGlobal mac_ctx, struct scheduler_msg *msg)
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
static void lim_process_normal_hdd_msg(tpAniSirGlobal mac_ctx, struct scheduler_msg *msg,
|
||||
uint8_t rsp_reqd)
|
||||
static void lim_process_normal_hdd_msg(tpAniSirGlobal mac_ctx,
|
||||
struct scheduler_msg *msg,
|
||||
uint8_t rsp_reqd)
|
||||
{
|
||||
bool defer_msg = true;
|
||||
|
||||
|
@@ -82,7 +82,8 @@ static void lim_process_auth_retry_timer(tpAniSirGlobal);
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void lim_process_mlm_req_messages(tpAniSirGlobal mac_ctx, struct scheduler_msg *msg)
|
||||
void lim_process_mlm_req_messages(tpAniSirGlobal mac_ctx,
|
||||
struct scheduler_msg *msg)
|
||||
{
|
||||
switch (msg->type) {
|
||||
case LIM_MLM_START_REQ:
|
||||
|
@@ -1432,11 +1432,13 @@ error:
|
||||
***NOTE:
|
||||
*
|
||||
* @param pMac Pointer to Global MAC structure
|
||||
* @param struct scheduler_msg The MsgQ header, which contains the response buffer
|
||||
* @param struct scheduler_msg The MsgQ header, which contains the
|
||||
* response buffer
|
||||
*
|
||||
* @return None
|
||||
*/
|
||||
void lim_process_mlm_add_sta_rsp(tpAniSirGlobal pMac, struct scheduler_msg *limMsgQ,
|
||||
void lim_process_mlm_add_sta_rsp(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *limMsgQ,
|
||||
tpPESession psessionEntry)
|
||||
{
|
||||
/* we need to process the deferred message since the initiating req. there might be nested request. */
|
||||
@@ -1597,7 +1599,8 @@ end:
|
||||
return;
|
||||
}
|
||||
|
||||
void lim_process_mlm_del_bss_rsp(tpAniSirGlobal pMac, struct scheduler_msg *limMsgQ,
|
||||
void lim_process_mlm_del_bss_rsp(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *limMsgQ,
|
||||
tpPESession psessionEntry)
|
||||
{
|
||||
/* we need to process the deferred message since the initiating req. there might be nested request. */
|
||||
@@ -1625,7 +1628,8 @@ void lim_process_mlm_del_bss_rsp(tpAniSirGlobal pMac, struct scheduler_msg *limM
|
||||
#endif
|
||||
}
|
||||
|
||||
void lim_process_sta_mlm_del_bss_rsp(tpAniSirGlobal pMac, struct scheduler_msg *limMsgQ,
|
||||
void lim_process_sta_mlm_del_bss_rsp(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *limMsgQ,
|
||||
tpPESession psessionEntry)
|
||||
{
|
||||
tpDeleteBssParams pDelBssParams = (tpDeleteBssParams) limMsgQ->bodyptr;
|
||||
@@ -1703,8 +1707,9 @@ end:
|
||||
return;
|
||||
}
|
||||
|
||||
void lim_process_ap_mlm_del_bss_rsp(tpAniSirGlobal pMac, struct scheduler_msg *limMsgQ,
|
||||
tpPESession psessionEntry)
|
||||
void lim_process_ap_mlm_del_bss_rsp(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *limMsgQ,
|
||||
tpPESession psessionEntry)
|
||||
{
|
||||
tSirResultCodes rc = eSIR_SME_SUCCESS;
|
||||
tSirRetStatus status;
|
||||
@@ -1926,7 +1931,8 @@ end:
|
||||
return;
|
||||
}
|
||||
|
||||
void lim_process_sta_mlm_del_sta_rsp(tpAniSirGlobal pMac, struct scheduler_msg *limMsgQ,
|
||||
void lim_process_sta_mlm_del_sta_rsp(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *limMsgQ,
|
||||
tpPESession psessionEntry)
|
||||
{
|
||||
tSirResultCodes statusCode = eSIR_SME_SUCCESS;
|
||||
@@ -1981,8 +1987,9 @@ end:
|
||||
return;
|
||||
}
|
||||
|
||||
void lim_process_ap_mlm_add_sta_rsp(tpAniSirGlobal pMac, struct scheduler_msg *limMsgQ,
|
||||
tpPESession psessionEntry)
|
||||
void lim_process_ap_mlm_add_sta_rsp(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *limMsgQ,
|
||||
tpPESession psessionEntry)
|
||||
{
|
||||
tpAddStaParams pAddStaParams = (tpAddStaParams) limMsgQ->bodyptr;
|
||||
tpDphHashNode pStaDs = NULL;
|
||||
@@ -2001,13 +2008,7 @@ void lim_process_ap_mlm_add_sta_rsp(tpAniSirGlobal pMac, struct scheduler_msg *l
|
||||
pAddStaParams->assocId);
|
||||
goto end;
|
||||
}
|
||||
/* */
|
||||
/* TODO & FIXME_GEN4 */
|
||||
/* Need to inspect struct scheduler_msg.reserved for a valid Dialog token! */
|
||||
/* */
|
||||
/* TODO: any check for pMac->lim.gLimMlmState ? */
|
||||
if (eLIM_MLM_WT_ADD_STA_RSP_STATE != pStaDs->mlmStaContext.mlmState) {
|
||||
/* TODO: any response to be sent out here ? */
|
||||
lim_log(pMac, LOGE,
|
||||
FL("Received unexpected WMA_ADD_STA_RSP in state %X"),
|
||||
pStaDs->mlmStaContext.mlmState);
|
||||
@@ -2077,17 +2078,20 @@ end:
|
||||
* LIM responds with eWNI_SME_START_BSS_RSP to SME
|
||||
*
|
||||
***ASSUMPTIONS:
|
||||
* struct scheduler_msg.body is allocated by MLME during lim_process_mlm_start_req
|
||||
* struct scheduler_msg.body is allocated by MLME during
|
||||
* lim_process_mlm_start_req
|
||||
* struct scheduler_msg.body will now be freed by this routine
|
||||
*
|
||||
***NOTE:
|
||||
*
|
||||
* @param pMac Pointer to Global MAC structure
|
||||
* @param struct scheduler_msg The MsgQ header, which contains the response buffer
|
||||
* @param struct scheduler_msg The MsgQ header, which contains
|
||||
* the response buffer
|
||||
*
|
||||
* @return None
|
||||
*/
|
||||
static void lim_process_ap_mlm_add_bss_rsp(tpAniSirGlobal pMac, struct scheduler_msg *limMsgQ)
|
||||
static void lim_process_ap_mlm_add_bss_rsp(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *limMsgQ)
|
||||
{
|
||||
tLimMlmStartCnf mlmStartCnf;
|
||||
tpPESession psessionEntry;
|
||||
@@ -2224,18 +2228,21 @@ end:
|
||||
* LIM responds with eWNI_SME_START_BSS_RSP to SME
|
||||
*
|
||||
***ASSUMPTIONS:
|
||||
* struct scheduler_msg.body is allocated by MLME during lim_process_mlm_start_req
|
||||
* struct scheduler_msg.body is allocated by MLME during
|
||||
* lim_process_mlm_start_req
|
||||
* struct scheduler_msg.body will now be freed by this routine
|
||||
*
|
||||
***NOTE:
|
||||
*
|
||||
* @param pMac Pointer to Global MAC structure
|
||||
* @param struct scheduler_msg The MsgQ header, which contains the response buffer
|
||||
* @param struct scheduler_msg The MsgQ header, which contains
|
||||
* the response buffer
|
||||
*
|
||||
* @return None
|
||||
*/
|
||||
static void
|
||||
lim_process_ibss_mlm_add_bss_rsp(tpAniSirGlobal pMac, struct scheduler_msg *limMsgQ,
|
||||
lim_process_ibss_mlm_add_bss_rsp(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *limMsgQ,
|
||||
tpPESession psessionEntry)
|
||||
{
|
||||
tLimMlmStartCnf mlmStartCnf;
|
||||
@@ -2429,7 +2436,8 @@ joinFailure:
|
||||
* HAL responded with WMA_ADD_BSS_RSP to MLME
|
||||
* MLME now sends WMA_ADD_STA_REQ to HAL
|
||||
* ASSUMPTIONS:
|
||||
* struct scheduler_msg.body is allocated by MLME during lim_process_mlm_join_req
|
||||
* struct scheduler_msg.body is allocated by MLME during
|
||||
* lim_process_mlm_join_req
|
||||
* struct scheduler_msg.body will now be freed by this routine
|
||||
*
|
||||
* Return: None
|
||||
|
@@ -81,7 +81,8 @@
|
||||
|
||||
/* SME REQ processing function templates */
|
||||
static bool __lim_process_sme_sys_ready_ind(tpAniSirGlobal, uint32_t *);
|
||||
static bool __lim_process_sme_start_bss_req(tpAniSirGlobal, struct scheduler_msg *pMsg);
|
||||
static bool __lim_process_sme_start_bss_req(tpAniSirGlobal,
|
||||
struct scheduler_msg *pMsg);
|
||||
static void __lim_process_sme_scan_req(tpAniSirGlobal, uint32_t *);
|
||||
static void __lim_process_sme_join_req(tpAniSirGlobal, uint32_t *);
|
||||
static void __lim_process_sme_reassoc_req(tpAniSirGlobal, uint32_t *);
|
||||
@@ -89,7 +90,8 @@ static void __lim_process_sme_disassoc_req(tpAniSirGlobal, uint32_t *);
|
||||
static void __lim_process_sme_disassoc_cnf(tpAniSirGlobal, uint32_t *);
|
||||
static void __lim_process_sme_deauth_req(tpAniSirGlobal, uint32_t *);
|
||||
static void __lim_process_sme_set_context_req(tpAniSirGlobal, uint32_t *);
|
||||
static bool __lim_process_sme_stop_bss_req(tpAniSirGlobal, struct scheduler_msg *pMsg);
|
||||
static bool __lim_process_sme_stop_bss_req(tpAniSirGlobal,
|
||||
struct scheduler_msg *pMsg);
|
||||
static void __lim_process_send_disassoc_frame(tpAniSirGlobal mac_ctx,
|
||||
uint32_t *msg_buf);
|
||||
static void lim_process_sme_channel_change_request(tpAniSirGlobal pMac,
|
||||
@@ -478,7 +480,8 @@ static uint16_t __lim_get_sme_join_req_size_for_alloc(uint8_t *pBuf)
|
||||
* Return: true - If defered false - Otherwise
|
||||
*/
|
||||
|
||||
static bool __lim_is_defered_msg_for_learn(tpAniSirGlobal pMac, struct scheduler_msg *pMsg)
|
||||
static bool __lim_is_defered_msg_for_learn(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *pMsg)
|
||||
{
|
||||
if (lim_is_system_in_scan_state(pMac)) {
|
||||
if (lim_defer_msg(pMac, pMsg) != TX_SUCCESS) {
|
||||
@@ -505,7 +508,8 @@ static bool __lim_is_defered_msg_for_learn(tpAniSirGlobal pMac, struct scheduler
|
||||
* Return: true, if defered otherwise return false.
|
||||
*/
|
||||
static bool
|
||||
__lim_is_defered_msg_for_radar(tpAniSirGlobal mac_ctx, struct scheduler_msg *message)
|
||||
__lim_is_defered_msg_for_radar(tpAniSirGlobal mac_ctx,
|
||||
struct scheduler_msg *message)
|
||||
{
|
||||
/*
|
||||
* fRadarDetCurOperChan will be set only if we
|
||||
@@ -1171,7 +1175,8 @@ free:
|
||||
* return true - If we consumed the buffer
|
||||
* false - If have defered the message.
|
||||
*/
|
||||
static bool __lim_process_sme_start_bss_req(tpAniSirGlobal pMac, struct scheduler_msg *pMsg)
|
||||
static bool __lim_process_sme_start_bss_req(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *pMsg)
|
||||
{
|
||||
if (__lim_is_defered_msg_for_learn(pMac, pMsg) ||
|
||||
__lim_is_defered_msg_for_radar(pMac, pMsg)) {
|
||||
@@ -1468,7 +1473,8 @@ static void __lim_process_sme_scan_req(tpAniSirGlobal mac_ctx,
|
||||
* @param *pMsgBuf A pointer to the SME message buffer
|
||||
* @return None
|
||||
*/
|
||||
static void __lim_process_clear_dfs_channel_list(tpAniSirGlobal pMac, struct scheduler_msg *pMsg)
|
||||
static void __lim_process_clear_dfs_channel_list(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *pMsg)
|
||||
{
|
||||
qdf_mem_set(&pMac->lim.dfschannelList, sizeof(tSirDFSChannelList), 0);
|
||||
}
|
||||
@@ -3456,7 +3462,8 @@ __lim_handle_sme_stop_bss_request(tpAniSirGlobal pMac, uint32_t *pMsgBuf)
|
||||
* false - If have defered the message.
|
||||
*/
|
||||
|
||||
static bool __lim_process_sme_stop_bss_req(tpAniSirGlobal pMac, struct scheduler_msg *pMsg)
|
||||
static bool __lim_process_sme_stop_bss_req(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *pMsg)
|
||||
{
|
||||
if (__lim_is_defered_msg_for_learn(pMac, pMsg)) {
|
||||
/**
|
||||
@@ -4482,7 +4489,8 @@ static void __lim_process_sme_set_ht2040_mode(tpAniSirGlobal pMac,
|
||||
* @return None
|
||||
*/
|
||||
|
||||
static void __lim_process_report_message(tpAniSirGlobal pMac, struct scheduler_msg *pMsg)
|
||||
static void __lim_process_report_message(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *pMsg)
|
||||
{
|
||||
switch (pMsg->type) {
|
||||
case eWNI_SME_NEIGHBOR_REPORT_REQ_IND:
|
||||
@@ -5140,7 +5148,8 @@ static void lim_process_sme_update_access_policy_vendor_ie(
|
||||
* false - if pMsgBuf is not to be freed.
|
||||
*/
|
||||
|
||||
bool lim_process_sme_req_messages(tpAniSirGlobal pMac, struct scheduler_msg *pMsg)
|
||||
bool lim_process_sme_req_messages(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *pMsg)
|
||||
{
|
||||
bool bufConsumed = true; /* Set this flag to false within case block of any following message, that doesnt want pMsgBuf to be freed. */
|
||||
uint32_t *pMsgBuf = pMsg->bodyptr;
|
||||
|
@@ -2099,7 +2099,8 @@ prnt_log:
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void lim_handle_csa_offload_msg(tpAniSirGlobal mac_ctx, struct scheduler_msg *msg)
|
||||
void lim_handle_csa_offload_msg(tpAniSirGlobal mac_ctx,
|
||||
struct scheduler_msg *msg)
|
||||
{
|
||||
tpPESession session_entry;
|
||||
struct scheduler_msg mmh_msg;
|
||||
|
@@ -71,7 +71,8 @@ void lim_send_sme_set_context_rsp(tpAniSirGlobal, struct qdf_mac_addr, uint16_t,
|
||||
tSirResultCodes, tpPESession, uint8_t, uint16_t);
|
||||
void lim_send_sme_neighbor_bss_ind(tpAniSirGlobal, tLimScanResultNode *);
|
||||
void lim_handle_delete_bss_rsp(tpAniSirGlobal pMac, struct scheduler_msg *MsgQ);
|
||||
void lim_handle_csa_offload_msg(tpAniSirGlobal mac_ctx, struct scheduler_msg *msg);
|
||||
void lim_handle_csa_offload_msg(tpAniSirGlobal mac_ctx,
|
||||
struct scheduler_msg *msg);
|
||||
|
||||
void
|
||||
lim_send_sme_aggr_qos_rsp(tpAniSirGlobal pMac, tpSirAggrQosRsp aggrQosRsp,
|
||||
|
@@ -596,20 +596,29 @@ void lim_send_tpc_request_frame(tpAniSirGlobal, tSirMacAddr,
|
||||
tpPESession psessionEntry);
|
||||
|
||||
/* Function(s) to handle responses received from HAL */
|
||||
void lim_process_mlm_add_bss_rsp(tpAniSirGlobal pMac, struct scheduler_msg *limMsgQ);
|
||||
void lim_process_mlm_add_sta_rsp(tpAniSirGlobal pMac, struct scheduler_msg *limMsgQt,
|
||||
void lim_process_mlm_add_bss_rsp(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *limMsgQ);
|
||||
void lim_process_mlm_add_sta_rsp(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *limMsgQt,
|
||||
tpPESession psessionEntry);
|
||||
void lim_process_mlm_del_sta_rsp(tpAniSirGlobal pMac, struct scheduler_msg *limMsgQ);
|
||||
void lim_process_mlm_del_bss_rsp(tpAniSirGlobal pMac, struct scheduler_msg *limMsgQ,
|
||||
void lim_process_mlm_del_sta_rsp(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *limMsgQ);
|
||||
void lim_process_mlm_del_bss_rsp(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *limMsgQ,
|
||||
tpPESession);
|
||||
void lim_process_sta_mlm_add_sta_rsp(tpAniSirGlobal pMac, struct scheduler_msg *limMsgQ,
|
||||
void lim_process_sta_mlm_add_sta_rsp(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *limMsgQ,
|
||||
tpPESession psessionEntry);
|
||||
void lim_process_sta_mlm_del_sta_rsp(tpAniSirGlobal pMac, struct scheduler_msg *limMsgQ,
|
||||
void lim_process_sta_mlm_del_sta_rsp(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *limMsgQ,
|
||||
tpPESession psessionEntry);
|
||||
void lim_process_sta_mlm_del_bss_rsp(tpAniSirGlobal pMac, struct scheduler_msg *limMsgQ,
|
||||
void lim_process_sta_mlm_del_bss_rsp(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *limMsgQ,
|
||||
tpPESession psessionEntry);
|
||||
void lim_process_mlm_set_sta_key_rsp(tpAniSirGlobal pMac, struct scheduler_msg *limMsgQ);
|
||||
void lim_process_mlm_set_bss_key_rsp(tpAniSirGlobal pMac, struct scheduler_msg *limMsgQ);
|
||||
void lim_process_mlm_set_sta_key_rsp(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *limMsgQ);
|
||||
void lim_process_mlm_set_bss_key_rsp(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *limMsgQ);
|
||||
|
||||
/* Function to process WMA_SWITCH_CHANNEL_RSP message */
|
||||
void lim_process_switch_channel_rsp(tpAniSirGlobal pMac, void *);
|
||||
|
@@ -847,7 +847,8 @@ void lim_reset_deferred_msg_q(tpAniSirGlobal pMac)
|
||||
* Return: none
|
||||
*/
|
||||
|
||||
uint8_t lim_write_deferred_msg_q(tpAniSirGlobal mac_ctx, struct scheduler_msg *lim_msg)
|
||||
uint8_t lim_write_deferred_msg_q(tpAniSirGlobal mac_ctx,
|
||||
struct scheduler_msg *lim_msg)
|
||||
{
|
||||
lim_log(mac_ctx, LOG1,
|
||||
FL("Queue a deferred message (size %d, write %d) - type 0x%x "),
|
||||
@@ -929,7 +930,8 @@ uint8_t lim_write_deferred_msg_q(tpAniSirGlobal mac_ctx, struct scheduler_msg *l
|
||||
/* save the message to the queue and advanced the write pointer */
|
||||
qdf_mem_copy((uint8_t *) &mac_ctx->lim.gLimDeferredMsgQ.
|
||||
deferredQueue[mac_ctx->lim.gLimDeferredMsgQ.write++],
|
||||
(uint8_t *) lim_msg, sizeof(struct scheduler_msg));
|
||||
(uint8_t *) lim_msg,
|
||||
sizeof(struct scheduler_msg));
|
||||
return TX_SUCCESS;
|
||||
|
||||
}
|
||||
@@ -1008,7 +1010,8 @@ struct scheduler_msg *lim_read_deferred_msg_q(tpAniSirGlobal pMac)
|
||||
}
|
||||
|
||||
tSirRetStatus
|
||||
lim_sys_process_mmh_msg_api(tpAniSirGlobal pMac, struct scheduler_msg *pMsg, uint8_t qType)
|
||||
lim_sys_process_mmh_msg_api(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *pMsg, uint8_t qType)
|
||||
{
|
||||
/* FIXME */
|
||||
sys_process_mmh_msg(pMac, pMsg);
|
||||
@@ -5764,7 +5767,8 @@ tpPESession lim_is_ap_session_active(tpAniSirGlobal pMac)
|
||||
\return void
|
||||
-----------------------------------------------------------*/
|
||||
|
||||
void lim_handle_defer_msg_error(tpAniSirGlobal pMac, struct scheduler_msg *pLimMsg)
|
||||
void lim_handle_defer_msg_error(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *pLimMsg)
|
||||
{
|
||||
if (SIR_BB_XPORT_MGMT_MSG == pLimMsg->type) {
|
||||
cds_pkt_return_packet((cds_pkt_t *) pLimMsg->bodyptr);
|
||||
|
@@ -200,14 +200,17 @@ void lim_update_sta_run_time_ht_switch_chnl_params(tpAniSirGlobal pMac,
|
||||
void lim_print_mac_addr(tpAniSirGlobal, tSirMacAddr, uint8_t);
|
||||
|
||||
/* Deferred Message Queue read/write */
|
||||
uint8_t lim_write_deferred_msg_q(tpAniSirGlobal pMac, struct scheduler_msg *limMsg);
|
||||
uint8_t lim_write_deferred_msg_q(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *limMsg);
|
||||
struct scheduler_msg *lim_read_deferred_msg_q(tpAniSirGlobal pMac);
|
||||
void lim_handle_defer_msg_error(tpAniSirGlobal pMac, struct scheduler_msg *pLimMsg);
|
||||
void lim_handle_defer_msg_error(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *pLimMsg);
|
||||
|
||||
/* Deferred Message Queue Reset */
|
||||
void lim_reset_deferred_msg_q(tpAniSirGlobal pMac);
|
||||
|
||||
tSirRetStatus lim_sys_process_mmh_msg_api(tpAniSirGlobal, struct scheduler_msg *, uint8_t);
|
||||
tSirRetStatus lim_sys_process_mmh_msg_api(tpAniSirGlobal,
|
||||
struct scheduler_msg *, uint8_t);
|
||||
|
||||
void lim_handle_update_olbc_cache(tpAniSirGlobal pMac);
|
||||
|
||||
@@ -411,12 +414,14 @@ void lim_set_tspec_uapsd_mask_per_session(tpAniSirGlobal pMac,
|
||||
void lim_handle_heart_beat_timeout_for_session(tpAniSirGlobal pMac,
|
||||
tpPESession psessionEntry);
|
||||
|
||||
void lim_process_add_sta_rsp(tpAniSirGlobal pMac, struct scheduler_msg *pMsgQ);
|
||||
void lim_process_add_sta_rsp(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *pMsgQ);
|
||||
|
||||
void lim_update_beacon(tpAniSirGlobal pMac);
|
||||
|
||||
void lim_process_ap_mlm_add_sta_rsp(tpAniSirGlobal pMac, struct scheduler_msg *limMsgQ,
|
||||
tpPESession psessionEntry);
|
||||
void lim_process_ap_mlm_add_sta_rsp(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *limMsgQ,
|
||||
tpPESession psessionEntry);
|
||||
void lim_process_ap_mlm_del_bss_rsp(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *limMsgQ,
|
||||
tpPESession psessionEntry);
|
||||
|
@@ -389,8 +389,9 @@ static QDF_STATUS lim_ndp_end_indication_handler(tpAniSirGlobal mac_ctx,
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void lim_process_ndi_del_sta_rsp(tpAniSirGlobal mac_ctx, struct scheduler_msg *lim_msg,
|
||||
tpPESession pe_session)
|
||||
void lim_process_ndi_del_sta_rsp(tpAniSirGlobal mac_ctx,
|
||||
struct scheduler_msg *lim_msg,
|
||||
tpPESession pe_session)
|
||||
{
|
||||
tpDeleteStaParams del_sta_params = (tpDeleteStaParams) lim_msg->bodyptr;
|
||||
tpDphHashNode sta_ds;
|
||||
@@ -714,8 +715,9 @@ QDF_STATUS lim_handle_ndp_request_message(tpAniSirGlobal mac_ctx,
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void lim_process_ndi_mlm_add_bss_rsp(tpAniSirGlobal mac_ctx, struct scheduler_msg *lim_msgq,
|
||||
tpPESession session_entry)
|
||||
void lim_process_ndi_mlm_add_bss_rsp(tpAniSirGlobal mac_ctx,
|
||||
struct scheduler_msg *lim_msgq,
|
||||
tpPESession session_entry)
|
||||
{
|
||||
tLimMlmStartCnf mlm_start_cnf;
|
||||
tpAddBssParams add_bss_params = (tpAddBssParams) lim_msgq->bodyptr;
|
||||
|
@@ -116,8 +116,9 @@ void lim_ndi_del_bss_rsp(tpAniSirGlobal mac_ctx,
|
||||
void lim_ndp_add_sta_rsp(tpAniSirGlobal mac_ctx, tpPESession session_entry,
|
||||
tAddStaParams *add_sta_rsp);
|
||||
|
||||
void lim_process_ndi_del_sta_rsp(tpAniSirGlobal mac_ctx, struct scheduler_msg *lim_msg,
|
||||
tpPESession pe_session);
|
||||
void lim_process_ndi_del_sta_rsp(tpAniSirGlobal mac_ctx,
|
||||
struct scheduler_msg *lim_msg,
|
||||
tpPESession pe_session);
|
||||
|
||||
#else
|
||||
|
||||
@@ -137,8 +138,8 @@ static inline QDF_STATUS lim_handle_ndp_event_message(tpAniSirGlobal mac_ctx,
|
||||
|
||||
/* Function to process NDP events */
|
||||
static inline void lim_process_ndi_mlm_add_bss_rsp(tpAniSirGlobal mac_ctx,
|
||||
struct scheduler_msg *lim_msg_q,
|
||||
tpPESession session_entry)
|
||||
struct scheduler_msg *lim_msg_q,
|
||||
tpPESession session_entry)
|
||||
{
|
||||
}
|
||||
static inline void lim_ndi_del_bss_rsp(tpAniSirGlobal mac_ctx,
|
||||
@@ -146,7 +147,8 @@ static inline void lim_ndi_del_bss_rsp(tpAniSirGlobal mac_ctx,
|
||||
{
|
||||
}
|
||||
static inline void lim_process_ndi_del_sta_rsp(tpAniSirGlobal mac_ctx,
|
||||
struct scheduler_msg *lim_msg, tpPESession pe_session)
|
||||
struct scheduler_msg *lim_msg,
|
||||
tpPESession pe_session)
|
||||
{
|
||||
}
|
||||
|
||||
|
@@ -210,7 +210,8 @@ rrm_send_set_max_tx_power_req(tpAniSirGlobal pMac, int8_t txPower,
|
||||
* @param pSessionEntry session entry.
|
||||
* @return None
|
||||
*/
|
||||
tSirRetStatus rrm_set_max_tx_power_rsp(tpAniSirGlobal pMac, struct scheduler_msg *limMsgQ)
|
||||
tSirRetStatus rrm_set_max_tx_power_rsp(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *limMsgQ)
|
||||
{
|
||||
tSirRetStatus retCode = eSIR_SUCCESS;
|
||||
tpMaxTxPowerParams pMaxTxParams = (tpMaxTxPowerParams) limMsgQ->bodyptr;
|
||||
|
@@ -918,7 +918,8 @@ void sch_generate_tim(tpAniSirGlobal pMac, uint8_t **pPtr, uint16_t *timLength,
|
||||
* @return None
|
||||
*/
|
||||
|
||||
void sch_process_pre_beacon_ind(tpAniSirGlobal pMac, struct scheduler_msg *limMsg)
|
||||
void sch_process_pre_beacon_ind(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *limMsg)
|
||||
{
|
||||
tpBeaconGenParams pMsg = (tpBeaconGenParams) limMsg->bodyptr;
|
||||
uint32_t beaconSize;
|
||||
|
@@ -47,7 +47,8 @@
|
||||
/* Function */
|
||||
|
||||
extern void sysMACCleanup(void *);
|
||||
extern tSirRetStatus sys_bbt_process_message_core(struct sAniSirGlobal *, struct scheduler_msg *,
|
||||
extern tSirRetStatus sys_bbt_process_message_core(struct sAniSirGlobal *,
|
||||
struct scheduler_msg *,
|
||||
uint32_t, uint32_t);
|
||||
|
||||
#endif /* __SYSSTARTUP_H */
|
||||
|
@@ -67,7 +67,8 @@ QDF_STATUS sme_set_ps_ns_offload(tHalHandle hal_ctx,
|
||||
|
||||
#endif /* WLAN_NS_OFFLOAD */
|
||||
/* / Post a message to PE module */
|
||||
tSirRetStatus sme_post_pe_message(tpAniSirGlobal mac_ctx, struct scheduler_msg *pMsg);
|
||||
tSirRetStatus sme_post_pe_message(tpAniSirGlobal mac_ctx,
|
||||
struct scheduler_msg *pMsg);
|
||||
|
||||
QDF_STATUS sme_ps_enable_auto_ps_timer(tHalHandle hal_ctx,
|
||||
uint32_t sessionId,
|
||||
|
@@ -973,7 +973,8 @@ QDF_STATUS sme_set_ps_ns_offload(tHalHandle hal_ctx,
|
||||
* @return None
|
||||
*/
|
||||
|
||||
tSirRetStatus sme_post_pe_message(tpAniSirGlobal mac_ctx, struct scheduler_msg *msg)
|
||||
tSirRetStatus sme_post_pe_message(tpAniSirGlobal mac_ctx,
|
||||
struct scheduler_msg *msg)
|
||||
{
|
||||
QDF_STATUS qdf_status;
|
||||
qdf_status = scheduler_post_msg(QDF_MODULE_ID_PE,
|
||||
|
@@ -165,7 +165,8 @@ bool wma_is_vdev_up(uint8_t vdev_id);
|
||||
void *wma_get_beacon_buffer_by_vdev_id(uint8_t vdev_id, uint32_t *buffer_size);
|
||||
|
||||
uint8_t wma_get_fw_wlan_feat_caps(uint8_t featEnumValue);
|
||||
tSirRetStatus wma_post_ctrl_msg(tpAniSirGlobal pMac, struct scheduler_msg *pMsg);
|
||||
tSirRetStatus wma_post_ctrl_msg(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *pMsg);
|
||||
|
||||
void wma_enable_disable_wakeup_event(WMA_HANDLE handle,
|
||||
uint32_t vdev_id,
|
||||
|
@@ -1359,7 +1359,8 @@ typedef struct tHalHiddenSsidVdevRestart {
|
||||
} tHalHiddenSsidVdevRestart, *tpHalHiddenSsidVdevRestart;
|
||||
|
||||
|
||||
extern void sys_process_mmh_msg(tpAniSirGlobal pMac, struct scheduler_msg *pMsg);
|
||||
extern void sys_process_mmh_msg(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *pMsg);
|
||||
|
||||
/**
|
||||
* struct tBeaconFilterMsg - Beacon Filtering data structure
|
||||
|
@@ -702,7 +702,8 @@ typedef enum {
|
||||
|
||||
#endif /* FEATURE_WLAN_TDLS */
|
||||
|
||||
tSirRetStatus wma_post_ctrl_msg(tpAniSirGlobal pMac, struct scheduler_msg *pMsg);
|
||||
tSirRetStatus wma_post_ctrl_msg(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *pMsg);
|
||||
|
||||
tSirRetStatus u_mac_post_ctrl_msg(void *pSirGlobal, tSirMbMsg *pMb);
|
||||
|
||||
|
@@ -71,7 +71,8 @@ tSirRetStatus wma_post_ctrl_msg(tpAniSirGlobal pMac, struct scheduler_msg *pMsg)
|
||||
* Return: Success or Failure
|
||||
*/
|
||||
|
||||
static tSirRetStatus wma_post_cfg_msg(tpAniSirGlobal pMac, struct scheduler_msg *pMsg)
|
||||
static tSirRetStatus wma_post_cfg_msg(tpAniSirGlobal pMac,
|
||||
struct scheduler_msg *pMsg)
|
||||
{
|
||||
tSirRetStatus rc = eSIR_SUCCESS;
|
||||
|
||||
|
Reference in New Issue
Block a user