diff options
author | Andrea Merello <andrea.merello@gmail.com> | 2014-03-27 00:02:05 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-03-27 22:20:08 +0400 |
commit | ff3cbc2cb606c8f804b611291efe207d07275a18 (patch) | |
tree | d3596097c4113e4c4b7ff0dacd69c78aafda0bdc /drivers/net/wireless/rtl818x/rtl8180/rtl8225.c | |
parent | fc32ac911ef49bb716ba52fab6b294f7a412e6be (diff) | |
download | linux-ff3cbc2cb606c8f804b611291efe207d07275a18.tar.xz |
rtl8180: introduce functions for setting ANAPARAM 2 and 3 params
rtl8180 has one register for analog converters setting ,rtl8185 has
two and rtl8187se has three.
Setting those registers require more than a simple write, and for
one of them a function is already provided.
This patch introduces functions for the other two.
rtl8187se will use them. rtl8185 doesen't yet, but should
Signed-off-by: Andrea Merello <andrea.merello@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtl818x/rtl8180/rtl8225.c')
-rw-r--r-- | drivers/net/wireless/rtl818x/rtl8180/rtl8225.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/rtl818x/rtl8180/rtl8225.c b/drivers/net/wireless/rtl818x/rtl8180/rtl8225.c index 1c0fe238d995..9bda5bc78eda 100644 --- a/drivers/net/wireless/rtl818x/rtl8180/rtl8225.c +++ b/drivers/net/wireless/rtl818x/rtl8180/rtl8225.c @@ -282,6 +282,7 @@ static void rtl8225_rf_set_tx_power(struct ieee80211_hw *dev, int channel) msleep(1); /* FIXME: optional? */ + /* TODO: use set_anaparam2 dev.c_func*/ /* anaparam2 on */ rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, RTL818X_EEPROM_CMD_CONFIG); reg = rtl818x_ioread8(priv, &priv->map->CONFIG3); |