qcacmn: Add CFR Pine support

Add CFR Pine support

Change-Id: Id81df0e3e36725e4fc15e92c1ac5a967cf4883f7
This commit is contained in:
Shwetha G K 2020-05-11 13:30:52 +05:30 • committed by nshrivas
commit 3b989e01df

View file

@ -266,7 +266,8 @@ int target_if_cfr_init_pdev(struct wlan_objmgr_psoc *psoc,
pa->is_cfr_capable = cfr_sc->is_cfr_capable;
return cfr_wifi2_0_init_pdev(psoc, pdev);
} else if (target_type == TARGET_TYPE_QCA6018) {
} else if ((target_type == TARGET_TYPE_QCA6018) ||
(target_type == TARGET_TYPE_QCN9000)) {
pa->is_cfr_capable = cfr_sc->is_cfr_capable;
return cfr_6018_init_pdev(psoc, pdev);
} else
@ -292,7 +293,8 @@ int target_if_cfr_deinit_pdev(struct wlan_objmgr_psoc *psoc,
(target_type == TARGET_TYPE_QCA9888)) {
return cfr_wifi2_0_deinit_pdev(psoc, pdev);
} else if (target_type == TARGET_TYPE_QCA6018) {
} else if ((target_type == TARGET_TYPE_QCA6018) ||
(target_type == TARGET_TYPE_QCN9000)) {
return cfr_6018_deinit_pdev(psoc, pdev);
} else
return QDF_STATUS_E_NOSUPPORT;