162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 262306a36Sopenharmony_ci#ifndef RTL8180_SA2400_H 362306a36Sopenharmony_ci#define RTL8180_SA2400_H 462306a36Sopenharmony_ci 562306a36Sopenharmony_ci/* 662306a36Sopenharmony_ci * Radio tuning for Philips SA2400 on RTL8180 762306a36Sopenharmony_ci * 862306a36Sopenharmony_ci * Copyright 2007 Andrea Merello <andrea.merello@gmail.com> 962306a36Sopenharmony_ci * 1062306a36Sopenharmony_ci * Code from the BSD driver and the rtl8181 project have been 1162306a36Sopenharmony_ci * very useful to understand certain things 1262306a36Sopenharmony_ci * 1362306a36Sopenharmony_ci * I want to thanks the Authors of such projects and the Ndiswrapper 1462306a36Sopenharmony_ci * project Authors. 1562306a36Sopenharmony_ci * 1662306a36Sopenharmony_ci * A special Big Thanks also is for all people who donated me cards, 1762306a36Sopenharmony_ci * making possible the creation of the original rtl8180 driver 1862306a36Sopenharmony_ci * from which this code is derived! 1962306a36Sopenharmony_ci */ 2062306a36Sopenharmony_ci 2162306a36Sopenharmony_ci#define SA2400_ANTENNA 0x91 2262306a36Sopenharmony_ci#define SA2400_DIG_ANAPARAM_PWR1_ON 0x8 2362306a36Sopenharmony_ci#define SA2400_ANA_ANAPARAM_PWR1_ON 0x28 2462306a36Sopenharmony_ci#define SA2400_ANAPARAM_PWR0_ON 0x3 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_ci/* RX sensitivity in dbm */ 2762306a36Sopenharmony_ci#define SA2400_MAX_SENS 85 2862306a36Sopenharmony_ci 2962306a36Sopenharmony_ci#define SA2400_REG4_FIRDAC_SHIFT 7 3062306a36Sopenharmony_ci 3162306a36Sopenharmony_ciextern const struct rtl818x_rf_ops sa2400_rf_ops; 3262306a36Sopenharmony_ci 3362306a36Sopenharmony_ci#endif /* RTL8180_SA2400_H */ 34