Message ID | 1487153222-3735-2-git-send-email-masashi.honma@gmail.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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 3vNZkJ1CMZz9ryv for <incoming@patchwork.ozlabs.org>; Wed, 15 Feb 2017 21:08:37 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Fv58bpaw"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="c1+lDvE3"; dkim-atps=neutral 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:References: In-Reply-To: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:List-Owner; bh=1w2OY1ODSS0z4ARpGY+a0UsAY+w7txbsPBSn/OWb3Ns=; b=Fv58bpaw7Q4wAEjZU9mQ3eR7Ld af8B+Uw4JstaJ3lBLtu2P+RVzNgvFI6e2tT03p2V+9TRAwF5Vh1qrnNtqzaqorgmQ9fXG2ckELmrF X/o5bNV0sb7nESv0gEqETblKPMcroO/bezz2T3HQFPx+CXFinlvP+0EyPD2GrbewwENyXGJhA8UJm WbRhZRIJs5phOq6toWN1CO/6B9cVzlk7LMb7TFBDGmn4aN3txumKk1gUG5zI7FGWG1No41tYTRM/o yMrUzSeMVnfhxI79Zekt7vcJytngEsAwjAuMJTE9E1Wd6ZFPGA/JKo70bDrcP92LMt5zQuxQCZ5OS C73mwZcA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cdwUw-0001xK-MB; Wed, 15 Feb 2017 10:07:42 +0000 Received: from mail-pg0-x243.google.com ([2607:f8b0:400e:c05::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cdwUq-0001rm-DL for hostap@lists.infradead.org; Wed, 15 Feb 2017 10:07:37 +0000 Received: by mail-pg0-x243.google.com with SMTP id 75so10765543pgf.3 for <hostap@lists.infradead.org>; Wed, 15 Feb 2017 02:07:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=iE/ZpSwn77DRWo8YhmvpOzbjf1wVeNah8d9YKYmXOXE=; b=c1+lDvE3VrKzXVS9UvKAnQvRX2Xrh/0eAHguaiJWQzuCqLrgc4KJRnv9378asyGqa9 RaGJUmoYKP8XtKzs82iY3YyxxC/nyy9Trhh0XAaJc/VtbaBcZX594XyFEfaAGztuhUgA RvYrHUWUg8NlGmV0Ca7BnY1UOk0vb/PS5Kvn5RCZSeQ7R9AUIq1Untz4+4OIBueiv6LP H1J5MKySr/dfSIGN6O0+RXWD16N6EBjkE0Vd26g2AlOD6tljtcHv+BJ7x5ZBr+rCiozI JEtesefuDlrbG94KK1A3wdxxM3nzQyc//Z2uL5iTT9O2bfBvl2kSCbUKe7tnuOZYgnC8 Z4Xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=iE/ZpSwn77DRWo8YhmvpOzbjf1wVeNah8d9YKYmXOXE=; b=b6X6LX7U6I+wRaZiKN/a5iEu9d81Mmxx4rGbERr82GmjPSDi/NE5r9aDWe0GkBcCeW cnikenQbhwzvnG+S+9zyCGcIQtpU86SA5XLiraT9rztNxRRfhZTBkTj/4I/JV6IeGWSe wSMbc7cwuDuQDjV4VAprZuUrFTBPZLyt8C0hjjps+VobbZM4kyeOlEvnE3hzQiH5r/ck 5pxYJ4z6l8Mm1rKh+SdlBxyW4dIN6dnVWN5ewhJxK9tpbb/B6V2fye2kC14i75JNUoLX 6JEdWD8aWB2B8Ndnx+KPFvqVxfsqxPldGNL3DZuCuYNjpCJNhXUBU6cxb4OyF588NsLE mOXw== X-Gm-Message-State: AMke39kFZzj9padXy3rUyXXNffmvkFM+RFac9OUA+Dx4XkFvMGaba29yhsbFj7COBiQc8Q== X-Received: by 10.99.95.87 with SMTP id t84mr37720594pgb.209.1487153235420; Wed, 15 Feb 2017 02:07:15 -0800 (PST) Received: from localhost.localdomain (p79034ff3.kngwnt01.ap.so-net.ne.jp. [121.3.79.243]) by smtp.gmail.com with ESMTPSA id y23sm6404116pfi.66.2017.02.15.02.07.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 15 Feb 2017 02:07:14 -0800 (PST) From: Masashi Honma <masashi.honma@gmail.com> To: hostap@lists.infradead.org Subject: [PATCH v2 2/2] mesh: Use correct rate in 11ac and 11n mixed environment Date: Wed, 15 Feb 2017 19:07:02 +0900 Message-Id: <1487153222-3735-2-git-send-email-masashi.honma@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1487153222-3735-1-git-send-email-masashi.honma@gmail.com> References: <1487124571-8109-1-git-send-email-masashi.honma@gmail.com> <1487153222-3735-1-git-send-email-masashi.honma@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170215_020736_480680_8DD43A70 X-CRM114-Status: UNSURE ( 9.77 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [2607:f8b0:400e:c05:0:0:0:243 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (masashi.honma[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <hostap.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/hostap>, <mailto:hostap-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/hostap/> List-Post: <mailto:hostap@lists.infradead.org> List-Help: <mailto:hostap-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/hostap>, <mailto:hostap-request@lists.infradead.org?subject=subscribe> Cc: Masashi Honma <masashi.honma@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Hostap" <hostap-bounces@lists.infradead.org> Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
diff --git a/src/ap/ieee802_11_vht.c b/src/ap/ieee802_11_vht.c index f30f63b..8d06620 100644 --- a/src/ap/ieee802_11_vht.c +++ b/src/ap/ieee802_11_vht.c @@ -334,7 +334,7 @@ u16 copy_sta_vht_capab(struct hostapd_data *hapd, struct sta_info *sta, { /* Disable VHT caps for STAs associated to no-VHT BSSes. */ if (!vht_capab || - hapd->conf->disable_11ac || + !hapd->iconf->ieee80211ac || hapd->conf->disable_11ac || !check_valid_vht_mcs(hapd->iface->current_mode, vht_capab)) { sta->flags &= ~WLAN_STA_VHT; os_free(sta->vht_capabilities);
Let mesh STA A is a STA which has config disable_ht=0 and disable_vht=1. Let mesh STA B is a STA which has config disable_ht=0 and disable_vht=0. The mesh STA A and B was connected. Previously, the mesh STA A sent frame with 11ac rate even though its VHT was disabled. This patch fixes the issue. Signed-off-by: Masashi Honma <masashi.honma@gmail.com> --- src/ap/ieee802_11_vht.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)