Defines | Functions | Variables
rc80211_minstrel.c File Reference
#include <linux/netdevice.h>
#include <linux/types.h>
#include <linux/skbuff.h>
#include <linux/debugfs.h>
#include <linux/random.h>
#include <linux/ieee80211.h>
#include <linux/slab.h>
#include <net/mac80211.h>
#include "rate.h"
#include "rc80211_minstrel.h"
Include dependency graph for kernel-3.5/rc80211_minstrel.c:

Go to the source code of this file.

Defines

#define SAMPLE_COLUMNS   10
#define SAMPLE_TBL(_mi, _idx, _col)   _mi->sample_table[(_idx * SAMPLE_COLUMNS) + _col]

Functions

static void calc_rate_durations (enum ieee80211_band band, struct minstrel_rate *d, struct ieee80211_rate *rate)
static void init_sample_table (struct minstrel_sta_info *mi)
static void * minstrel_alloc (struct ieee80211_hw *hw, struct dentry *debugfsdir)
static void * minstrel_alloc_sta (void *priv, struct ieee80211_sta *sta, gfp_t gfp)
static void minstrel_free (void *priv)
static void minstrel_free_sta (void *priv, struct ieee80211_sta *sta, void *priv_sta)
static int minstrel_get_next_sample (struct minstrel_sta_info *mi)
static void minstrel_get_rate (void *priv, struct ieee80211_sta *sta, void *priv_sta, struct ieee80211_tx_rate_control *txrc)
static unsigned int minstrel_get_retry_count (struct minstrel_rate *mr, struct ieee80211_tx_info *info)
static void minstrel_rate_init (void *priv, struct ieee80211_supported_band *sband, struct ieee80211_sta *sta, void *priv_sta)
static void minstrel_tx_status (void *priv, struct ieee80211_supported_band *sband, struct ieee80211_sta *sta, void *priv_sta, struct sk_buff *skb)
static void minstrel_update_stats (struct minstrel_priv *mp, struct minstrel_sta_info *mi)
void rc80211_minstrel_exit (void)
int __init rc80211_minstrel_init (void)
static int rix_to_ndx (struct minstrel_sta_info *mi, int rix)

Variables

struct rate_control_ops mac80211_minstrel

Define Documentation

#define SAMPLE_COLUMNS   10

Definition at line 58 of file kernel-3.5/rc80211_minstrel.c.

#define SAMPLE_TBL (   _mi,
  _idx,
  _col 
)    _mi->sample_table[(_idx * SAMPLE_COLUMNS) + _col]

Definition at line 59 of file kernel-3.5/rc80211_minstrel.c.


Function Documentation

static void calc_rate_durations ( enum ieee80211_band  band,
struct minstrel_rate d,
struct ieee80211_rate rate 
) [static]

Definition at line 337 of file kernel-3.5/rc80211_minstrel.c.

static void init_sample_table ( struct minstrel_sta_info mi) [static]

Definition at line 350 of file kernel-3.5/rc80211_minstrel.c.

static void* minstrel_alloc ( struct ieee80211_hw *  hw,
struct dentry *  debugfsdir 
) [static]

Definition at line 497 of file kernel-3.5/rc80211_minstrel.c.

static void* minstrel_alloc_sta ( void *  priv,
struct ieee80211_sta *  sta,
gfp_t  gfp 
) [static]

Definition at line 449 of file kernel-3.5/rc80211_minstrel.c.

static void minstrel_free ( void *  priv) [static]

Definition at line 545 of file kernel-3.5/rc80211_minstrel.c.

static void minstrel_free_sta ( void *  priv,
struct ieee80211_sta *  sta,
void *  priv_sta 
) [static]

Definition at line 487 of file kernel-3.5/rc80211_minstrel.c.

static int minstrel_get_next_sample ( struct minstrel_sta_info mi) [static]

Definition at line 202 of file kernel-3.5/rc80211_minstrel.c.

static void minstrel_get_rate ( void *  priv,
struct ieee80211_sta *  sta,
void *  priv_sta,
struct ieee80211_tx_rate_control *  txrc 
) [static]

Definition at line 217 of file kernel-3.5/rc80211_minstrel.c.

static unsigned int minstrel_get_retry_count ( struct minstrel_rate mr,
struct ieee80211_tx_info info 
) [inline, static]

Definition at line 188 of file kernel-3.5/rc80211_minstrel.c.

static void minstrel_rate_init ( void *  priv,
struct ieee80211_supported_band sband,
struct ieee80211_sta *  sta,
void *  priv_sta 
) [static]

Definition at line 378 of file kernel-3.5/rc80211_minstrel.c.

static void minstrel_tx_status ( void *  priv,
struct ieee80211_supported_band sband,
struct ieee80211_sta *  sta,
void *  priv_sta,
struct sk_buff skb 
) [static]

Definition at line 153 of file kernel-3.5/rc80211_minstrel.c.

static void minstrel_update_stats ( struct minstrel_priv mp,
struct minstrel_sta_info mi 
) [static]

Definition at line 74 of file kernel-3.5/rc80211_minstrel.c.

void rc80211_minstrel_exit ( void  )

Definition at line 575 of file kernel-3.5/rc80211_minstrel.c.

int __init rc80211_minstrel_init ( void  )

Definition at line 569 of file kernel-3.5/rc80211_minstrel.c.

static int rix_to_ndx ( struct minstrel_sta_info mi,
int  rix 
) [inline, static]

Definition at line 64 of file kernel-3.5/rc80211_minstrel.c.


Variable Documentation

struct rate_control_ops mac80211_minstrel
Initial value:
 {
        .name = "minstrel",
        .tx_status = minstrel_tx_status,
        .get_rate = minstrel_get_rate,
        .rate_init = minstrel_rate_init,
        .alloc = minstrel_alloc,
        .free = minstrel_free,
        .alloc_sta = minstrel_alloc_sta,
        .free_sta = minstrel_free_sta,




}

Definition at line 553 of file kernel-3.5/rc80211_minstrel.c.



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