libertas: convert adhoc operations to direct commands
[linux-2.6/mini2440.git] / drivers / net / wireless / rtl8180_rtl8225.h
blob310013a2d72626f19226e966ea0c64721491e369
1 #ifndef RTL8180_RTL8225_H
2 #define RTL8180_RTL8225_H
4 #define RTL8225_ANAPARAM_ON 0xa0000b59
5 #define RTL8225_ANAPARAM2_ON 0x860dec11
6 #define RTL8225_ANAPARAM_OFF 0xa00beb59
7 #define RTL8225_ANAPARAM2_OFF 0x840dec11
9 const struct rtl818x_rf_ops * rtl8180_detect_rf(struct ieee80211_hw *);
11 static inline void rtl8225_write_phy_ofdm(struct ieee80211_hw *dev,
12 u8 addr, u8 data)
14 rtl8180_write_phy(dev, addr, data);
17 static inline void rtl8225_write_phy_cck(struct ieee80211_hw *dev,
18 u8 addr, u8 data)
20 rtl8180_write_phy(dev, addr, data | 0x10000);
23 #endif /* RTL8180_RTL8225_H */