Граф коммитов

7 Коммитов

Автор SHA1 Сообщение Дата
Sandeep Singh
9c8339eabe icnss2: Add code to pass device configs to wlan host driver
Add code to pass device configs to wlan host driver.

Change-Id: I977fc564914f9fbdabc0004eff4c5c2f14a1fc7c
Signed-off-by: Sandeep Singh <quic_sandsing@quicinc.com>
2022-03-22 22:35:22 -07:00
Sandeep Singh
3974704e22 icnss2: Remove vbatt feature code from icnss2
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>
2022-03-22 18:47:20 -07:00
Naman Padhiar
09128bd57d icnss2: Properly handle ramdump device creation failure
Check return value from function and handle it properly.

Change-Id: I8016f2a63d3d951e3ee0557397cbb80b9c51bebc
2022-03-17 09:15:48 +05:30
Naman Padhiar
8b84662a7d icnss2: Register early SSR notification for WPSS
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
2022-03-12 08:43:47 +05:30
Sandeep Singh
48c98ff79f icnss2: Add prefix in file path for adrastea targets
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
2022-03-10 10:55:49 +05:30
Naman Padhiar
7f324af0bf Check if FW_DOWN is reason for SOC_WAKE REQ timeout
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
2022-03-09 07:45:26 -08:00
Naman Padhiar
3983bc4503 wlan_platform: Bring initial files for ICNSS family drivers
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
2022-03-02 09:04:18 +05:30