1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef RTL8180_RTL8225_H
3#define RTL8180_RTL8225_H
4
5#define RTL8225_ANAPARAM_ON	0xa0000b59
6#define RTL8225_ANAPARAM2_ON	0x860dec11
7#define RTL8225_ANAPARAM_OFF	0xa00beb59
8#define RTL8225_ANAPARAM2_OFF	0x840dec11
9
10const struct rtl818x_rf_ops * rtl8180_detect_rf(struct ieee80211_hw *);
11
12static inline void rtl8225_write_phy_ofdm(struct ieee80211_hw *dev,
13					  u8 addr, u8 data)
14{
15	rtl8180_write_phy(dev, addr, data);
16}
17
18static inline void rtl8225_write_phy_cck(struct ieee80211_hw *dev,
19					 u8 addr, u8 data)
20{
21	rtl8180_write_phy(dev, addr, data | 0x10000);
22}
23
24#endif /* RTL8180_RTL8225_H */
25