Просмотр исходного кода

qcacld-3.0: Remove PEPreauthRespTimeout

Field PEPreauthRespTimeout in tCsr11rAssocNeighborInfo is initialized
but never read. Since this field is unused, remove it.

Change-Id: Ifb812d9fec695cf410a10bd40fb4ec97f0c41d16
CRs-Fixed: 2370958
Jeff Johnson 6 лет назад
Родитель
Сommit
d48f004cbe
2 измененных файлов с 0 добавлено и 5 удалено
  1. 0 2
      core/sme/inc/csr_neighbor_roam.h
  2. 0 3
      core/sme/src/csr/csr_neighbor_roam.c

+ 0 - 2
core/sme/inc/csr_neighbor_roam.h

@@ -82,7 +82,6 @@ typedef struct sCsrNeighborRoamBSSInfo {
 } tCsrNeighborRoamBSSInfo, *tpCsrNeighborRoamBSSInfo;
 
 #define CSR_NEIGHBOR_ROAM_REPORT_QUERY_TIMEOUT  1000       /* in milliseconds */
-#define CSR_NEIGHBOR_ROAM_PREAUTH_RSP_WAIT_MULTIPLIER   10 /* in milliseconds */
 /* Max number of MAC addresses with which the pre-auth was failed */
 #define MAX_NUM_PREAUTH_FAIL_LIST_ADDRESS          10
 #define MAX_BSS_IN_NEIGHBOR_RPT                    15
@@ -106,7 +105,6 @@ typedef struct sCsr11rAssocNeighborInfo {
 	uint8_t currentNeighborRptRetryNum;
 	tCsrPreauthFailListInfo preAuthFailList;
 	uint32_t neighborReportTimeout;
-	uint32_t PEPreauthRespTimeout;
 	uint8_t numPreAuthRetries;
 	tDblLinkList preAuthDoneList;   /* llist which consists/preauth nodes */
 	uint8_t numBssFromNeighborReport;

+ 0 - 3
core/sme/src/csr/csr_neighbor_roam.c

@@ -1185,9 +1185,6 @@ static QDF_STATUS csr_neighbor_roam_init11r_assoc_info(struct mac_context *mac)
 
 		pFTRoamInfo->neighborReportTimeout =
 			CSR_NEIGHBOR_ROAM_REPORT_QUERY_TIMEOUT;
-		pFTRoamInfo->PEPreauthRespTimeout =
-			CSR_NEIGHBOR_ROAM_PREAUTH_RSP_WAIT_MULTIPLIER *
-			pNeighborRoamInfo->cfgParams.neighborScanPeriod;
 		pFTRoamInfo->neighborRptPending = false;
 		pFTRoamInfo->preauthRspPending = false;