mac80211: update to wireless-testing 2010-10-15, add a few ath9k fixes and performanc...
[openwrt/staging/yousong.git] / package / mac80211 / patches / 555-ath9k_hw_gettsf32_static.patch
1 --- a/drivers/net/wireless/ath/ath9k/hw.c
2 +++ b/drivers/net/wireless/ath/ath9k/hw.c
3 @@ -2324,11 +2324,10 @@ static u32 rightmost_index(struct ath_ge
4 return timer_table->gen_timer_index[b];
5 }
6
7 -u32 ath9k_hw_gettsf32(struct ath_hw *ah)
8 +static u32 ath9k_hw_gettsf32(struct ath_hw *ah)
9 {
10 return REG_READ(ah, AR_TSF_L32);
11 }
12 -EXPORT_SYMBOL(ath9k_hw_gettsf32);
13
14 struct ath_gen_timer *ath_gen_timer_alloc(struct ath_hw *ah,
15 void (*trigger)(void *),
16 --- a/drivers/net/wireless/ath/ath9k/hw.h
17 +++ b/drivers/net/wireless/ath/ath9k/hw.h
18 @@ -892,7 +892,6 @@ void ath9k_hw_gen_timer_stop(struct ath_
19
20 void ath_gen_timer_free(struct ath_hw *ah, struct ath_gen_timer *timer);
21 void ath_gen_timer_isr(struct ath_hw *hw);
22 -u32 ath9k_hw_gettsf32(struct ath_hw *ah);
23
24 void ath9k_hw_name(struct ath_hw *ah, char *hw_name, size_t len);
25