Message ID | 185752f0685949528c08d9f358d23c52@realtek.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 Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=O3YxWzNK; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=casper.20170209 header.b=Es4AvPZg; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GvgSW28lXz9sR4 for <incoming@patchwork.ozlabs.org>; Wed, 25 Aug 2021 19:20:41 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :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=Vpn6RiKUuJHANb51jWkMVWJJ5VLIaQNUA1ON+xDzBZM=; b=O3YxWzNK1oRa71 zK9vAyeIrsEu3q97kjeH9Xo0hw7OQGFt8cyvY+yLse/ZfmULCcbIXOSt9u81EnL2zbQJnEzwYQqDk e7WW8lyB6qyit0nIJkfnLkeH/7tEonXgL5AvPSiWLfUM6AKbk4ZWNjmyaMopEyoDW4AdOOCne9s3g se4+BdAFHYGCGszxyET+uG/uP4rr2PjOT7hQPM3BFitlfq9CQhc+vXIZVJC4ndOBgfqJ+dVzH/Yra ht2QCFx8Kt5hc/g4joXfeRfbtQeSmJN26nnB6D/uq1iT9cfHf11JehdGbKMn+TlpYOwhoIu3QHAsc ajmpunryCiqk8ZOTDHAw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mIp49-0066kk-SK; Wed, 25 Aug 2021 09:19:25 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mIp47-0066jS-Ux for hostap@bombadil.infradead.org; Wed, 25 Aug 2021 09:19:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=MIME-Version:Content-Transfer-Encoding: Content-Type:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To:Content-ID: Content-Description:In-Reply-To:References; bh=xQY328Q1wLx67J8YEpuf2DbTH5C8o5mbV7jU1EIu9dg=; b=Es4AvPZgSa7mJQbT8jHrSSoeQh tt75BCzffVePFajPm4SwbozLVPjWJE2h230jKhHHZ3XIzu/vbSjjga15eO5cd78mYtTAYqvEvfinz 9vuS6vmNrcPJ/mS1hXkwt2atdoHUQpH5n9XLH0Wca2AJAU4rmYKiQmtdnXcavF7jypAmnRb/t6UTw JrPpbzCFWTCyOI8b04LWVjuUm/oMj1TLaPjP4tjDiNFSdHYVPcLyTnXFhB1fiCtQQML/9WL/ONq+g I6s3tS2E9dTJk/USTFBWfTobnUqi4ZBUyK6Dx4yvDBpiAFIrhm3p5iQNdixjbzLZZhp8gT4Y/5422 NWo7srGQ==; Received: from rtits2.realtek.com ([211.75.126.72] helo=rtits2.realtek.com.tw) by casper.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mIp3E-00C8YK-Bh for hostap@lists.infradead.org; Wed, 25 Aug 2021 09:18:41 +0000 Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.73 with qID 17P9HgaE6021355, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36501.realtek.com.tw[172.21.6.27]) by rtits2.realtek.com.tw (8.15.2/2.71/5.88) with ESMTPS id 17P9HgaE6021355 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Wed, 25 Aug 2021 17:17:42 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXH36501.realtek.com.tw (172.21.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Wed, 25 Aug 2021 17:17:41 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXMBS04.realtek.com.tw (172.21.6.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Wed, 25 Aug 2021 17:17:41 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::cdd5:82a3:e854:7098]) by RTEXMBS04.realtek.com.tw ([fe80::cdd5:82a3:e854:7098%5]) with mapi id 15.01.2106.013; Wed, 25 Aug 2021 17:17:41 +0800 From: Peter Huang <peterhuang@realtek.com> To: "hostap@lists.infradead.org" <hostap@lists.infradead.org> CC: "andrei.otcheretianski@intel.com" <andrei.otcheretianski@intel.com> Subject: [RESEND] Update ieee80211ac when channel switching Thread-Topic: [RESEND] Update ieee80211ac when channel switching Thread-Index: AdeZkfmO8JgWERhaS7GrLeKdTfMDxA== Date: Wed, 25 Aug 2021 09:17:41 +0000 Message-ID: <185752f0685949528c08d9f358d23c52@realtek.com> Accept-Language: zh-TW, en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.21.68.183] x-kse-serverinfo: RTEXMBS04.realtek.com.tw, 9 x-kse-attachmentfiltering-interceptor-info: no applicable attachment filtering rules found x-kse-antivirus-interceptor-info: scan successful x-kse-antivirus-info: Clean, bases: 2021/8/25 ?? 07:04:00 x-kse-bulkmessagesfiltering-scan-result: protection disabled MIME-Version: 1.0 X-KSE-ServerInfo: RTEXH36501.realtek.com.tw, 9 X-KSE-Attachment-Filter-Triggered-Rules: Clean X-KSE-Attachment-Filter-Triggered-Filters: Clean X-KSE-BulkMessagesFiltering-Scan-Result: protection disabled X-KSE-AntiSpam-Outbound-Interceptor-Info: scan successful X-KSE-AntiSpam-Version: 5.9.20, Database issued on: 08/25/2021 09:04:44 X-KSE-AntiSpam-Status: KAS_STATUS_NOT_DETECTED X-KSE-AntiSpam-Method: none X-KSE-AntiSpam-Rate: 0 X-KSE-AntiSpam-Info: Lua profiles 165774 [Aug 24 2021] X-KSE-AntiSpam-Info: Version: 5.9.20.0 X-KSE-AntiSpam-Info: Envelope from: peterhuang@realtek.com X-KSE-AntiSpam-Info: LuaCore: 457 457 f9912fc467375383fbac52a53ade5bbe1c769e2a X-KSE-AntiSpam-Info: {Tracking_from_domain_doesnt_match_to} X-KSE-AntiSpam-Info: realtek.com:7.1.1; d41d8cd98f00b204e9800998ecf8427e.com:7.1.1; 127.0.0.199:7.1.2 X-KSE-AntiSpam-Info: Rate: 0 X-KSE-AntiSpam-Info: Status: not_detected X-KSE-AntiSpam-Info: Method: none X-KSE-AntiSpam-Info: Auth:dkim=none X-KSE-Antiphishing-Info: Clean X-KSE-Antiphishing-ScanningType: Heuristic X-KSE-Antiphishing-Method: None X-KSE-Antiphishing-Bases: 08/25/2021 09:08:00 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210825_101839_346841_D33E3B81 X-CRM114-Status: UNSURE ( 9.81 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.6 on casper.infradead.org summary: Content analysis details: (-0.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.0 HEXHASH_WORD Multiple instances of word + hexadecimal hash X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.34 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> 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 |
Series |
[RESEND] Update ieee80211ac when channel switching
|
expand
|
On Wed, Aug 25, 2021 at 09:17:41AM +0000, Peter Huang wrote: > hostap will build wrong beacon_after if it doesn't update ieee80211ac > when channel switching. Thanks, applied.
diff --git a/src/ap/hostapd.c b/src/ap/hostapd.c index a8f1bf937..4b88641a2 100644 --- a/src/ap/hostapd.c +++ b/src/ap/hostapd.c @@ -3496,6 +3496,7 @@ static int hostapd_change_config_freq(struct hostapd_data *hapd, conf->channel = channel; conf->ieee80211n = params->ht_enabled; + conf->ieee80211ac = params->vht_enabled; conf->secondary_channel = params->sec_channel_offset; ieee80211_freq_to_chan(params->center_freq1, &seg0);