linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] add support for mcs masks
@ 2011-12-19 14:14 Simon Wunderlich
  0 siblings, 0 replies; 2+ messages in thread
From: Simon Wunderlich @ 2011-12-19 14:14 UTC (permalink / raw)
  To: linux-wireless
  Cc: linville, Johannes Berg, Simon Wunderlich, Mathias Kretschmer

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.

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          |    3 +
 net/mac80211/rate.c           |  129 +++++++++++++++++++++++++++++++++++++----
 net/mac80211/tx.c             |    5 ++
 net/wireless/nl80211.c        |   54 +++++++++++++++++-
 10 files changed, 223 insertions(+), 16 deletions(-)

-- 
1.7.7.3


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

* [PATCH 0/2] add support for mcs masks
@ 2012-01-03 14:10 Thanh Son Le
  0 siblings, 0 replies; 2+ messages in thread
From: Thanh Son Le @ 2012-01-03 14:10 UTC (permalink / raw)
  To: linux-wireless

Dear Simon

I have read your patches on adding supports for MCS rates, both iw and compat-
wireless, it seems interesting.

For evaluation purpose, I have added the patches to Compat-wireless and IW. It 
seems compiling and running fine.

But when I tried to set up the rate, through iw set bitrates command, it does 
not work. Please refer to the following dumping message for further details:
----------------------------------------------
root@Openwrt:/sys/kernel/debug/ieee80211/phy0# iw dev wlan0.sta1 set bitrates 
mcs-5 14
root@Openwrt:/sys/kernel/debug/ieee80211/phy0# iw dev wlan0.sta1 station dump
Station 00:xx::xx:xx:xx (on wlan0.sta1)
        inactive time:  490 ms
        rx bytes:       1739675
        rx packets:     15179
        tx bytes:       7421803
        tx packets:     14051
        tx retries:     714
        tx failed:      139
        signal:         -45 dBm
        signal_ctl0:    -46 dBm
        signal_ctl1:    -45 dBm
        tx bitrate:     6.0 MBit/s
        rx bitrate:     6.0 MBit/s
root@Javelin:/sys/kernel/debug/ieee80211/phy0# 
--------------------------------------------------------------------------------
-------

I have tested both with ack and noack, but it still does not work
Both AP and STA are in WDS.

Can you check for me whether the set command is correct and whether it can work 
in AP/STA mode ?

Once again, Thanks you very much for your kind helps and considerations and I 
look forward to receiving information from you.

Yours sincerely

Le


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

end of thread, other threads:[~2012-01-03 14:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-03 14:10 [PATCH 0/2] add support for mcs masks Thanh Son Le
  -- strict thread matches above, loose matches on Subject: below --
2011-12-19 14:14 Simon Wunderlich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).