From 20176cee0ca514f4ea9d077492df7fe82be348ef Mon Sep 17 00:00:00 2001 From: Hariharan Basuthkar Date: Tue, 24 Nov 2020 11:19:05 +0530 Subject: [PATCH] qcacmn: Add a boolean is_chan_hop_blocked in struct regulatory_channel Add a boolean is_chan_hop_blocked in struct regulatory_channel to check if a channel is blocked for ACS hopping, when the noise detection param on that particular channel is above the threshold. Change-Id: Id1c73f1b153d2064eaf3a72a21d14a6f63ad0de4 CRs-Fixed: 2837859 --- umac/regulatory/dispatcher/inc/reg_services_public_struct.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/umac/regulatory/dispatcher/inc/reg_services_public_struct.h b/umac/regulatory/dispatcher/inc/reg_services_public_struct.h index 6a1d51facdb8..64d3adee7be0 100644 --- a/umac/regulatory/dispatcher/inc/reg_services_public_struct.h +++ b/umac/regulatory/dispatcher/inc/reg_services_public_struct.h @@ -767,6 +767,7 @@ enum country_src { * @max_bw: max bandwidth * @nol_chan: whether channel is nol * @nol_history: Set NOL-History when STA vap detects RADAR. + * @is_chan_hop_blocked: Whether channel is blocked for ACS hopping. */ struct regulatory_channel { qdf_freq_t center_freq; @@ -779,6 +780,9 @@ struct regulatory_channel { uint8_t ant_gain; bool nol_chan; bool nol_history; +#ifdef CONFIG_HOST_FIND_CHAN + bool is_chan_hop_blocked; +#endif }; /**