qcacmn: Fix RADAR found on wrong channel
Problem 1: When HOST receives RADAR found indication from target on wrong channel ex: channel 68. Host does not add the channel to NOL, but calls random channel function to choose new channel. It leads to target assert and HOST crash. Solution 1: If channel is wrong, do not add it to NOL and do not call random channel function. Problem 2: When Host receives RADAR indication from target, HOST prints excess information. It floods the console log. Solution 2: Add debug bit mask for excess information. Change-Id: Ib367ee80705d6b789e4e6823682e2f3c3096c9d9 CRs-Fixed: 2148940
このコミットが含まれているのは:
@@ -647,7 +647,7 @@ QDF_STATUS utils_dfs_get_random_channel(
|
||||
|
||||
ch_params->center_freq_seg0 = cur_chan.dfs_ch_vhtop_ch_freq_seg1;
|
||||
ch_params->center_freq_seg1 = cur_chan.dfs_ch_vhtop_ch_freq_seg2;
|
||||
dfs_info(dfs, WLAN_DEBUG_DFS_ALWAYS,
|
||||
dfs_info(dfs, WLAN_DEBUG_DFS_RANDOM_CHAN,
|
||||
"input width=%d", ch_params->ch_width);
|
||||
|
||||
if (*target_chan) {
|
||||
@@ -657,7 +657,7 @@ QDF_STATUS utils_dfs_get_random_channel(
|
||||
status = QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
dfs_info(dfs, WLAN_DEBUG_DFS_ALWAYS,
|
||||
dfs_info(dfs, WLAN_DEBUG_DFS_RANDOM_CHAN,
|
||||
"ch=%d, seg0=%d, seg1=%d, width=%d",
|
||||
*target_chan, ch_params->center_freq_seg0,
|
||||
ch_params->center_freq_seg1, ch_params->ch_width);
|
||||
|
新しいイシューから参照
ユーザーをブロックする