cnss2: Support dual wlan cards managed by cnss2 platform driver
Currently, the cnss2 platform driver just can support one wlan device attached, so do the following changes to cover dual wlan card attach case. Firstly, delay the second device go to pcie link suspend and power off state to make sure it really finished the pcie enumeration. Then pcie enumeration succeeds with multi-devices. Secondly, supporting to write the qrtr node instance id to PCIE register for wlan fw reading, which can fix qmi message exchange failure if active two Hastings devices. Thirdly, change the usage of plat_env to support dual Hastings. Change-Id: Ica41a23d4e983b91c0ff1b4e76b380803fb877ab
Este commit está contenido en:
@@ -124,6 +124,7 @@
|
||||
#define QCA6390_PCIE_SOC_PCIE_WRAP_INTR_STATUS_SOC_PCIE_REG 0x1E04058
|
||||
#define QCA6390_PCIE_SOC_COMMIT_REPLAY_SOC_PCIE_REG 0x01E05090
|
||||
#define PEACH_PCIE_SOC_COMMIT_REPLAY_SOC_PCIE_REG 0x01E01100
|
||||
#define QCA6390_PCIE_SOC_PCIE_REG_PCIE_SCRATCH_2_SOC_PCIE_REG 0x01E0405C
|
||||
#define QCA6390_PCIE_PCIE_PARF_LTSSM 0x01E081B0
|
||||
#define QCA6390_PCIE_PCIE_PARF_PM_STTS 0x01E08024
|
||||
#define QCA6390_PCIE_PCIE_PARF_PM_STTS_1 0x01E08028
|
||||
|
Referencia en una nueva incidencia
Block a user