Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5782492rwd; Mon, 5 Jun 2023 08:29:32 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4cMgyXKe6H4BCPSLtkFw/gcVDIY8proZbDR3Vcxqz5qmp/lf8hsnHRRoxiY58qo9NaT/fE X-Received: by 2002:a05:6a00:b91:b0:65b:cc73:1074 with SMTP id g17-20020a056a000b9100b0065bcc731074mr1492558pfj.23.1685978972605; Mon, 05 Jun 2023 08:29:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685978972; cv=none; d=google.com; s=arc-20160816; b=onbzCdgQfioje1aYzhBOtWVp4pKH9GTS336ina2E0jGZ0WavwM9kN25lJmdI7vjTGX M9EqAmzUCpyYFq0zjZdS15yk9go3bxM7qStEulxxcRkC16SHf2TRbMunJ6C0XUn+S6Ud DMk4IZ6c8AISgvdrd2NAGxfWRzRpVIQinrVuwzGwv3mZvPieHVRK5Dlf3mRNSv8RDIyU +xtrr45fJ9rMtsXI5GeWdCky5h/Q/tgDYVuG+W0U3rheNA4lmg9LGF2sQLu+g+41kygZ PXuA6HgjRVE8UhpF5CYn1bseF8SROGiYJZnRdwn3iHt4RzqzL2L8L/0XXmTn17IG5LV0 TcBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=w+L2Tpb+dUNC8ni2FPWrhFjsr9duAkRXBdpvppSWils=; b=XM72wSTusq5ArKYiYps38zvf8KP8eFgKKjyfQXcfdePeN13xqUf88at+l3hKQglCTW IB9H1CVXl83mcFny4WRHgrRbvJKmjohK9tZ+Shu2DKVtgkhO7ZEnJEE68uWDh0kKXpXx W4AWHjHd1Qi9WUGnCtyjdBDGKnPLPC8m+z8NNHOiUsBuEFecJEQxwXYFVLe9ARpuI5l6 odQSFTHlFLNgp7eWMdMqua0VosJsayRXY+VtUGrYmnCE+aRJFTP3Q3kC6dxiKGH1rz+G W0VKDmrlhxEJE7j8HRBo9uFs5cPs939XHtKiEMxMzTd1eX92HTQWhoz4UeMSNB5nWHIU 9L3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=bNxQQ0fh; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 76-20020a62184f000000b006467de1cbc8si5448141pfy.226.2023.06.05.08.29.20; Mon, 05 Jun 2023 08:29:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=bNxQQ0fh; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233622AbjFEPWP (ORCPT + 62 others); Mon, 5 Jun 2023 11:22:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233741AbjFEPWI (ORCPT ); Mon, 5 Jun 2023 11:22:08 -0400 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B568187 for ; Mon, 5 Jun 2023 08:21:58 -0700 (PDT) X-UUID: b27f92f203b411ee9cb5633481061a41-20230605 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=w+L2Tpb+dUNC8ni2FPWrhFjsr9duAkRXBdpvppSWils=; b=bNxQQ0fh0NAiJWNjoEz4oDyUCfCQxxHPCQnqVte87+QP5Wf0kMs/OzuU8TfhLSoDUnCvz9yPLw0U1RkRol/vmshlVWIunSisVlhJZX4rlA0Xv+LVU25DltHSpfFbkMPEp1R+TB6eJ8x108K6nOgC8IBQzlHVy4bFukUuXQwxZmY=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.25,REQID:2e3897aa-e2cc-4520-8fe1-04d724eb48b9,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:d5b0ae3,CLOUDID:ee17a23d-7aa7-41f3-a6bd-0433bee822f3,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0 X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-UUID: b27f92f203b411ee9cb5633481061a41-20230605 Received: from mtkmbs13n2.mediatek.inc [(172.21.101.108)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1479974864; Mon, 05 Jun 2023 23:21:51 +0800 Received: from mtkmbs11n1.mediatek.inc (172.21.101.186) by mtkmbs13n1.mediatek.inc (172.21.101.193) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Mon, 5 Jun 2023 23:21:50 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs11n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Mon, 5 Jun 2023 23:21:50 +0800 From: Shayne Chen To: Felix Fietkau CC: linux-wireless , Lorenzo Bianconi , Ryder Lee , Evelyn Tsai , Bo Jiao , linux-mediatek , Peter Chiu , Shayne Chen Subject: [PATCH v3 04/10] wifi: mt76: mt7996: init he and eht cap for AP_VLAN Date: Mon, 5 Jun 2023 23:21:35 +0800 Message-ID: <20230605152141.17434-4-shayne.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20230605152141.17434-1-shayne.chen@mediatek.com> References: <20230605152141.17434-1-shayne.chen@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Peter Chiu Init he and eht capabilities for AP_VLAN type. Without this patch, the BA response from AP_VLAN will not include the ADDBA extension tag. Signed-off-by: Peter Chiu Signed-off-by: Shayne Chen --- drivers/net/wireless/mediatek/mt76/mt7996/init.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/mediatek/mt76/mt7996/init.c b/drivers/net/wireless/mediatek/mt76/mt7996/init.c index f1b48cdda58f..004575a0479b 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7996/init.c +++ b/drivers/net/wireless/mediatek/mt76/mt7996/init.c @@ -808,6 +808,7 @@ __mt7996_set_stream_he_eht_caps(struct mt7996_phy *phy, switch (i) { case NL80211_IFTYPE_STATION: case NL80211_IFTYPE_AP: + case NL80211_IFTYPE_AP_VLAN: #ifdef CONFIG_MAC80211_MESH case NL80211_IFTYPE_MESH_POINT: #endif -- 2.39.2