Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2365397rwd; Fri, 2 Jun 2023 08:26:41 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6iooHyUHb/8G+71AGX9dpZzkIvY8uSqLi+CS5AMGb7jSRIHTz2OxMrqK2sXWs0TyKVl294 X-Received: by 2002:a92:dc0e:0:b0:33d:1072:3619 with SMTP id t14-20020a92dc0e000000b0033d10723619mr5815379iln.22.1685719601071; Fri, 02 Jun 2023 08:26:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685719601; cv=none; d=google.com; s=arc-20160816; b=iv2bTp76FjzSlT9I2uWDC6xvSXKO5if0W0FcPrB6Txo1eeP64bqsWfsUdqIESMSPrY zzpYbihNlNxLxecHMZvEz7GDH0RtAGphFBiSCFJB6nVZfZCmz8GDFTHArY78lAyz4by3 0RJ46eHBsUs2G/Ahtltf/UtR/BlzRemoZOQezk/eazcnafsUBvCPJ7DG76r1InhOMSjc TV3Fwn9M1mA39rvMEz1j/MBAbz9bgyvfu4UCYK3LRcmw7mtdYLz8z3rDA7xFaVDEo5X2 nJNfruAY2wSYMc6ttM5s/4r++O6HQiAKf2iSWLiBpr0tVZWiZ5cAtQSpUZ1na0ZHsxQW zmhw== 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=kzovDik2rkLjVn1TruLNQKoUKVbxedDbdJGUA/3woYHjThBPsPOEe4T8zKuZx2E4vh yKtZfYLKW5YUtDvZ6jqVxi8t1DTgxAytz3SWiAhrQmsjS5paVHBqHuTKAs4F7F6qFkGv Zl8SPvepDD+eVQkfaOAQLI/Vq3fpk06Xgo+TBoplF/TE2wfsoZDQtgaurXK6vUjVuwuj FVAssfRBXu35ehU09kCovFBKEHxm5dPlda7CY3zFWKF4/k9qlHX9IDdUatxyaYSxlHX7 EElaeXUuF9zNsnYYJO/nBo+sjt9t6VVqpaMVp7VLKnx+NFaPAQFKJKJUbYAGTu3A/svk MX8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="Rai/R9Qv"; 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 y190-20020a638ac7000000b005346b80d198si1125605pgd.517.2023.06.02.08.26.33; Fri, 02 Jun 2023 08:26:41 -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="Rai/R9Qv"; 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 S236591AbjFBPWF (ORCPT + 64 others); Fri, 2 Jun 2023 11:22:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236180AbjFBPWA (ORCPT ); Fri, 2 Jun 2023 11:22:00 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6AB7CE43 for ; Fri, 2 Jun 2023 08:21:59 -0700 (PDT) X-UUID: 33780f3c015911eeb20a276fd37b9834-20230602 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=Rai/R9QvHw17XhXLlJyQwwd588QRUcoLHHdBFZdpekDvLYNYv2xXILEmiKGPfgZI6+pwj/sKfLl34C57vailRUDwyK84o+lRl18gQ6J+sCnWi3CFskChVj6ZKNGE7uHrbmPS0Gfw2dPCq3mYbI+TAE8AEiJx0yB8lE5mWdqytQg=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.25,REQID:5fdf5743-54ad-445f-902f-099bbdd40a7a,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:95 X-CID-INFO: VERSION:1.1.25,REQID:5fdf5743-54ad-445f-902f-099bbdd40a7a,IP:0,URL :0,TC:0,Content:0,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Spam_GS981B3D,ACTION :quarantine,TS:95 X-CID-META: VersionHash:d5b0ae3,CLOUDID:04ef663d-7aa7-41f3-a6bd-0433bee822f3,B ulkID:230602232152AW48I1MV,BulkQuantity:0,Recheck:0,SF:29|28|17|19|48,TC:n il,Content:0,EDM:-3,IP:nil,URL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OS I:0,OSA:0,AV:0 X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-UUID: 33780f3c015911eeb20a276fd37b9834-20230602 Received: from mtkmbs13n1.mediatek.inc [(172.21.101.193)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 651779673; Fri, 02 Jun 2023 23:21:52 +0800 Received: from mtkmbs13n2.mediatek.inc (172.21.101.194) by mtkmbs11n1.mediatek.inc (172.21.101.185) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Fri, 2 Jun 2023 23:21:51 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs13n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Fri, 2 Jun 2023 23:21:51 +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 05/12] wifi: mt76: mt7996: init he and eht cap for AP_VLAN Date: Fri, 2 Jun 2023 23:21:01 +0800 Message-ID: <20230602152108.26860-5-shayne.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20230602152108.26860-1-shayne.chen@mediatek.com> References: <20230602152108.26860-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,URIBL_BLOCKED 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