6fc69546 | 21-May-2024 |
Yu Ouyang <quic_yuo@quicinc.com> |
cnss2: Restore HSP PCIe link speed to Gen2 after enum
Because HSP may meet pcie link issue if working on Gen3 speed, auto SPs decide to enum HSP using Gen1, and restore to Gen2 after enum. We will n
cnss2: Restore HSP PCIe link speed to Gen2 after enum
Because HSP may meet pcie link issue if working on Gen3 speed, auto SPs decide to enum HSP using Gen1, and restore to Gen2 after enum. We will not restore to default Gen3 speed.
Change-Id: I0d2a2189bcd55e2649d34e7a8d9c18ebbfab86f2 CRs-Fixed: 3821700
show more ...
|
0763e26d | 10-May-2024 |
Vishal Miskin <quic_vmiskin@quicinc.com> |
cnss2: Remove hardware secure disable feature for anorak61
Remove hardware secure disable feature for anorak61
Change-Id: I17e5cfeac5f66863292cdefbe605b446d1093b1b CRs-Fixed: 3815352 |
11b4ce58 | 11-Apr-2024 |
Yu Wang <quic_yyuwang@quicinc.com> |
cnss2: Add support for additional regulator
Add support for regulator: 3.3V M.2, to enable it based on the entry in device tree.
Change-Id: I4716b9ad6fb6d116342ef0aa9157989f9dfbf152 CRs-Fixed: 3795
cnss2: Add support for additional regulator
Add support for regulator: 3.3V M.2, to enable it based on the entry in device tree.
Change-Id: I4716b9ad6fb6d116342ef0aa9157989f9dfbf152 CRs-Fixed: 3795246
show more ...
|
92d5d3fa | 06-May-2024 |
Jayachandran Sreekumaran <quic_jsreekum@quicinc.com> |
cnss2: dump_enabled need to be checked before invoking qcom_dump
Dump_enabled need to be checked before invoking qcom_dump for pushing the Wlan FW dump to file system. Otherwise SSR gets stuck.
CRs
cnss2: dump_enabled need to be checked before invoking qcom_dump
Dump_enabled need to be checked before invoking qcom_dump for pushing the Wlan FW dump to file system. Otherwise SSR gets stuck.
CRs-Fixed: 3805707 Change-Id: I7bd5d0579f71c1b3fa88fc41cd274bc8f432dab5
show more ...
|
8ac79820 | 03-Apr-2024 |
Vishal Miskin <quic_vmiskin@quicinc.com> |
cnss2: enable cnss2 for anorak target
- Add defconfigs for consoilidated and GKI variants. - Add anorak target to wlan bazel config.
Change-Id: Ic5b4e156b6af63e5b46217fa9e917929c1521294 CRs-Fixed:
cnss2: enable cnss2 for anorak target
- Add defconfigs for consoilidated and GKI variants. - Add anorak target to wlan bazel config.
Change-Id: Ic5b4e156b6af63e5b46217fa9e917929c1521294 CRs-Fixed: 3792481
show more ...
|
0500077d | 24-Apr-2024 |
Yu Wang <quic_yyuwang@quicinc.com> |
cnss2: modify return value of API for resuming PCIe bus
PCI bus resuming should be treated as fail once MHI resume fails, to avoid the following operations those depend on the result.
Change-Id: If
cnss2: modify return value of API for resuming PCIe bus
PCI bus resuming should be treated as fail once MHI resume fails, to avoid the following operations those depend on the result.
Change-Id: If3d21abf95cc2816bf6c34cb950ff430eee022d3 CRs-Fixed: 3795957
show more ...
|
085c1c47 | 05-Apr-2024 |
Nirav Shah <quic_nnshah@quicinc.com> |
cnss2: Add support for async data QMI indication
Add support for async data QMI indication from firmware.
Change-Id: I957e5b219d19f7a531dd25133a05da64857d068d CRs-Fixed: 3782100 |
e2eff914 | 03-Apr-2024 |
Yu Ouyang <quic_yuo@quicinc.com> |
cnss2: Avoid to call NULL plat_env
For dual chip solution, first chip may fail to probe because of pcie driver is not ready. During second chip probing, first chip may retry to probe. So, second chi
cnss2: Avoid to call NULL plat_env
For dual chip solution, first chip may fail to probe because of pcie driver is not ready. During second chip probing, first chip may retry to probe. So, second chip may set/get plat_env[0], first chip may set/get plat_env[1].
If sencond chip not attached, plat_env[0] will be cleaned. When cnss_pci_probe() is called by first chip, cnss_get_plat_priv_by_rc_num() will call plat_env[0]. However it is already NULL.
Change-Id: Ib959b1a524bf777fc6a826b2771611cb28b8cb99 CRs-Fixed: 3778085
show more ...
|
ab727e34 | 27-Mar-2024 |
Lin Bai <quic_lbai@quicinc.com> |
cnss2: Fix compilation failure due to u64 print format
Use %llx instead of %lx for u64 print.
Change-Id: Icf6a310a128264c09db8567f53372590cae0e81f CRs-Fixed: 3754364 |
b6c97a41 | 08-Jan-2024 |
Yu Wang <quic_yyuwang@quicinc.com> |
cnss2: refine the code for AOP configuration
The Mbox interface requires structure 'qmp_pkt' which is defined only when kernel config CONFIG_MSM_QMP is enabled, so add conditional compilation for th
cnss2: refine the code for AOP configuration
The Mbox interface requires structure 'qmp_pkt' which is defined only when kernel config CONFIG_MSM_QMP is enabled, so add conditional compilation for these interfaces (controlled by config CONFIG_MSM_QMP). While at the same time, qmp_get/qmp_put/qmp_send are controlled by kernel config CONFIG_QCOM_AOSS_QMP, but they are defined even when CONFIG_QCOM_AOSS_QMP is disabled, so conditional compilation is not needed.
Change-Id: I0f793ae3661fb901edc857af0b1d4191d7c113f8 CRs-Fixed: 3712102
show more ...
|
6d219d7a | 26-Mar-2024 |
Yu Wang <quic_yyuwang@quicinc.com> |
cnss2: modify the checking for Secure HW feature disabled case
qcom_smem_get() returns 'ERR_PTR(ENODEV)' when Secure HW feature is not enabled (related kernel config: CONFIG_QCOM_SMEM), add the chec
cnss2: modify the checking for Secure HW feature disabled case
qcom_smem_get() returns 'ERR_PTR(ENODEV)' when Secure HW feature is not enabled (related kernel config: CONFIG_QCOM_SMEM), add the checking for this case.
Change-Id: Id3c6f8407a4eb4bc2124014503cc50bb99e90235 CRs-Fixed: 3769852
show more ...
|
f554c1a9 | 05-Jan-2024 |
Yu Wang <quic_yyuwang@quicinc.com> |
cnss2: Add wrapper to get SoC info before registering MHI controller
Add wrapper __cnss_get_mhi_soc_info() to get SoC info before registering MHI controller. It calls mhi_get_soc_info() if downstrea
cnss2: Add wrapper to get SoC info before registering MHI controller
Add wrapper __cnss_get_mhi_soc_info() to get SoC info before registering MHI controller. It calls mhi_get_soc_info() if downstream MHI bus driver is enabled(CONFIG_MHI_BUS_MISC is enabled), while reads register for SoC hardware version directly if not.
Change-Id: I97e53bf0a7e28b2b1027d8de5eaf9fc82bcd5cee CRs-Fixed: 3712133
show more ...
|
05dba07d | 21-Mar-2024 |
Yu Ouyang <quic_yuo@quicinc.com> |
Revert "cnss2: restore to gen2 speed for qca6490"
This reverts commit I55d554c4dc7d01ed82fffe79f666b340b1004765. Default RC speed should be restored, shouldn't be restored to Gen2.
Change-Id: I2336
Revert "cnss2: restore to gen2 speed for qca6490"
This reverts commit I55d554c4dc7d01ed82fffe79f666b340b1004765. Default RC speed should be restored, shouldn't be restored to Gen2.
Change-Id: I23369aea1391c9e20c7aabe10506a7c9c37a4ba7 CRs-Fixed: 3702776
show more ...
|
7b9d7b46 | 08-Mar-2024 |
Lin Bai <quic_lbai@quicinc.com> |
cnss2: Add chip serial id in wlfw cap resp
Add support to handle chip serial number in wlfw cap respone message.
Change-Id: Icf6a310a127264c09db8567f53372590cae0e81f CRs-Fixed: 3754364 |
d346d958 | 06-Mar-2024 |
Prateek Patil <quic_pratpati@quicinc.com> |
cnss2: Add usage for debug interfaces
The below debug interface usages are added: 1. assert_host_sol 2. deassert_host_sol 3. dev_check 4. dev_enable
Change-Id: I42aaca7f90239d67bb0c9317b5651751cec5
cnss2: Add usage for debug interfaces
The below debug interface usages are added: 1. assert_host_sol 2. deassert_host_sol 3. dev_check 4. dev_enable
Change-Id: I42aaca7f90239d67bb0c9317b5651751cec5f236 CRs-Fixed: 3758776
show more ...
|
e488d6bd | 11-Jan-2024 |
Yeshwanth Sriram Guntuka <quic_ysriramg@quicinc.com> |
cnss2: Add support to determine Audio shared IOMMU group
Add support to determine if CNSS and Audio share IOMMU group and do iommu_map/unmap only in the case of distinct iommu groups for direct link
cnss2: Add support to determine Audio shared IOMMU group
Add support to determine if CNSS and Audio share IOMMU group and do iommu_map/unmap only in the case of distinct iommu groups for direct link datapath.
CRs-Fixed: 3714345 Change-Id: I6134e9d732052fd492e0f20d538e86ba96c14c4d
show more ...
|
fbe33f42 | 26-Jan-2024 |
Jia Ding <quic_jiad@quicinc.com> |
cnss2: Fix potential TME NULL pointer dereference
Fix potential NULL pointer dereference for tme_lite_mem and tme_opt_file_mem, which are captured by static analysis tool.
Change-Id: Ib2540669c55e7
cnss2: Fix potential TME NULL pointer dereference
Fix potential NULL pointer dereference for tme_lite_mem and tme_opt_file_mem, which are captured by static analysis tool.
Change-Id: Ib2540669c55e771598dd21d8c2ae3eb297ffa67f CRs-Fixed: 3716873
show more ...
|
36aaccd8 | 08-Feb-2024 |
Naman Padhiar <quic_npadhiar@quicinc.com> |
cnss2: Clear DRV last connected flag at right place
DRV last connected flag is cleared based on return from host driver runtime_resume callback. In host triggered SSR case runtime_resume callback re
cnss2: Clear DRV last connected flag at right place
DRV last connected flag is cleared based on return from host driver runtime_resume callback. In host triggered SSR case runtime_resume callback return success without actually resuming the bus and clearing DRV last connected flag. When CNSS driver actually tries to resume the bus, based on DRV last connected flag it calls MHI resume instead of MHI DRV resume and fail to resume the bus. Bus resume failure results in MHI driver go to bad state and fail to trigger RDDM in device using SYS_ERR. Fix this issue by clearing DRV last connected flag only after bus resume is success.
Change-Id: Ia904f6965c2a2cbe0a483cf02ced91a09775ca62 CRs-Fixed: 3720847
show more ...
|
8f703674 | 07-Feb-2024 |
Naman Padhiar <quic_npadhiar@quicinc.com> |
cnss2: Start Device RDDM timer after Host REQ
For the cases where SOL is not enabled, Host REQ reset will be used for second RDDM entry. If Host REQ reset is success, start RDDM timer to wait for RD
cnss2: Start Device RDDM timer after Host REQ
For the cases where SOL is not enabled, Host REQ reset will be used for second RDDM entry. If Host REQ reset is success, start RDDM timer to wait for RDDM status callback from MHI. If RDDM timer get timedout read EE register to check for RDDM state and schedule recovery.
Change-Id: I34253526ff4b20aedf8ab8f1f49831f68a3e0a35 CRs-Fixed: 3727389
show more ...
|
e38803e8 | 04-Feb-2024 |
Naman Padhiar <quic_npadhiar@quicinc.com> |
Revert "cnss2: loads different fw binary per running mode"
This reverts Change-Id I848309440fdffd6517463e18190c03c1b7ed9269.
Reason for revert: Separate FW Binary not required
Change-Id: Ib694d389
Revert "cnss2: loads different fw binary per running mode"
This reverts Change-Id I848309440fdffd6517463e18190c03c1b7ed9269.
Reason for revert: Separate FW Binary not required
Change-Id: Ib694d38922f81895ce6bc01f4e38f95813625730 CRs-Fixed: 3726340
show more ...
|
0df07c1e | 17-Jan-2024 |
Karthik Kantamneni <quic_vkantamn@quicinc.com> |
cnss2: Add API to get Audio dev direct link cap
Currently cnss_get_fw_cap is checking both FW and Audio cap to enable direct link, add new API to check audio node available for direct link. So that
cnss2: Add API to get Audio dev direct link cap
Currently cnss_get_fw_cap is checking both FW and Audio cap to enable direct link, add new API to check audio node available for direct link. So that this API can be queried when direct link is being used.
Change-Id: Ic2032b338da74021f2b6c483c9480f185554f2d5 CRs-Fixed: 3711887
show more ...
|
87ab436e | 12-Jan-2024 |
Naman Padhiar <quic_npadhiar@quicinc.com> |
icnss2: Enable Support for WFC call TWT config
Update icnss2 driver to support WFC call TWT config params exchange between IMS and WLAN firmware.
Change-Id: Ib565019c0b51db3cc3def8a994094eeeed7a701
icnss2: Enable Support for WFC call TWT config
Update icnss2 driver to support WFC call TWT config params exchange between IMS and WLAN firmware.
Change-Id: Ib565019c0b51db3cc3def8a994094eeeed7a701a CRs-Fixed: 3710947
show more ...
|
b718fd71 | 11-Jan-2024 |
Huashan Qu <quic_hqu@quicinc.com> |
cnss2: Print address range for minidump region
Print address range for minidump region when CONFIG_QCOM_MINIDUMP is not enabled.
Change-Id: I7d162bf4b7a057d806df07eda47740bf2471ba1b CRs-Fixed: 3704
cnss2: Print address range for minidump region
Print address range for minidump region when CONFIG_QCOM_MINIDUMP is not enabled.
Change-Id: I7d162bf4b7a057d806df07eda47740bf2471ba1b CRs-Fixed: 3704383
show more ...
|
f140232c | 11-Aug-2023 |
Naman Padhiar <quic_npadhiar@quicinc.com> |
cnss2: Fix DEV SOL interrupt issue
Fix misfiring of DEV SOL interrupt during enable_irq(). Ignore DEV SOL interrupt in case of device power off as it is expected as part of off sequence. In case of
cnss2: Fix DEV SOL interrupt issue
Fix misfiring of DEV SOL interrupt during enable_irq(). Ignore DEV SOL interrupt in case of device power off as it is expected as part of off sequence. In case of HOST triggered recovery, CNSS driver tries to put device to RDDM first using MHI_SYS_ERR and HOST_RESET_REQUEST if MHI_SYS_ERR fails. With SOL enable, replace HOST_RESET_REQUEST with HOST_SOL.
Change-Id: I90c1a2dbd68c4c9c2e56d87dd1304a6ab0db53eb CRs-Fixed: 3590408
show more ...
|
c532da94 | 14-Dec-2023 |
Alan Z. Chen <quic_alache@quicinc.com> |
cnss2: Remove DIAG related MHI channel configuration for Peach
As DIAG is now deprecated on Peach chipset onwards, create a new MHI config struct that removes DIAG related channel configuration. The
cnss2: Remove DIAG related MHI channel configuration for Peach
As DIAG is now deprecated on Peach chipset onwards, create a new MHI config struct that removes DIAG related channel configuration. Then, register this new struct for peach chipset onwards.
Change-Id: I1ba1cadaa0d1a022d6c9af6d8ff14942d4f219cf CRs-Fixed: 3684700
show more ...
|