openwrt / mt76

mac80211 driver for MediaTek MT76x0e, MT76x2e, MT7603, MT7615, MT7628 and MT7688
738 stars 342 forks source link

mt7981/mt7986 sta connection to AP with AX mode broken #792

Open ptpt52 opened 1 year ago

ptpt52 commented 1 year ago
7981 client STA(wds)----(broken connection)----7981 AP(wds) with AX mode
ptpt52 commented 1 year ago

@nbd168 confirmed this issue and if use AP with AC mode the connection is good:

good:

7981 client STA(wds)----(good connection)----7981 AP(wds) with AC mode
soxrok2212 commented 1 year ago

Same issue as the following:

https://github.com/openwrt/openwrt/issues/12905 https://forum.openwrt.org/t/wireless-client-mode-broken-on-wax206-post-r22866/162406 https://forum.openwrt.org/t/mt7621-wds-with-channel-width-20-mhz-and-ax-not-working-in-newer-snapshots/161942

cmonroe commented 1 year ago

I think this patch should work around the problem you are running into.

Alternately, you could revert 4046b591 for now.

The fix above has not made it into mt76 just yet.. it sounds like there's some discussion as to whether the proposed patch above is the ideal way to fix the issue or if it should be handled in mac80211.

ptpt52 commented 1 year ago

@cmonroe I would like to have this a try.

zhaojh329 commented 1 year ago

I think this patch should work around the problem you are running into.

Alternately, you could revert 4046b591 for now.

The fix above has not made it into mt76 just yet.. it sounds like there's some discussion as to whether the proposed patch above is the ideal way to fix the issue or if it should be handled in mac80211.

Good. I tested. It works fine.

cryobry commented 1 year ago

I'm still having issues after latest merge with stability on WDS client and 802.11ax. Server seems to function fine, WDS on client works fine using 802.11ac 160mhz but with 802.11ax 160mhz it repeatedly drops the connection and gets locked into lower rates, etc. This is using a matched pair of AX6000's, MT7986.

ptpt52 commented 1 year ago

@cryobry I tested the mt76 latest code, and it looks good.

soxrok2212 commented 1 year ago

Did either of you test with a VAP on the same radio? I'm still getting poor throughput when a radio has a VAP and a mesh node. May/may not be the same with WDS.

cmonroe commented 1 year ago

@cryobry I have a pair of 2G/6G MT7986 boards using 4mac client mode on the 6G interface of one on a 160MHz channel.. no issues with that. I will try a 5G 4mac client on MT7986 shortly.

@soxrok2212 I thought I saw an issue on a unit which has a 4mac STA (wireless uplink) and 4mac AP (downlink to another mesh node) but have not been able to reproduce it today. Does the problem change for you after reboot or power cycle?

soxrok2212 commented 1 year ago

@cmonroe negative. Poor performance immediately after it boots.

soxrok2212 commented 1 year ago

@nbd168 Seems like when 802.11s is enabled with other VAPs on the same radio, TX on the router gets limited to 20MHz for wireless clients only. Speeds reflect that:

xx:xx:xx:xx:xx:xx  -64 dBm / -92 dBm (SNR 28)  0 ms ago
    RX: 907.4 MBit/s, HE-MCS 9, 80MHz, HE-NSS 2, HE-GI 1, HE-DCM 0   1304942 Pkts.
    TX: 286.7 MBit/s, HE-MCS 11, 20MHz, HE-NSS 2, HE-GI 0, HE-DCM 0   1410962 Pkts.
    expected throughput: unknown

RX direction is fine, and this doesn't appear to affect the mesh node, only wireless clients.

cryobry commented 1 year ago

@ptpt52 Indeed, on latest snapshot WDS client has been steady for several hours for me on 160mhz AX. I will report back if there are issues. Thank you.

fcaronte commented 7 months ago

I guys, i have a GL-MT3000 with this mediatek MT7981, today i update OpenWrt to last stable 23.05.2 and try to investigate why my new s24 ultra reach only 650mb max speed and i discover i was using at 80mhz, i try to switch to 160mhz but most of the time seem not to working at all, i manual set country to IT, channel to 36 and have no idea if need something other, any suggestion? is auto channel maybe better?