[PATCH v2] wifi: mt76: mt7921: use driver flags rather than mac80211 flags to mcu

Deren Wu (武德仁) Deren.Wu at mediatek.com
Thu Mar 9 17:17:14 PST 2023


On Thu, 2023-03-09 at 16:50 -0800, Ben Greear wrote:
> On 3/7/23 03:22, Deren Wu wrote:
> > From: Neil Chen <yn.chen at mediatek.com>
> > 
> > FIF_* flags from mac80211 is not ABI. mt7921 should not pass it
> > into mcu
> > directly. Remap FIF_* to driver defined flags as mcu command input.
> > 
> > Fixes: c222f77fd421 ("wifi: mt76: mt7921: fix rx filter incorrect
> > by drv/fw inconsistent")
> > Signed-off-by: Neil Chen <yn.chen at mediatek.com> > Signed-off-by:
> > Deren Wu <deren.wu at mediatek.com>
> 
> I tried this plus the patch it is fixing on 6.2.2+ kernel with 7922
> radios,
> and behaviour seems worse than before the two patches were applied.
> 
> Original problem I was trying to fix is that my STAs will connect
> fine on 5Ghz,
> but then when I try to move them to 2.4Ghz, most will not scan
> anything.
> Packet sniff shows probe responses and requests, so I suspected
> firmware is
> filtering when it should not.
> 
> With the two patches applied, even 5Ghz is showing failure, with lots
> of
> beacon loss messages (I am disabling beacon filtering, which
> previously worked
> fine on 7921 nic in 5.19 kernel).
> 
> Are there other patches that I should consider to get 7922 to work
> better in 6.2.2+
> kernel?
> 
> [root at ct523c-3b7f ~]# cat /debug/ieee80211/wiphy0/mt76/version
> chipset:       7922
> ASIC-Revision: 0x79220010
> hw_sw_ver:     0x8a108a10
> build_date:    20221227123154a
> bus:           0000:04:00.0
> fwcfg:         fwcfg-mmio-0000:04:00.0.txt
> WM-hw_sw_ver:  ____000000
> WM-build_date: 20221227123243
> WA-hw_sw_ver:
> WA-build_date:

Hi Ben,

The issues you mention are more like other problems in firmware side.
We did fix them in mt7921 firmware and plan to post 7922 version. I
will update the progress soon.

Regards,
Deren

> 
> 
> Thanks,
> Ben
> 


More information about the Linux-mediatek mailing list