diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
commit | ada47b5fe13d89735805b566185f4885f5a3f750 (patch) | |
tree | 644b88f8a71896307d71438e9b3af49126ffb22b /drivers/net/wireless/rt2x00/rt2x00lib.h | |
parent | 43e98717ad40a4ae64545b5ba047c7b86aa44f4f (diff) | |
parent | 3280f21d43ee541f97f8cda5792150d2dbec20d5 (diff) |
Merge branch 'wip-2.6.34' into old-private-masterarchived-private-master
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00lib.h')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00lib.h | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00lib.h b/drivers/net/wireless/rt2x00/rt2x00lib.h index 567f029a8cda..be2e37fb4071 100644 --- a/drivers/net/wireless/rt2x00/rt2x00lib.h +++ b/drivers/net/wireless/rt2x00/rt2x00lib.h | |||
@@ -1,5 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | Copyright (C) 2004 - 2009 rt2x00 SourceForge Project | 2 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> |
3 | Copyright (C) 2004 - 2009 Gertjan van Wingerde <gwingerde@gmail.com> | ||
3 | <http://rt2x00.serialmonkey.com> | 4 | <http://rt2x00.serialmonkey.com> |
4 | 5 | ||
5 | This program is free software; you can redistribute it and/or modify | 6 | This program is free software; you can redistribute it and/or modify |
@@ -161,8 +162,10 @@ void rt2x00queue_remove_l2pad(struct sk_buff *skb, unsigned int header_length); | |||
161 | * rt2x00queue_write_tx_frame - Write TX frame to hardware | 162 | * rt2x00queue_write_tx_frame - Write TX frame to hardware |
162 | * @queue: Queue over which the frame should be send | 163 | * @queue: Queue over which the frame should be send |
163 | * @skb: The skb to send | 164 | * @skb: The skb to send |
165 | * @local: frame is not from mac80211 | ||
164 | */ | 166 | */ |
165 | int rt2x00queue_write_tx_frame(struct data_queue *queue, struct sk_buff *skb); | 167 | int rt2x00queue_write_tx_frame(struct data_queue *queue, struct sk_buff *skb, |
168 | bool local); | ||
166 | 169 | ||
167 | /** | 170 | /** |
168 | * rt2x00queue_update_beacon - Send new beacon from mac80211 to hardware | 171 | * rt2x00queue_update_beacon - Send new beacon from mac80211 to hardware |
@@ -223,19 +226,6 @@ void rt2x00link_update_stats(struct rt2x00_dev *rt2x00dev, | |||
223 | struct rxdone_entry_desc *rxdesc); | 226 | struct rxdone_entry_desc *rxdesc); |
224 | 227 | ||
225 | /** | 228 | /** |
226 | * rt2x00link_calculate_signal - Calculate signal quality | ||
227 | * @rt2x00dev: Pointer to &struct rt2x00_dev. | ||
228 | * @rssi: RX Frame RSSI | ||
229 | * | ||
230 | * Calculate the signal quality of a frame based on the rssi | ||
231 | * measured during the receiving of the frame and the global | ||
232 | * link quality statistics measured since the start of the | ||
233 | * link tuning. The result is a value between 0 and 100 which | ||
234 | * is an indication of the signal quality. | ||
235 | */ | ||
236 | int rt2x00link_calculate_signal(struct rt2x00_dev *rt2x00dev, int rssi); | ||
237 | |||
238 | /** | ||
239 | * rt2x00link_start_tuner - Start periodic link tuner work | 229 | * rt2x00link_start_tuner - Start periodic link tuner work |
240 | * @rt2x00dev: Pointer to &struct rt2x00_dev. | 230 | * @rt2x00dev: Pointer to &struct rt2x00_dev. |
241 | * | 231 | * |