Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 #ifndef RTL8180_SA2400_H
0003 #define RTL8180_SA2400_H
0004 
0005 /*
0006  * Radio tuning for Philips SA2400 on RTL8180
0007  *
0008  * Copyright 2007 Andrea Merello <andrea.merello@gmail.com>
0009  *
0010  * Code from the BSD driver and the rtl8181 project have been
0011  * very useful to understand certain things
0012  *
0013  * I want to thanks the Authors of such projects and the Ndiswrapper
0014  * project Authors.
0015  *
0016  * A special Big Thanks also is for all people who donated me cards,
0017  * making possible the creation of the original rtl8180 driver
0018  * from which this code is derived!
0019  */
0020 
0021 #define SA2400_ANTENNA 0x91
0022 #define SA2400_DIG_ANAPARAM_PWR1_ON 0x8
0023 #define SA2400_ANA_ANAPARAM_PWR1_ON 0x28
0024 #define SA2400_ANAPARAM_PWR0_ON 0x3
0025 
0026 /* RX sensitivity in dbm */
0027 #define SA2400_MAX_SENS 85
0028 
0029 #define SA2400_REG4_FIRDAC_SHIFT 7
0030 
0031 extern const struct rtl818x_rf_ops sa2400_rf_ops;
0032 
0033 #endif /* RTL8180_SA2400_H */