Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
union | rc_pid_event_data |
struct | rc_pid_event |
struct | rc_pid_event_buffer |
struct | rc_pid_events_file_info |
struct | rc_pid_debugfs_entries |
struct | rc_pid_sta_info |
struct | rc_pid_rateinfo |
struct | rc_pid_info |
Macros | |
#define | RC_PID_INTERVAL 125 |
#define | RC_PID_SMOOTHING_SHIFT 3 |
#define | RC_PID_SMOOTHING (1 << RC_PID_SMOOTHING_SHIFT) |
#define | RC_PID_SHARPENING_FACTOR 0 |
#define | RC_PID_SHARPENING_DURATION 0 |
#define | RC_PID_ARITH_SHIFT 8 |
#define | RC_PID_COEFF_P 15 |
#define | RC_PID_COEFF_I 9 |
#define | RC_PID_COEFF_D 15 |
#define | RC_PID_TARGET_PF 14 |
#define | RC_PID_NORM_OFFSET 3 |
#define | RC_PID_FAST_START 0 |
#define | RC_PID_DO_ARITH_RIGHT_SHIFT(x, y) ((x) < 0 ? -((-(x)) >> (y)) : (x) >> (y)) |
#define | RC_PID_EVENT_RING_SIZE 32 |
Enumerations | |
enum | rc_pid_event_type { RC_PID_EVENT_TYPE_TX_STATUS, RC_PID_EVENT_TYPE_RATE_CHANGE, RC_PID_EVENT_TYPE_TX_RATE, RC_PID_EVENT_TYPE_PF_SAMPLE } |
Functions | |
void | rate_control_pid_event_tx_status (struct rc_pid_event_buffer *buf, struct ieee80211_tx_info *stat) |
void | rate_control_pid_event_rate_change (struct rc_pid_event_buffer *buf, int index, int rate) |
void | rate_control_pid_event_tx_rate (struct rc_pid_event_buffer *buf, int index, int rate) |
void | rate_control_pid_event_pf_sample (struct rc_pid_event_buffer *buf, s32 pf_sample, s32 prop_err, s32 int_err, s32 der_err) |
void | rate_control_pid_add_sta_debugfs (void *priv, void *priv_sta, struct dentry *dir) |
void | rate_control_pid_remove_sta_debugfs (void *priv, void *priv_sta) |
#define RC_PID_ARITH_SHIFT 8 |
Definition at line 25 of file rc80211_pid.h.
#define RC_PID_COEFF_D 15 |
Definition at line 32 of file rc80211_pid.h.
#define RC_PID_COEFF_I 9 |
Definition at line 30 of file rc80211_pid.h.
#define RC_PID_COEFF_P 15 |
Definition at line 28 of file rc80211_pid.h.
Definition at line 48 of file rc80211_pid.h.
#define RC_PID_EVENT_RING_SIZE 32 |
Definition at line 94 of file rc80211_pid.h.
#define RC_PID_FAST_START 0 |
Definition at line 45 of file rc80211_pid.h.
#define RC_PID_INTERVAL 125 |
Definition at line 14 of file rc80211_pid.h.
#define RC_PID_NORM_OFFSET 3 |
Definition at line 42 of file rc80211_pid.h.
#define RC_PID_SHARPENING_DURATION 0 |
Definition at line 22 of file rc80211_pid.h.
#define RC_PID_SHARPENING_FACTOR 0 |
Definition at line 21 of file rc80211_pid.h.
#define RC_PID_SMOOTHING (1 << RC_PID_SMOOTHING_SHIFT) |
Definition at line 18 of file rc80211_pid.h.
#define RC_PID_SMOOTHING_SHIFT 3 |
Definition at line 17 of file rc80211_pid.h.
#define RC_PID_TARGET_PF 14 |
Definition at line 39 of file rc80211_pid.h.
enum rc_pid_event_type |
RC_PID_EVENT_TYPE_TX_STATUS | |
RC_PID_EVENT_TYPE_RATE_CHANGE | |
RC_PID_EVENT_TYPE_TX_RATE | |
RC_PID_EVENT_TYPE_PF_SAMPLE |
Definition at line 51 of file rc80211_pid.h.
Definition at line 213 of file rc80211_pid_debugfs.c.
void rate_control_pid_event_pf_sample | ( | struct rc_pid_event_buffer * | buf, |
s32 | pf_sample, | ||
s32 | prop_err, | ||
s32 | int_err, | ||
s32 | der_err | ||
) |
Definition at line 74 of file rc80211_pid_debugfs.c.
void rate_control_pid_event_rate_change | ( | struct rc_pid_event_buffer * | buf, |
int | index, | ||
int | rate | ||
) |
Definition at line 54 of file rc80211_pid_debugfs.c.
void rate_control_pid_event_tx_rate | ( | struct rc_pid_event_buffer * | buf, |
int | index, | ||
int | rate | ||
) |
Definition at line 64 of file rc80211_pid_debugfs.c.
void rate_control_pid_event_tx_status | ( | struct rc_pid_event_buffer * | buf, |
struct ieee80211_tx_info * | stat | ||
) |
Definition at line 44 of file rc80211_pid_debugfs.c.
Definition at line 223 of file rc80211_pid_debugfs.c.