Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
phy_n.c File Reference
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/cordic.h>
#include <brcm_hw_ids.h>
#include <aiutils.h>
#include <chipcommon.h>
#include <pmu.h>
#include <d11.h>
#include <phy_shim.h>
#include "phy_int.h"
#include "phy_hal.h"
#include "phy_radio.h"
#include "phyreg_n.h"
#include "phytbl_n.h"
#include "soc.h"

Go to the source code of this file.

Data Structures

struct  nphy_iqcal_params
 
struct  nphy_txiqcal_ladder
 
struct  nphy_ipa_txcalgains
 
struct  nphy_papd_restore_state
 
struct  nphy_ipa_txrxgain
 
struct  chan_info_nphy_2055
 
struct  chan_info_nphy_radio205x
 
struct  chan_info_nphy_radio2057
 
struct  chan_info_nphy_radio2057_rev5
 
struct  nphy_sfo_cfg
 

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define READ_RADIO_REG2(pi, radio_type, jspace, core, reg_name)
 
#define WRITE_RADIO_REG2(pi, radio_type, jspace, core, reg_name, value)
 
#define WRITE_RADIO_SYN(pi, radio_type, reg_name, value)   write_radio_reg(pi, radio_type##_##SYN##_##reg_name, value)
 
#define READ_RADIO_REG3(pi, radio_type, jspace, core, reg_name)
 
#define WRITE_RADIO_REG3(pi, radio_type, jspace, core, reg_name, value)
 
#define READ_RADIO_REG4(pi, radio_type, jspace, core, reg_name)
 
#define WRITE_RADIO_REG4(pi, radio_type, jspace, core, reg_name, value)
 
#define NPHY_ACI_MAX_UNDETECT_WINDOW_SZ   40
 
#define NPHY_ACI_CHANNEL_DELTA   5
 
#define NPHY_ACI_CHANNEL_SKIP   4
 
#define NPHY_ACI_40MHZ_CHANNEL_DELTA   6
 
#define NPHY_ACI_40MHZ_CHANNEL_SKIP   5
 
#define NPHY_ACI_40MHZ_CHANNEL_DELTA_GE_REV3   6
 
#define NPHY_ACI_40MHZ_CHANNEL_SKIP_GE_REV3   5
 
#define NPHY_ACI_CHANNEL_DELTA_GE_REV3   4
 
#define NPHY_ACI_CHANNEL_SKIP_GE_REV3   3
 
#define NPHY_NOISE_NOASSOC_GLITCH_TH_UP   2
 
#define NPHY_NOISE_NOASSOC_GLITCH_TH_DN   8
 
#define NPHY_NOISE_ASSOC_GLITCH_TH_UP   2
 
#define NPHY_NOISE_ASSOC_GLITCH_TH_DN   8
 
#define NPHY_NOISE_ASSOC_ACI_GLITCH_TH_UP   2
 
#define NPHY_NOISE_ASSOC_ACI_GLITCH_TH_DN   8
 
#define NPHY_NOISE_NOASSOC_ENTER_TH   400
 
#define NPHY_NOISE_ASSOC_ENTER_TH   400
 
#define NPHY_NOISE_ASSOC_RX_GLITCH_BADPLCP_ENTER_TH   400
 
#define NPHY_NOISE_CRSMINPWR_ARRAY_MAX_INDEX   44
 
#define NPHY_NOISE_CRSMINPWR_ARRAY_MAX_INDEX_REV_7   56
 
#define NPHY_NOISE_NOASSOC_CRSIDX_INCR   16
 
#define NPHY_NOISE_ASSOC_CRSIDX_INCR   8
 
#define NPHY_IS_SROM_REINTERPRET   NREV_GE(pi->pubpi.phy_rev, 5)
 
#define NPHY_RSSICAL_MAXREAD   31
 
#define NPHY_RSSICAL_NPOLL   8
 
#define NPHY_RSSICAL_MAXD   (1<<20)
 
#define NPHY_MIN_RXIQ_PWR   2
 
#define NPHY_RSSICAL_W1_TARGET   25
 
