b43: LP-PHY: Implement spec updates and remove resolved FIXMEs
Larry has started re-checking all current routines against a new version of the Broadcom MIPS driver. This patch implements the first round of changes he documented on the specs wiki. Also remove a few FIXMEs regarding missing initial values for variables with dynamic initial values where reading the values has been implemented. Signed-off-by: Gábor Stefanik <netrolller.3d@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
16a832e785
commit
5904d20676
@@ -2367,7 +2367,17 @@ static void lpphy_rev2plus_write_gain_table(struct b43_wldev *dev, int offset,
|
||||
tmp = data.pad << 16;
|
||||
tmp |= data.pga << 8;
|
||||
tmp |= data.gm;
|
||||
tmp |= 0x7f000000;
|
||||
if (dev->phy.rev >= 3) {
|
||||
if (b43_current_band(dev->wl) == IEEE80211_BAND_5GHZ)
|
||||
tmp |= 0x10 << 24;
|
||||
else
|
||||
tmp |= 0x70 << 24;
|
||||
} else {
|
||||
if (b43_current_band(dev->wl) == IEEE80211_BAND_5GHZ)
|
||||
tmp |= 0x14 << 24;
|
||||
else
|
||||
tmp |= 0x7F << 24;
|
||||
}
|
||||
b43_lptab_write(dev, B43_LPTAB32(7, 0xC0 + offset), tmp);
|
||||
tmp = data.bb_mult << 20;
|
||||
tmp |= data.dac << 28;
|
||||
|
Reference in New Issue
Block a user