Rproc_put should gets called only after rproc
subsys shutdown as it decreases refcount. Rproc_put
should not be called from icnss_remove as refcount should
not be decreased without incrementing it using rproc
get_by_phandle api.
Change-Id: I26dc83d9750e45726e9e59d33a75d4ff402caa62
Signed-off-by: Sandeep Singh <quic_sandsing@quicinc.com>
Soc wake feature is only required for wcn6750 device.
So, this change moves soc wake wq creation only for
wcn6750 device.
Change-Id: Ib564d8bfd10c98aad3595bb10e5a2660f9049f85
Signed-off-by: Sandeep Singh <quic_sandsing@quicinc.com>
Enable dms get mac address for wpss supported target.
This change enables get dms mac address for adrastea
targets where rproc wpss loading is supported.
Change-Id: I76e4ae46833afb1d1150c3757cb2fc2f87ede2ec
Signed-off-by: Sandeep Singh <quic_sandsing@quicinc.com>
This change removes vbatt feature code as adc tm
api's functionalities has been changed and no
longer supports vbatt feature.
Change-Id: I431c1dfe1a5529809fd7d68d1cb15632de3b801b
Signed-off-by: Sandeep Singh <quic_sandsing@quicinc.com>
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
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