#define NPHY_RSSICAL_W2_TARGET   NPHY_RSSICAL_W1_TARGET
 
#define NPHY_RSSICAL_NB_TARGET   0
 
#define NPHY_RSSICAL_W1_TARGET_REV3   29
 
#define NPHY_RSSICAL_W2_TARGET_REV3   NPHY_RSSICAL_W1_TARGET_REV3
 
#define NPHY_CALSANITY_RSSI_NB_MAX_POS   9
 
#define NPHY_CALSANITY_RSSI_NB_MAX_NEG   -9
 
#define NPHY_CALSANITY_RSSI_W1_MAX_POS   12
 
#define NPHY_CALSANITY_RSSI_W1_MAX_NEG
 
#define NPHY_CALSANITY_RSSI_W2_MAX_POS   NPHY_CALSANITY_RSSI_W1_MAX_POS
 
#define NPHY_CALSANITY_RSSI_W2_MAX_NEG
 
#define NPHY_RSSI_SXT(x)   ((s8) (-((x) & 0x20) + ((x) & 0x1f)))
 
#define NPHY_RSSI_NB_VIOL(x)
 
#define NPHY_RSSI_W1_VIOL(x)
 
#define NPHY_RSSI_W2_VIOL(x)
 
#define NPHY_IQCAL_NUMGAINS   9
 
#define NPHY_N_GCTL   0x66
 
#define NPHY_PAPD_EPS_TBL_SIZE   64
 
#define NPHY_PAPD_SCL_TBL_SIZE   64
 
#define NPHY_NUM_DIG_FILT_COEFFS   15
 
#define NPHY_PAPD_COMP_OFF   0
 
#define NPHY_PAPD_COMP_ON   1
 
#define NPHY_SROM_TEMPSHIFT   32
 
#define NPHY_SROM_MAXTEMPOFFSET   16
 
#define NPHY_SROM_MINTEMPOFFSET   -16
 
#define NPHY_CAL_MAXTEMPDELTA   64
 
#define NPHY_NOISEVAR_TBLLEN40   256
 
#define NPHY_NOISEVAR_TBLLEN20   128
 
#define NPHY_ANARXLPFBW_REDUCTIONFACT   7
 
#define NPHY_ADJUSTED_MINCRSPOWER   0x1e
 
#define CCTRL5357_EXTPA   (1<<14) /* extPA in ChipControl 1, bit 14 */
 
#define CCTRL5357_ANT_MUX_2o3   (1<<15) /* 2o3 in ChipControl 1, bit 15 */
 
#define NPHY_CAL_TSSISAMPS   64
 
#define NPHY_TEST_TONE_FREQ_40MHz   4000
 
#define NPHY_TEST_TONE_FREQ_20MHz   2500
 
#define MAX_205x_RCAL_WAITLOOPS   10000
 
#define NPHY_RXCAL_TONEAMP   181
 
#define NPHY_RXCAL_TONEFREQ_40MHz   4000
 
#define NPHY_RXCAL_TONEFREQ_20MHz   2000
 
#define TXFILT_SHAPING_OFDM20   0
 
#define TXFILT_SHAPING_OFDM40   1
 
#define TXFILT_SHAPING_CCK   2
 
#define TXFILT_DEFAULT_OFDM20   3
 
#define TXFILT_DEFAULT_OFDM40   4
 
#define NPHY_IPA_RXCAL_MAXGAININDEX   (6 - 1)
 
#define wlc_phy_get_papd_nphy(pi)
 
#define CAL_RETRY_CNT   2
 
#define WAIT_FOR_SCOPE   4000
 

Enumerations

enum  { NPHY_RXCAL_GAIN_INIT = 0, NPHY_RXCAL_GAIN_UP, NPHY_RXCAL_GAIN_DOWN }
 

Functions

bool wlc_phy_bist_check_phy (struct brcms_phy_pub *pih)
 
void wlc_phy_table_write_nphy (struct brcms_phy *pi, u32 id, u32 len, u32 offset, u32 width, const void *data)
 
void wlc_phy_table_read_nphy (struct brcms_phy *pi, u32 id, u32 len, u32 offset, u32 width, void *data)
 
