From patchwork Mon Jul 7 11:20:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilan Peer X-Patchwork-Id: 367505 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from maxx.maxx.shmoo.com (maxx.shmoo.com [205.134.188.171]) by ozlabs.org (Postfix) with ESMTP id E82CB140086 for ; Mon, 7 Jul 2014 22:17:53 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by maxx.maxx.shmoo.com (Postfix) with ESMTP id 84CEA9C1F8; Mon, 7 Jul 2014 08:17:51 -0400 (EDT) X-Virus-Scanned: amavisd-new at maxx.shmoo.com Received: from maxx.maxx.shmoo.com ([127.0.0.1]) by localhost (maxx.shmoo.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yoRFkV4eMVMi; Mon, 7 Jul 2014 08:17:51 -0400 (EDT) Received: from maxx.shmoo.com (localhost [127.0.0.1]) by maxx.maxx.shmoo.com (Postfix) with ESMTP id 3F8969C1F9; Mon, 7 Jul 2014 08:17:06 -0400 (EDT) X-Original-To: mailman-post+hostap@maxx.shmoo.com Delivered-To: mailman-post+hostap@maxx.shmoo.com Received: from localhost (localhost [127.0.0.1]) by maxx.maxx.shmoo.com (Postfix) with ESMTP id B6A569C16D for ; Mon, 7 Jul 2014 08:17:04 -0400 (EDT) X-Virus-Scanned: amavisd-new at maxx.shmoo.com Received: from maxx.maxx.shmoo.com ([127.0.0.1]) by localhost (maxx.shmoo.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tpoveRbtNu6s for ; Mon, 7 Jul 2014 08:16:58 -0400 (EDT) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by maxx.maxx.shmoo.com (Postfix) with ESMTP id 5D1D49C114 for ; Mon, 7 Jul 2014 08:16:44 -0400 (EDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 07 Jul 2014 05:16:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.01,617,1400050800"; d="scan'208";a="539686847" Received: from unknown (HELO ipeer-e6430-1.jer.intel.com) ([10.12.217.176]) by orsmga001.jf.intel.com with ESMTP; 07 Jul 2014 05:16:41 -0700 From: Ilan Peer To: hostap@lists.shmoo.com Subject: [PATCH 02/23] driver.h: add indoor only and go concurrent flags Date: Mon, 7 Jul 2014 14:20:55 +0300 Message-Id: <1404732076-32252-3-git-send-email-ilan.peer@intel.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1404732076-32252-1-git-send-email-ilan.peer@intel.com> References: <1404732076-32252-1-git-send-email-ilan.peer@intel.com> X-BeenThere: hostap@lists.shmoo.com X-Mailman-Version: 2.1.11 Precedence: list List-Id: HostAP Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: hostap-bounces@lists.shmoo.com Errors-To: hostap-bounces@lists.shmoo.com 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 --- src/drivers/driver.h | 3 +++ 1 file changed, 3 insertions(+) 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,