rtl8180_rtl8225.h 596 B

1234567891011121314151617181920212223
  1. #ifndef RTL8180_RTL8225_H
  2. #define RTL8180_RTL8225_H
  3. #define RTL8225_ANAPARAM_ON 0xa0000b59
  4. #define RTL8225_ANAPARAM2_ON 0x860dec11
  5. #define RTL8225_ANAPARAM_OFF 0xa00beb59
  6. #define RTL8225_ANAPARAM2_OFF 0x840dec11
  7. const struct rtl818x_rf_ops * rtl8180_detect_rf(struct ieee80211_hw *);
  8. static inline void rtl8225_write_phy_ofdm(struct ieee80211_hw *dev,
  9. u8 addr, u8 data)
  10. {
  11. rtl8180_write_phy(dev, addr, data);
  12. }
  13. static inline void rtl8225_write_phy_cck(struct ieee80211_hw *dev,
  14. u8 addr, u8 data)
  15. {
  16. rtl8180_write_phy(dev, addr, data | 0x10000);
  17. }
  18. #endif /* RTL8180_RTL8225_H */