void wlc_phy_nphy_tkip_rifs_war (struct brcms_phy *pi, u8 rifs)
 
bool wlc_phy_attach_nphy (struct brcms_phy *pi)
 
void wlc_phy_cal_txgainctrl_nphy (struct brcms_phy *pi, s32 dBm_targetpower, bool debug)
 
void wlc_phy_init_nphy (struct brcms_phy *pi)
 
void wlc_phy_pa_override_nphy (struct brcms_phy *pi, bool en)
 
void wlc_phy_stf_chain_upd_nphy (struct brcms_phy *pi)
 
void wlc_phy_rxcore_setstate_nphy (struct brcms_phy_pub *pih, u8 rxcore_bitmask)
 
u8 wlc_phy_rxcore_getstate_nphy (struct brcms_phy_pub *pih)
 
bool wlc_phy_n_txpower_ipa_ison (struct brcms_phy *pi)
 
void wlc_phy_cal_init_nphy (struct brcms_phy *pi)
 
void wlc_phy_switch_radio_nphy (struct brcms_phy *pi, bool on)
 
u8 wlc_phy_get_chan_freq_range_nphy (struct brcms_phy *pi, uint channel)
 
void wlc_phy_radio205x_vcocal_nphy (struct brcms_phy *pi)
 
void wlc_phy_chanspec_set_nphy (struct brcms_phy *pi, u16 chanspec)
 
void wlc_phy_antsel_init (struct brcms_phy_pub *ppi, bool lut_init)
 
u16 wlc_phy_classifier_nphy (struct brcms_phy *pi, u16 mask, u16 val)
 
void wlc_phy_force_rfseq_nphy (struct brcms_phy *pi, u8 cmd)
 
void wlc_phy_rssisel_nphy (struct brcms_phy *pi, u8 core_code, u8 rssi_type)
 
int wlc_phy_poll_rssi_nphy (struct brcms_phy *pi, u8 rssi_type, s32 *rssi_buf, u8 nsamps)
 
s16 wlc_phy_tempsense_nphy (struct brcms_phy *pi)
 
void wlc_phy_rssi_cal_nphy (struct brcms_phy *pi)
 
int wlc_phy_rssi_compute_nphy (struct brcms_phy *pi, struct d11rxhdr *rxh)
 
int wlc_phy_tx_tone_nphy (struct brcms_phy *pi, u32 f_kHz, u16 max_val, u8 iqmode, u8 dac_test_mode, bool modify_bbmult)
 
void wlc_phy_stopplayback_nphy (struct brcms_phy *pi)
 
struct nphy_txgains wlc_phy_get_tx_gain_nphy (struct brcms_phy *pi)
 
void wlc_phy_est_tonepwr_nphy (struct brcms_phy *pi, s32 *qdBm_pwrbuf, u8 num_samps)
 
void wlc_phy_cal_perical_nphy_run (struct brcms_phy *pi, u8 caltype)
 
int wlc_phy_cal_txiqlo_nphy (struct brcms_phy *pi, struct nphy_txgains target_gain, bool fullcal, bool mphase)
 
void wlc_phy_rx_iq_coeffs_nphy (struct brcms_phy *pi, u8 write, struct nphy_iq_comp *pcomp)
 
void wlc_phy_rx_iq_est_nphy (struct brcms_phy *pi, struct phy_iq_est *est, u16 num_samps, u8 wait_time, u8 wait_for_crs)
 
int wlc_phy_cal_rxiq_nphy (struct brcms_phy *pi, struct nphy_txgains target_gain, u8 cal_type, bool debug)
 
void wlc_phy_txpwr_fixpower_nphy (struct brcms_phy *pi)
 
void wlc_phy_ofdm_to_mcs_powers_nphy (u8 *power, u8 rate_mcs_start, u8 rate_mcs_end, u8 rate_ofdm_start)
 
void wlc_phy_mcs_to_ofdm_powers_nphy (u8 *power, u8 rate_ofdm_start, u8 rate_ofdm_end, u8 rate_mcs_start)
 
