qcacmn: change qcn9100 to qcn6122 in target_if
Change the name of target type qcn9100 to qcn6122 target_if. Change-Id: Icfdcd2c8d872b5305687884b7d9186fb85274bd4 CRs-Fixed: 2849577
This commit is contained in:

committed by
snandini

父節點
d12f727152
當前提交
ff041723c7
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2019-2020 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2019-2021 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -374,7 +374,7 @@ target_if_cfr_init_pdev(struct wlan_objmgr_psoc *psoc,
|
||||
return cfr_wifi2_0_init_pdev(psoc, pdev);
|
||||
} else if ((target_type == TARGET_TYPE_QCA6018) ||
|
||||
(target_type == TARGET_TYPE_QCN9000) ||
|
||||
(target_type == TARGET_TYPE_QCN9100) ||
|
||||
(target_type == TARGET_TYPE_QCN6122) ||
|
||||
(target_type == TARGET_TYPE_QCA5018)) {
|
||||
pa->is_cfr_capable = cfr_sc->is_cfr_capable;
|
||||
return cfr_enh_init_pdev(psoc, pdev);
|
||||
@@ -404,7 +404,7 @@ target_if_cfr_deinit_pdev(struct wlan_objmgr_psoc *psoc,
|
||||
return cfr_wifi2_0_deinit_pdev(psoc, pdev);
|
||||
} else if ((target_type == TARGET_TYPE_QCA6018) ||
|
||||
(target_type == TARGET_TYPE_QCN9000) ||
|
||||
(target_type == TARGET_TYPE_QCN9100) ||
|
||||
(target_type == TARGET_TYPE_QCN6122) ||
|
||||
(target_type == TARGET_TYPE_QCA5018)) {
|
||||
return cfr_enh_deinit_pdev(psoc, pdev);
|
||||
} else
|
||||
|
@@ -547,7 +547,7 @@ static QDF_STATUS check_dma_length(struct look_up_table *lut,
|
||||
lut->payload_length <= PINE_MAX_DATA_LENGTH_BYTES) {
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
} else if (target_type == TARGET_TYPE_QCN9100) {
|
||||
} else if (target_type == TARGET_TYPE_QCN6122) {
|
||||
if (lut->header_length <= SPRUCE_MAX_HEADER_LENGTH_WORDS &&
|
||||
lut->payload_length <= SPRUCE_MAX_DATA_LENGTH_BYTES) {
|
||||
return QDF_STATUS_SUCCESS;
|
||||
@@ -1208,7 +1208,7 @@ static void enh_prepare_cfr_header_txstatus(wmi_cfr_peer_tx_event_param
|
||||
header->chip_type = CFR_CAPTURE_RADIO_PINE;
|
||||
else if (target_type == TARGET_TYPE_QCA5018)
|
||||
header->chip_type = CFR_CAPTURE_RADIO_MAPLE;
|
||||
else if (target_type == TARGET_TYPE_QCN9100)
|
||||
else if (target_type == TARGET_TYPE_QCN6122)
|
||||
header->chip_type = CFR_CAPTURE_RADIO_SPRUCE;
|
||||
else
|
||||
header->chip_type = CFR_CAPTURE_RADIO_CYP;
|
||||
@@ -1416,7 +1416,7 @@ target_if_peer_capture_event(ol_scn_t sc, uint8_t *data, uint32_t datalen)
|
||||
header->chip_type = CFR_CAPTURE_RADIO_PINE;
|
||||
else if (target_type == TARGET_TYPE_QCA5018)
|
||||
header->chip_type = CFR_CAPTURE_RADIO_MAPLE;
|
||||
else if (target_type == TARGET_TYPE_QCN9100)
|
||||
else if (target_type == TARGET_TYPE_QCN6122)
|
||||
header->chip_type = CFR_CAPTURE_RADIO_SPRUCE;
|
||||
else
|
||||
header->chip_type = CFR_CAPTURE_RADIO_CYP;
|
||||
@@ -1810,7 +1810,7 @@ QDF_STATUS cfr_enh_init_pdev(struct wlan_objmgr_psoc *psoc,
|
||||
pcfr->num_subbufs = STREAMFS_NUM_SUBBUF_MAPLE;
|
||||
pcfr->chip_type = CFR_CAPTURE_RADIO_MAPLE;
|
||||
pcfr->max_mu_users = MAPLE_CFR_MU_USERS;
|
||||
} else if (target_type == TARGET_TYPE_QCN9100) {
|
||||
} else if (target_type == TARGET_TYPE_QCN6122) {
|
||||
pcfr->subbuf_size = STREAMFS_MAX_SUBBUF_SPRUCE;
|
||||
pcfr->num_subbufs = STREAMFS_NUM_SUBBUF_SPRUCE;
|
||||
pcfr->chip_type = CFR_CAPTURE_RADIO_SPRUCE;
|
||||
|
Reference in New Issue
Block a user