Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
stf.c File Reference
#include <net/mac80211.h>
#include "types.h"
#include "d11.h"
#include "rate.h"
#include "phy/phy_hal.h"
#include "channel.h"
#include "main.h"
#include "stf.h"

Go to the source code of this file.

Macros

#define MIN_SPATIAL_EXPANSION   0
 
#define MAX_SPATIAL_EXPANSION   1
 
#define BRCMS_STF_SS_STBC_RX(wlc)
 
#define NSTS_1   1
 
#define NSTS_2   2
 
#define NSTS_3   3
 
#define NSTS_4   4
 

Functions

void brcms_c_tempsense_upd (struct brcms_c_info *wlc)
 
void brcms_c_stf_ss_algo_channel_get (struct brcms_c_info *wlc, u16 *ss_algo_channel, u16 chanspec)
 
bool brcms_c_stf_stbc_rx_set (struct brcms_c_info *wlc, s32 int_val)
 
int brcms_c_stf_txchain_set (struct brcms_c_info *wlc, s32 int_val, bool force)
 
int brcms_c_stf_ss_update (struct brcms_c_info *wlc, struct brcms_band *band)
 
int brcms_c_stf_attach (struct brcms_c_info *wlc)
 
void brcms_c_stf_detach (struct brcms_c_info *wlc)
 
void brcms_c_stf_phy_txant_upd (struct brcms_c_info *wlc)
 
void brcms_c_stf_phy_chain_calc (struct brcms_c_info *wlc)
 
u16 brcms_c_stf_phytxchain_sel (struct brcms_c_info *wlc, u32 rspec)
 
u16 brcms_c_stf_d11hdrs_phyctl_txant (struct brcms_c_info *wlc, u32 rspec)
 

Macro Definition Documentation

#define BRCMS_STF_SS_STBC_RX (   wlc)
Value:
(BRCMS_ISNPHY(wlc->band) && \
NREV_GT(wlc->band->phyrev, 3) && NREV_LE(wlc->band->phyrev, 6))

Definition at line 30 of file stf.c.

#define MAX_SPATIAL_EXPANSION   1

Definition at line 28 of file stf.c.

#define MIN_SPATIAL_EXPANSION   0

Definition at line 27 of file stf.c.

#define NSTS_1   1

Definition at line 33 of file stf.c.

#define NSTS_2   2

Definition at line 34 of file stf.c.

#define NSTS_3   3

Definition at line 35 of file stf.c.

#define NSTS_4   4

Definition at line 36 of file stf.c.

Function Documentation

int brcms_c_stf_attach ( struct brcms_c_info wlc)

Definition at line 338 of file stf.c.

u16 brcms_c_stf_d11hdrs_phyctl_txant ( struct brcms_c_info wlc,
u32  rspec 
)

Definition at line 426 of file stf.c.

void brcms_c_stf_detach ( struct brcms_c_info wlc)

Definition at line 362 of file stf.c.

void brcms_c_stf_phy_chain_calc ( struct brcms_c_info wlc)

Definition at line 371 of file stf.c.

void brcms_c_stf_phy_txant_upd ( struct brcms_c_info wlc)

Definition at line 366 of file stf.c.

u16 brcms_c_stf_phytxchain_sel ( struct brcms_c_info wlc,
u32  rspec 
)

Definition at line 421 of file stf.c.

void brcms_c_stf_ss_algo_channel_get ( struct brcms_c_info wlc,
u16 ss_algo_channel,
u16  chanspec 
)

Definition at line 86 of file stf.c.

int brcms_c_stf_ss_update ( struct brcms_c_info wlc,
struct brcms_band band 
)

Definition at line 305 of file stf.c.

bool brcms_c_stf_stbc_rx_set ( struct brcms_c_info wlc,
s32  int_val 
)

Definition at line 144 of file stf.c.

int brcms_c_stf_txchain_set ( struct brcms_c_info wlc,
s32  int_val,
bool  force 
)

Definition at line 262 of file stf.c.

void brcms_c_tempsense_upd ( struct brcms_c_info wlc)

Definition at line 64 of file stf.c.