]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4baa5062bef08f0070c034035d992d538c578df7
tree0fcee8a92693140a97ccba748167e07578594024
parentd8cdf35b9544d8b3eb9f2b422613f6029febfc0e
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]