From patchwork Wed Jan 3 18:53:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Greear X-Patchwork-Id: 855186 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133; helo=bombadil.infradead.org; envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="EFkrIOWP"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zBg8y4wvMz9s75 for ; Thu, 4 Jan 2018 05:54:56 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=ID8GmOR3MeYHn2WCrIorzvwFTZ5w/LrTJNWwtDEq8OU=; b=EFk rIOWPE9upIrwmRgvjUVVmjdvJfn1RoN0P8AxShqU8c/AkVwWiU4cIAS7XEgyM8kNWLU+3EMgFkQAO dd/S2cznboq2BuZCN2UhDQyi/YCaLD/3gpMVoi/UR4WpqnFPyaKWcxqsXYhDiflJ0Vf5Ip6UsSdX5 E5BrD5l6UYc3DWLAP6hpj6XtPfVSE3cwMQZakdpwX4LT1jIIFpW0wlN18AruO5B56oFARjS/8+8Mf NNapl5U4nou+PmBLph4Qu0Q1PEbv0vjjzKpOm/UdUJsXXiHFlfOXEDLvKi9hCJqWZBaPNm9tSaR+A Z2p900HZpHjGN8omyDeVxU1JtmLI80g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eWoBQ-0001CT-9z; Wed, 03 Jan 2018 18:54:36 +0000 Received: from mail2.candelatech.com ([208.74.158.173]) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eWoBL-0001BW-EL for hostap@lists.infradead.org; Wed, 03 Jan 2018 18:54:32 +0000 Received: from v-f24-64.candelatech.com (firewall.candelatech.com [50.251.239.81]) by mail2.candelatech.com (Postfix) with ESMTP id 26F0A40A5A2; Wed, 3 Jan 2018 10:54:15 -0800 (PST) From: greearb@candelatech.com To: hostap@lists.infradead.org Subject: [PATCH] hostapd: Allow HT40 on ch 165, 169. Date: Wed, 3 Jan 2018 10:53:53 -0800 Message-Id: <1515005633-26836-1-git-send-email-greearb@candelatech.com> X-Mailer: git-send-email 2.7.5 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180103_105431_514794_EEE57F2F X-CRM114-Status: UNSURE ( 3.95 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ben Greear MIME-Version: 1.0 Sender: "Hostap" Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org From: Ben Greear India supports CH 169 and 173 now. Enable HT40 across CH 165 and 169. I think that CH 173 must remain HT20 only. Signed-off-by: Ben Greear --- src/common/hw_features_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/hw_features_common.c b/src/common/hw_features_common.c index 4486124..263958d 100644 --- a/src/common/hw_features_common.c +++ b/src/common/hw_features_common.c @@ -89,7 +89,7 @@ int allowed_ht40_channel_pair(struct hostapd_hw_modes *mode, int pri_chan, { int ok, j, first; int allowed[] = { 36, 44, 52, 60, 100, 108, 116, 124, 132, 140, - 149, 157, 184, 192 }; + 149, 157, 165, 184, 192 }; size_t k; if (pri_chan == sec_chan || !sec_chan)