Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
rtl8225.h
Go to the documentation of this file.
1 #ifndef RTL8180_RTL8225_H
2 #define RTL8180_RTL8225_H
3 
4 #define RTL8225_ANAPARAM_ON 0xa0000b59
5 #define RTL8225_ANAPARAM2_ON 0x860dec11
6 #define RTL8225_ANAPARAM_OFF 0xa00beb59
7 #define RTL8225_ANAPARAM2_OFF 0x840dec11
8 
9 const struct rtl818x_rf_ops * rtl8180_detect_rf(struct ieee80211_hw *);
10 
11 static inline void rtl8225_write_phy_ofdm(struct ieee80211_hw *dev,
12  u8 addr, u8 data)
13 {
14  rtl8180_write_phy(dev, addr, data);
15 }
16 
17 static inline void rtl8225_write_phy_cck(struct ieee80211_hw *dev,
18  u8 addr, u8 data)
19 {
20  rtl8180_write_phy(dev, addr, data | 0x10000);
21 }
22 
23 #endif /* RTL8180_RTL8225_H */