linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Luis R. Rodriguez" <lrodriguez@atheros.com>
To: Matt Tierney <matt.tierney@post.harvard.edu>
Cc: "ath9k-devel@lists.ath9k.org" <ath9k-devel@lists.ath9k.org>,
	<linux-wireless@vger.kernel.org>
Subject: Re: [ath9k-devel] Possible to set MCS Index?
Date: Wed, 30 Sep 2009 09:48:53 -0700	[thread overview]
Message-ID: <20090930164853.GA5730@mosca> (raw)
In-Reply-To: <d355d36c0909300814w302f11a4rb5b23a80aee36c43@mail.gmail.com>

On Wed, Sep 30, 2009 at 08:14:57AM -0700, Matt Tierney wrote:
> This might be a naive question, but I was wondering if it's 
> possible to set the MCS index either from a high level interface 
> or through a hack in the ath9k code. I'd like to fix the MCS Index
> to 15 but I don't know where that is set or if I can 'force' it
> through modifying the ath9k code in wireless-testing. (It doesn't
> appear as if iw provides that sort of functionality and it wasn't
> clear that I could specify a HT rate in hostapd.conf.)

mac80211 rate control code is MCS rate unaware, but we do at least
let drivers pass the MCS rate for tx status reporting. ath9k
unfortunately reports back the wrong MCS rate though because
of the way ath9k rate control works... it seems correcting this
requires a rewrite of our ath9k rate control code and no one has
prioritized on that as its a non-functional fix.

The first step then is to make mac80211 rate controle code MCS
aware and adding MCS rate control support to minstrel, for example.

For ath9k it'd be nice to fix the rate control code to be able
to report the right MCS index, I really am not sure how involved
that is as I've tried to stay away from the rate control code.

A good step would be to get ath9k rate control to be switchable
to minstrel, for example. This can be done as a module parameter
to start but eventually I think it'd be nice to be able to switch
through iw on any given device. That would require quite a lot of
work though.

Once mac80211 is MCS rate control aware the next step would be to
add a commands to set an MCS rate.

The cheesy and quick way to this for ath9k would be through
ath9k/debufs.c

  Luis

       reply	other threads:[~2009-09-30 16:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <d355d36c0909300814w302f11a4rb5b23a80aee36c43@mail.gmail.com>
2009-09-30 16:48 ` Luis R. Rodriguez [this message]
2009-09-30 17:23   ` [ath9k-devel] Possible to set MCS Index? John W. Linville
     [not found]   ` <d355d36c0909301116l5b6f05f2s4834a47142810a54@mail.gmail.com>
2009-09-30 19:04     ` Luis R. Rodriguez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090930164853.GA5730@mosca \
    --to=lrodriguez@atheros.com \
    --cc=ath9k-devel@lists.ath9k.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=matt.tierney@post.harvard.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).