void wlc_phy_txpwr_apply_nphy (struct brcms_phy *pi)
 
void wlc_phy_txpower_recalc_target_nphy (struct brcms_phy *pi)
 
u16 wlc_phy_txpwr_idx_get_nphy (struct brcms_phy *pi)
 
void wlc_phy_txpwr_papd_cal_nphy (struct brcms_phy *pi)
 
void wlc_phy_txpwrctrl_enable_nphy (struct brcms_phy *pi, u8 ctrl_type)
 
void wlc_phy_txpwr_index_nphy (struct brcms_phy *pi, u8 core_mask, s8 txpwrindex, bool restore_cals)
 
void wlc_phy_txpower_sromlimit_get_nphy (struct brcms_phy *pi, uint chan, u8 *max_pwr, u8 txp_rate_idx)
 
void wlc_phy_stay_in_carriersearch_nphy (struct brcms_phy *pi, bool enable)
 
void wlc_nphy_deaf_mode (struct brcms_phy *pi, bool mode)
 

Macro Definition Documentation

#define CAL_RETRY_CNT   2

Definition at line 26221 of file phy_n.c.

#define CCTRL5357_ANT_MUX_2o3   (1<<15) /* 2o3 in ChipControl 1, bit 15 */

Definition at line 164 of file phy_n.c.

#define CCTRL5357_EXTPA   (1<<14) /* extPA in ChipControl 1, bit 14 */

Definition at line 163 of file phy_n.c.

#define MAX_205x_RCAL_WAITLOOPS   10000

Definition at line 170 of file phy_n.c.

#define NPHY_ACI_40MHZ_CHANNEL_DELTA   6

Definition at line 76 of file phy_n.c.

#define NPHY_ACI_40MHZ_CHANNEL_DELTA_GE_REV3   6

Definition at line 78 of file phy_n.c.

#define NPHY_ACI_40MHZ_CHANNEL_SKIP   5

Definition at line 77 of file phy_n.c.

#define NPHY_ACI_40MHZ_CHANNEL_SKIP_GE_REV3   5

Definition at line 79 of file phy_n.c.

#define NPHY_ACI_CHANNEL_DELTA   5

Definition at line 74 of file phy_n.c.

#define NPHY_ACI_CHANNEL_DELTA_GE_REV3   4

Definition at line 80 of file phy_n.c.

#define NPHY_ACI_CHANNEL_SKIP   4

Definition at line 75 of file phy_n.c.

#define NPHY_ACI_CHANNEL_SKIP_GE_REV3   3

Definition at line 81 of file phy_n.c.

#define NPHY_ACI_MAX_UNDETECT_WINDOW_SZ   40

Definition at line 73 of file phy_n.c.

#define NPHY_ADJUSTED_MINCRSPOWER   0x1e

Definition at line 160 of file phy_n.c.

#define NPHY_ANARXLPFBW_REDUCTIONFACT   7

Definition at line 158 of file phy_n.c.

#define NPHY_CAL_MAXTEMPDELTA   64

Definition at line 153 of file phy_n.c.

#define NPHY_CAL_TSSISAMPS   64

Definition at line 166 of file phy_n.c.

#define NPHY_CALSANITY_RSSI_NB_MAX_NEG   -9

Definition at line 124 of file phy_n.c.

#define NPHY_CALSANITY_RSSI_NB_MAX_POS   9

Definition at line 123 of file phy_n.c.

#define NPHY_CALSANITY_RSSI_W1_MAX_NEG
Value:
NPHY_RSSICAL_MAXREAD)

Definition at line 126 of file phy_n.c.

#define NPHY_CALSANITY_RSSI_W1_MAX_POS   12

Definition at line 125 of file phy_n.c.

#define NPHY_CALSANITY_RSSI_W2_MAX_NEG
Value:
NPHY_RSSICAL_MAXREAD)

Definition at line 129 of file phy_n.c.

#define NPHY_CALSANITY_RSSI_W2_MAX_POS   NPHY_CALSANITY_RSSI_W1_MAX_POS

Definition at line 128 of file phy_n.c.

