License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-2.6/btrfs-unstable.git] / drivers / net / wireless / realtek / rtl818x / rtl8180 / rtl8225.h
blobde7727b74631d3b37fbe2a49b45c42696ab91764
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,
13 u8 addr, u8 data)
15 rtl8180_write_phy(dev, addr, data);
18 static inline void rtl8225_write_phy_cck(struct ieee80211_hw *dev,
19 u8 addr, u8 data)
21 rtl8180_write_phy(dev, addr, data | 0x10000);
24 #endif /* RTL8180_RTL8225_H */