]> git.baikalelectronics.ru Git - kernel.git/commit
carl9170: add support for the new rate control API
authorChristian Lamparter <chunkeey@googlemail.com>
Wed, 12 Jun 2013 19:35:39 +0000 (21:35 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 13 Jun 2013 17:32:28 +0000 (13:32 -0400)
commitcfa65d7ff731fcf39059e817386bc7684a83e4ee
treeb7f04798d0f201d7dbe5577954640b6ded2dcc7c
parenta6e4eb62eb4ee18b441bdd81908d2a057d4fcbe0
carl9170: add support for the new rate control API

With the new rate control API, the driver can now apply the
tx rate to outgoing frames just before they are uploaded to
the device. This is important because the rate control can
now react to fading or improving links a bit sooner.

Also, the driver no longer needs to sort the outgoing frames
for sample attempts (which affected the size of A-MPDUs and
the throughput of the link). For aggregated data frames, the
driver (and rate control) needs only to calculate and apply
a single set of tx rates to every subframe of the whole
aggregate.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/carl9170/carl9170.h
drivers/net/wireless/ath/carl9170/main.c
drivers/net/wireless/ath/carl9170/tx.c