An injected unicast frame that asks for no ack can wait behind dozens of RTS frames on MT7922, or be held for good on a data queue: when the chip protects unicast frames, the RTS goes to the empty peer address of the interface's station entry, and nobody answers it. Send such a frame the way group addressed frames are sent, once and without protection, which is what it asked for. Signed-off-by: Devin Wittmayer --- Notes: Changing the RTS threshold, raising the RTS packet threshold to 0xff, or turning protection off for the monitor's BSS all left the RTS in place. drivers/net/wireless/mediatek/mt76/mt76_connac_mac.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/net/wireless/mediatek/mt76/mt76_connac_mac.c b/drivers/net/wireless/mediatek/mt76/mt76_connac_mac.c index 0a272ee879e3..3cfffaa40584 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76_connac_mac.c +++ b/drivers/net/wireless/mediatek/mt76/mt76_connac_mac.c @@ -461,6 +461,15 @@ mt76_connac2_mac_write_txwi_80211(struct mt76_dev *dev, __le32 *txwi, info->control.rates[0].idx >= 0)) val |= MT_TXD2_FIX_RATE; + /* An injected frame that asks for no ack is sent the way group + * addressed frames are: once, without RTS protection. A unicast + * one is otherwise protected with RTS to the empty peer address of + * the interface's station entry, which nobody answers. + */ + if ((info->flags & IEEE80211_TX_CTL_INJECTED) && + (info->flags & IEEE80211_TX_CTL_NO_ACK)) + val |= MT_TXD2_MULTICAST; + if (ieee80211_has_morefrags(fc) && ieee80211_is_first_frag(sc)) val |= FIELD_PREP(MT_TXD2_FRAG, MT_TX_FRAG_FIRST); else if (ieee80211_has_morefrags(fc) && !ieee80211_is_first_frag(sc)) -- 2.56.1