b43: implement PPR (Power Per Rate) management/API
authorRafał Miłecki <zajec5@gmail.com>
Thu, 31 Jul 2014 19:59:47 +0000 (21:59 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 25 Aug 2014 20:00:43 +0000 (16:00 -0400)
commitec76643b0057e13c4cc6ed4b55af6389fcbb5e64
tree0fcee8a92693140a97ccba748167e07578594024
parenta68c356bcf1e76ae649e929db5e4cea9e6bdcd65
b43: implement PPR (Power Per Rate) management/API

Broadcom hardware supports auto-adjustment of TX power depending on the
currently used rate. So far all calculations were handled without any
helpers (API) using big arrays and magic offsets.
It seems Broadcom recently decided to clean this up by developing PPR.
Their wlc_ppr.h can be found in open parts of the SDK.
As we plan to implement support for rate-based TX power it makes sense
to also implement our version of PPR as well.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/Makefile
drivers/net/wireless/b43/b43.h
drivers/net/wireless/b43/ppr.c [new file with mode: 0644]
drivers/net/wireless/b43/ppr.h [new file with mode: 0644]