Procházet zdrojové kódy

qcacld-3.0: Remove curTxMpduCnt from tDphHashNode

The curTxMpduCnt member of tDphHashNode is initialized but is
otherwise never modified or read. Since it is obsolete, remove it.

Change-Id: I73c5c296b38dc5a8794862c5314fdf5f63e6c0d4
CRs-Fixed: 2414744
Jeff Johnson před 6 roky
rodič
revize
0b47f6aa6a

+ 0 - 2
core/mac/src/include/dph_global.h

@@ -101,8 +101,6 @@ typedef struct sDphHashNode {
 	uint8_t rmfEnabled:1;
 	/* LIM state */
 	tLimMlmStaContext mlmStaContext;
-	/* Number of Successful MPDU's being sent */
-	uint32_t curTxMpduCnt;
 	/* qos parameter info */
 	tDphQosParams qos;
 	/*

+ 0 - 11
core/mac/src/pe/lim/lim_process_assoc_req_frame.c

@@ -1461,17 +1461,6 @@ static bool lim_update_sta_ds(struct mac_context *mac_ctx, tpSirMacMgmtHdr hdr,
 	sta_ds->mlmStaContext.listenInterval = assoc_req->listenInterval;
 	sta_ds->mlmStaContext.capabilityInfo = assoc_req->capabilityInfo;
 
-	/*
-	 * The following count will be used to knock-off the station if it
-	 * doesn't come back to receive the buffered data. The AP will wait
-	 * for numTimSent number of beacons after sending TIM information for
-	 * the station, before assuming that the station is no more associated
-	 * and disassociates it
-	 */
-
-	/* Init the Current successful MPDU's tranfered to this STA count = 0 */
-	sta_ds->curTxMpduCnt = 0;
-
 	if (IS_DOT11_MODE_HT(session->dot11mode) &&
 	    assoc_req->HTCaps.present && assoc_req->wmeInfoPresent) {
 		sta_ds->htGreenfield = (uint8_t) assoc_req->HTCaps.greenField;