瀏覽代碼

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 年之前
父節點
當前提交
763cef6b29
共有 1 個文件被更改,包括 4 次插入0 次删除
  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
  * @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;
@@ -791,6 +792,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
 };
 
 /**