mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 12:10:52 -04:00
qcacld-3.0: Remove unused cfg messages
Legacy cfg is cleaned up since all wni cfg refactored based on new cfg framework, so remove unused cfg messages. Change-Id: Ibb31eae1d17dcd9c2481b13c6246dd89b954e710 CRs-Fixed: 2385963
This commit is contained in:
parent
b659fa12bf
commit
55020ecda8
12 changed files with 2 additions and 359 deletions
|
|
@ -55,7 +55,6 @@ static inline void mac_trace(struct mac_context *mac_ctx, uint8_t code,
|
|||
#define eLOG_NODROP_MISSED_BEACON_SCENARIO 0
|
||||
#define eLOG_PROC_DEAUTH_FRAME_SCENARIO 1
|
||||
|
||||
uint8_t *mac_trace_get_cfg_msg_string(uint16_t cfgMsg);
|
||||
uint8_t *mac_trace_get_lim_msg_string(uint16_t limMsg);
|
||||
uint8_t *mac_trace_get_sme_msg_string(uint16_t smeMsg);
|
||||
uint8_t *mac_trace_get_info_log_string(uint16_t infoLog);
|
||||
|
|
|
|||
|
|
@ -171,8 +171,7 @@ enum sir_roam_op_code {
|
|||
*/
|
||||
enum {
|
||||
SIR_HAL_MODULE_ID = 0x10,
|
||||
SIR_CFG_MODULE_ID = 0x12,
|
||||
SIR_LIM_MODULE_ID,
|
||||
SIR_LIM_MODULE_ID = 0x13,
|
||||
SIR_SME_MODULE_ID,
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -227,195 +227,10 @@ enum eWniMsgTypes {
|
|||
|
||||
#define WNI_CFG_MSG_TYPES_BEGIN 0x1200
|
||||
|
||||
/*---------------------------------------------------------------------*/
|
||||
/* CFG Module Definitions */
|
||||
/*---------------------------------------------------------------------*/
|
||||
|
||||
/*---------------------------------------------------------------------*/
|
||||
/* CFG message definitions */
|
||||
/*---------------------------------------------------------------------*/
|
||||
#define WNI_CFG_MSG_HDR_MASK 0xffff0000
|
||||
#define WNI_CFG_MSG_LEN_MASK 0x0000ffff
|
||||
#define WNI_CFG_MB_HDR_LEN 4
|
||||
#define WNI_CFG_MAX_PARAM_NUM 32
|
||||
|
||||
/*---------------------------------------------------------------------*/
|
||||
/* CFG to HDD message types */
|
||||
/*---------------------------------------------------------------------*/
|
||||
#define WNI_CFG_PARAM_UPDATE_IND (WNI_CFG_MSG_TYPES_BEGIN | 0x00)
|
||||
#define WNI_CFG_DNLD_REQ (WNI_CFG_MSG_TYPES_BEGIN | 0x01)
|
||||
#define WNI_CFG_DNLD_CNF (WNI_CFG_MSG_TYPES_BEGIN | 0x02)
|
||||
#define WNI_CFG_GET_RSP (WNI_CFG_MSG_TYPES_BEGIN | 0x03)
|
||||
#define WNI_CFG_SET_CNF (WNI_CFG_MSG_TYPES_BEGIN | 0x04)
|
||||
#define WNI_CFG_GET_ATTRIB_RSP (WNI_CFG_MSG_TYPES_BEGIN | 0x05)
|
||||
#define WNI_CFG_ADD_GRP_ADDR_CNF (WNI_CFG_MSG_TYPES_BEGIN | 0x06)
|
||||
#define WNI_CFG_DEL_GRP_ADDR_CNF (WNI_CFG_MSG_TYPES_BEGIN | 0x07)
|
||||
|
||||
#define ANI_CFG_GET_RADIO_STAT_RSP (WNI_CFG_MSG_TYPES_BEGIN | 0x08)
|
||||
#define ANI_CFG_GET_PER_STA_STAT_RSP (WNI_CFG_MSG_TYPES_BEGIN | 0x09)
|
||||
#define ANI_CFG_GET_AGG_STA_STAT_RSP (WNI_CFG_MSG_TYPES_BEGIN | 0x0a)
|
||||
#define ANI_CFG_CLEAR_STAT_RSP (WNI_CFG_MSG_TYPES_BEGIN | 0x0b)
|
||||
|
||||
/*---------------------------------------------------------------------*/
|
||||
/* CFG to HDD message parameter indices */
|
||||
|
||||
/* The followings are word indices starting from the message body */
|
||||
|
||||
/* WNI_CFG_xxxx_xxxx_xxxx: index of parameter */
|
||||
/* WNI_CFG_xxxx_xxxx_NUM: number of parameters in message */
|
||||
|
||||
/* WNI_CFG_xxxx_xxxx_LEN: byte length of message including */
|
||||
/* MB header */
|
||||
/* */
|
||||
/* WNI_CFG_xxxx_xxxx_PARTIAL_LEN: byte length of message including */
|
||||
/* parameters and MB header but */
|
||||
/* excluding variable data length */
|
||||
/*---------------------------------------------------------------------*/
|
||||
|
||||
/* Parameter update indication */
|
||||
#define WNI_CFG_PARAM_UPDATE_IND_PID 0
|
||||
|
||||
#define WNI_CFG_PARAM_UPDATE_IND_NUM 1
|
||||
#define WNI_CFG_PARAM_UPDATE_IND_LEN (WNI_CFG_MB_HDR_LEN + \
|
||||
(WNI_CFG_PARAM_UPDATE_IND_NUM << 2))
|
||||
|
||||
/* Configuration download request */
|
||||
#define WNI_CFG_DNLD_REQ_NUM 0
|
||||
#define WNI_CFG_DNLD_REQ_LEN WNI_CFG_MB_HDR_LEN
|
||||
|
||||
/* Configuration download confirm */
|
||||
#define WNI_CFG_DNLD_CNF_RES 0
|
||||
|
||||
#define WNI_CFG_DNLD_CNF_NUM 1
|
||||
#define WNI_CFG_DNLD_CNF_LEN (WNI_CFG_MB_HDR_LEN + \
|
||||
(WNI_CFG_DNLD_CNF_NUM << 2))
|
||||
/* Get response */
|
||||
#define WNI_CFG_GET_RSP_RES 0
|
||||
#define WNI_CFG_GET_RSP_PID 1
|
||||
#define WNI_CFG_GET_RSP_PLEN 2
|
||||
|
||||
#define WNI_CFG_GET_RSP_NUM 3
|
||||
#define WNI_CFG_GET_RSP_PARTIAL_LEN (WNI_CFG_MB_HDR_LEN + \
|
||||
(WNI_CFG_GET_RSP_NUM << 2))
|
||||
/* Set confirm */
|
||||
#define WNI_CFG_SET_CNF_RES 0
|
||||
#define WNI_CFG_SET_CNF_PID 1
|
||||
|
||||
#define WNI_CFG_SET_CNF_NUM 2
|
||||
#define WNI_CFG_SET_CNF_LEN (WNI_CFG_MB_HDR_LEN + \
|
||||
(WNI_CFG_SET_CNF_NUM << 2))
|
||||
/* Get attribute response */
|
||||
#define WNI_CFG_GET_ATTRIB_RSP_RES 0
|
||||
#define WNI_CFG_GET_ATTRIB_RSP_PID 1
|
||||
#define WNI_CFG_GET_ATTRIB_RSP_TYPE 2
|
||||
#define WNI_CFG_GET_ATTRIB_RSP_PLEN 3
|
||||
#define WNI_CFG_GET_ATTRIB_RSP_RW 4
|
||||
|
||||
#define WNI_CFG_GET_ATTRIB_RSP_NUM 5
|
||||
#define WNI_CFG_GET_ATTRIB_RSP_LEN (WNI_CFG_MB_HDR_LEN + \
|
||||
(WNI_CFG_GET_ATTRIB_RSP_NUM << 2))
|
||||
|
||||
/* Add group address confirm */
|
||||
#define WNI_CFG_ADD_GRP_ADDR_CNF_RES 0
|
||||
|
||||
#define WNI_CFG_ADD_GRP_ADDR_CNF_NUM 1
|
||||
#define WNI_CFG_ADD_GRP_ADDR_CNF_LEN (WNI_CFG_MB_HDR_LEN + \
|
||||
(WNI_CFG_ADD_GRP_ADDR_CNF_NUM << 2))
|
||||
|
||||
/* Delete group address confirm */
|
||||
#define WNI_CFG_DEL_GRP_ADDR_CNF_RES 0
|
||||
|
||||
#define WNI_CFG_DEL_GRP_ADDR_CNF_NUM 1
|
||||
#define WNI_CFG_DEL_GRP_ADDR_CNF_LEN (WNI_CFG_MB_HDR_LEN + \
|
||||
(WNI_CFG_DEL_GRP_ADDR_CNF_NUM << 2))
|
||||
|
||||
#define IS_CFG_MSG(msg) ((msg & 0xff00) == WNI_CFG_MSG_TYPES_BEGIN)
|
||||
|
||||
/*---------------------------------------------------------------------*/
|
||||
/* HDD to CFG message types */
|
||||
/*---------------------------------------------------------------------*/
|
||||
#define WNI_CFG_DNLD_RSP (WNI_CFG_MSG_TYPES_BEGIN | 0x80)
|
||||
#define WNI_CFG_GET_REQ (WNI_CFG_MSG_TYPES_BEGIN | 0x81)
|
||||
|
||||
/* Shall be removed after stats integration */
|
||||
|
||||
/*---------------------------------------------------------------------*/
|
||||
/* HDD to CFG message parameter indices */
|
||||
/* */
|
||||
/* The followings are word indices starting from the message body */
|
||||
/* */
|
||||
/* WNI_CFG_xxxx_xxxx_xxxx: index of parameter */
|
||||
/* */
|
||||
/* WNI_CFG_xxxx_xxxx_NUM: number of parameters in message */
|
||||
/* */
|
||||
/* WNI_CFG_xxxx_xxxx_LEN: byte length of message including */
|
||||
/* MB header */
|
||||
/* */
|
||||
/* WNI_CFG_xxxx_xxxx_PARTIAL_LEN: byte length of message including */
|
||||
/* parameters and MB header but */
|
||||
/* excluding variable data length */
|
||||
/*---------------------------------------------------------------------*/
|
||||
|
||||
/* Download response */
|
||||
#define WNI_CFG_DNLD_RSP_BIN_LEN 0
|
||||
|
||||
#define WNI_CFG_DNLD_RSP_NUM 1
|
||||
#define WNI_CFG_DNLD_RSP_PARTIAL_LEN (WNI_CFG_MB_HDR_LEN + \
|
||||
(WNI_CFG_DNLD_RSP_NUM << 2))
|
||||
|
||||
/* Set parameter request */
|
||||
#define WNI_CFG_SET_REQ_PID 0
|
||||
#define WNI_CFG_SET_REQ_PLEN 1
|
||||
|
||||
/*---------------------------------------------------------------------*/
|
||||
/* CFG return values */
|
||||
/*---------------------------------------------------------------------*/
|
||||
#define WNI_CFG_SUCCESS 1
|
||||
#define WNI_CFG_NOT_READY 2
|
||||
#define WNI_CFG_INVALID_PID 3
|
||||
#define WNI_CFG_INVALID_LEN 4
|
||||
#define WNI_CFG_RO_PARAM 5
|
||||
#define WNI_CFG_WO_PARAM 6
|
||||
#define WNI_CFG_INVALID_STAID 7
|
||||
#define WNI_CFG_OTHER_ERROR 8
|
||||
#define WNI_CFG_NEED_RESTART 9
|
||||
#define WNI_CFG_NEED_RELOAD 10
|
||||
|
||||
/*---------------------------------------------------------------------*/
|
||||
/* CFG definitions */
|
||||
/*---------------------------------------------------------------------*/
|
||||
|
||||
/* Shall be removed after integration of stats. */
|
||||
/* Get statistic response */
|
||||
#define WNI_CFG_GET_STAT_RSP_RES 0
|
||||
#define WNI_CFG_GET_STAT_RSP_PARAMID 1
|
||||
#define WNI_CFG_GET_STAT_RSP_VALUE 2
|
||||
|
||||
#define WNI_CFG_GET_STAT_RSP_NUM 3
|
||||
#define WNI_CFG_GET_STAT_RSP_LEN (WNI_CFG_MB_HDR_LEN + \
|
||||
(WNI_CFG_GET_STAT_RSP_NUM << 2))
|
||||
/* Get per station statistic response */
|
||||
#define WNI_CFG_GET_PER_STA_STAT_RSP_RES 0
|
||||
#define WNI_CFG_GET_PER_STA_STAT_RSP_STAID 1
|
||||
#define WNI_CFG_GET_PER_STA_STAT_RSP_FIRST_PARAM 2
|
||||
|
||||
#define WNI_CFG_GET_PER_STA_STAT_RSP_NUM 23
|
||||
#define WNI_CFG_GET_PER_STA_STAT_RSP_LEN (WNI_CFG_MB_HDR_LEN + \
|
||||
(WNI_CFG_GET_PER_STA_STAT_RSP_NUM << 2))
|
||||
|
||||
/* Shall be removed after integrating stats. */
|
||||
#define WNI_CFG_GET_STAT_RSP (WNI_CFG_MSG_TYPES_BEGIN | 0x08)
|
||||
#define WNI_CFG_GET_PER_STA_STAT_RSP (WNI_CFG_MSG_TYPES_BEGIN | 0x09)
|
||||
#define WNI_CFG_GET_AGG_STA_STAT_RSP (WNI_CFG_MSG_TYPES_BEGIN | 0x0a)
|
||||
#define WNI_CFG_GET_TX_RATE_CTR_RSP (WNI_CFG_MSG_TYPES_BEGIN | 0x0b)
|
||||
|
||||
#define WNI_CFG_GET_AGG_STA_STAT_RSP_NUM 21
|
||||
#define WNI_CFG_GET_AGG_STA_STAT_RSP_LEN (WNI_CFG_MB_HDR_LEN + \
|
||||
(WNI_CFG_GET_AGG_STA_STAT_RSP_NUM << 2))
|
||||
#define WNI_CFG_GET_AGG_STA_STAT_RSP_RES 0
|
||||
|
||||
/* Get TX rate based stats */
|
||||
#define WNI_CFG_GET_TX_RATE_CTR_RSP_RES 0
|
||||
|
||||
typedef struct sAniCfgTxRateCtrs {
|
||||
/* add the rate counters here */
|
||||
|
|
@ -436,27 +251,4 @@ typedef struct sAniCfgTxRateCtrs {
|
|||
unsigned long TxFrames_108Mbps;
|
||||
|
||||
} tAniCfgTxRateCtrs, *tpAniCfgTxRateCtrs;
|
||||
|
||||
#define WNI_CFG_GET_STAT_REQ (WNI_CFG_MSG_TYPES_BEGIN | 0x86)
|
||||
#define WNI_CFG_GET_PER_STA_STAT_REQ (WNI_CFG_MSG_TYPES_BEGIN | 0x87)
|
||||
#define WNI_CFG_GET_AGG_STA_STAT_REQ (WNI_CFG_MSG_TYPES_BEGIN | 0x88)
|
||||
#define WNI_CFG_GET_TX_RATE_CTR_REQ (WNI_CFG_MSG_TYPES_BEGIN | 0x89)
|
||||
|
||||
/* Get statistic request */
|
||||
#define WNI_CFG_GET_STAT_REQ_PARAMID 0
|
||||
|
||||
#define WNI_CFG_GET_STAT_REQ_NUM 1
|
||||
#define WNI_CFG_GET_STAT_REQ_LEN (WNI_CFG_MB_HDR_LEN + \
|
||||
(WNI_CFG_GET_STAT_REQ_NUM << 2))
|
||||
|
||||
/* Get per station statistic request */
|
||||
#define WNI_CFG_GET_PER_STA_STAT_REQ_STAID 0
|
||||
|
||||
#define WNI_CFG_GET_PER_STA_STAT_REQ_NUM 1
|
||||
#define WNI_CFG_GET_PER_STA_STAT_REQ_LEN (WNI_CFG_MB_HDR_LEN + \
|
||||
(WNI_CFG_GET_PER_STA_STAT_REQ_NUM << 2))
|
||||
|
||||
#define DYNAMIC_CFG_TYPE_SELECTED_REGISTRAR (0)
|
||||
#define DYNAMIC_CFG_TYPE_WPS_STATE (1)
|
||||
|
||||
#endif /* __WNI_API_H */
|
||||
|
|
|
|||
|
|
@ -666,13 +666,6 @@ struct sir_cfg_action_frm_tb_ppdu {
|
|||
#endif /* FW_THERMAL_THROTTLE_SUPPORT */
|
||||
#define SIR_HAL_MSG_TYPES_END (SIR_HAL_MSG_TYPES_BEGIN + 0x1FF)
|
||||
|
||||
/* CFG message types */
|
||||
#define SIR_CFG_MSG_TYPES_BEGIN (SIR_CFG_MODULE_ID << 8)
|
||||
#define SIR_CFG_ITC_MSG_TYPES_BEGIN (SIR_CFG_MSG_TYPES_BEGIN+0xB0)
|
||||
#define SIR_CFG_PARAM_UPDATE_IND (SIR_CFG_ITC_MSG_TYPES_BEGIN)
|
||||
#define SIR_CFG_DOWNLOAD_COMPLETE_IND (SIR_CFG_ITC_MSG_TYPES_BEGIN + 1)
|
||||
#define SIR_CFG_MSG_TYPES_END (SIR_CFG_MSG_TYPES_BEGIN+0xFF)
|
||||
|
||||
/* LIM message types */
|
||||
#define SIR_LIM_MSG_TYPES_BEGIN (SIR_LIM_MODULE_ID << 8)
|
||||
#define SIR_LIM_ITC_MSG_TYPES_BEGIN (SIR_LIM_MSG_TYPES_BEGIN+0xB0)
|
||||
|
|
|
|||
|
|
@ -61,8 +61,6 @@ enum {
|
|||
TRACE_CODE_RX_WMA_MSG,
|
||||
TRACE_CODE_TX_LIM_MSG,
|
||||
TRACE_CODE_RX_LIM_MSG,
|
||||
TRACE_CODE_TX_CFG_MSG,
|
||||
TRACE_CODE_RX_CFG_MSG,
|
||||
TRACE_CODE_RX_MGMT_DROP,
|
||||
|
||||
TRACE_CODE_TIMER_ACTIVATE,
|
||||
|
|
|
|||
|
|
@ -1499,8 +1499,7 @@ static void lim_process_messages(struct mac_context *mac_ctx,
|
|||
* and when crash happens we loose critical trace logs
|
||||
* if these are also logged
|
||||
*/
|
||||
if (msg->type != SIR_CFG_PARAM_UPDATE_IND &&
|
||||
msg->type != SIR_BB_XPORT_MGMT_MSG &&
|
||||
if (msg->type != SIR_BB_XPORT_MGMT_MSG &&
|
||||
msg->type != WMA_RX_SCAN_EVENT)
|
||||
MTRACE(mac_trace_msg_rx(mac_ctx, NO_SESSION,
|
||||
LIM_TRACE_MAKE_RXMSG(msg->type,
|
||||
|
|
@ -1512,20 +1511,6 @@ static void lim_process_messages(struct mac_context *mac_ctx,
|
|||
case SIR_LIM_UPDATE_BEACON:
|
||||
lim_update_beacon(mac_ctx);
|
||||
break;
|
||||
case SIR_CFG_PARAM_UPDATE_IND:
|
||||
if (!lim_is_system_in_scan_state(mac_ctx))
|
||||
break;
|
||||
/* System is in DFS (Learn) mode.
|
||||
* Defer processing this message
|
||||
*/
|
||||
if (lim_defer_msg(mac_ctx, msg) != TX_SUCCESS) {
|
||||
if (!(mac_ctx->lim.deferredMsgCnt & 0xF))
|
||||
QDF_TRACE(QDF_MODULE_ID_PE, LOGE,
|
||||
FL("Unable to Defer Msg"));
|
||||
lim_log_session_states(mac_ctx);
|
||||
lim_print_msg_name(mac_ctx, LOGE, msg->type);
|
||||
}
|
||||
break;
|
||||
case WMA_SWITCH_CHANNEL_RSP:
|
||||
lim_process_switch_channel_rsp(mac_ctx, msg->bodyptr);
|
||||
msg->bodyptr = NULL;
|
||||
|
|
|
|||
|
|
@ -221,23 +221,6 @@ void lim_trace_dump(void *mac, tp_qdf_trace_record pRecord,
|
|||
mac_trace_get_lim_msg_string((uint16_t) pRecord->data),
|
||||
pRecord->data);
|
||||
break;
|
||||
case TRACE_CODE_TX_CFG_MSG:
|
||||
pe_debug("%04d %012llu %s S%d %-14s %-30s(0x%x) ", recIndex,
|
||||
pRecord->qtime, pRecord->time, pRecord->session,
|
||||
"TX CFG Msg:",
|
||||
mac_trace_get_cfg_msg_string((uint16_t) pRecord->data),
|
||||
pRecord->data);
|
||||
break;
|
||||
case TRACE_CODE_RX_CFG_MSG:
|
||||
pe_debug("%04d %012llu %s S%d %-14s %-30s(0x%x) ", recIndex,
|
||||
pRecord->qtime, pRecord->time, pRecord->session,
|
||||
LIM_TRACE_GET_DEFRD_OR_DROPPED(
|
||||
pRecord->data) ? "Def/Drp LIM Msg:" : "RX CFG Msg:",
|
||||
mac_trace_get_cfg_msg_string(
|
||||
(uint16_t)MAC_TRACE_GET_MSG_ID(pRecord->data)),
|
||||
pRecord->data);
|
||||
break;
|
||||
|
||||
case TRACE_CODE_TIMER_ACTIVATE:
|
||||
pe_debug("%04d %012llu %s S%d %-14s %-30s(0x%x)", recIndex,
|
||||
pRecord->qtime, pRecord->time, pRecord->session,
|
||||
|
|
@ -285,9 +268,6 @@ void mac_trace_msg_tx(struct mac_context *mac, uint8_t session, uint32_t data)
|
|||
case SIR_WMA_MODULE_ID:
|
||||
mac_trace(mac, TRACE_CODE_TX_WMA_MSG, session, data);
|
||||
break;
|
||||
case SIR_CFG_MODULE_ID:
|
||||
mac_trace(mac, TRACE_CODE_TX_CFG_MSG, session, data);
|
||||
break;
|
||||
default:
|
||||
mac_trace(mac, module_id, session, data);
|
||||
break;
|
||||
|
|
@ -313,9 +293,6 @@ void mac_trace_msg_rx(struct mac_context *mac, uint8_t session, uint32_t data)
|
|||
case SIR_WMA_MODULE_ID:
|
||||
mac_trace(mac, TRACE_CODE_RX_WMA_MSG, session, data);
|
||||
break;
|
||||
case SIR_CFG_MODULE_ID:
|
||||
mac_trace(mac, TRACE_CODE_RX_CFG_MSG, session, data);
|
||||
break;
|
||||
default:
|
||||
mac_trace(mac, module_id, session, data);
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -357,34 +357,6 @@ char *lim_msg_str(uint32_t msgType)
|
|||
return "SIR_LIM_CNF_WAIT_TIMEOUT";
|
||||
case SIR_LIM_FT_PREAUTH_RSP_TIMEOUT:
|
||||
return "SIR_LIM_FT_PREAUTH_RSP_TIMEOUT";
|
||||
case WNI_CFG_PARAM_UPDATE_IND:
|
||||
return "WNI_CFG_PARAM_UPDATE_IND";
|
||||
case WNI_CFG_DNLD_REQ:
|
||||
return "WNI_CFG_DNLD_REQ";
|
||||
case WNI_CFG_DNLD_CNF:
|
||||
return "WNI_CFG_DNLD_CNF";
|
||||
case WNI_CFG_GET_RSP:
|
||||
return "WNI_CFG_GET_RSP";
|
||||
case WNI_CFG_SET_CNF:
|
||||
return "WNI_CFG_SET_CNF";
|
||||
case WNI_CFG_GET_ATTRIB_RSP:
|
||||
return "WNI_CFG_GET_ATTRIB_RSP";
|
||||
case WNI_CFG_ADD_GRP_ADDR_CNF:
|
||||
return "WNI_CFG_ADD_GRP_ADDR_CNF";
|
||||
case WNI_CFG_DEL_GRP_ADDR_CNF:
|
||||
return "WNI_CFG_DEL_GRP_ADDR_CNF";
|
||||
case ANI_CFG_GET_RADIO_STAT_RSP:
|
||||
return "ANI_CFG_GET_RADIO_STAT_RSP";
|
||||
case ANI_CFG_GET_PER_STA_STAT_RSP:
|
||||
return "ANI_CFG_GET_PER_STA_STAT_RSP";
|
||||
case ANI_CFG_GET_AGG_STA_STAT_RSP:
|
||||
return "ANI_CFG_GET_AGG_STA_STAT_RSP";
|
||||
case ANI_CFG_CLEAR_STAT_RSP:
|
||||
return "ANI_CFG_CLEAR_STAT_RSP";
|
||||
case WNI_CFG_DNLD_RSP:
|
||||
return "WNI_CFG_DNLD_RSP";
|
||||
case WNI_CFG_GET_REQ:
|
||||
return "WNI_CFG_GET_REQ";
|
||||
case eWNI_PMC_ENTER_IMPS_RSP:
|
||||
return "eWNI_PMC_ENTER_IMPS_RSP";
|
||||
case eWNI_PMC_EXIT_IMPS_RSP:
|
||||
|
|
|
|||
|
|
@ -220,44 +220,10 @@ void sys_process_mmh_msg(struct mac_context *mac, struct scheduler_msg *pMsg)
|
|||
}
|
||||
|
||||
switch (pMsg->type) {
|
||||
/*
|
||||
* Following messages are routed to SYS
|
||||
*/
|
||||
case WNI_CFG_DNLD_REQ:
|
||||
case WNI_CFG_DNLD_CNF:
|
||||
/* Forward this message to the SYS module */
|
||||
targetMQ = QDF_MODULE_ID_SYS;
|
||||
QDF_TRACE(QDF_MODULE_ID_SYS, QDF_TRACE_LEVEL_ERROR,
|
||||
"Handling for the Message ID %d is removed in SYS",
|
||||
pMsg->type);
|
||||
QDF_ASSERT(0);
|
||||
break;
|
||||
|
||||
/*
|
||||
* Following messages are routed to HAL
|
||||
*/
|
||||
case WNI_CFG_DNLD_RSP:
|
||||
/* Forward this message to the HAL module */
|
||||
targetMQ = QDF_MODULE_ID_WMA;
|
||||
QDF_TRACE(QDF_MODULE_ID_SYS, QDF_TRACE_LEVEL_ERROR,
|
||||
"Handling for the Message ID %d is removed as no HAL",
|
||||
pMsg->type);
|
||||
|
||||
QDF_ASSERT(0);
|
||||
break;
|
||||
|
||||
case WNI_CFG_GET_REQ:
|
||||
case eWNI_SME_SYS_READY_IND:
|
||||
/* Forward this message to the PE module */
|
||||
targetMQ = QDF_MODULE_ID_PE;
|
||||
break;
|
||||
|
||||
case WNI_CFG_GET_RSP:
|
||||
case WNI_CFG_SET_CNF:
|
||||
/* Forward this message to the SME module */
|
||||
targetMQ = QDF_MODULE_ID_SME;
|
||||
break;
|
||||
|
||||
default:
|
||||
if ((pMsg->type >= eWNI_SME_MSG_TYPES_BEGIN)
|
||||
&& (pMsg->type <= eWNI_SME_MSG_TYPES_END)) {
|
||||
|
|
|
|||
|
|
@ -502,7 +502,6 @@ uint8_t *mac_trace_get_wma_msg_string(uint16_t wma_msg)
|
|||
#ifdef FEATURE_WLAN_ESE
|
||||
CASE_RETURN_STRING(WMA_SET_PLM_REQ);
|
||||
#endif
|
||||
CASE_RETURN_STRING(WMA_CONFIG_PARAM_UPDATE_REQ);
|
||||
CASE_RETURN_STRING(WMA_RATE_UPDATE_IND);
|
||||
CASE_RETURN_STRING(WMA_INIT_BAD_PEER_TX_CTL_INFO_CMD);
|
||||
#ifdef FEATURE_WLAN_TDLS
|
||||
|
|
@ -724,35 +723,6 @@ uint8_t *mac_trace_get_lim_msg_string(uint16_t lim_msg)
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* mac_trace_get_cfg_msg_string() - Get the msg
|
||||
* @cfg_msg: message type in numeric form
|
||||
*
|
||||
* This function will return a string equivalent of the message.
|
||||
*
|
||||
* Return: String equivalent of the message type.
|
||||
**/
|
||||
uint8_t *mac_trace_get_cfg_msg_string(uint16_t cfg_msg)
|
||||
{
|
||||
switch (cfg_msg) {
|
||||
CASE_RETURN_STRING(WNI_CFG_PARAM_UPDATE_IND);
|
||||
CASE_RETURN_STRING(WNI_CFG_DNLD_REQ);
|
||||
CASE_RETURN_STRING(WNI_CFG_DNLD_CNF);
|
||||
CASE_RETURN_STRING(WNI_CFG_GET_RSP);
|
||||
CASE_RETURN_STRING(WNI_CFG_SET_CNF);
|
||||
CASE_RETURN_STRING(WNI_CFG_GET_ATTRIB_RSP);
|
||||
CASE_RETURN_STRING(WNI_CFG_ADD_GRP_ADDR_CNF);
|
||||
CASE_RETURN_STRING(WNI_CFG_DEL_GRP_ADDR_CNF);
|
||||
CASE_RETURN_STRING(SIR_CFG_PARAM_UPDATE_IND);
|
||||
CASE_RETURN_STRING(SIR_CFG_DOWNLOAD_COMPLETE_IND);
|
||||
CASE_RETURN_STRING(WNI_CFG_DNLD_RSP);
|
||||
CASE_RETURN_STRING(WNI_CFG_GET_REQ);
|
||||
default:
|
||||
return (uint8_t *) "UNKNOWN";
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* mac_trace_get_info_log_string() - Get the log info
|
||||
* @info_log: message type in numeric form
|
||||
|
|
|
|||
|
|
@ -1945,12 +1945,6 @@ QDF_STATUS sme_process_msg(struct mac_context *mac, struct scheduler_msg *pMsg)
|
|||
qdf_mem_free(pMsg->bodyptr);
|
||||
break;
|
||||
#endif
|
||||
case WNI_CFG_SET_CNF:
|
||||
case WNI_CFG_DNLD_CNF:
|
||||
case WNI_CFG_GET_RSP:
|
||||
case WNI_CFG_ADD_GRP_ADDR_CNF:
|
||||
case WNI_CFG_DEL_GRP_ADDR_CNF:
|
||||
break;
|
||||
case eWNI_SME_ADDTS_RSP:
|
||||
case eWNI_SME_DELTS_RSP:
|
||||
case eWNI_SME_DELTS_IND:
|
||||
|
|
|
|||
|
|
@ -44,8 +44,6 @@
|
|||
#error "NONE of the ANI_OS_TYPE_xxx are defined for this build"
|
||||
#endif
|
||||
|
||||
#define WMA_CONFIG_PARAM_UPDATE_REQ SIR_CFG_PARAM_UPDATE_IND
|
||||
|
||||
/* operMode in ADD BSS message */
|
||||
#define BSS_OPERATIONAL_MODE_AP 0
|
||||
#define BSS_OPERATIONAL_MODE_STA 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue