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
This commit is contained in:
Hariharan Basuthkar 2020-11-24 11:19:05 +05:30 • committed by snandini
commit 20176cee0c

View file

@ -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
};
/**