Patchwork [02/23] driver.h: add indoor only and go concurrent flags

login
register
mail settings
Submitter Ilan Peer
Date July 7, 2014, 11:20 a.m.
Message ID <1404732076-32252-3-git-send-email-ilan.peer@intel.com>
Download mbox | patch
Permalink /patch/367505/
State Accepted
Headers show

Comments

Ilan Peer - July 7, 2014, 11:20 a.m.
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@intel.com>
---
 src/drivers/driver.h |    3 +++
 1 file changed, 3 insertions(+)

Patch

diff --git a/src/drivers/driver.h b/src/drivers/driver.h
index 050ef39..8782f49 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,