#include <linux/netdevice.h>
#include <linux/types.h>
#include <linux/skbuff.h>
#include <linux/debugfs.h>
#include <linux/slab.h>
#include <net/mac80211.h>
#include "rate.h"
#include "mesh.h"
#include "rc80211_pid.h"
Go to the source code of this file.
Functions | |
static void | rate_control_pid_adjust_rate (struct ieee80211_supported_band *sband, struct ieee80211_sta *sta, struct rc_pid_sta_info *spinfo, int adj, struct rc_pid_rateinfo *rinfo) |
static void * | rate_control_pid_alloc (struct ieee80211_hw *hw, struct dentry *debugfsdir) |
static void * | rate_control_pid_alloc_sta (void *priv, struct ieee80211_sta *sta, gfp_t gfp) |
static void | rate_control_pid_free (void *priv) |
static void | rate_control_pid_free_sta (void *priv, struct ieee80211_sta *sta, void *priv_sta) |
static void | rate_control_pid_get_rate (void *priv, struct ieee80211_sta *sta, void *priv_sta, struct ieee80211_tx_rate_control *txrc) |
static void | rate_control_pid_normalize (struct rc_pid_info *pinfo, int l) |
static void | rate_control_pid_rate_init (void *priv, struct ieee80211_supported_band *sband, struct ieee80211_sta *sta, void *priv_sta) |
static void | rate_control_pid_sample (struct rc_pid_info *pinfo, struct ieee80211_supported_band *sband, struct ieee80211_sta *sta, struct rc_pid_sta_info *spinfo) |
static void | rate_control_pid_tx_status (void *priv, struct ieee80211_supported_band *sband, struct ieee80211_sta *sta, void *priv_sta, struct sk_buff *skb) |
void | rc80211_pid_exit (void) |
int __init | rc80211_pid_init (void) |
Variables | |
static struct rate_control_ops | mac80211_rcpid |
static void rate_control_pid_adjust_rate | ( | struct ieee80211_supported_band * | sband, |
struct ieee80211_sta * | sta, | ||
struct rc_pid_sta_info * | spinfo, | ||
int | adj, | ||
struct rc_pid_rateinfo * | rinfo | ||
) | [static] |
Definition at line 72 of file kernel-3.5/rc80211_pid_algo.c.
static void* rate_control_pid_alloc | ( | struct ieee80211_hw * | hw, |
struct dentry * | debugfsdir | ||
) | [static] |
Definition at line 339 of file kernel-3.5/rc80211_pid_algo.c.
static void* rate_control_pid_alloc_sta | ( | void * | priv, |
struct ieee80211_sta * | sta, | ||
gfp_t | gfp | ||
) | [static] |
Definition at line 429 of file kernel-3.5/rc80211_pid_algo.c.
static void rate_control_pid_free | ( | void * | priv | ) | [static] |
Definition at line 408 of file kernel-3.5/rc80211_pid_algo.c.
static void rate_control_pid_free_sta | ( | void * | priv, |
struct ieee80211_sta * | sta, | ||
void * | priv_sta | ||
) | [static] |
Definition at line 448 of file kernel-3.5/rc80211_pid_algo.c.
static void rate_control_pid_get_rate | ( | void * | priv, |
struct ieee80211_sta * | sta, | ||
void * | priv_sta, | ||
struct ieee80211_tx_rate_control * | txrc | ||
) | [static] |
Definition at line 260 of file kernel-3.5/rc80211_pid_algo.c.
static void rate_control_pid_normalize | ( | struct rc_pid_info * | pinfo, |
int | l | ||
) | [static] |
Definition at line 129 of file kernel-3.5/rc80211_pid_algo.c.
static void rate_control_pid_rate_init | ( | void * | priv, |
struct ieee80211_supported_band * | sband, | ||
struct ieee80211_sta * | sta, | ||
void * | priv_sta | ||
) | [static] |
Definition at line 295 of file kernel-3.5/rc80211_pid_algo.c.
static void rate_control_pid_sample | ( | struct rc_pid_info * | pinfo, |
struct ieee80211_supported_band * | sband, | ||
struct ieee80211_sta * | sta, | ||
struct rc_pid_sta_info * | spinfo | ||
) | [static] |
Definition at line 145 of file kernel-3.5/rc80211_pid_algo.c.
static void rate_control_pid_tx_status | ( | void * | priv, |
struct ieee80211_supported_band * | sband, | ||
struct ieee80211_sta * | sta, | ||
void * | priv_sta, | ||
struct sk_buff * | skb | ||
) | [static] |
Definition at line 219 of file kernel-3.5/rc80211_pid_algo.c.
void rc80211_pid_exit | ( | void | ) |
Definition at line 474 of file kernel-3.5/rc80211_pid_algo.c.
int __init rc80211_pid_init | ( | void | ) |
Definition at line 469 of file kernel-3.5/rc80211_pid_algo.c.
struct rate_control_ops mac80211_rcpid [static] |
{ .name = "pid", .tx_status = rate_control_pid_tx_status, .get_rate = rate_control_pid_get_rate, .rate_init = rate_control_pid_rate_init, .alloc = rate_control_pid_alloc, .free = rate_control_pid_free, .alloc_sta = rate_control_pid_alloc_sta, .free_sta = rate_control_pid_free_sta, }
Definition at line 454 of file kernel-3.5/rc80211_pid_algo.c.