xref: /linux/drivers/net/wireless/realtek/rtl818x/rtl8180/sa2400.h (revision 8e07e0e3964ca4e23ce7b68e2096fe660a888942)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 #ifndef RTL8180_SA2400_H
3 #define RTL8180_SA2400_H
4 
5 /*
6  * Radio tuning for Philips SA2400 on RTL8180
7  *
8  * Copyright 2007 Andrea Merello <andrea.merello@gmail.com>
9  *
10  * Code from the BSD driver and the rtl8181 project have been
11  * very useful to understand certain things
12  *
13  * I want to thanks the Authors of such projects and the Ndiswrapper
14  * project Authors.
15  *
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!
19  */
20 
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
25 
26 /* RX sensitivity in dbm */
27 #define SA2400_MAX_SENS 85
28 
29 #define SA2400_REG4_FIRDAC_SHIFT 7
30 
31 extern const struct rtl818x_rf_ops sa2400_rf_ops;
32 
33 #endif /* RTL8180_SA2400_H */
34