All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arend van Spriel <arend@broadcom.com>
To: Ben Greear <greearb@candelatech.com>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: mac80211-hwsim and tx-rates.
Date: Wed, 11 Mar 2015 22:31:03 +0100	[thread overview]
Message-ID: <5500B417.9070307@broadcom.com> (raw)
In-Reply-To: <5500AEAB.8010605@candelatech.com>

On 03/11/15 22:07, Ben Greear wrote:
> When using the user-space transport, the netlink frame sent to user-space
> has a rate index and retry count, and nothing else.  Is there a
> reliable way to know in user-space what index maps to what actual rate?

Not sure what you are exactly looking for, but maybe the function 
cfg80211_calculate_bitrate() in net/wireless/util.c may provide you some 
answers.

Regards,
Arend

> If not, any suggestions for how to improve this?  Maybe add
> a new object that passes up a bunch more info about the actual
> rates instead of just the rate idx?
>
> Thanks,
> Ben
>


  reply	other threads:[~2015-03-11 21:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-11 21:07 mac80211-hwsim and tx-rates Ben Greear
2015-03-11 21:31 ` Arend van Spriel [this message]
2015-03-11 22:06   ` Ben Greear
2015-03-14 10:47     ` Bob Copeland
2015-03-14 16:14       ` Ben Greear
2015-03-14 17:48         ` Bob Copeland
2015-03-14 18:04           ` Ben Greear

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=5500B417.9070307@broadcom.com \
    --to=arend@broadcom.com \
    --cc=greearb@candelatech.com \
    --cc=linux-wireless@vger.kernel.org \
    /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 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.