rtl8187_rtl8225.h

来自「linux 内核源代码」· C头文件 代码 · 共 45 行

H
45
字号
/* * Radio tuning definitions for RTL8225 on RTL8187 * * Copyright 2007 Michael Wu <flamingice@sourmilk.net> * Copyright 2007 Andrea Merello <andreamrl@tiscali.it> * * Based on the r8187 driver, which is: * Copyright 2005 Andrea Merello <andreamrl@tiscali.it>, et al. * * 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. */#ifndef RTL8187_RTL8225_H#define RTL8187_RTL8225_H#define RTL8225_ANAPARAM_ON	0xa0000a59#define RTL8225_ANAPARAM2_ON	0x860c7312#define RTL8225_ANAPARAM_OFF	0xa00beb59#define RTL8225_ANAPARAM2_OFF	0x840dec11void rtl8225_write(struct ieee80211_hw *, u8 addr, u16 data);u16  rtl8225_read(struct ieee80211_hw *, u8 addr);void rtl8225_rf_init(struct ieee80211_hw *);void rtl8225z2_rf_init(struct ieee80211_hw *);void rtl8225_rf_stop(struct ieee80211_hw *);void rtl8225_rf_set_channel(struct ieee80211_hw *, int);static inline void rtl8225_write_phy_ofdm(struct ieee80211_hw *dev,					  u8 addr, u32 data){	rtl8187_write_phy(dev, addr, data);}static inline void rtl8225_write_phy_cck(struct ieee80211_hw *dev,					 u8 addr, u32 data){	rtl8187_write_phy(dev, addr, data | 0x10000);}#endif /* RTL8187_RTL8225_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?