#define NPHY_IPA_RXCAL_MAXGAININDEX   (6 - 1)

Definition at line 223 of file phy_n.c.

#define NPHY_IQCAL_NUMGAINS   9

Definition at line 139 of file phy_n.c.

#define NPHY_IS_SROM_REINTERPRET   NREV_GE(pi->pubpi.phy_rev, 5)

Definition at line 108 of file phy_n.c.

#define NPHY_MIN_RXIQ_PWR   2

Definition at line 114 of file phy_n.c.

#define NPHY_N_GCTL   0x66

Definition at line 140 of file phy_n.c.

#define NPHY_NOISE_ASSOC_ACI_GLITCH_TH_DN   8

Definition at line 93 of file phy_n.c.

#define NPHY_NOISE_ASSOC_ACI_GLITCH_TH_UP   2

Definition at line 91 of file phy_n.c.

#define NPHY_NOISE_ASSOC_CRSIDX_INCR   8

Definition at line 106 of file phy_n.c.

#define NPHY_NOISE_ASSOC_ENTER_TH   400

Definition at line 97 of file phy_n.c.

#define NPHY_NOISE_ASSOC_GLITCH_TH_DN   8

Definition at line 89 of file phy_n.c.

#define NPHY_NOISE_ASSOC_GLITCH_TH_UP   2

Definition at line 87 of file phy_n.c.

#define NPHY_NOISE_ASSOC_RX_GLITCH_BADPLCP_ENTER_TH   400

Definition at line 99 of file phy_n.c.

#define NPHY_NOISE_CRSMINPWR_ARRAY_MAX_INDEX   44

Definition at line 101 of file phy_n.c.

#define NPHY_NOISE_CRSMINPWR_ARRAY_MAX_INDEX_REV_7   56

Definition at line 102 of file phy_n.c.

#define NPHY_NOISE_NOASSOC_CRSIDX_INCR   16

Definition at line 104 of file phy_n.c.

#define NPHY_NOISE_NOASSOC_ENTER_TH   400

Definition at line 95 of file phy_n.c.

#define NPHY_NOISE_NOASSOC_GLITCH_TH_DN   8

Definition at line 85 of file phy_n.c.

#define NPHY_NOISE_NOASSOC_GLITCH_TH_UP   2

Definition at line 83 of file phy_n.c.

#define NPHY_NOISEVAR_TBLLEN20   128

Definition at line 156 of file phy_n.c.

#define NPHY_NOISEVAR_TBLLEN40   256

Definition at line 155 of file phy_n.c.

#define NPHY_NUM_DIG_FILT_COEFFS   15

Definition at line 144 of file phy_n.c.

#define NPHY_PAPD_COMP_OFF   0

Definition at line 146 of file phy_n.c.

#define NPHY_PAPD_COMP_ON   1

Definition at line 147 of file phy_n.c.

#define NPHY_PAPD_EPS_TBL_SIZE   64

Definition at line 142 of file phy_n.c.

#define NPHY_PAPD_SCL_TBL_SIZE   64

Definition at line 143 of file phy_n.c.

#define NPHY_RSSI_NB_VIOL (   x)
Value:

Definition at line 132 of file phy_n.c.

#define NPHY_RSSI_SXT (   x)    ((s8) (-((x) & 0x20) + ((x) & 0x1f)))

Definition at line 131 of file phy_n.c.

#define NPHY_RSSI_W1_VIOL (   x)
Value:

Definition at line 134 of file phy_n.c.

#define NPHY_RSSI_W2_VIOL (   x)
Value:

Definition at line 136 of file phy_n.c.

#define NPHY_RSSICAL_MAXD   (1<<20)

Definition at line 113 of file phy_n.c.

#define NPHY_RSSICAL_MAXREAD   31

Definition at line 110 of file phy_n.c.

#define NPHY_RSSICAL_NB_TARGET   0

Definition at line 118 of file phy_n.c.

#define NPHY_RSSICAL_NPOLL   8

Definition at line 112 of file phy_n.c.

#define NPHY_RSSICAL_W1_TARGET   25

Definition at line 116 of file phy_n.c.

