diff options
author | Hans de Goede <[email protected]> | 2022-09-08 19:36:18 +0200 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2022-09-19 13:08:57 +0300 |
commit | f2c6e7ca3ee6ebb0a9562f3c0f6d09f15eaed4ed (patch) | |
tree | bbde3efdd03eb1bb9a191a460a2beb7eea04cdbb /tools/perf/scripts/python/powerpc-hcalls.py | |
parent | 43aeb945eb0325c003e02ace3cd3676d4c81a368 (diff) |
wifi: rt2x00: Fix "Error - Attempt to send packet over invalid queue 2"
Even though ieee80211_hw.queues is set to 2, the ralink rt2x00 driver
is seeing tx skbs submitted to it with the queue-id set to 2 / set to
IEEE80211_AC_BE on a rt2500 card when associating with an access-point.
This causes rt2x00queue_get_tx_queue() to return NULL and the following
error to be logged: "ieee80211 phy0: rt2x00mac_tx: Error - Attempt to
send packet over invalid queue 2", after which association with the AP
fails.
This patch works around this by mapping QID_AC_BE and QID_AC_BK
to QID_AC_VI when there are only 2 tx_queues.
Signed-off-by: Hans de Goede <[email protected]>
Acked-by: Stanislaw Gruszka <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions