b43: HT-PHY: upload PHY values when switching channel
authorRafał Miłecki <zajec5@gmail.com>
Mon, 27 Jun 2011 12:58:51 +0000 (14:58 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 29 Jun 2011 18:53:23 +0000 (14:53 -0400)
commitbdb2dfb237997babac7b32c7a94dcfa18507a055
tree89dfedec5c560af12a78b666f4a098cd8895c45c
parent1a93139237180404dc01970dfd33f4a5d5b2054c
b43: HT-PHY: upload PHY values when switching channel

After calibrating radio you can find few PHY writes in MMIO dumps:
 phy_read(0x0009) -> 0x0000
phy_write(0x01ce) <- 0x03dd
phy_write(0x01cf) <- 0x03d9
phy_write(0x01d0) <- 0x03d5
phy_write(0x01d1) <- 0x0424
phy_write(0x01d2) <- 0x0429
phy_write(0x01d3) <- 0x042d
By comparing to N-PHY code we found out that they are PHY tables for
channel switching plus band info read at the beginning.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/phy_ht.c
drivers/net/wireless/b43/phy_ht.h