Selaa lähdekoodia

qca-wifi: Unmark PreCAC NOL based on 160MHz PreCAC tree

PreCAC NOL is unmarked based on the 80MHz center frequency. This is
wrong as the PreCAC tree, with the avilablity of full 160MHz Agile engine,
can have a root as high as 160MHz. This will lead to channel not picked
for PreCAC after NOL timeout.

PreCAC NOL should be unmarked based on the center frequency of
the root node's bandwidth.

CRs-Fixed: 2654993
Change-Id: Ie054d725c1b7a2fed47c9f294f3d71c4dd9e8ecb
Vignesh U 5 vuotta sitten
vanhempi
sitoutus
d72c581437
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      umac/dfs/core/src/misc/dfs_zero_cac.c

+ 2 - 2
umac/dfs/core/src/misc/dfs_zero_cac.c

@@ -1530,8 +1530,8 @@ void dfs_unmark_precac_nol_for_freq(struct wlan_dfs *dfs, uint16_t chan_freq)
 		TAILQ_FOREACH_SAFE(pcac_entry, &dfs->dfs_precac_list,
 				   pe_list, tmp_precac_entry) {
 			if (IS_WITHIN_RANGE(chan_freq,
-					    pcac_entry->vht80_ch_freq,
-					    VHT80_FREQ_OFFSET)) {
+					    pcac_entry->center_ch_freq,
+					    VHT160_FREQ_OFFSET)) {
 				dfs_unmark_tree_node_as_nol_for_freq(dfs,
 								     pcac_entry,
 								     chan_freq);