qcacmn: Initial changes for york bring-up in umac layer

Add device Id and target type checks for qcn9160 target
compilation.

Change-Id: I2a26e1c45c61630594efd86466f19ea04300939f
CRs-Fixed: 3282641
This commit is contained in:
Kannan Saravanan
2022-09-29 07:49:59 +05:30
committed by Madan Koyyalamudi
부모 04a752e875
커밋 38f0453c6d
4개의 변경된 파일9개의 추가작업 그리고 2개의 파일을 삭제

파일 보기

@@ -345,10 +345,12 @@ bool utils_dfs_is_spruce_spur_war_applicable(struct wlan_objmgr_pdev *pdev)
target_type = lmac_get_target_type(dfs->dfs_pdev_obj);
/* Is the target Spruce? */
if (!tgt_tx_ops->tgt_is_tgt_type_qcn6122)
if (!tgt_tx_ops->tgt_is_tgt_type_qcn6122 ||
!tgt_tx_ops->tgt_is_tgt_type_qcn9160)
return false;
if (!tgt_tx_ops->tgt_is_tgt_type_qcn6122(target_type))
if (!tgt_tx_ops->tgt_is_tgt_type_qcn6122(target_type) ||
!tgt_tx_ops->tgt_is_tgt_type_qcn9160(target_type))
return false;
cur_freq = dfs->dfs_curchan->dfs_ch_freq;