Forráskód Böngészése

qcacmn: Disable intersected AFC channels while switching to LPI

When SWITCH_TO_LPI event subtype or WMI_AFC_EVENT_ID is received,
disable the intersected channels in the AFC channel list.

Change-Id: Iee79b26953299d332c6f8925c8f21651fbd1f00c
CRs-Fixed: 3034456
Hariharan Basuthkar 3 éve
szülő
commit
b98c3e9250
1 módosított fájl, 3 hozzáadás és 0 törlés
  1. 3 0
      umac/regulatory/core/src/reg_build_chan_list.c

+ 3 - 0
umac/regulatory/core/src/reg_build_chan_list.c

@@ -2477,6 +2477,9 @@ static void reg_disable_afc_mas_chan_list_channels(
 			afc_mas_chan_list[chan_idx].tx_power = 0;
 		}
 	}
+
+	qdf_mem_zero(pdev_priv_obj->afc_chan_list,
+		     NUM_6GHZ_CHANNELS * sizeof(struct regulatory_channel));
 }
 
 static void reg_free_expiry_afc_info(struct afc_regulatory_info *afc_info)