qcacmn: Define rp_rssithresh for QCN7605 chip to different value

In dfs test mode, bandwidth detection test on dfs channel fails
with QCN7605 chip, reason is some pulses will be discarded due to
low rssi reported on some frequency channel, it's different halphy
design for QCN7605 chip, so need to define rp_rssithresh for QCN7605
chip to different value.

Fix is define rp_rssithresh for QCN7605 chip to different value for
FCC/ETSI/JP W56 table which are used for dfs certification.

Change-Id: I9132cf82e6d8d97f83ebb4cd8586f8d8ff48066e
CRs-Fixed: 2986947
This commit is contained in:
Huashan Qu
2021-08-19 18:20:41 +08:00
committed by Madan Koyyalamudi
parent 50e7e5c6ae
commit 77f09f7272
5 changed files with 198 additions and 13 deletions

View File

@@ -551,6 +551,14 @@ bool target_is_tgt_type_qcn9000(uint32_t target_type);
*/
bool target_is_tgt_type_qcn6122(uint32_t target_type);
/**
* target_is_tgt_type_qcn7605() - Check if the target type is QCN7605
* @target_type: target type to be checked.
*
* Return: true if the target_type is QCN7605, else false.
*/
bool target_is_tgt_type_qcn7605(uint32_t target_type);
/**
* target_psoc_set_wlan_init_status() - set info wlan_init_status
* @psoc_info: pointer to structure target_psoc_info

View File

@@ -417,6 +417,9 @@ static void target_if_target_tx_ops_register(
target_tx_ops->tgt_is_tgt_type_qcn6122 =
target_is_tgt_type_qcn6122;
target_tx_ops->tgt_is_tgt_type_qcn7605 =
target_is_tgt_type_qcn7605;
target_tx_ops->tgt_get_tgt_type =
lmac_get_tgt_type;
@@ -726,6 +729,11 @@ bool target_is_tgt_type_qcn6122(uint32_t target_type)
return target_type == TARGET_TYPE_QCN6122;
}
bool target_is_tgt_type_qcn7605(uint32_t target_type)
{
return target_type == TARGET_TYPE_QCN7605;
}
QDF_STATUS
target_pdev_is_scan_radio_supported(struct wlan_objmgr_pdev *pdev,
bool *is_scan_radio_supported)