#include "types.h"
#include "d11.h"
#include "phy_hal.h"
Go to the source code of this file.
|
bool | brcms_c_rate_hwrs_filter_sort_validate (struct brcms_c_rateset *rs, const struct brcms_c_rateset *hw_rs, bool check_brate, u8 txstreams) |
|
void | brcms_c_rateset_copy (const struct brcms_c_rateset *src, struct brcms_c_rateset *dst) |
|
u32 | brcms_c_compute_rspec (struct d11rxhdr *rxh, u8 *plcp) |
|
void | brcms_c_rateset_filter (struct brcms_c_rateset *src, struct brcms_c_rateset *dst, bool basic_only, u8 rates, uint xmask, bool mcsallow) |
|
void | brcms_c_rateset_default (struct brcms_c_rateset *rs_tgt, const struct brcms_c_rateset *rs_hw, uint phy_type, int bandtype, bool cck_only, uint rate_mask, bool mcsallow, u8 bw, u8 txstreams) |
|
s16 | brcms_c_rate_legacy_phyctl (uint rate) |
|
void | brcms_c_rateset_mcs_upd (struct brcms_c_rateset *rs, u8 txstreams) |
|
void | brcms_c_rateset_mcs_clear (struct brcms_c_rateset *rateset) |
|
void | brcms_c_rateset_mcs_build (struct brcms_c_rateset *rateset, u8 txstreams) |
|
void | brcms_c_rateset_bw_mcs_filter (struct brcms_c_rateset *rateset, u8 bw) |
|
#define BRCMS_RATE_MASK_FULL 0xff /* Rate value mask with basic rate flag */ |
#define BRCMS_RATES_CCK 1 |
#define BRCMS_RATES_CCK_OFDM 0 |
#define BRCMS_RATES_OFDM 2 |
#define MCS_TXS_MASK 0xc0 /* num tx streams - 1 bit mask */ |
#define RSPEC_BW_MASK 0x00000700 |
#define RSPEC_CT_MASK 0x0000C000 |
#define RSPEC_CT_SHIFT 14 |
#define RSPEC_LDPC_CODING 0x00400000 |
#define RSPEC_MIMORATE 0x08000000 |
#define RSPEC_OVERRIDE 0x80000000 |
#define RSPEC_OVERRIDE_MCS_ONLY 0x40000000 |
#define RSPEC_RATE_MASK 0x0000007F |
#define RSPEC_SHORT_GI 0x00800000 |
#define RSPEC_STC_MASK 0x00300000 |
#define RSPEC_STC_SHIFT 20 |
#define RSPEC_STF_MASK 0x00003800 |
#define RSPEC_STF_SHIFT 11 |
s16 brcms_c_rate_legacy_phyctl |
( |
uint |
rate | ) |
|