Prechádzať zdrojové kódy

qcacld-3.0: Enable QCA_GET_TSF_VIA_REG for kiwi_v2

Enable feature to get TSF timestamp by reading scratch registers instead
of getting it via WMI.

Change-Id: If910b54b3c56499af0967312cbcc4654e09b43fe
CRs-Fixed: 3287540
Amit Mehta 2 rokov pred
rodič
commit
ce75c0c4f0
2 zmenil súbory, kde vykonal 5 pridanie a 0 odobranie
  1. 2 0
      Kbuild
  2. 3 0
      configs/kiwi_v2_defconfig

+ 2 - 0
Kbuild

@@ -3987,6 +3987,8 @@ cppflags-$(CONFIG_DP_FEATURE_HW_COOKIE_CONVERSION) += -DDP_FEATURE_HW_COOKIE_CON
 cppflags-$(CONFIG_DP_HW_COOKIE_CONVERT_EXCEPTION) += -DDP_HW_COOKIE_CONVERT_EXCEPTION
 cppflags-$(CONFIG_TX_ADDR_INDEX_SEARCH) += -DTX_ADDR_INDEX_SEARCH
 cppflags-$(CONFIG_QCA_SUPPORT_TX_MIN_RATES_FOR_SPECIAL_FRAMES) += -DQCA_SUPPORT_TX_MIN_RATES_FOR_SPECIAL_FRAMES
+cppflags-$(CONFIG_QCA_GET_TSF_VIA_REG) += -DQCA_GET_TSF_VIA_REG
+
 cppflags-$(CONFIG_RX_HASH_DEBUG) += -DRX_HASH_DEBUG
 cppflags-$(CONFIG_DP_PKT_STATS_PER_LMAC) += -DDP_PKT_STATS_PER_LMAC
 cppflags-$(CONFIG_NO_RX_PKT_HDR_TLV) += -DNO_RX_PKT_HDR_TLV

+ 3 - 0
configs/kiwi_v2_defconfig

@@ -39,3 +39,6 @@ CONFIG_DP_TRAFFIC_END_INDICATION := y
 
 #Enable Constrained Application Protocol feature
 CONFIG_WLAN_FEATURE_COAP := y
+
+#Enable TSF read using scratch register
+CONFIG_QCA_GET_TSF_VIA_REG := y