linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Oleksij Rempel <linux@rempel-privat.de>
To: George Nychis <gnychis@gmail.com>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
	ath9k_htc_fw <ath9k_htc_fw@lists.infradead.org>
Subject: Re: unable to force transmission rate on injection
Date: Sat, 15 Jun 2013 09:24:18 +0200	[thread overview]
Message-ID: <51BC16A2.8070104@rempel-privat.de> (raw)
In-Reply-To: <CA+7oygcTxgPiVbup6BT-+sJWFNy=nMTc8C7OeCew9Xc6WgQinw@mail.gmail.com>

Hi George,

ath9k_htc use internal rate controller which is located insight of 
firmware. If you have time, i'll suggest to take it in your hands.

Am 15.06.2013 01:58, schrieb George Nychis:
> I have an ath9k_htc card that I am trying to force a transmission rate
> on injection.  I did some digging around and found this patch from
> Pavel:
>
> http://article.gmane.org/gmane.linux.kernel.wireless.general/47441
>
> I updated and implemented that patch in to my kernel, and I see my
> injected packets coming down through the code.  I see that the rates I
> am trying to transmit pass the test to make sure that the rate is
> available:
>
> [ 1244.647325] *** gnychis: OK on rate 540 -- idx: 11
> [ 1244.682061] *** gnychis: OK on rate 480 -- idx: 10
> [ 1244.741305] *** gnychis: OK on rate 360 -- idx: 9
> ...
>
> And then I double checked to make sure that, given the flag,
> ieee80211_tx_h_rate_ctrl() is *not* being called.  So, to the best of
> my knowledge the patch supplied seems to keeping the supplied rate and
> disabling rate control.
>
> But, for some reason it still keeps getting transmitted at a rate of
> 1Mbps.  I have verified this with an independent receiver.  If I do a
> pcapdump on the transmitting interface, I see two packets for every
> transmission.  One at the rate I am trying to transmit at, and another
> at 1Mbps:
> http://users.ece.cmu.edu/~gnychis/bad_tx.pcap
>
> Am I missing something else in mac80211 to inject at a specific rate?
>
> Thanks!
> George
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>


-- 
Regards,
Oleksij

  reply	other threads:[~2013-06-15  7:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-14 23:58 unable to force transmission rate on injection George Nychis
2013-06-15  7:24 ` Oleksij Rempel [this message]
2013-06-15 19:58   ` George Nychis
2013-06-15 20:19     ` Oleksij Rempel

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=51BC16A2.8070104@rempel-privat.de \
    --to=linux@rempel-privat.de \
    --cc=ath9k_htc_fw@lists.infradead.org \
    --cc=gnychis@gmail.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 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).