#define NPHY_RSSICAL_W1_TARGET_REV3   29

Definition at line 120 of file phy_n.c.

#define NPHY_RSSICAL_W2_TARGET   NPHY_RSSICAL_W1_TARGET

Definition at line 117 of file phy_n.c.

#define NPHY_RSSICAL_W2_TARGET_REV3   NPHY_RSSICAL_W1_TARGET_REV3

Definition at line 121 of file phy_n.c.

#define NPHY_RXCAL_TONEAMP   181

Definition at line 172 of file phy_n.c.

#define NPHY_RXCAL_TONEFREQ_20MHz   2000

Definition at line 174 of file phy_n.c.

#define NPHY_RXCAL_TONEFREQ_40MHz   4000

Definition at line 173 of file phy_n.c.

#define NPHY_SROM_MAXTEMPOFFSET   16

Definition at line 150 of file phy_n.c.

#define NPHY_SROM_MINTEMPOFFSET   -16

Definition at line 151 of file phy_n.c.

#define NPHY_SROM_TEMPSHIFT   32

Definition at line 149 of file phy_n.c.

#define NPHY_TEST_TONE_FREQ_20MHz   2500

Definition at line 168 of file phy_n.c.

#define NPHY_TEST_TONE_FREQ_40MHz   4000

Definition at line 167 of file phy_n.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 17 of file phy_n.c.

#define READ_RADIO_REG2 (   pi,
  radio_type,
  jspace,
  core,
  reg_name 
)
Value:
read_radio_reg(pi, radio_type##_##jspace##_##reg_name | \
((core == PHY_CORE_0) ? \
radio_type##_##jspace##0 : \
radio_type##_##jspace##1))

Definition at line 36 of file phy_n.c.

#define READ_RADIO_REG3 (   pi,
  radio_type,
  jspace,
  core,
  reg_name 
)
Value:
radio_type##_##jspace##0##_##reg_name : \
radio_type##_##jspace##1##_##reg_name))

Definition at line 51 of file phy_n.c.

#define READ_RADIO_REG4 (   pi,
  radio_type,
  jspace,
  core,
  reg_name 
)
Value:
radio_type##_##reg_name##_##jspace##0 : \
radio_type##_##reg_name##_##jspace##1))

Definition at line 62 of file phy_n.c.

#define TXFILT_DEFAULT_OFDM20   3

Definition at line 179 of file phy_n.c.

#define TXFILT_DEFAULT_OFDM40   4

Definition at line 180 of file phy_n.c.

#define TXFILT_SHAPING_CCK   2

Definition at line 178 of file phy_n.c.

#define TXFILT_SHAPING_OFDM20   0

Definition at line 176 of file phy_n.c.

#define TXFILT_SHAPING_OFDM40   1

Definition at line 177 of file phy_n.c.

#define WAIT_FOR_SCOPE   4000

Definition at line 27450 of file phy_n.c.

#define wlc_phy_get_papd_nphy (   pi)
Value:
(read_phy_reg((pi), 0x1e7) & \
((0x1 << 15) | \
(0x1 << 14) | \
(0x1 << 13)))

Definition at line 267 of file phy_n.c.

#define WRITE_RADIO_REG2 (   pi,
  radio_type,
  jspace,
  core,
  reg_name,
  value 
)
Value:
write_radio_reg(pi, radio_type##_##jspace##_##reg_name | \
((core == PHY_CORE_0) ? \
radio_type##_##jspace##0 : \
radio_type##_##jspace##1), value)

Definition at line 42 of file phy_n.c.

#define WRITE_RADIO_REG3 (   pi,
  radio_type,
  jspace,
  core,
  reg_name,
  value 
)
Value:
radio_type##_##jspace##0##_##reg_name : \
radio_type##_##jspace##1##_##reg_name), \

Definition at line 56 of file phy_n.c.

#define WRITE_RADIO_REG4 (   pi,
  radio_type,
  jspace,
  core,
  reg_name,
  value 
)
Value:
radio_type##_##reg_name##_##jspace##0 : \
radio_type##_##reg_name##_##jspace##1), \

