diff options
-rw-r--r-- | net/mac80211/rc80211_pid.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/net/mac80211/rc80211_pid.h b/net/mac80211/rc80211_pid.h index 81aa4ea19958..6afd3cebdeca 100644 --- a/net/mac80211/rc80211_pid.h +++ b/net/mac80211/rc80211_pid.h | |||
@@ -1,5 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright 2007, Mattias Nissler <mattias.nissler@gmx.de> | 2 | * Copyright 2007, Mattias Nissler <mattias.nissler@gmx.de> |
3 | * Copyright 2007, Stefano Brivio <stefano.brivio@polimi.it> | ||
3 | * | 4 | * |
4 | * This program is free software; you can redistribute it and/or modify | 5 | * This program is free software; you can redistribute it and/or modify |
5 | * it under the terms of the GNU General Public License version 2 as | 6 | * it under the terms of the GNU General Public License version 2 as |
@@ -119,6 +120,29 @@ struct rc_pid_events_file_info { | |||
119 | unsigned int next_entry; | 120 | unsigned int next_entry; |
120 | }; | 121 | }; |
121 | 122 | ||
123 | /** | ||
124 | * struct rc_pid_debugfs_entries - tunable parameters | ||
125 | * | ||
126 | * Algorithm parameters, tunable via debugfs. | ||
127 | * @dir: the debugfs directory for a specific phy | ||
128 | * @target: target percentage for failed frames | ||
129 | * @sampling_period: error sampling interval in milliseconds | ||
130 | * @coeff_p: absolute value of the proportional coefficient | ||
131 | * @coeff_i: absolute value of the integral coefficient | ||
132 | * @coeff_d: absolute value of the derivative coefficient | ||
133 | * @smoothing_shift: absolute value of the integral smoothing factor (i.e. | ||
134 | * amount of smoothing introduced by the exponential moving average) | ||
135 | * @sharpen_factor: absolute value of the derivative sharpening factor (i.e. | ||
136 | * amount of emphasis given to the derivative term after low activity | ||
137 | * events) | ||
138 | * @sharpen_duration: duration of the sharpening effect after the detected low | ||
139 | * activity event, relative to sampling_period | ||
140 | * @norm_offset: amount of normalization periodically performed on the learnt | ||
141 | * rate behaviour values (lower means we should trust more what we learnt | ||
142 | * about behaviour of rates, higher means we should trust more the natural | ||
143 | * ordering of rates) | ||
144 | * @fast_start: if Y, push high rates right after initialization | ||
145 | */ | ||
122 | struct rc_pid_debugfs_entries { | 146 | struct rc_pid_debugfs_entries { |
123 | struct dentry *dir; | 147 | struct dentry *dir; |
124 | struct dentry *target; | 148 | struct dentry *target; |