1 /* SPDX-License-Identifier: GPL-2.0-only */
2 #ifndef RTL8180_SA2400_H
3 #define RTL8180_SA2400_H
6 * Radio tuning for Philips SA2400 on RTL8180
8 * Copyright 2007 Andrea Merello <andrea.merello@gmail.com>
10 * Code from the BSD driver and the rtl8181 project have been
11 * very useful to understand certain things
13 * I want to thanks the Authors of such projects and the Ndiswrapper
16 * A special Big Thanks also is for all people who donated me cards,
17 * making possible the creation of the original rtl8180 driver
18 * from which this code is derived!
21 #define SA2400_ANTENNA 0x91
22 #define SA2400_DIG_ANAPARAM_PWR1_ON 0x8
23 #define SA2400_ANA_ANAPARAM_PWR1_ON 0x28
24 #define SA2400_ANAPARAM_PWR0_ON 0x3
26 /* RX sensitivity in dbm */
27 #define SA2400_MAX_SENS 85
29 #define SA2400_REG4_FIRDAC_SHIFT 7
31 extern const struct rtl818x_rf_ops sa2400_rf_ops;
33 #endif /* RTL8180_SA2400_H */