All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHv3 0/2] [RESEND] add support for mcs masks
@ 2012-01-28 16:25 Simon Wunderlich
  2012-01-28 16:25 ` [PATCHv3 1/2] nl80211: " Simon Wunderlich
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Simon Wunderlich @ 2012-01-28 16:25 UTC (permalink / raw)
  To: linux-wireless
  Cc: linville, Johannes Berg, Simon Wunderlich, Mathias Kretschmer

This patchset is simply the rebased version of PATCHv2, which received
quite a few comments, but in the end we agreed to leave it as it is.
As the patchset has not been merged so far, I'm resending it. If there
are any comments/objections, please let me know. :)

(original) description:

This patchset adds support for fixed HT datarates. The configuration is
set through nl80211, and now accepts MCS masks next to the legacy masks.

A user may also choose to only use HT datarates and no legacy rates at all -
- as always when fiddling with datarates, he should know what he's doing,
and a fallback in the rate matching functions allow to use the rate controls
selected rate if no matching rate was found. The rate matching was enhanced
to consider MCS rates as well.

I have tested this feature in IBSS mode with ath9k devices and with and without
NoAcks, and (at least for me) it works as expected.

There is an iw patch as well to make use of this feature.

It should apply well on the latest wireless-testing kernel.

Changes to previous versions:
 * fix NL80211_MAX_SUPP_HT_RATES and add bug assertion
 * copy mcs rates from sband into mask
 * add sanity check for rate index
 * various formatting clean up

Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Mathias Kretschmer <mathias.kretschmer@fokus.fraunhofer.de>

Simon Wunderlich (2):
  nl80211: add support for mcs masks
  mac80211: add support for mcs masks

 include/linux/nl80211.h       |    4 +
 include/net/cfg80211.h        |    3 +-
 include/net/mac80211.h        |    1 +
 net/mac80211/cfg.c            |    5 +-
 net/mac80211/debugfs_netdev.c |   34 +++++++++++
 net/mac80211/ieee80211_i.h    |    1 +
 net/mac80211/iface.c          |    7 ++
 net/mac80211/rate.c           |  124 ++++++++++++++++++++++++++++++++++++++---
 net/mac80211/tx.c             |    5 ++
 net/wireless/nl80211.c        |   61 ++++++++++++++++++++-
 10 files changed, 233 insertions(+), 12 deletions(-)

-- 
1.7.8.3


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2020-11-13  8:55 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-28 16:25 [PATCHv3 0/2] [RESEND] add support for mcs masks Simon Wunderlich
2012-01-28 16:25 ` [PATCHv3 1/2] nl80211: " Simon Wunderlich
2020-11-12 10:38   ` Wen Gong
2020-11-12 10:38     ` Wen Gong
2020-11-12 10:38     ` Wen Gong
2020-11-13  8:55     ` Wen Gong
2020-11-13  8:55       ` Wen Gong
2020-11-13  8:55       ` Wen Gong
2012-01-28 16:25 ` [PATCHv3 2/2] mac80211: " Simon Wunderlich
2012-01-28 16:25 ` [PATCH 1/2] iw: add nl80211 bitrates Simon Wunderlich
2012-01-28 16:25 ` [PATCH 2/2] iw: remove ifdefs for mcs mask Simon Wunderlich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.