[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <f469eccfb2344a6098267a1ebd2a3eb6@realtek.com>
Date: Tue, 11 Mar 2025 08:30:22 +0000
From: Ping-Ke Shih <pkshih@...ltek.com>
To: Shengyu Qu <wiagn233@...look.com>, "nbd@....name" <nbd@....name>,
"lorenzo@...nel.org" <lorenzo@...nel.org>,
"ryder.lee@...iatek.com"
<ryder.lee@...iatek.com>,
"shayne.chen@...iatek.com"
<shayne.chen@...iatek.com>,
"sean.wang@...iatek.com"
<sean.wang@...iatek.com>,
"johannes@...solutions.net"
<johannes@...solutions.net>,
"matthias.bgg@...il.com"
<matthias.bgg@...il.com>,
"angelogioacchino.delregno@...labora.com"
<angelogioacchino.delregno@...labora.com>,
"miriam.rachel.korenblit@...el.com" <miriam.rachel.korenblit@...el.com>,
"greearb@...delatech.com" <greearb@...delatech.com>,
"michael-cy.lee@...iatek.com" <michael-cy.lee@...iatek.com>,
"nicolas.cavallari@...en-communications.fr"
<nicolas.cavallari@...en-communications.fr>,
"emmanuel.grumbach@...el.com"
<emmanuel.grumbach@...el.com>,
"christophe.jaillet@...adoo.fr"
<christophe.jaillet@...adoo.fr>,
"mingyen.hsieh@...iatek.com"
<mingyen.hsieh@...iatek.com>,
"chui-hao.chiu@...iatek.com"
<chui-hao.chiu@...iatek.com>,
"quic_adisi@...cinc.com"
<quic_adisi@...cinc.com>,
"gustavoars@...nel.org" <gustavoars@...nel.org>,
"sujuan.chen@...iatek.com" <sujuan.chen@...iatek.com>,
"bo.jiao@...iatek.com"
<bo.jiao@...iatek.com>,
"linux-wireless@...r.kernel.org"
<linux-wireless@...r.kernel.org>,
"linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-mediatek@...ts.infradead.org"
<linux-mediatek@...ts.infradead.org>
Subject: RE: [PATCH v10] wifi: mt76: mt7915: add wds support when wed is enabled
Shengyu Qu <wiagn233@...look.com> wrote:
>
> The current WED only supports 256 wcid, whereas mt7986 can support up to
> 512 entries, so firmware provides a rule to get sta_info by DA when wcid
> is set to 0x3ff by txd. Also, WED provides a register to overwrite txd
> wcid, that is, wcid[9:8] can be overwritten by 0x3 and wcid[7:0] is set
> to 0xff by host driver.
>
> However, firmware is unable to get sta_info from DA as DA != RA for
> 4addr cases, so firmware and wifi host driver both use wcid (256 - 271)
> and (768 ~ 783) for sync up to get correct sta_info.
>
> Currently WDS+WED config is completely broken on MT7986/7981 devices if
> without this patch.
>
> Tested-by: Sujuan Chen <sujuan.chen@...iatek.com>
> Co-developed-by: Bo Jiao <bo.jiao@...iatek.com>
> Signed-off-by: Bo Jiao <bo.jiao@...iatek.com>
> Signed-off-by: Sujuan Chen <sujuan.chen@...iatek.com>
> Signed-off-by: Shengyu Qu <wiagn233@...look.com>
Reviewed-by: Ping-Ke Shih <pkshih@...ltek.com>
Powered by blists - more mailing lists