Definition at line 67 of file phy_n.c.

#define WRITE_RADIO_SYN (   pi,
  radio_type,
  reg_name,
  value 
)    write_radio_reg(pi, radio_type##_##SYN##_##reg_name, value)

Definition at line 48 of file phy_n.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
NPHY_RXCAL_GAIN_INIT 
NPHY_RXCAL_GAIN_UP 
NPHY_RXCAL_GAIN_DOWN 

Definition at line 261 of file phy_n.c.

Function Documentation

void wlc_nphy_deaf_mode ( struct brcms_phy pi,
bool  mode 
)

Definition at line 28719 of file phy_n.c.

void wlc_phy_antsel_init ( struct brcms_phy_pub ppi,
bool  lut_init 
)

Definition at line 21345 of file phy_n.c.

bool wlc_phy_attach_nphy ( struct brcms_phy pi)

Definition at line 14613 of file phy_n.c.

bool wlc_phy_bist_check_phy ( struct brcms_phy_pub pih)

Definition at line 14122 of file phy_n.c.

void wlc_phy_cal_init_nphy ( struct brcms_phy pi)

Definition at line 19829 of file phy_n.c.

void wlc_phy_cal_perical_nphy_run ( struct brcms_phy pi,
u8  caltype 
)

Definition at line 25531 of file phy_n.c.

int wlc_phy_cal_rxiq_nphy ( struct brcms_phy pi,
struct nphy_txgains  target_gain,
u8  cal_type,
bool  debug 
)

Definition at line 27830 of file phy_n.c.

void wlc_phy_cal_txgainctrl_nphy ( struct brcms_phy pi,
s32  dBm_targetpower,
bool  debug 
)

Definition at line 18372 of file phy_n.c.

int wlc_phy_cal_txiqlo_nphy ( struct brcms_phy pi,
struct nphy_txgains  target_gain,
bool  fullcal,
bool  mphase 
)

Definition at line 25769 of file phy_n.c.

void wlc_phy_chanspec_set_nphy ( struct brcms_phy pi,
u16  chanspec 
)

Definition at line 21268 of file phy_n.c.

u16 wlc_phy_classifier_nphy ( struct brcms_phy pi,
u16  mask,
u16  val 
)

Definition at line 21405 of file phy_n.c.

void wlc_phy_est_tonepwr_nphy ( struct brcms_phy pi,
s32 qdBm_pwrbuf,
u8  num_samps 
)

Definition at line 24252 of file phy_n.c.

void wlc_phy_force_rfseq_nphy ( struct brcms_phy pi,
u8  cmd 
)

Definition at line 21429 of file phy_n.c.

u8 wlc_phy_get_chan_freq_range_nphy ( struct brcms_phy pi,
uint  channel 
)

Definition at line 20497 of file phy_n.c.

struct nphy_txgains wlc_phy_get_tx_gain_nphy ( struct brcms_phy pi)
read

Definition at line 23390 of file phy_n.c.

void wlc_phy_init_nphy ( struct brcms_phy pi)

Definition at line 19303 of file phy_n.c.

void wlc_phy_mcs_to_ofdm_powers_nphy ( u8 power,
u8  rate_ofdm_start,
u8  rate_ofdm_end,
u8  rate_mcs_start 
)

Definition at line 28029 of file phy_n.c.

bool wlc_phy_n_txpower_ipa_ison ( struct brcms_phy pi)

Definition at line 19824 of file phy_n.c.

void wlc_phy_nphy_tkip_rifs_war ( struct brcms_phy pi,
u8  rifs 
)

Definition at line 14345 of file phy_n.c.

void wlc_phy_ofdm_to_mcs_powers_nphy ( u8 power,
u8  rate_mcs_start,
u8  rate_mcs_end,
u8  rate_ofdm_start 
)

Definition at line 28015 of file phy_n.c.

void wlc_phy_pa_override_nphy ( struct brcms_phy pi,
bool  en 
)

Definition at line 19674 of file phy_n.c.

int wlc_phy_poll_rssi_nphy ( struct brcms_phy pi,
u8  rssi_type,
s32 rssi_buf,
u8  nsamps 
)

Definition at line 21965 of file phy_n.c.

void wlc_phy_radio205x_vcocal_nphy ( struct brcms_phy pi)

Definition at line 20915 of file phy_n.c.

void wlc_phy_rssi_cal_nphy ( struct brcms_phy pi)

Definition at line 23079 of file phy_n.c.

int wlc_phy_rssi_compute_nphy ( struct brcms_phy pi,
struct d11rxhdr rxh 
)

Definition at line 23091 of file phy_n.c.

void wlc_phy_rssisel_nphy ( struct brcms_phy pi,
u8  core_code,
u8  rssi_type 
)

Definition at line 21744 of file phy_n.c.

void wlc_phy_rx_iq_coeffs_nphy ( struct brcms_phy pi,
u8  write,
struct nphy_iq_comp pcomp 
)

Definition at line 26168 of file phy_n.c.

void wlc_phy_rx_iq_est_nphy ( struct brcms_phy pi,
struct phy_iq_est est,
u16  num_samps,
u8  wait_time,
u8  wait_for_crs 
)

Definition at line 26185 of file phy_n.c.

u8 wlc_phy_rxcore_getstate_nphy ( struct brcms_phy_pub pih)

Definition at line 19813 of file phy_n.c.

void wlc_phy_rxcore_setstate_nphy ( struct brcms_phy_pub pih,
u8  rxcore_bitmask 
)

Definition at line 19733 of file phy_n.c.

void wlc_phy_stay_in_carriersearch_nphy ( struct brcms_phy pi,
bool  enable 
)

Definition at line 28691 of file phy_n.c.

void wlc_phy_stf_chain_upd_nphy ( struct brcms_phy pi)

Definition at line 19701 of file phy_n.c.

void wlc_phy_stopplayback_nphy ( struct brcms_phy pi)

Definition at line 23308 of file phy_n.c.

void wlc_phy_switch_radio_nphy ( struct brcms_phy pi,
bool  on 
)

Definition at line 20252 of file phy_n.c.

void wlc_phy_table_read_nphy ( struct brcms_phy pi,
u32  id,
u32  len,
u32  offset,
u32  width,
void data 
)

Definition at line 14175 of file phy_n.c.

void wlc_phy_table_write_nphy ( struct brcms_phy pi,
u32  id,
u32  len,
u32  offset,
u32  width,
const void data 
)

Definition at line 14161 of file phy_n.c.

s16 wlc_phy_tempsense_nphy ( struct brcms_phy pi)

Definition at line 22060 of file phy_n.c.

int wlc_phy_tx_tone_nphy ( struct brcms_phy pi,
u32  f_kHz,
u16  max_val,
u8  iqmode,
u8  dac_test_mode,
bool  modify_bbmult 
)

Definition at line 23290 of file phy_n.c.

void wlc_phy_txpower_recalc_target_nphy ( struct brcms_phy pi)

Definition at line 28237 of file phy_n.c.

void wlc_phy_txpower_sromlimit_get_nphy ( struct brcms_phy pi,
uint  chan,
u8 max_pwr,
u8  txp_rate_idx 
)

Definition at line 28664 of file phy_n.c.

void wlc_phy_txpwr_apply_nphy ( struct brcms_phy pi)

Definition at line 28042 of file phy_n.c.

void wlc_phy_txpwr_fixpower_nphy ( struct brcms_phy pi)

Definition at line 27843 of file phy_n.c.

u16 wlc_phy_txpwr_idx_get_nphy ( struct brcms_phy pi)

Definition at line 28263 of file phy_n.c.

void wlc_phy_txpwr_index_nphy ( struct brcms_phy pi,
u8  core_mask,
s8  txpwrindex,
bool  restore_cals 
)

Definition at line 28441 of file phy_n.c.

void wlc_phy_txpwr_papd_cal_nphy ( struct brcms_phy pi)

Definition at line 28282 of file phy_n.c.

void wlc_phy_txpwrctrl_enable_nphy ( struct brcms_phy pi,
u8  ctrl_type 
)

Definition at line 28297 of file phy_n.c.