From: Felix Fietkau <nbd@nbd.name>
To: Ryder Lee <ryder.lee@mediatek.com>,
Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Cc: Shayne Chen <shayne.chen@mediatek.com>,
linux-wireless@vger.kernel.org,
linux-mediatek@lists.infradead.org
Subject: Re: [PATCH 3/3] mt76: mt7615: support 16 interfaces
Date: Fri, 13 Nov 2020 10:14:43 +0100 [thread overview]
Message-ID: <dc6a370b-cf82-9cbe-1bb5-7df2e4652282@nbd.name> (raw)
In-Reply-To: <a4ad2ad2b3de3ced1ca2a214da598cd0a5fea604.1603988327.git.ryder.lee@mediatek.com>
On 2020-10-29 18:11, Ryder Lee wrote:
> When looking for a MAC address slot, start by using main BSSID slots 1-3,
> afterwards use 16 repeater mode BSSID slots, then start using the slots
> usually used for AP mode.
>
> This search order should prevent unnecessary conflicts with AP mode interfaces
> on the same PHY.
>
> Note that two PHYs share global 32 omac slots with each other.
>
> Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
> ---
> .../net/wireless/mediatek/mt76/mt7615/init.c | 4 +-
> .../net/wireless/mediatek/mt76/mt7615/main.c | 55 +++++++++++++------
> .../net/wireless/mediatek/mt76/mt7615/mcu.c | 49 ++++++++++++++++-
> .../net/wireless/mediatek/mt76/mt7615/mcu.h | 1 +
> .../wireless/mediatek/mt76/mt7615/mt7615.h | 25 +++------
> 5 files changed, 94 insertions(+), 40 deletions(-)
>
> diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h b/drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h
> index f72506d9f646..496c46f1073e 100644
> --- a/drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h
> +++ b/drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h
> @@ -176,7 +176,7 @@ struct mt7615_phy {
> struct ieee80211_vif *monitor_vif;
>
> u32 rxfilter;
> - u32 omac_mask;
> + u64 omac_mask;
>
> u16 noise;
>
This also needs to be done in struct mt7615_dev. I've fixed it up locally.
- Felix
prev parent reply other threads:[~2020-11-13 9:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-29 17:11 [PATCH 1/3] mt76: mt7915: use BIT_ULL for omac_idx Ryder Lee
2020-10-29 17:11 ` [PATCH 2/3] mt76: mt7915: remove unused mt7915_mcu_bss_sync_tlv() Ryder Lee
2020-11-13 9:13 ` Felix Fietkau
2020-10-29 17:11 ` [PATCH 3/3] mt76: mt7615: support 16 interfaces Ryder Lee
2020-11-13 9:14 ` Felix Fietkau [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=dc6a370b-cf82-9cbe-1bb5-7df2e4652282@nbd.name \
--to=nbd@nbd.name \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-wireless@vger.kernel.org \
--cc=lorenzo.bianconi@redhat.com \
--cc=ryder.lee@mediatek.com \
--cc=shayne.chen@mediatek.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox