#include <linux/sched.h>#include <linux/spinlock.h>#include <linux/poll.h>#include <linux/netdevice.h>#include <linux/types.h>#include <linux/skbuff.h>#include <linux/slab.h>#include <linux/export.h>#include <net/mac80211.h>#include "rate.h"#include "rc80211_pid.h"
Go to the source code of this file.
Defines | |
| #define | RC_PID_PRINT_BUF_SIZE 64 |
Functions | |
| void | rate_control_pid_add_sta_debugfs (void *priv, void *priv_sta, struct dentry *dir) |
| static void | rate_control_pid_event (struct rc_pid_event_buffer *buf, enum rc_pid_event_type type, union rc_pid_event_data *data) |
| 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_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_tx_status (struct rc_pid_event_buffer *buf, struct ieee80211_tx_info *stat) |
| static int | rate_control_pid_events_open (struct inode *inode, struct file *file) |
| static unsigned int | rate_control_pid_events_poll (struct file *file, poll_table *wait) |
| static ssize_t | rate_control_pid_events_read (struct file *file, char __user *buf, size_t length, loff_t *offset) |
| static int | rate_control_pid_events_release (struct inode *inode, struct file *file) |
| void | rate_control_pid_remove_sta_debugfs (void *priv, void *priv_sta) |
Variables | |
| static struct file_operations | rc_pid_fop_events |
| #define RC_PID_PRINT_BUF_SIZE 64 |
Definition at line 131 of file kernel-3.2/rc80211_pid_debugfs.c.
| void rate_control_pid_add_sta_debugfs | ( | void * | priv, |
| void * | priv_sta, | ||
| struct dentry * | dir | ||
| ) |
Definition at line 213 of file kernel-3.2/rc80211_pid_debugfs.c.
| static void rate_control_pid_event | ( | struct rc_pid_event_buffer * | buf, |
| enum rc_pid_event_type | type, | ||
| union rc_pid_event_data * | data | ||
| ) | [static] |
Definition at line 23 of file kernel-3.2/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 kernel-3.2/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 kernel-3.2/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 kernel-3.2/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 kernel-3.2/rc80211_pid_debugfs.c.
| static int rate_control_pid_events_open | ( | struct inode * | inode, |
| struct file * | file | ||
| ) | [static] |
Definition at line 87 of file kernel-3.2/rc80211_pid_debugfs.c.
| static unsigned int rate_control_pid_events_poll | ( | struct file * | file, |
| poll_table * | wait | ||
| ) | [static] |
Definition at line 121 of file kernel-3.2/rc80211_pid_debugfs.c.
| static ssize_t rate_control_pid_events_read | ( | struct file * | file, |
| char __user * | buf, | ||
| size_t | length, | ||
| loff_t * | offset | ||
| ) | [static] |
Definition at line 133 of file kernel-3.2/rc80211_pid_debugfs.c.
| static int rate_control_pid_events_release | ( | struct inode * | inode, |
| struct file * | file | ||
| ) | [static] |
Definition at line 111 of file kernel-3.2/rc80211_pid_debugfs.c.
| void rate_control_pid_remove_sta_debugfs | ( | void * | priv, |
| void * | priv_sta | ||
| ) |
Definition at line 223 of file kernel-3.2/rc80211_pid_debugfs.c.
struct file_operations rc_pid_fop_events [static] |
{
.owner = THIS_MODULE,
.read = rate_control_pid_events_read,
.poll = rate_control_pid_events_poll,
.open = rate_control_pid_events_open,
.release = rate_control_pid_events_release,
.llseek = noop_llseek,
}
Definition at line 204 of file kernel-3.2/rc80211_pid_debugfs.c.