mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 12:52:30 +00:00
f653211197
This patch adds a mac80211 based wireless driver for the rtl8180 and rtl8185 PCI wireless cards. Also included are some rtl8187 changes required due to the relationship between that driver and this one. Michael Wu is primarily responsible for the initial driver and rtl8185 support. Andreas Merello provided the additional rtl8180 support. Thanks to Jukka Ruohonen for the donating a rtl8185 card! It was very helpful for the rtl8225z2 code. The Signed-off-by information below is collected from the individual patches submitted to wireless-2.6 before merging this driver upstream. Signed-off-by: Andrea Merello <andreamrl@tiscali.it> Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Pavel Roskin <proski@gnu.org> Signed-off-by: Michael Wu <flamingice@sourmilk.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
37 lines
1.0 KiB
C
37 lines
1.0 KiB
C
#ifndef RTL8180_SA2400_H
|
|
#define RTL8180_SA2400_H
|
|
|
|
/*
|
|
* Radio tuning for Philips SA2400 on RTL8180
|
|
*
|
|
* Copyright 2007 Andrea Merello <andreamrl@tiscali.it>
|
|
*
|
|
* Code from the BSD driver and the rtl8181 project have been
|
|
* very useful to understand certain things
|
|
*
|
|
* I want to thanks the Authors of such projects and the Ndiswrapper
|
|
* project Authors.
|
|
*
|
|
* A special Big Thanks also is for all people who donated me cards,
|
|
* making possible the creation of the original rtl8180 driver
|
|
* from which this code is derived!
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#define SA2400_ANTENNA 0x91
|
|
#define SA2400_DIG_ANAPARAM_PWR1_ON 0x8
|
|
#define SA2400_ANA_ANAPARAM_PWR1_ON 0x28
|
|
#define SA2400_ANAPARAM_PWR0_ON 0x3
|
|
|
|
/* RX sensitivity in dbm */
|
|
#define SA2400_MAX_SENS 85
|
|
|
|
#define SA2400_REG4_FIRDAC_SHIFT 7
|
|
|
|
extern const struct rtl818x_rf_ops sa2400_rf_ops;
|
|
|
|
#endif /* RTL8180_SA2400_H */
|