1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef RTL8180_RTL8225_H
3 #define RTL8180_RTL8225_H
5 #define RTL8225_ANAPARAM_ON 0xa0000b59
6 #define RTL8225_ANAPARAM2_ON 0x860dec11
7 #define RTL8225_ANAPARAM_OFF 0xa00beb59
8 #define RTL8225_ANAPARAM2_OFF 0x840dec11
10 const struct rtl818x_rf_ops * rtl8180_detect_rf(struct ieee80211_hw *);
12 static inline void rtl8225_write_phy_ofdm(struct ieee80211_hw *dev,
15 rtl8180_write_phy(dev, addr, data);
18 static inline void rtl8225_write_phy_cck(struct ieee80211_hw *dev,
21 rtl8180_write_phy(dev, addr, data | 0x10000);
24 #endif /* RTL8180_RTL8225_H */