Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp251071yba; Thu, 25 Apr 2019 22:33:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqwRUzLdO/gQLLqb4NsUBaxvIoB8s6PIkxs57vn8+nmb0kTsqBoZCCqlIyHcytb2nGyQyciO X-Received: by 2002:a63:1e4f:: with SMTP id p15mr31567137pgm.289.1556256824195; Thu, 25 Apr 2019 22:33:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556256824; cv=none; d=google.com; s=arc-20160816; b=KfBxzUOzkoct0G1MKLwkibzQ6bdGhuaUTC0eLsRfZV4ibA/IWKcSBZp45yo3lQqMI5 sAuWx0Oyoxc5J5Mb0GlxAkQSbstxzBC8nioVUJBbb2RM2Qsr4Rt09Ncdpu15gyO0d5Ib mWdYl3VbojxfoAH7NGBxVNX7SmZL9979otBDJ1VnAxAY6ESUbV5GZ35Npsh4akHkm+wj bSwIQ+NlK2s0JNfF9b1XqauKH7O3rR1HHBY+H+RMSyjGtzeW18RFvagA+v4XSY4N+LMb C3a/PBrHhlhiObhXAQPj9VDV21S6rgGsoFelMLNZjp+8lnVhoHtImfLr6YgVc29eCvvN 6B2w== 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=zoNCGpbBMaHouItM4NeJX1o4XdotzQnrkdhR9TtxEyw=; b=JmRs4/0QMV+OTxweN/QRR8YnlMWeHOLJBa8vNucd3TLqHo4S+tPAwqoFtNz59/loLM NSM25TzzhHvSTWL75wURGzmqR4gGVQVGAwAtZg/xe92IQYPLhvnycPD3jzdmAE4c9XGa LN2YdIbNg/sYSoBpibRmBpQLH+zPVSaN2IqFT/qgoNuB3DWXIml/hWl/SAezZUR9Lkh7 PeHfelbJYU9fCPUyZnousNX10u36tCXZecNBGW3gaRclK7YBJn52zpaTDIV+wH6v2TLJ ME2auxUSQC8nUbmhqQZ2krGGjJcjKp3z9vJEzuCRICGYCaBvwkwPF3bax3POVNZ0gRVO WNUA== ARC-Authentication-Results: i=1; mx.google.com; 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 g97si24267923plb.70.2019.04.25.22.33.14; Thu, 25 Apr 2019 22:33:44 -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; 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 S1728883AbfDZFXZ (ORCPT + 99 others); Fri, 26 Apr 2019 01:23:25 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:49249 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728573AbfDZFXY (ORCPT ); Fri, 26 Apr 2019 01:23:24 -0400 X-UUID: 5741141729ae41f9811c49cb33865009-20190426 X-UUID: 5741141729ae41f9811c49cb33865009-20190426 Received: from mtkcas08.mediatek.inc [(172.21.101.126)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1912994456; Fri, 26 Apr 2019 13:23:16 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 26 Apr 2019 13:23:15 +0800 Received: from mtkslt306.mediatek.inc (10.21.14.136) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Fri, 26 Apr 2019 13:23:15 +0800 From: Ryder Lee To: Lorenzo Bianconi , Felix Fietkau CC: Roy Luo , YF Luo , Yiwei Chung , Sean Wang , , , , Ryder Lee Subject: [PATCH v2] mt76: mt7615: add TX/RX antenna pattern capabilities Date: Fri, 26 Apr 2019 13:23:08 +0800 Message-ID: <4f7160cb9f52335ce15fccac087fec25e7650884.1556255852.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-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org 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 | IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160_80PLUS80MHZ; dev->mt76.chainmask = 0x404; dev->mt76.antenna_mask = 0xf; -- 2.18.0