OSDN Git Service

ath10k: add WCN3990 target type and hw version
authorGovind Singh <govinds@codeaurora.org>
Mon, 9 Jan 2017 11:41:14 +0000 (17:11 +0530)
committerGovind Singh <govinds@codeaurora.org>
Sat, 21 Jan 2017 09:07:47 +0000 (14:37 +0530)
Add new target type and hw version for WCN3990.

Change-Id: Iba891c8a25321d986d24120db8e0988f7df56dc5
Signed-off-by: Govind Singh <govinds@codeaurora.org>
drivers/net/wireless/ath/ath10k/core.h
drivers/net/wireless/ath/ath10k/debug.h
drivers/net/wireless/ath/ath10k/hw.h

index 521f1c5..375e3c6 100644 (file)
@@ -74,6 +74,7 @@ struct ath10k;
 enum ath10k_bus {
        ATH10K_BUS_PCI,
        ATH10K_BUS_AHB,
+       ATH10K_BUS_SNOC,
 };
 
 static inline const char *ath10k_bus_str(enum ath10k_bus bus)
@@ -83,6 +84,8 @@ static inline const char *ath10k_bus_str(enum ath10k_bus bus)
                return "pci";
        case ATH10K_BUS_AHB:
                return "ahb";
+       case ATH10K_BUS_SNOC:
+               return "snoc";
        }
 
        return "unknown";
index c458fa9..b1db01a 100644 (file)
@@ -38,6 +38,7 @@ enum ath10k_debug_mask {
        ATH10K_DBG_WMI_PRINT    = 0x00002000,
        ATH10K_DBG_PCI_PS       = 0x00004000,
        ATH10K_DBG_AHB          = 0x00008000,
+       ATH10K_DBG_SNOC         = 0x00009000,
        ATH10K_DBG_ANY          = 0xffffffff,
 };
 
index 6038b74..7e12291 100644 (file)
@@ -224,6 +224,7 @@ enum ath10k_hw_rev {
        ATH10K_HW_QCA9377,
        ATH10K_HW_QCA4019,
        ATH10K_HW_QCA9887,
+       ATH10K_HW_WCN3990,
 };
 
 struct ath10k_hw_regs {