mac80211: fix AP buffered multicast frames with queue control and txq
PATCH 1/1 mac80211: fix AP buffered multicast frames with queue control and txq
Buffered multicast frames must be passed to the driver directly via drv_tx instead of going through the txq, otherwise they cannot easily be scheduled to be sent after DTIM.
--- net/mac80211/tx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
net/mac80211/tx.c +2 -1
@@ -1247,7 +1247,8 @@ static void ieee80211_drv_tx(struct ieee80211_local *local,struct txq_info *txqi;u8 ac; -if (info->control.flags &IEEE80211_TX_CTRL_PS_RESPONSE ) +if ((info->flags &IEEE80211_TX_CTL_SEND_AFTER_DTIM ) || + (info->control.flags &IEEE80211_TX_CTRL_PS_RESPONSE )) goto tx_normal;if (!ieee80211_is_data (hdr->frame_control))
Signature · 1 line
2.2.2
Quoted 24 lines · Felix Fietkau
Buffered multicast frames must be passed to the driver directly via
drv_txinstead of going through the txq, otherwise they cannot easily be scheduled to be sent after DTIM.Signed-off-by Felix Fietkau <[email protected]>--- net/mac80211/tx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)net/mac80211/tx.c +2
-2@@ -1247,7 +1247,8 @@ static void ieee80211_drv_tx(struct ieee80211_local *local,struct txq_info *txqi;u8 ac; -if (info->control.flags &IEEE80211_TX_CTRL_PS_RESPONSE ) +if ((info->flags &IEEE80211_TX_CTL_SEND_AFTER_DTIM ) || + (info->control.flags &IEEE80211_TX_CTRL_PS_RESPONSE )) goto tx_normal;if (!ieee80211_is_data (hdr->frame_control)) --
Quoted 1 line
2.2.2
I would like hooks to emerge to be able to keep the level of multicast at a dull roar, relative to other traffic, and the impact of a multicast bursts measureable (stat exposed to userspace, something reporting back to the main tx queues that one just happened and how long it took). On receive, too.....
Quoted 5 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 4 lines · Felix Fietkau
Buffered multicast frames must be passed to the driver directly via
drv_txinstead of going through the txq, otherwise they cannot easily be scheduled to be sent after DTIM.
Applied.
johannes
Johannes Berg
maintainerQuoted 26 lines · Dave Taht
Quoted 24 lines · Felix Fietkau
Buffered multicast frames must be passed to the driver directly via
drv_txinstead of going through the txq, otherwise they cannot easily be
scheduled to be sent after DTIM.Signed-off-by Felix Fietkau <[email protected]>---
net/mac80211/tx.c | 3 ++-1 file changed, 2 insertions(+), 1 deletion(-)net/mac80211/tx.c +2
-1@@ -1247,7 +1247,8 @@ static void ieee80211_drv_tx(struct ieee80211_local *local, struct txq_info *txqi; u8 ac; - if (info->control.flags & IEEE80211_TX_CTRL_PS_RESPONSE) + if ((info->flags & IEEE80211_TX_CTL_SEND_AFTER_DTIM) || + (info->control.flags & IEEE80211_TX_CTRL_PS_RESPONSE)) goto tx_normal;
Quoted 5 lines
Quoted 3 lines
if (!ieee80211_is_data(hdr->frame_control)) --
2.2.2I would like
Feel free to propose patches for anything you like :)
johannes
Quoted 1 line
Quoted 27 lines · Johannes Berg
Quoted 26 lines · Dave Taht
Quoted 24 lines · Felix Fietkau
Buffered multicast frames must be passed to the driver directly via
drv_txinstead of going through the txq, otherwise they cannot easily be
scheduled to be sent after DTIM.Signed-off-by Felix Fietkau <[email protected]>--- net/mac80211/tx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)net/mac80211/tx.c +2
-1@@ -1247,7 +1247,8 @@ static void ieee80211_drv_tx(structieee80211_local *local, struct txq_info *txqi;u8 ac; -if (info->control.flags &IEEE80211_TX_CTRL_PS_RESPONSE ) +if ((info->flags &IEEE80211_TX_CTL_SEND_AFTER_DTIM ) || + (info->control.flags &IEEE80211_TX_CTRL_PS_RESPONSE )) goto tx_normal;
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
if (!ieee80211_is_data(hdr->frame_control))--
2.2.2I would like
Feel free to propose patches for anything you like :)
At the moment all I can do is cheer people on, and try to assemble enough gear to test comprehensively when enough patches have landed in your tree... Go, felix! Go, Michal! Go Mohammed! Go, Ben! Go Tim! Go, Emmanuel! Go Johannes!
Quoted 3 lines
johannes
Quoted 1 line