|
@@ -1029,6 +1029,10 @@ target_is_scan_blanking_enabled(struct wlan_objmgr_pdev *pdev,
|
|
int32_t phy_id;
|
|
int32_t phy_id;
|
|
struct target_psoc_info *tgt_psoc_info;
|
|
struct target_psoc_info *tgt_psoc_info;
|
|
struct target_pdev_info *tgt_pdev;
|
|
struct target_pdev_info *tgt_pdev;
|
|
|
|
+ uint32_t target_type = TARGET_TYPE_UNKNOWN;
|
|
|
|
+ struct wlan_lmac_if_target_tx_ops *target_type_tx_ops;
|
|
|
|
+ struct wlan_lmac_if_tx_ops *tx_ops;
|
|
|
|
+
|
|
|
|
|
|
if (!blanking_en) {
|
|
if (!blanking_en) {
|
|
target_if_err("input argument is null");
|
|
target_if_err("input argument is null");
|
|
@@ -1053,6 +1057,21 @@ target_is_scan_blanking_enabled(struct wlan_objmgr_pdev *pdev,
|
|
return QDF_STATUS_E_NULL_VALUE;
|
|
return QDF_STATUS_E_NULL_VALUE;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ tx_ops = wlan_psoc_get_lmac_if_txops(psoc);
|
|
|
|
+ if (!tx_ops) {
|
|
|
|
+ target_if_err("tx_ops is null");
|
|
|
|
+ return QDF_STATUS_E_NULL_VALUE;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ target_type_tx_ops = &tx_ops->target_tx_ops;
|
|
|
|
+ if (target_type_tx_ops->tgt_get_tgt_type)
|
|
|
|
+ target_type = target_type_tx_ops->tgt_get_tgt_type(psoc);
|
|
|
|
+
|
|
|
|
+ if (target_type == TARGET_TYPE_AR9888) {
|
|
|
|
+ *blanking_en = false;
|
|
|
|
+ return QDF_STATUS_SUCCESS;
|
|
|
|
+ }
|
|
|
|
+
|
|
num_scan_radio_caps =
|
|
num_scan_radio_caps =
|
|
target_psoc_get_num_scan_radio_caps(tgt_psoc_info);
|
|
target_psoc_get_num_scan_radio_caps(tgt_psoc_info);
|
|
if (!num_scan_radio_caps) {
|
|
if (!num_scan_radio_caps) {
|