qcacmn: Initial changes for ipq9574 target compilation
Added device ID and target type checks for ipq9574 traget compilation. Change-Id: Ie337d1256f828987ed469a609c8fb74de2180dca
This commit is contained in:

committed by
Madan Koyyalamudi

parent
1db04afdb1
commit
00bcc8cbd3
@@ -2522,6 +2522,7 @@ target_if_spectral_len_adj_swar_init(struct spectral_fft_bin_len_adj_swar *swar,
|
||||
uint32_t target_type)
|
||||
{
|
||||
if (target_type == TARGET_TYPE_QCA8074V2 ||
|
||||
target_type == TARGET_TYPE_QCA9574 ||
|
||||
target_type == TARGET_TYPE_QCN9000 ||
|
||||
target_type == TARGET_TYPE_QCN6122 ||
|
||||
target_type == TARGET_TYPE_QCA5018 ||
|
||||
@@ -2537,6 +2538,7 @@ target_if_spectral_len_adj_swar_init(struct spectral_fft_bin_len_adj_swar *swar,
|
||||
|
||||
if (target_type == TARGET_TYPE_QCA8074 ||
|
||||
target_type == TARGET_TYPE_QCA8074V2 ||
|
||||
target_type == TARGET_TYPE_QCA9574 ||
|
||||
target_type == TARGET_TYPE_QCA6018 ||
|
||||
target_type == TARGET_TYPE_QCN6122 ||
|
||||
target_type == TARGET_TYPE_QCA5018 ||
|
||||
@@ -2549,7 +2551,8 @@ target_if_spectral_len_adj_swar_init(struct spectral_fft_bin_len_adj_swar *swar,
|
||||
swar->null_fftbin_adj = 0;
|
||||
}
|
||||
|
||||
if (target_type == TARGET_TYPE_QCA8074V2)
|
||||
if (target_type == TARGET_TYPE_QCA8074V2 ||
|
||||
target_type == TARGET_TYPE_QCA9574)
|
||||
swar->packmode_fftbin_size_adj = 1;
|
||||
else
|
||||
swar->packmode_fftbin_size_adj = 0;
|
||||
@@ -2743,6 +2746,7 @@ target_if_pdev_spectral_init(struct wlan_objmgr_pdev *pdev)
|
||||
|
||||
if (target_type == TARGET_TYPE_QCA8074 ||
|
||||
target_type == TARGET_TYPE_QCA8074V2 ||
|
||||
target_type == TARGET_TYPE_QCA9574 ||
|
||||
target_type == TARGET_TYPE_QCA6018 ||
|
||||
target_type == TARGET_TYPE_QCA5018 ||
|
||||
target_type == TARGET_TYPE_QCA6390 ||
|
||||
@@ -2758,6 +2762,7 @@ target_if_pdev_spectral_init(struct wlan_objmgr_pdev *pdev)
|
||||
|
||||
if ((target_type == TARGET_TYPE_QCA8074) ||
|
||||
(target_type == TARGET_TYPE_QCA8074V2) ||
|
||||
(target_type == TARGET_TYPE_QCA9574) ||
|
||||
(target_type == TARGET_TYPE_QCA6018) ||
|
||||
(target_type == TARGET_TYPE_QCA5018) ||
|
||||
(target_type == TARGET_TYPE_QCN6122) ||
|
||||
|
Reference in New Issue
Block a user