Classes | Functions | Variables
rate.c File Reference
#include <linux/kernel.h>
#include <linux/rtnetlink.h>
#include <linux/slab.h>
#include <linux/module.h>
#include "rate.h"
#include "ieee80211_i.h"
#include "debugfs.h"
Include dependency graph for kernel-3.2/rate.c:

Go to the source code of this file.

Classes

struct  rate_control_alg

Functions

static DEFINE_MUTEX (rate_ctrl_mutex)
 EXPORT_SYMBOL (ieee80211_rate_control_register)
 EXPORT_SYMBOL (ieee80211_rate_control_unregister)
 EXPORT_SYMBOL (rate_control_send_low)
int ieee80211_init_rate_ctrl_alg (struct ieee80211_local *local, const char *name)
static struct rate_control_ops * ieee80211_rate_control_ops_get (const char *name)
static void ieee80211_rate_control_ops_put (struct rate_control_ops *ops)
int ieee80211_rate_control_register (struct rate_control_ops *ops)
void ieee80211_rate_control_unregister (struct rate_control_ops *ops)
static struct rate_control_ops * ieee80211_try_rate_control_ops_get (const char *name)
static LIST_HEAD (rate_ctrl_algs)
 module_param (ieee80211_default_rc_algo, charp, 0644)
 MODULE_PARM_DESC (ieee80211_default_rc_algo,"Default rate control algorithm for mac80211 to use")
static struct rate_control_refrate_control_alloc (const char *name, struct ieee80211_local *local)
void rate_control_deinitialize (struct ieee80211_local *local)
struct rate_control_refrate_control_get (struct rate_control_ref *ref)
void rate_control_get_rate (struct ieee80211_sub_if_data *sdata, struct sta_info *sta, struct ieee80211_tx_rate_control *txrc)
void rate_control_put (struct rate_control_ref *ref)
static void rate_control_release (struct kref *kref)
bool rate_control_send_low (struct ieee80211_sta *sta, void *priv_sta, struct ieee80211_tx_rate_control *txrc)
static void rate_idx_match_mask (struct ieee80211_tx_rate *rate, int n_bitrates, u32 mask)
static s8 rate_lowest_non_cck_index (struct ieee80211_supported_band *sband, struct ieee80211_sta *sta)
static bool rc_no_data_or_no_ack_use_min (struct ieee80211_tx_rate_control *txrc)
static void rc_send_low_broadcast (s8 *idx, u32 basic_rates, struct ieee80211_supported_band *sband)

Variables

static char * ieee80211_default_rc_algo = CONFIG_MAC80211_RC_DEFAULT

Function Documentation

static DEFINE_MUTEX ( rate_ctrl_mutex  ) [static]
int ieee80211_init_rate_ctrl_alg ( struct ieee80211_local local,
const char *  name 
)

Definition at line 397 of file kernel-3.2/rate.c.

static struct rate_control_ops* ieee80211_rate_control_ops_get ( const char *  name) [static, read]

Definition at line 102 of file kernel-3.2/rate.c.

static void ieee80211_rate_control_ops_put ( struct rate_control_ops *  ops) [static]

Definition at line 130 of file kernel-3.2/rate.c.

int ieee80211_rate_control_register ( struct rate_control_ops *  ops)

Definition at line 32 of file kernel-3.2/rate.c.

void ieee80211_rate_control_unregister ( struct rate_control_ops *  ops)

Definition at line 63 of file kernel-3.2/rate.c.

static struct rate_control_ops* ieee80211_try_rate_control_ops_get ( const char *  name) [static, read]

Definition at line 80 of file kernel-3.2/rate.c.

static LIST_HEAD ( rate_ctrl_algs  ) [static]
module_param ( ieee80211_default_rc_algo  ,
charp  ,
0644   
)
MODULE_PARM_DESC ( ieee80211_default_rc_algo  ,
"Default rate control algorithm for mac80211 to use"   
)
static struct rate_control_ref* rate_control_alloc ( const char *  name,
struct ieee80211_local local 
) [static, read]

Definition at line 153 of file kernel-3.2/rate.c.

void rate_control_deinitialize ( struct ieee80211_local local)

Definition at line 433 of file kernel-3.2/rate.c.

struct rate_control_ref* rate_control_get ( struct rate_control_ref ref) [read]

Definition at line 386 of file kernel-3.2/rate.c.

void rate_control_get_rate ( struct ieee80211_sub_if_data sdata,
struct sta_info sta,
struct ieee80211_tx_rate_control *  txrc 
)

Definition at line 328 of file kernel-3.2/rate.c.

void rate_control_put ( struct rate_control_ref ref)

Definition at line 392 of file kernel-3.2/rate.c.

static void rate_control_release ( struct kref *  kref) [static]

Definition at line 187 of file kernel-3.2/rate.c.

bool rate_control_send_low ( struct ieee80211_sta *  sta,
void *  priv_sta,
struct ieee80211_tx_rate_control *  txrc 
)

Definition at line 260 of file kernel-3.2/rate.c.

static void rate_idx_match_mask ( struct ieee80211_tx_rate *  rate,
int  n_bitrates,
u32  mask 
) [static]

Definition at line 296 of file kernel-3.2/rate.c.

static s8 rate_lowest_non_cck_index ( struct ieee80211_supported_band sband,
struct ieee80211_sta *  sta 
) [inline, static]

Definition at line 240 of file kernel-3.2/rate.c.

static bool rc_no_data_or_no_ack_use_min ( struct ieee80211_tx_rate_control *  txrc) [static]

Definition at line 203 of file kernel-3.2/rate.c.

static void rc_send_low_broadcast ( s8 idx,
u32  basic_rates,
struct ieee80211_supported_band sband 
) [static]

Definition at line 217 of file kernel-3.2/rate.c.


Variable Documentation

char* ieee80211_default_rc_algo = CONFIG_MAC80211_RC_DEFAULT [static]

Definition at line 27 of file kernel-3.2/rate.c.



ros_rt_wmp
Author(s): Danilo Tardioli, dantard@unizar.es
autogenerated on Fri Jan 3 2014 12:07:57