#include "decl.h"
#include "ioctl.h"
#include "util.h"
#include "fw.h"
#include "main.h"
#include "cfg80211.h"
#define MWIFIEX_TX_PWR_DEFAULT …
#define MWIFIEX_TX_PWR_US_DEFAULT …
#define MWIFIEX_TX_PWR_JP_DEFAULT …
#define MWIFIEX_TX_PWR_FR_100MW …
#define MWIFIEX_TX_PWR_FR_10MW …
#define MWIFIEX_TX_PWR_EMEA_DEFAULT …
static u8 adhoc_rates_b[B_SUPPORTED_RATES] = …;
static u8 adhoc_rates_g[G_SUPPORTED_RATES] = …;
static u8 adhoc_rates_bg[BG_SUPPORTED_RATES] = …;
static u8 adhoc_rates_a[A_SUPPORTED_RATES] = …;
static u8 supported_rates_a[A_SUPPORTED_RATES] = …;
static u16 mwifiex_data_rates[MWIFIEX_SUPPORTED_RATES_EXT] = …;
static u8 supported_rates_b[B_SUPPORTED_RATES] = …;
static u8 supported_rates_g[G_SUPPORTED_RATES] = …;
static u8 supported_rates_bg[BG_SUPPORTED_RATES] = …;
u16 region_code_index[MWIFIEX_MAX_REGION_CODE] = …;
static u8 supported_rates_n[N_SUPPORTED_RATES] = …;
static const u16 mcs_rate[4][16] = …;
static const u16 ac_mcs_rate_nss1[8][10] = …;
static const u16 ac_mcs_rate_nss2[8][10] = …;
struct region_code_mapping { … };
static struct region_code_mapping region_code_mapping_t[] = …;
u8 *mwifiex_11d_code_2_region(u8 code)
{ … }
u32 mwifiex_index_to_acs_data_rate(struct mwifiex_private *priv,
u8 index, u8 ht_info)
{ … }
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_power *
mwifiex_get_cfp(struct mwifiex_private *priv, u8 band, u16 channel, u32 freq)
{ … }
u8
mwifiex_is_rate_auto(struct mwifiex_private *priv)
{ … }
u32 mwifiex_get_rates_from_cfg80211(struct mwifiex_private *priv,
u8 *rates, u8 radio_type)
{ … }
u32 mwifiex_get_supported_rates(struct mwifiex_private *priv, u8 *rates)
{ … }
u8 mwifiex_adjust_data_rate(struct mwifiex_private *priv,
u8 rx_rate, u8 rate_info)
{ … }