qcacmn: Update the "radarfound channel" print with correct offset

When sub-channel marking is enabled, radarfound freq is computed as
freq_center + freq_offset. Freq offset is obtained from
dfs->dfs_freq_offset variable which gets populated only for PO
(Partial Offload) chips and does not get populated for full offload chips.
Instead radar_found->freq_offset is used which gets populated with radar
freq_offset on all chips.

Change-Id: I138b1160a8b9d67801bd0852266c2e7139265c02
CRs-Fixed: 2383294
Dieser Commit ist enthalten in:
Priyadarshnee S
2019-02-19 17:01:59 +05:30
committet von nshrivas
Ursprung 45c6576e42
Commit c4080ec27b

Datei anzeigen

@@ -732,7 +732,7 @@ QDF_STATUS dfs_process_radar_ind(struct wlan_dfs *dfs,
}
dfs_compute_radar_found_cfreq(dfs, radar_found, &freq_center);
radarfound_freq = freq_center + dfs->dfs_freq_offset;
radarfound_freq = freq_center + radar_found->freq_offset;
if (radar_found->segment_id == SEG_ID_SECONDARY)
dfs_info(dfs, WLAN_DEBUG_DFS_ALWAYS,