[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1556623678.4496.1.camel@mtkswgap22>
Date: Tue, 30 Apr 2019 19:27:58 +0800
From: Ryder Lee <ryder.lee@...iatek.com>
To: Felix Fietkau <nbd@....name>
CC: Lorenzo Bianconi <lorenzo.bianconi@...hat.com>,
Roy Luo <royluo@...gle.com>, YF Luo <yf.luo@...iatek.com>,
Yiwei Chung <yiwei.chung@...iatek.com>,
Sean Wang <sean.wang@...iatek.com>,
<linux-wireless@...r.kernel.org>,
<linux-mediatek@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] mt76: mt7615: add TX/RX antenna pattern capabilities
On Tue, 2019-04-30 at 11:24 +0200, Felix Fietkau wrote:
> On 2019-04-26 07:23, Ryder Lee wrote:
> > Announce antenna pattern cap to adapt PHY and baseband settings.
> >
> > Signed-off-by: Ryder Lee <ryder.lee@...iatek.com>
> > ---
> > 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?
>
Right. I will add these flags in common code.
Ryder
Powered by blists - more mailing lists