Browse Source

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
Hariharan Basuthkar 4 years ago
parent
commit
763cef6b29
1 changed files with 4 additions and 0 deletions
  1. 4 0
      umac/regulatory/dispatcher/inc/reg_services_public_struct.h

+ 4 - 0
umac/regulatory/dispatcher/inc/reg_services_public_struct.h

@@ -779,6 +779,7 @@ enum country_src {
  * @max_bw: max bandwidth
  * @max_bw: max bandwidth
  * @nol_chan: whether channel is nol
  * @nol_chan: whether channel is nol
  * @nol_history: Set NOL-History when STA vap detects RADAR.
  * @nol_history: Set NOL-History when STA vap detects RADAR.
+ * @is_chan_hop_blocked: Whether channel is blocked for ACS hopping.
  */
  */
 struct regulatory_channel {
 struct regulatory_channel {
 	qdf_freq_t center_freq;
 	qdf_freq_t center_freq;
@@ -791,6 +792,9 @@ struct regulatory_channel {
 	uint8_t ant_gain;
 	uint8_t ant_gain;
 	bool nol_chan;
 	bool nol_chan;
 	bool nol_history;
 	bool nol_history;
+#ifdef CONFIG_HOST_FIND_CHAN
+	bool is_chan_hop_blocked;
+#endif
 };
 };
 
 
 /**
 /**