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)
commit9ad86ed39db83d0c3111c10850e58691ef57e81e
treeb7f04798d0f201d7dbe5577954640b6ded2dcc7c
parent6ea81c415574acb88faca905e1d7316057e90a5b
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