All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tambet Arak <tambet.arak@gmail.com>
To: linux-wireless@vger.kernel.org
Subject: A few questions about iwlwifi and its rate control mechanism
Date: Thu, 18 Jan 2018 11:09:27 +0200	[thread overview]
Message-ID: <CAMNDV2kK33fWYVNNAO8=ZqgxyPdXxTdOrxdQnW6ORMFM1hkrxQ@mail.gmail.com> (raw)

Hi all,

I'm not really a Linux developer, more of a curious user, but the
wireless developers mailing list seems appropriate for my questions.
Please bear with me if they don't make much sense, as I'm a complete
novice when it comes to the wireless subsystem.

In any case, I was looking into how to optimally tune wireless
reception at work, since the APs are aging and only support up to MCS7
(65 Mb/s), so any improvements would help. I'm using a HP laptop with
a Intel Centrino Advanced-N 6235, driven by iwlwifi / iwldvm (vanilla
Linux 4.14.8). I noticed that `iw dev wlo1 station dump` generally
reports a 58.5-65 Mb/s rx bitrate, but when the connection is taxed
(e.g. downloading a file), it drops.

Since the only other OS on my machine is Windows, I tested by
downloading a large file there and generally the average throughput
was slightly higher. I'm not a Windows user, so I don't have a clue if
`netsh show interfaces` reports a correct effective bit rate, but it
was always fixed to 65 Mb/s in my tests.

This led me to digging around in iwlwifi. It seems that iwlwifi
registers its own rate control algorithm (iwl-agn-rs) with the
mac80211 subsystem and this is hardcoded.

Hence a few questions:

- Why does iwlwifi have / need its own rc algorithm, instead of using minstrel?
- It seems that iwl-agn-rs is not configurable by the end user. Would
there be any interest in development for iwl-agn-rs configurability,
e.g. being less / more conservative about lowering rates? I'm mostly
interested in rx performance - I'm making the assumption here that rx
rates are negotiated with the AP (as opposed to being forced).
- Is there any documentation regarding iwlwifi or its rc algorithm
implementation? If so, I would kindly appreciate pointers.

Cheers,

Tambet

             reply	other threads:[~2018-01-18  9:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-18  9:09 Tambet Arak [this message]
2018-01-18  9:41 ` A few questions about iwlwifi and its rate control mechanism Emmanuel Grumbach
2018-01-18 10:54   ` Tambet Arak
2018-01-18 11:20     ` Emmanuel Grumbach

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='CAMNDV2kK33fWYVNNAO8=ZqgxyPdXxTdOrxdQnW6ORMFM1hkrxQ@mail.gmail.com' \
    --to=tambet.arak@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 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.