提交 990b70ab 编写于 作者: L Luis R. Rodriguez 提交者: John W. Linville

ath9k: move ATH9K_RSSI_BAD to hw.h

mac.c is now core driver independent.
Signed-off-by: NLuis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 cfe8cba9
ATH9K_HW_FIX += eeprom.o \
mac.o \
ATH9K_HW_FIX += eeprom.o
ATH9K_HW += hw.o \
eeprom_def.o \
eeprom_4k.o \
......@@ -8,7 +6,8 @@ ATH9K_HW += hw.o \
calib.o \
ani.o \
phy.o \
btcoex.o
btcoex.o \
mac.o \
ath9k-y += $(ATH9K_HW) \
$(ATH9K_HW_FIX) \
......
......@@ -288,7 +288,6 @@ struct ath_tx_control {
#define ATH_RSSI_LPF_LEN 10
#define RSSI_LPF_THRESHOLD -20
#define ATH9K_RSSI_BAD 0x80
#define ATH_RSSI_EP_MULTIPLIER (1<<7)
#define ATH_EP_MUL(x, mul) ((x) * (mul))
#define ATH_RSSI_IN(x) (ATH_EP_MUL((x), ATH_RSSI_EP_MULTIPLIER))
......
......@@ -55,6 +55,8 @@
#define ATH_DEFAULT_NOISE_FLOOR -95
#define ATH9K_RSSI_BAD 0x80
/* Register read/write primitives */
#define REG_WRITE(_ah, _reg, _val) \
ath9k_hw_common(_ah)->ops->write((_ah), (_val), (_reg))
......
......@@ -14,7 +14,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#include "ath9k.h"
#include "hw.h"
static void ath9k_hw_set_txq_interrupts(struct ath_hw *ah,
struct ath9k_tx_queue_info *qi)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册