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
This commit is contained in:

committed by
nshrivas

parent
45c6576e42
commit
c4080ec27b
@@ -732,7 +732,7 @@ QDF_STATUS dfs_process_radar_ind(struct wlan_dfs *dfs,
|
|||||||
}
|
}
|
||||||
|
|
||||||
dfs_compute_radar_found_cfreq(dfs, radar_found, &freq_center);
|
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)
|
if (radar_found->segment_id == SEG_ID_SECONDARY)
|
||||||
dfs_info(dfs, WLAN_DEBUG_DFS_ALWAYS,
|
dfs_info(dfs, WLAN_DEBUG_DFS_ALWAYS,
|
||||||
|
Reference in New Issue
Block a user