瀏覽代碼

qcacld-3.0: Remove p2pNoA from struct pe_session

The p2pNoA member of struct pe_session is unused, so remove it. And
since this is the only usage of typedef tSirNoAParam, remove it as
well.

Change-Id: I323a595c38aee806c0dabbf3b70de22538385ec5
CRs-Fixed: 2422191
Jeff Johnson 6 年之前
父節點
當前提交
085583ae7a
共有 2 個文件被更改,包括 0 次插入12 次删除
  1. 0 11
      core/mac/inc/sir_api.h
  2. 0 1
      core/mac/src/pe/include/lim_session.h

+ 0 - 11
core/mac/inc/sir_api.h

@@ -2002,17 +2002,6 @@ typedef struct sSirSmeUnprotMgmtFrameInd {
 } tSirSmeUnprotMgmtFrameInd, *tpSirSmeUnprotMgmtFrameInd;
 #endif
 
-/* P2P Power Save Related */
-typedef struct sSirNoAParam {
-	uint8_t ctWindow:7;
-	uint8_t OppPS:1;
-	uint8_t count;
-	uint32_t duration;
-	uint32_t interval;
-	uint32_t singleNoADuration;
-	uint8_t psSelection;
-} tSirNoAParam, *tpSirNoAParam;
-
 #ifdef WLAN_FEATURE_EXTWOW_SUPPORT
 
 typedef enum ext_wow_type {

+ 0 - 1
core/mac/src/pe/include/lim_session.h

@@ -310,7 +310,6 @@ struct pe_session {
 #endif
 	bool isFastTransitionEnabled;
 	bool isFastRoamIniFeatureEnabled;
-	tSirNoAParam p2pNoA;
 	tSirP2PNoaAttr p2pGoPsUpdate;
 	uint32_t defaultAuthFailureTimeout;