b43-dev.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Diego Passos <diegogpassos@gmail.com>
To: b43-dev@lists.infradead.org
Subject: Rates in ad hoc mode
Date: Tue, 18 Jan 2011 18:15:04 -0200	[thread overview]
Message-ID: <AANLkTinVuumK4duzd_SToOFno04DW47nCrSUhd0f3+vT@mail.gmail.com> (raw)

Hello,

I'm using b43 in a Linksys wrt54g router (b43's dmesg output says it's
a broadcom 4712 revision 7). The router runs a stock openwrt image,
using kernel 2.6.32.10. I have an ad hoc network composed of several
nodes.

The driver works fine (very stable), except for the available
transmission rates. It seems I cannot transmit packets using rates
other than 1Mbps. Using a laptop as a sniffer I can only see frames
being sent at 1 Mbps, even if I try to force a different rate with:

# iwconfig wlan0 rate 12M
or
# iwconfig wlan0 rate 12M fixed

The output from dmesg shows that a default rate control algorithm
(minstrel) is loaded whenever I load b43. At first, I thought minstrel
could be forcing the 1 Mbps rate, so I checked the debug info
available in /sys/kernel/debug/ieee80211/phy0/stations/*/rc_stats. The
file, which should show information about all rates, shows only one
entry (for 1 Mbps).

If I change the mode to Managed, all usual rates are available
(including in minstrel debug info) and my sniffer shows frames being
transmitted at other rates.

My question is: is this a limitation of the driver (in ad hoc mode) or
am I missing something (such as a new driver version or a bad
configuration)? Also, is there a way of changing or even disabling (on
run-time) the rate control algorithm?

Thanks in advance,

Diego

                 reply	other threads:[~2011-01-18 20:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=AANLkTinVuumK4duzd_SToOFno04DW47nCrSUhd0f3+vT@mail.gmail.com \
    --to=diegogpassos@gmail.com \
    --cc=b43-dev@lists.infradead.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).