Skip to contentSkip to conversation

Stopping and waking tx queues per vif without IEEE80211_HW_QUEUE_CONTROL

mac80211 Vladimir Diaconescu 1 participant 1 message Aug 12, 2015 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

I am currently trying to stop packets for specific vifs.

This can easily be done if the IEEE80211_HW_QUEUE_CONTROL flag is set and using ieee80211_stop_vif_queues and ieee80211_wake_vif_queues from util.c. But some drivers/cards do not have this capability.

Currently, all vif queues map to the same hardware queues (since there's a single wireless device). Therefore, stopping and waking queues is a "global" action.

What are my options? Do I "manually" stop the outgoing packets at the mac80211 level?

Specifications:
- kernel version 3.14
- ath9k

Regards,
Vladimir