mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
qcacmn: enable athdiag access for QCN7605
Currently, athdiag can't work with QCN7605. Thus made below change to make it work: 1. Skip pci address boundary check for QCN7605 as QCA6390. 2. Make QCN7605 access target memory via QMI. Change-Id: Ibfcccb57486c99d78c02e322c4e2ae1a7c8dab81 CRs-Fixed: 2653814
This commit is contained in:
parent
3142406ced
commit
5312595f75
2 changed files with 5 additions and 2 deletions
|
|
@ -88,7 +88,8 @@ static ssize_t ath_procfs_diag_read(struct file *file, char __user *buf,
|
|||
(tgt_info->target_type == TARGET_TYPE_QCA8074V2) ||
|
||||
(tgt_info->target_type == TARGET_TYPE_QCN9000) ||
|
||||
(tgt_info->target_type == TARGET_TYPE_QCA5018) ||
|
||||
(tgt_info->target_type == TARGET_TYPE_QCA6018))) ||
|
||||
(tgt_info->target_type == TARGET_TYPE_QCA6018) ||
|
||||
(tgt_info->target_type == TARGET_TYPE_QCN7605))) ||
|
||||
(scn->bus_type == QDF_BUS_TYPE_IPCI &&
|
||||
(tgt_info->target_type == TARGET_TYPE_QCA6750)) ||
|
||||
((scn->bus_type == QDF_BUS_TYPE_USB) &&
|
||||
|
|
@ -170,7 +171,8 @@ static ssize_t ath_procfs_diag_write(struct file *file,
|
|||
(tgt_info->target_type == TARGET_TYPE_QCA8074V2) ||
|
||||
(tgt_info->target_type == TARGET_TYPE_QCN9000) ||
|
||||
(tgt_info->target_type == TARGET_TYPE_QCA5018) ||
|
||||
(tgt_info->target_type == TARGET_TYPE_QCA6018))) ||
|
||||
(tgt_info->target_type == TARGET_TYPE_QCA6018) ||
|
||||
(tgt_info->target_type == TARGET_TYPE_QCN7605))) ||
|
||||
(scn->bus_type == QDF_BUS_TYPE_IPCI &&
|
||||
(tgt_info->target_type == TARGET_TYPE_QCA6750)) ||
|
||||
((scn->bus_type == QDF_BUS_TYPE_USB) &&
|
||||
|
|
|
|||
|
|
@ -4895,6 +4895,7 @@ int hif_pci_addr_in_boundary(struct hif_softc *scn, uint32_t offset)
|
|||
if (tgt_info->target_type == TARGET_TYPE_QCA6290 ||
|
||||
tgt_info->target_type == TARGET_TYPE_QCA6390 ||
|
||||
tgt_info->target_type == TARGET_TYPE_QCA6490 ||
|
||||
tgt_info->target_type == TARGET_TYPE_QCN7605 ||
|
||||
tgt_info->target_type == TARGET_TYPE_QCA8074) {
|
||||
/*
|
||||
* Need to consider offset's memtype for QCA6290/QCA8074,
|
||||
|
|
|
|||
Loading…
Reference in a new issue