Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 224678
b: refs/heads/master
c: c0f05b9
h: refs/heads/master
v: v3
  • Loading branch information
Rafał Miłecki authored and John W. Linville committed Nov 24, 2010
1 parent e2c8762 commit fb2d059
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 69a3229edcf0c354e1cd93a811843fba7b6e1472
refs/heads/master: c0f05b9879a324937f14270e4a14d661d2beca63
9 changes: 6 additions & 3 deletions trunk/drivers/net/wireless/b43/phy_n.c
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,7 @@ static void b43_nphy_adjust_lna_gain_table(struct b43_wldev *dev)
data[2] = lna_gain[2] + gain[i];
data[3] = lna_gain[3] + gain[i];
}
b43_ntab_write_bulk(dev, B43_NTAB16(10, 8), 4, data);
b43_ntab_write_bulk(dev, B43_NTAB16(i, 8), 4, data);

minmax[i] = 23 + gain[i];
}
Expand All @@ -896,6 +896,7 @@ static void b43_nphy_gain_ctrl_workarounds(struct b43_wldev *dev)
struct b43_phy_n *nphy = dev->phy.n;
u8 i, j;
u8 code;
u16 tmp;

/* TODO: for PHY >= 3
s8 *lna1_gain, *lna2_gain;
Expand Down Expand Up @@ -1000,9 +1001,11 @@ static void b43_nphy_gain_ctrl_workarounds(struct b43_wldev *dev)
for (i = 0; i < 4; i++) {
b43_phy_write(dev, B43_NPHY_TABLE_ADDR,
(0x0400 * i) + 0x0020);
for (j = 0; j < 21; j++)
for (j = 0; j < 21; j++) {
tmp = j * (i < 2 ? 3 : 1);
b43_phy_write(dev,
B43_NPHY_TABLE_DATALO, 3 * j);
B43_NPHY_TABLE_DATALO, tmp);
}
}

b43_nphy_set_rf_sequence(dev, 5,
Expand Down

0 comments on commit fb2d059

Please sign in to comment.