|
@@ -1743,25 +1743,6 @@ u16 freq_r3A_value(u16 frequency)
|
|
return value;
|
|
return value;
|
|
}
|
|
}
|
|
|
|
|
|
-void b43legacy_radio_set_tx_iq(struct b43legacy_wldev *dev)
|
|
|
|
-{
|
|
|
|
- static const u8 data_high[5] = { 0x00, 0x40, 0x80, 0x90, 0xD0 };
|
|
|
|
- static const u8 data_low[5] = { 0x00, 0x01, 0x05, 0x06, 0x0A };
|
|
|
|
- u16 tmp = b43legacy_radio_read16(dev, 0x001E);
|
|
|
|
- int i;
|
|
|
|
- int j;
|
|
|
|
-
|
|
|
|
- for (i = 0; i < 5; i++) {
|
|
|
|
- for (j = 0; j < 5; j++) {
|
|
|
|
- if (tmp == (data_high[i] | data_low[j])) {
|
|
|
|
- b43legacy_phy_write(dev, 0x0069, (i - j) << 8 |
|
|
|
|
- 0x00C0);
|
|
|
|
- return;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
int b43legacy_radio_selectchannel(struct b43legacy_wldev *dev,
|
|
int b43legacy_radio_selectchannel(struct b43legacy_wldev *dev,
|
|
u8 channel,
|
|
u8 channel,
|
|
int synthetic_pu_workaround)
|
|
int synthetic_pu_workaround)
|