Commit c4832467 authored by Larry Finger's avatar Larry Finger Committed by John W. Linville

rtl8187: Change TX power settings

The latest vendor driver (rtl8187B_linux_26.1036.0708.2008) has a different
CCK power setting code as compared with the Linux driver.
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Tested-by: default avatarPiter Punk <piterpk@terra.com.br>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent b2e53b33
...@@ -625,7 +625,7 @@ static void rtl8225z2_b_rf_set_tx_power(struct ieee80211_hw *dev, int channel) ...@@ -625,7 +625,7 @@ static void rtl8225z2_b_rf_set_tx_power(struct ieee80211_hw *dev, int channel)
rtl8225_write_phy_cck(dev, 0x44 + i, *tmp++); rtl8225_write_phy_cck(dev, 0x44 + i, *tmp++);
rtl818x_iowrite8(priv, &priv->map->TX_GAIN_CCK, rtl818x_iowrite8(priv, &priv->map->TX_GAIN_CCK,
rtl8225z2_tx_gain_cck_ofdm[cck_power]); rtl8225z2_tx_gain_cck_ofdm[cck_power] << 1);
msleep(1); msleep(1);
rtl818x_iowrite8(priv, &priv->map->TX_GAIN_OFDM, rtl818x_iowrite8(priv, &priv->map->TX_GAIN_OFDM,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment