From: Daniel Haid <d.haid@gogi.tv>
To: linux-wireless@vger.kernel.org
Subject: Setting MCS rate on injected packets does not work properly (with patches)
Date: Sun, 8 Aug 2010 21:24:32 +0200 [thread overview]
Message-ID: <201008082124.33033.d.haid@gogi.tv> (raw)
Hello,
I have applied some old patches that were posted here,
that allow to set the rate via the radiotap header for
injected packets.
Additionally I had to comment out the call
to ieee80211_tx_h_rate_ctrl in net/mac80211/tx.c
for anything to work.
I have patched two stations. My problem is as follows:
When I use hostapd on one station and enable HT I get
rates of about 60MBit/s.
But when I inject packets manually and I set the MCS index
the MCS index gets reported properly at the other station.
However no matter what index I choose, I never get rates
higher than 10MBit/s (I wrote a program that reads monitor
mode packets with libpcap and sends them to a tun device
and everything that comes from the tun device is injected
with libpcap - then I measured the rate for UDP packets sent
trough this connection).
Is there anything that has to be set up first for MCS mode to
work properly? What else can I do?
Thank you.
next reply other threads:[~2010-08-08 19:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-08 19:24 Daniel Haid [this message]
2010-08-09 16:09 ` Setting MCS rate on injected packets does not work properly (with patches) Björn Smedman
2010-08-10 16:58 ` Luis R. Rodriguez
[not found] ` <201008092149.14462.d.haid@gogi.tv>
[not found] ` <AANLkTik_78KB4QV210TbTxFRveL-e7yPwsxL-DEizRcX@mail.gmail.com>
2010-08-10 14:48 ` Setting MCS rate on injected packets (includes patch) Daniel Haid
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=201008082124.33033.d.haid@gogi.tv \
--to=d.haid@gogi.tv \
--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