]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blame - drivers/net/wireless/realtek/rtl818x/rtl8180/sa2400.h
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
[mirror_ubuntu-hirsute-kernel.git] / drivers / net / wireless / realtek / rtl818x / rtl8180 / sa2400.h
CommitLineData
d2912cb1 1/* SPDX-License-Identifier: GPL-2.0-only */
f6532111
MW
2#ifndef RTL8180_SA2400_H
3#define RTL8180_SA2400_H
4
5/*
6 * Radio tuning for Philips SA2400 on RTL8180
7 *
93ba2a85 8 * Copyright 2007 Andrea Merello <andrea.merello@gmail.com>
f6532111
MW
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!
f6532111
MW
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
31extern const struct rtl818x_rf_ops sa2400_rf_ops;
32
33#endif /* RTL8180_SA2400_H */