Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4674184yba; Tue, 30 Apr 2019 02:26:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqzrI3HjagyR3XN/FhAYPWmpKXRcIWL9L+xPw21DHDC0ojDnrvyaUN2POFBeqzC10TwW0FTC X-Received: by 2002:a62:1897:: with SMTP id 145mr20335031pfy.122.1556616368710; Tue, 30 Apr 2019 02:26:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556616368; cv=none; d=google.com; s=arc-20160816; b=AoinO4oO4wfwsUJhqHiIj7Rr5/PGeuifS/iXZogNF+LWPqfaBvzlB4ZdFJzJB72S31 H6ua+FfNUInZPaD4i6Phry2kxbAawjCEauh30pJRR+1SX5YDPRywsOBskWAQm1reTRgj FOvf7suiVoGBjBQRWOER6Q/YjQkSP7B9IoJ5cGqX9HgQd6ACkbJeE/JzBOAhtu6viCV9 BgejlBkugJBcNsB47SCSp4uHAszvsQpXoxhJ2qm43EYlc6u+mH5TNV9GGcUObtu4TfjO Ix7Fb+K3HKVhffWW04yN4vwIZGzaQshXE66XcLtCBY8F4O2p4KKHwXAuPdnz/JmGy72Y gtKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:openpgp:from:references:cc:to:subject :dkim-signature; bh=07t/B0FBgWimtwCFIC57NK6vofmRzKUYAo6LUAADlIY=; b=juaipjONFWpOQA7GOjPF412+95IL42m9P+jOFOy5PChzFJ7zISB8rsOqCGTYvCIo8B ZQae2gkYdRtqtZbvOe6Qz6VYEsJYssXl4fgmG2Db6UGui8UxhbHQyrngz36Z4k7tFtLV VarQ8BFZfwgL/rV/SIcqnH19bXsCK9+y2fb/Jl3TPoaonmm1rEuGmR4iGMBQIHCmGclC kA+sdkIBvlZcISdXAgkbFUna+xxvXI0WYorJTCJdPFvqKVCcSQEP3SffBUjtjVQ96XuJ Y+NgIseX/JiJT/JJtUV1i44djAjUkWHq6VME0yjZsI7A95fhtLuiWba85YEWD3iD9vVc 42Sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=tifufPuE; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 98si37222119plb.84.2019.04.30.02.25.49; Tue, 30 Apr 2019 02:26:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=tifufPuE; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726646AbfD3JZA (ORCPT + 99 others); Tue, 30 Apr 2019 05:25:00 -0400 Received: from nbd.name ([46.4.11.11]:40568 "EHLO nbd.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726119AbfD3JZA (ORCPT ); Tue, 30 Apr 2019 05:25:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=07t/B0FBgWimtwCFIC57NK6vofmRzKUYAo6LUAADlIY=; b=tifufPuE/GBd81btMxf/j6om1M Bh6s6MSQRU2f2c4TY8YWdKEJCv/aJxJRnWRFCn5ObL4y8O39EkkpjJCcW5d0e2EOVe6+QTM5iNK3B 2BRNL+Ae7BWpZdOZW90+VMBkeVerUcSBHI0/haxL2Op+iaFevUVQpqASuP/l/v6KVktA=; Received: from p4ff135f1.dip0.t-ipconnect.de ([79.241.53.241] helo=nf.local) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1hLP0S-0007XK-Ix; Tue, 30 Apr 2019 11:24:56 +0200 Subject: Re: [PATCH v2] mt76: mt7615: add TX/RX antenna pattern capabilities To: Ryder Lee , Lorenzo Bianconi Cc: Roy Luo , YF Luo , Yiwei Chung , Sean Wang , linux-wireless@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org References: <4f7160cb9f52335ce15fccac087fec25e7650884.1556255852.git.ryder.lee@mediatek.com> From: Felix Fietkau Openpgp: preference=signencrypt Autocrypt: addr=nbd@nbd.name; prefer-encrypt=mutual; keydata= mQGiBEah5CcRBADIY7pu4LIv3jBlyQ/2u87iIZGe6f0f8pyB4UjzfJNXhJb8JylYYRzIOSxh ExKsdLCnJqsG1PY1mqTtoG8sONpwsHr2oJ4itjcGHfn5NJSUGTbtbbxLro13tHkGFCoCr4Z5 Pv+XRgiANSpYlIigiMbOkide6wbggQK32tC20QxUIwCg4k6dtV/4kwEeiOUfErq00TVqIiEE AKcUi4taOuh/PQWx/Ujjl/P1LfJXqLKRPa8PwD4j2yjoc9l+7LptSxJThL9KSu6gtXQjcoR2 vCK0OeYJhgO4kYMI78h1TSaxmtImEAnjFPYJYVsxrhay92jisYc7z5R/76AaELfF6RCjjGeP wdalulG+erWju710Bif7E1yjYVWeA/9Wd1lsOmx6uwwYgNqoFtcAunDaMKi9xVQW18FsUusM TdRvTZLBpoUAy+MajAL+R73TwLq3LnKpIcCwftyQXK5pEDKq57OhxJVv1Q8XkA9Dn1SBOjNB l25vJDFAT9ntp9THeDD2fv15yk4EKpWhu4H00/YX8KkhFsrtUs69+vZQwbQcRmVsaXggRmll dGthdSA8bmJkQG5iZC5uYW1lPohgBBMRAgAgBQJGoeQnAhsjBgsJCAcDAgQVAggDBBYCAwEC HgECF4AACgkQ130UHQKnbvXsvgCgjsAIIOsY7xZ8VcSm7NABpi91yTMAniMMmH7FRenEAYMa VrwYTIThkTlQuQINBEah5FQQCACMIep/hTzgPZ9HbCTKm9xN4bZX0JjrqjFem1Nxf3MBM5vN CYGBn8F4sGIzPmLhl4xFeq3k5irVg/YvxSDbQN6NJv8o+tP6zsMeWX2JjtV0P4aDIN1pK2/w VxcicArw0VYdv2ZCarccFBgH2a6GjswqlCqVM3gNIMI8ikzenKcso8YErGGiKYeMEZLwHaxE Y7mTPuOTrWL8uWWRL5mVjhZEVvDez6em/OYvzBwbkhImrryF29e3Po2cfY2n7EKjjr3/141K DHBBdgXlPNfDwROnA5ugjjEBjwkwBQqPpDA7AYPvpHh5vLbZnVGu5CwG7NAsrb2isRmjYoqk wu++3117AAMFB/9S0Sj7qFFQcD4laADVsabTpNNpaV4wAgVTRHKV/kC9luItzwDnUcsZUPdQ f3MueRJ3jIHU0UmRBG3uQftqbZJj3ikhnfvyLmkCNe+/hXhPu9sGvXyi2D4vszICvc1KL4RD aLSrOsROx22eZ26KqcW4ny7+va2FnvjsZgI8h4sDmaLzKczVRIiLITiMpLFEU/VoSv0m1F4B FtRgoiyjFzigWG0MsTdAN6FJzGh4mWWGIlE7o5JraNhnTd+yTUIPtw3ym6l8P+gbvfoZida0 TspgwBWLnXQvP5EDvlZnNaKa/3oBes6z0QdaSOwZCRA3QSLHBwtgUsrT6RxRSweLrcabiEkE GBECAAkFAkah5FQCGwwACgkQ130UHQKnbvW2GgCfTKx80VvCR/PvsUlrvdOLsIgeRGAAn1ee RjMaxwtSdaCKMw3j33ZbsWS4 Message-ID: Date: Tue, 30 Apr 2019 11:24:55 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <4f7160cb9f52335ce15fccac087fec25e7650884.1556255852.git.ryder.lee@mediatek.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 2019-04-26 07:23, Ryder Lee wrote: > Announce antenna pattern cap to adapt PHY and baseband settings. > > Signed-off-by: Ryder Lee > --- > Changes since v2: > - Add a prefix mt76 in the title. > --- > drivers/net/wireless/mediatek/mt76/mt7615/init.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/init.c b/drivers/net/wireless/mediatek/mt76/mt7615/init.c > index 3ab3ff553ef2..122f7a565540 100644 > --- a/drivers/net/wireless/mediatek/mt76/mt7615/init.c > +++ b/drivers/net/wireless/mediatek/mt76/mt7615/init.c > @@ -190,6 +190,8 @@ int mt7615_register_device(struct mt7615_dev *dev) > IEEE80211_VHT_CAP_SHORT_GI_160 | > IEEE80211_VHT_CAP_MAX_MPDU_LENGTH_11454 | > IEEE80211_VHT_CAP_MAX_A_MPDU_LENGTH_EXPONENT_MASK | > + IEEE80211_VHT_CAP_RX_ANTENNA_PATTERN | > + IEEE80211_VHT_CAP_TX_ANTENNA_PATTERN | If I read the standard correctly, these flags indicate that the rx/tx antenna pattern does NOT change during association. Doesn't that mean that we should set it in mac80211.c instead, so that it also applies to MT76x2? Thanks, - Felix