Skip to content

Improve queue handling for off-channel operation

Seth Forshee linux-wireless 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 6 repliesIn review

Changes since v1 from the cover letter

* Add unlikely() to the off-channel condition in ieee80211_tx_frags()
* Expand the queue stop reasons that will cause off-channel frames to be dropped to include everything except the off-channel stop reason
* Remove changes to abort scans when sending of probe request frames failed

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4mac80211: Return a status for tx operationsnet/mac80211/ieee80211_i.h net/mac80211/tx.c+92 -640 replies
2/4mac80211: Fix tx queue handling during scansnet/mac80211/agg-tx.c net/mac80211/cfg.c net/mac80211/ht.c +6 more+67 -500 replies
3/4mac80211: Improve error handling for off-channel operationnet/mac80211/ieee80211_i.h net/mac80211/mlme.c net/mac80211/offchannel.c +1 more+34 -1320 replies
4/4mac80211: Add flushes before going off-channelnet/mac80211/offchannel.c net/mac80211/scan.c+8 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Improve queue handling for off-channel operation

Hi Johannes,

Here are some updates to the tx queue handling patches during off-channel operation that were part of the larger series I sent last week. I didn't see any reason to sit on these while I finished implementing the powersave changes. This includes the patches to return a status from tx operations, add an off-channel queue stop reason, and improve error handling when going off-channel.

Changes since v1:
* Add unlikely() to the off-channel condition in ieee80211_tx_frags()
* Expand the queue stop reasons that will cause off-channel frames to be dropped to include everything except the off-channel stop reason
* Remove changes to abort scans when sending of probe request frames failed

Thanks,
Seth

Seth Forshee (4):
mac80211: Return a status for tx operations
mac80211: Fix tx queue handling during scans
mac80211: Improve error handling for off-channel operation
mac80211: Add flushes before going off-channel

 net/mac80211/agg-tx.c      |    4 +-
 net/mac80211/cfg.c         |    2 +-
 net/mac80211/ht.c          |    2 +-
 net/mac80211/ieee80211_i.h |   70 ++++++++++++++++++------
 net/mac80211/mlme.c        |    6 +-
 net/mac80211/offchannel.c  |   55 +++++++++++--------
 net/mac80211/scan.c        |   16 +++++-
 net/mac80211/sta_info.c    |    2 +-
 net/mac80211/tx.c          |  130 +++++++++++++++++++++++++-------------------
 net/mac80211/util.c        |    3 +-
 10 files changed, 182 insertions(+), 108 deletions(-)