소스 검색

qca-wifi: Reset the picked agile channel if it is an excluded channel

While selecting a channel for aDFS, the current channel(s) are skipped
for preCAC (since they are CACed by the primary detector).

If no other channels are found and if the current channel
is the last in the preCAC list, aDFS is started on this channel.
This is because, the channel variable defined in the API locally
is not reset if it is an invalid channel.

Reset the agile channel at the end of the loop if it is one of the
excluded (current) channel.

Change-Id: I48cbfc3c511c05bed86b60eb9e2ca22f9b8e0362
CRs-Fixed: 2515324
Vignesh Mohan 5 년 전
부모
커밋
46d8993c09
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      umac/dfs/core/src/misc/dfs_zero_cac.c

+ 1 - 0
umac/dfs/core/src/misc/dfs_zero_cac.c

@@ -1625,6 +1625,7 @@ uint8_t dfs_get_ieeechan_for_precac(struct wlan_dfs *dfs,
 			    (ieee_chan != exclude_pri_ch_ieee) &&
 			    (ieee_chan != exclude_sec_ch_ieee))
 				break;
+			ieee_chan = 0;
 		}
 	}
 	PRECAC_LIST_UNLOCK(dfs);