linux/drivers/net/wireless/mediatek/mt76/mt7925
Devin Wittmayer 5796b2bf9f wifi: mt76: mt7925: don't put the band auto marker in TGID
band_idx starts out as 0xff, which tells the firmware to pick the band on
its own. A remain-on-channel grant normally writes a real index over it
before anything else looks. Two cases never see that: an MLD station
throws the grant away, and an AP has no association to trigger one.

The TX descriptor reads the same field into a two-bit slot, so the marker
comes out as 3. Every data frame from those two goes out tagged band 3.
Beacons are fine, they reach the firmware separately and never build a
descriptor.

Same numbers on an MT7925 and on a Netgear A9000:

                        stock         patched
  station, one link     0x00000001    0x00000001
  station, two links    0x00003001    0x00000001
  AP                    0x00003013    0x00000013
  real band index, STA  0x00001001    0x00001001
  real band index, AP   0x00001013    0x00001013

Only the marker cases move.

Fixes: 0cb349d742 ("wifi: mt76: mt7925: update mt7925_mac_link_bss_add for MLO")
Signed-off-by: Devin Wittmayer <lucid_duck@justthetip.ca>
Link: https://patch.msgid.link/20260911024428.65244-1-lucid_duck@justthetip.ca
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2026-10-06 11:50:52 +02:00
..
debugfs.c wifi: mt76: Drop unneeded mt76_register_debugfs_fops() return checks 2026-06-09 10:34:02 +00:00
init.c wifi: mt76: mt7925: stop init retries on hung bus 2026-07-31 12:25:37 +00:00
Kconfig wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
mac.c wifi: mt76: mt7925: don't put the band auto marker in TGID 2026-10-06 11:50:52 +02:00
mac.h wifi: mt76: mt7925: add MT7928 TXD/TXS/TX_DONE support 2026-07-31 12:25:36 +00:00
main.c wifi: mt76: mt7925: restore the legacy BSS after MLO teardown 2026-10-06 11:50:52 +02:00
Makefile wifi: mt76: mt7925: add NAN MCU helpers 2026-07-31 12:25:37 +00:00
mcu.c wifi: mt76: mt7925: fix infinite loop in UNI event TLV parsing 2026-08-01 14:49:43 +00:00
mcu.h wifi: mt76: mt7925: fix infinite loop in UNI event TLV parsing 2026-08-01 14:49:43 +00:00
mt7925.h wifi: mt76: mt7925: add MT7928 TXD/TXS/TX_DONE support 2026-07-31 12:25:36 +00:00
nan.c wifi: mt76: mt7925: wire up NAN operations 2026-07-31 12:25:37 +00:00
nan.h wifi: mt76: mt7925: wire up NAN operations 2026-07-31 12:25:37 +00:00
pci_mac.c wifi: mt76: mt7925: add per-chip PCIe register definitions 2026-07-31 12:25:36 +00:00
pci_mcu.c wifi: mt76: mt7925: add per-chip PCIe register definitions 2026-07-31 12:25:36 +00:00
pci.c wifi: mt76: mt7925: skip DMA re-init selectively 2026-08-01 14:49:43 +00:00
regd.c treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
regd.h wifi: mt76: mt7925: add regulatory wiphy self manager support 2026-07-31 12:25:39 +00:00
regs.h wifi: mt76: mt7925: remove code guarded by nonexistent config option 2026-07-31 12:25:37 +00:00
testmode.c wifi: mt76: mt7925: validate skb length in testmode query 2026-06-09 10:15:21 +00:00
usb.c wifi: mt76: mt7925: cancel pending mlo_pm_work 2026-07-31 12:25:38 +00:00