These channels are for MHI satellite driver to config and open
so that WLAN device can directly communicate with ADSP through
PCIe.
Change-Id: If91b847f40d6a71e09ba62cc1cdb370b76b4e05d
Consider a scenario where WPSS watchdog happens RPROC driver
gets interrupt and notified to GLINK layer(underlying layer
within QMI) now if ICNSS driver tries to send any QMI message
it will fail and ASSERTS. If ICNSS would have received legacy
SSR notifier it could have ignore ASSERT. But there is a race
where ICNSS sends QMI message between GLINK layer received
WPSS down and ICNSS receives WPSS down and ASSERT of QMI
failure cannot be avoided. To resolve this register early
SSR notifier from ICNSS which notifies about WPSS down to
ICNSS before GLINK. Based on that ICNSS can either avoid
sending QMI message or can ignore ASSERT.
Change-Id: Iada85a1bfff6ae420123afc5f86a738b662171fc
This change will add adrastea prefix in fw file path
of adreatea targets. This changes enables fw files
to be picked from /vendor/firmware_mnt/image/adrastea
path.
Change-Id: Ic0ce57b7a8db08e4bf55c8a493a1f1500d93c427
CRs-Fixed: 3140070
There is possiblity that after sending SOC_WAKE_REQ/RESP
SMP2P message WPSS might go down for some reason in that
case ACK for SOC_WAKE REQ/RESP from WPSS can never come
and request will get timedout and ICNSS asserts.To avoid
this, check if FW_DOWN is reason for SOC_WAKE REQ timeout
and avoid assert.
Change-Id: Id371d625b880847bf02392d0f722b58aa30fc2b2
There are some cases that device has entered RDDM mode, but RDDM
notification fails to reach driver. Hence when RDDM timeout happens,
do a last check to see if device is in RDDM mode. If yes, just wait
and collect the dump.
Change-Id: Ic7a6cc2d791277d166a9c4da1743be4e3f14e3af
MSM_DUMP_DATA_CNSS_WLAN not defined during compilation,
if CONFIG_QCOM_MEMORY_DUMP_V2 disabled.
To resolve it, also include memory_dump.h header as well,
when CONFIG_QCOM_MINIDUMP enabled.
Change-Id: I55fe3ccd606168fb48d6c3a129960f01f1f72a07
Bring ICNSS family drivers from msm-5.10 kernel as of commit
'cb298739ee51 ("icnss2: Download bdf file for helium targets")'
to WLAN platform project.
Updated wlan_firmware_service files and makefiles to support
ICNSS2 compilation.
Change-Id: I02cf792b61772f07ac0607be7bb6b3bfda7815e4
There are multiple subversions of one chip, platform driver needs check
chip version info that wlan driver provides to decide whether reject
this registration.
Change-Id: I43bc9cb0c20021a2add3e8e5f812d82c31f217f4
Always use default PCIe link width since it will not change for the
device at run time. Also avoid accessing the bus if preventing PCIe
L1 state fails.
Change-Id: Id6d55c47f4e60788a157f060a33f5fd6e52fef1b
qcom,drv-name is used to specify the DRV subsystem which will be used
in the target. Add the support to check it for DRV support as well.
Change-Id: If1c588f1a0b870e020466b1cb6d9ee8bedc87ef3
For some platforms there will be a fixed regulator (GPIO) to supply
sleep clock for WLAN device. Add that entry for power on regulator
list.
Change-Id: I93a44b2466603abc98de17bdbf09c9ddb44ec8ec
Add api to return the pci slot in use. With the new targets,
QCA6490/kiwi devices are getting attached on pci slot 1
as well, so host driver call this exported api to get the pci
slot of device attached.
Change-Id: Ief51204258090df16b48267f3aeb851ded365525
Support dev coredump feature if QC ramdump related features are
not present so that WLAN dump can be saved to file system using
userspace binary. Most of the logic here is referred from QC
ramdump driver.
Change-Id: I9a0966f66f3d7999948216a7b83f57beff1ef519
Update CNSS family drivers from msm-5.10 kernel as of commit
db1b2399e273 (Merge "cnss2: Increase power on retry delay")
to WLAN platform project. Also add proper copyright markings
for some files.
Change-Id: I03a10b929f5460f80a9b1f258df58e0c1a593598
Add default Makefile and Kbuild so that CNSS family drivers can be
built directly as kernel modules.
Change-Id: I36636613220a4859b07c0069d83f3d62d39bbec2
Use CONFIG_CNSS_OUT_OF_TREE to control if CNSS family drivers are
built from in-kernel-tree source or out-of-kernel-tree source since
the exposed header files will be in different paths. This is also
for backward compatibility.
Change-Id: I24111fdb76607bf911c29e415d42d25609f9b26c
Bring CNSS family drivers from msm-5.10 kernel as of commit
cc3bc4b888af (cnss2: Fix a few switch statement fallthrough
issues) to WLAN platform project. Fix SPDX-License format for
a few files as well.
drivers/net/wireless/cnss* -> .
include/net/cnss* -> inc/
Above shows how directories and header files are relocated.
Change-Id: If8fd40a35c9fdbeb1aa76a8aac5fdb1fc1c7e786