Przeglądaj źródła

qcacld-3.0: Fix to populate Direct sequence param IE for 5G band

Ideally driver shouldn't populate DS param for 5G connection but
considering emulation platform limitation, allow DS param IE to
get populated correctly for 5G connection.

Change-Id: I088f411dca6924a6300c98bafb3d52e7a9c4525b
CRs-Fixed: 2006610
Ankit Gupta 8 lat temu
rodzic
commit
b2f3650b8a

+ 2 - 2
core/mac/src/sys/legacy/src/utils/src/parser_api.c

@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2012-2016 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2012-2017 The Linux Foundation. All rights reserved.
  *
  *
  * Previously licensed under the ISC license by Qualcomm Atheros, Inc.
  * Previously licensed under the ISC license by Qualcomm Atheros, Inc.
  *
  *
@@ -419,7 +419,7 @@ populate_dot11f_country(tpAniSirGlobal pMac,
 	return eSIR_SUCCESS;
 	return eSIR_SUCCESS;
 } /* End populate_dot11f_country. */
 } /* End populate_dot11f_country. */
 
 
-#ifdef QCA_WIFI_3_0_EMU
+#if defined(QCA_WIFI_3_0_EMU) || defined(QCA_WIFI_NAPIER_EMULATION)
 /**
 /**
  * populate_dot11f_ds_params() - To populate DS IE params
  * populate_dot11f_ds_params() - To populate DS IE params
  * mac_ctx: Pointer to global mac context
  * mac_ctx: Pointer to global mac context