Browse Source

qcacld-3.0: Remove struct ndp_peer_node

Change I12a1d0cf37db22ff0bcb8165cb3f6b3847f8bf5b ("qcacld-3.0: Add
interface changes for supporting NAN data path") introduced struct
ndp_peer_node, but did not actually add code which uses it. Since
this struct is unused, remove it.

Change-Id: I36b333287de19e42855a596d25ba489e9cfb3241
CRs-Fixed: 2374293
Jeff Johnson 6 years ago
parent
commit
81575a6cf8
1 changed files with 0 additions and 67 deletions
  1. 0 67
      core/mac/src/pe/nan/nan_datapath.h

+ 0 - 67
core/mac/src/pe/nan/nan_datapath.h

@@ -33,73 +33,6 @@
 
 struct peer_nan_datapath_map;
 
-/**
- * struct ndp_peer_node - structure for holding per-peer context
- * @next: pointer to the next peer
- * @peer_mac_addr: peer mac address
- * @ext_rates_present: extended rates supported
- * @edca_present: edca supported
- * @wme_edca_present: WME EDCA supported
- * @wme_info_present: WME info supported
- * @ht_capable: HT capable
- * @vht_capable: VHT capabale
- * @ht_sec_chan_offset: HT secondary channel offset
- * @capability_info: Generic capability info
- * @supported_rates: Supported rates
- * @extended_rates: Supported extended rates
- * @supported_mcs_rate: Supported MCS rates
- * @edca_params: EDCA parameters
- * @erp_ie_present: ERP IE supported
- * @ht_green_field: HT green field supported
- * @ht_shortGI_40Mhz; 40 MHZ short GI support
- * @ht_shortGI_20Mhz; 20 MHZ short GI support
- * @ht_mimo_ps_state: MIMO power state
- * @ht_ampdu_density: AMPDU density
- * @ht_max_rxampdu_factor: receieve AMPDU factor
- * @ht_max_amsdu_len: Max AMSDU length supported
- * @ht_supp_chan_widthset: Supported channel widthset
- * @ht_ldpc_capable: LDPC capable
- * @heartbeat_failure: heart beat failure indication flag
- * @vht_caps: VHT capability
- * @vht_supp_chanwidth_set: VHT supported channel width
- * @vht_beamformer_capable: Beam former capable
- */
-struct ndp_peer_node {
-	struct ndp_peer_node *next;
-	struct qdf_mac_addr peer_mac_addr;
-	uint8_t ext_rates_present;
-	uint8_t edca_present;
-	uint8_t wme_edca_present;
-	uint8_t wme_info_present;
-	uint8_t ht_capable;
-	uint8_t vht_capable;
-	uint8_t ht_sec_chan_offset;
-	tSirMacCapabilityInfo    capability_info;
-	tSirMacRateSet           supported_rates;
-	tSirMacRateSet           extended_rates;
-	uint8_t supported_mcs_rate[SIZE_OF_SUPPORTED_MCS_SET];
-	tSirMacEdcaParamSetIE    edca_params;
-	uint8_t erp_ie_present;
-	uint8_t ht_green_field;
-	uint8_t ht_shortGI_40Mhz;
-	uint8_t ht_shortGI_20Mhz;
-	/* MIMO Power Save */
-	tSirMacHTMIMOPowerSaveState ht_mimo_ps_state;
-	uint8_t ht_ampdu_density;
-	/* Maximum Rx A-MPDU factor */
-	uint8_t ht_max_rxampdu_factor;
-	uint8_t ht_max_amsdu_len;
-	uint8_t ht_supp_chan_widthset;
-	uint8_t ht_ldpc_capable;
-	uint8_t heartbeat_failure;
-
-#ifdef WLAN_FEATURE_11AC
-	tDot11fIEVHTCaps vht_caps;
-	uint8_t vht_supp_chanwidth_set;
-	uint8_t vht_beamformer_capable;
-#endif
-};
-
 void lim_process_ndi_mlm_add_bss_rsp(struct mac_context *mac_ctx,
 				     struct scheduler_msg *lim_msg_q,
 				     struct pe_session *session_entry);