Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp211585yba; Thu, 25 Apr 2019 21:37:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqzNB4SojQ5b3dUmk5uyVfCsTKzGIEbMLE8AUgzM2kD3JFvBX2zXXfY9KMOnO72qU1meEjP+ X-Received: by 2002:aa7:8282:: with SMTP id s2mr44307484pfm.7.1556253449174; Thu, 25 Apr 2019 21:37:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556253449; cv=none; d=google.com; s=arc-20160816; b=lg4MGOqBRttc9xxWxQryByMY/UUpi1PNKE4IuGBXm4YNC9FYSLwcv9oTE1mnwj7ipQ 1u//pCgRtFcpc9d9pfKRiU77WkRywjTMamBvGxMIOcdD5P3jIHYFxps/WA5f0yiIuBEM 0er0ZcUKGiHnf6BF3sxvmJt9Xcoyd4zfVe+wKIpstccs+mp2om7tlP6IyM3O7jO1IbTf NEvYKW7fan4SgG2fAlvzVzazO3BkeBJoRtBdAVcBxIVQX24u0t/rWLUPtome9VE1wSiy oYFFnEmH35Xmm2Tx3uQ3TjGUb/o1w2Wfw3+3PoURjtH4spjXUO5se+vea/hc1mnHaXM0 kCXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=9FgH/s+TzvKsVNSFZsDzVuNBreVDr3PFwHBoferxTfI=; b=ob4H+HGdfMHzlDSG7ycIYIU1AhcjY+bAnO6if3qiNECISEAeogfv+X6BMSwJDE89We VbpcnZoFjHe63ZmR6d/k/8klYK1qNOmT/+Wam3rZuCktS9SWGfX1Kas8eu9ciO/2gzZ7 zTU9VPXtyTd2Bu7lAoh8ZZNlWi7ytN6ZbyFjcOwV8WEUM+K4lrGsXIIrMcKEtWe22atc ruqvraR3/T1smbJ8QSGkb4JNCzJFW65PYlR/kDpWupjDpm1S57ebQ7mq4kvX0jAHReJk E5QQ4Dm4JSxOrDjJ2/9w8UvZYfJb0TQPOeHWQhqTZYtcsOm4rEZzl24BTvCc69533fUk 7HYg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 o9si9836626pgp.35.2019.04.25.21.37.13; Thu, 25 Apr 2019 21:37:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727083AbfDZDgY (ORCPT + 99 others); Thu, 25 Apr 2019 23:36:24 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:48776 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726006AbfDZDgY (ORCPT ); Thu, 25 Apr 2019 23:36:24 -0400 X-UUID: a0a9655f5e2349229fe7fa1c18ef80da-20190426 X-UUID: a0a9655f5e2349229fe7fa1c18ef80da-20190426 Received: from mtkmrs01.mediatek.inc [(172.21.131.159)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 648824900; Fri, 26 Apr 2019 11:36:20 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 26 Apr 2019 11:36:18 +0800 Received: from mtkslt306.mediatek.inc (10.21.14.136) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Fri, 26 Apr 2019 11:36:18 +0800 From: Ryder Lee To: Lorenzo Bianconi , Felix Fietkau CC: Roy Luo , YF Luo , Yiwei Chung , Sean Wang , , , , Ryder Lee Subject: [PATCH] mt7615: add TX/RX antenna pattern capabilities Date: Fri, 26 Apr 2019 11:36:17 +0800 Message-ID: <4f0780666982b3e935f46abcfe434bc68c232fb0.1556249572.git.ryder.lee@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Announce antenna pattern cap to adapt PHY and baseband settings. Signed-off-by: Ryder Lee --- 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 | IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160_80PLUS80MHZ; dev->mt76.chainmask = 0x404; dev->mt76.antenna_mask = 0xf; -- 2.18.0