Jelajahi Sumber

qcacld-3.0: Cleanup unused SIR_LIM_BEACON_GEN_IND

The lim message SIR_LIM_BEACON_GEN_IND is unused.
Cleanup the corresponding code.

Change-Id: If404b44d91e6c12ba882220697ecda820c8dd971
CRs-Fixed: 2899398
Pragaspathi Thilagaraj 4 tahun lalu
induk
melakukan
38c26022f2

+ 0 - 1
core/mac/src/include/sir_params.h

@@ -706,7 +706,6 @@ enum halmsgtype {
 #define SIR_LIM_WPS_OVERLAP_TIMEOUT      (SIR_LIM_TIMEOUT_MSG_START + 0x1D)
 #define SIR_LIM_FT_PREAUTH_RSP_TIMEOUT   (SIR_LIM_TIMEOUT_MSG_START + 0x1E)
 
-#define SIR_LIM_BEACON_GEN_IND          (SIR_LIM_TIMEOUT_MSG_START + 0x23)
 /* currently unused                     (SIR_LIM_TIMEOUT_MSG_START + 0x24) */
 /* currently unused                     (SIR_LIM_TIMEOUT_MSG_START + 0x25) */
 

+ 0 - 5
core/mac/src/pe/lim/lim_process_message_queue.c

@@ -1830,11 +1830,6 @@ static void lim_process_messages(struct mac_context *mac_ctx,
 	case WMA_ADD_TS_RSP:
 		lim_process_hal_add_ts_rsp(mac_ctx, msg);
 		break;
-	case SIR_LIM_BEACON_GEN_IND:
-		if (mac_ctx->lim.gLimSystemRole != eLIM_AP_ROLE)
-			sch_process_pre_beacon_ind(mac_ctx,
-						   msg, REASON_DEFAULT);
-		break;
 	case SIR_LIM_DELETE_STA_CONTEXT_IND:
 		lim_delete_sta_context(mac_ctx, msg);
 		break;

+ 0 - 1
core/mac/src/sys/legacy/src/utils/src/mac_trace.c

@@ -649,7 +649,6 @@ uint8_t *mac_trace_get_lim_msg_string(uint16_t lim_msg)
 		CASE_RETURN_STRING(SIR_LIM_UPDATE_OLBC_CACHEL_TIMEOUT);
 		CASE_RETURN_STRING(SIR_LIM_WPS_OVERLAP_TIMEOUT);
 		CASE_RETURN_STRING(SIR_LIM_FT_PREAUTH_RSP_TIMEOUT);
-		CASE_RETURN_STRING(SIR_LIM_BEACON_GEN_IND);
 		CASE_RETURN_STRING(SIR_LIM_DISASSOC_ACK_TIMEOUT);
 		CASE_RETURN_STRING(SIR_LIM_DEAUTH_ACK_TIMEOUT);
 		CASE_RETURN_STRING(SIR_LIM_PERIODIC_JOIN_PROBE_REQ_TIMEOUT);