[PATCH 02/24] driver.h: add indoor only and go concurrent flags

Ilan Peer ilan.peer
Mon May 19 00:05:59 PDT 2014


Add the following channel flags:

* INDOOR_ONLY: the channel can be used iff there is a clear assessment that
  the device is operating in an indoor environment, i.e., it is AC power.
* CONCURRENT_GO: the channel can be used for instantiating a GO iff there
  is an additional station interface that is currently connected to an AP
  on the same channel or on the same U-NII band (assuming that the AP is
  an authorized master).

Signed-off-by: Ilan Peer <ilan.peer at intel.com>
---
 src/drivers/driver.h |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/drivers/driver.h b/src/drivers/driver.h
index ed2190d..bb9dec5 100644
--- a/src/drivers/driver.h
+++ b/src/drivers/driver.h
@@ -41,6 +41,9 @@
 #define HOSTAPD_CHAN_VHT_50_30 0x00002000
 #define HOSTAPD_CHAN_VHT_70_10 0x00004000
 
+#define HOSTAPD_CHAN_INDOOR_ONLY 0x00010000
+#define HOSTAPD_CHAN_GO_CONCURRENT 0x00020000
+
 enum reg_change_initiator {
 	REGDOM_SET_BY_CORE,
 	REGDOM_SET_BY_USER,
-- 
1.7.10.4




More information about the Hostap mailing list