qcacmn: Find radar found frequency for 11BE Chipset
The "wmi_pdev_dfs_radar_detection_event" has an unused field "chan_freq". It currently holds the value of primary 20MHz channel. With the introduction of 11BE chipsets, this field is changed to hold the value of the center frequency of the channel width on which the radar is found. This new change is indicated by a wmi service "wmi_is_radar_found_chan_freq_eq_center_freq". For the Chipsets that support this service, the radar found frequency can be calculated by mere addition of the fields "chan_freq" and "freq_offset" field. Change-Id: I8d2ce0023e2feb6e749ca8d7d5f547fafc0fdf98
Šī revīzija ir iekļauta:

revīziju iesūtīja
Madan Koyyalamudi

vecāks
47c8c541c2
revīzija
350da55314
@@ -471,6 +471,20 @@ QDF_STATUS wlan_dfs_pdev_obj_create_notification(struct wlan_objmgr_pdev *pdev,
|
||||
dfs->dfs_is_offload_enabled = dfs_tx_ops->dfs_is_tgt_offload(psoc);
|
||||
dfs_info(dfs, WLAN_DEBUG_DFS_ALWAYS, "dfs_offload %d",
|
||||
dfs->dfs_is_offload_enabled);
|
||||
|
||||
if (!dfs_tx_ops->dfs_is_tgt_radar_found_chan_freq_eq_center_freq) {
|
||||
dfs_err(dfs, WLAN_DEBUG_DFS_ALWAYS,
|
||||
"dfs_is_radar_found_chan_freq_eq_center_freq is null");
|
||||
dfs_destroy_object(dfs);
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
dfs->dfs_is_radar_found_chan_freq_eq_center_freq =
|
||||
dfs_tx_ops->dfs_is_tgt_radar_found_chan_freq_eq_center_freq(psoc);
|
||||
dfs_info(dfs, WLAN_DEBUG_DFS,
|
||||
"dfs_is_radar_found_chan_freq_eq_center_freq %d",
|
||||
dfs->dfs_is_radar_found_chan_freq_eq_center_freq);
|
||||
|
||||
dfs_soc_obj = wlan_objmgr_psoc_get_comp_private_obj(psoc,
|
||||
WLAN_UMAC_COMP_DFS);
|
||||
dfs->dfs_soc_obj = dfs_soc_obj;
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user