Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
cfp.c File Reference
#include "decl.h"
#include "ioctl.h"
#include "util.h"
#include "fw.h"
#include "main.h"
#include "cfg80211.h"

Go to the source code of this file.

Data Structures

struct  region_code_mapping
 

Macros

#define MWIFIEX_TX_PWR_DEFAULT   20
 
#define MWIFIEX_TX_PWR_US_DEFAULT   20
 
#define MWIFIEX_TX_PWR_JP_DEFAULT   16
 
#define MWIFIEX_TX_PWR_FR_100MW   20
 
#define MWIFIEX_TX_PWR_FR_10MW   10
 
#define MWIFIEX_TX_PWR_EMEA_DEFAULT   20
 

Functions

u8mwifiex_11d_code_2_region (u8 code)
 
u32 mwifiex_index_to_data_rate (struct mwifiex_private *priv, u8 index, u8 ht_info)
 
u32 mwifiex_get_active_data_rates (struct mwifiex_private *priv, u8 *rates)
 
struct mwifiex_chan_freq_powermwifiex_get_cfp (struct mwifiex_private *priv, u8 band, u16 channel, u32 freq)
 
u8 mwifiex_is_rate_auto (struct mwifiex_private *priv)
 
u32 mwifiex_get_supported_rates (struct mwifiex_private *priv, u8 *rates)
 

Variables

u16 region_code_index [MWIFIEX_MAX_REGION_CODE]
 

Macro Definition Documentation

#define MWIFIEX_TX_PWR_DEFAULT   20

Definition at line 28 of file cfp.c.

#define MWIFIEX_TX_PWR_EMEA_DEFAULT   20

Definition at line 38 of file cfp.c.

#define MWIFIEX_TX_PWR_FR_100MW   20

Definition at line 34 of file cfp.c.

#define MWIFIEX_TX_PWR_FR_10MW   10

Definition at line 36 of file cfp.c.

#define MWIFIEX_TX_PWR_JP_DEFAULT   16

Definition at line 32 of file cfp.c.

#define MWIFIEX_TX_PWR_US_DEFAULT   20

Definition at line 30 of file cfp.c.

Function Documentation

u8* mwifiex_11d_code_2_region ( u8  code)

Definition at line 91 of file cfp.c.

u32 mwifiex_get_active_data_rates ( struct mwifiex_private priv,
u8 rates 
)

Definition at line 174 of file cfp.c.

struct mwifiex_chan_freq_power* mwifiex_get_cfp ( struct mwifiex_private priv,
u8  band,
u16  channel,
u32  freq 
)
read

Definition at line 189 of file cfp.c.

u32 mwifiex_get_supported_rates ( struct mwifiex_private priv,
u8 rates 
)

Definition at line 268 of file cfp.c.

u32 mwifiex_index_to_data_rate ( struct mwifiex_private priv,
u8  index,
u8  ht_info 
)

Definition at line 109 of file cfp.c.

u8 mwifiex_is_rate_auto ( struct mwifiex_private priv)

Definition at line 247 of file cfp.c.

Variable Documentation

u16 region_code_index[MWIFIEX_MAX_REGION_CODE]
Initial value:
= { 0x10, 0x20, 0x30,
0x32, 0x40, 0x41, 0xff }

Definition at line 69 of file cfp.c.