iPXE
|
Go to the source code of this file.
Macros | |
#define | SIZE_EEPROM_AR9287 (sizeof(struct ar9287_eeprom) / sizeof(u16)) |
#define | CMP_CTL |
#define | CMP_NO_CTL |
#define | REDUCE_SCALED_POWER_BY_TWO_CHAIN 6 |
#define | REDUCE_SCALED_POWER_BY_THREE_CHAIN 10 |
#define | EEP_MAP9287_SPURCHAN (ah->eeprom.map9287.modalHeader.spurChans[i].spurChan) |
Variables | |
const struct eeprom_ops | eep_ar9287_ops |
#define SIZE_EEPROM_AR9287 (sizeof(struct ar9287_eeprom) / sizeof(u16)) |
Definition at line 25 of file ath9k_eeprom_9287.c.
#define CMP_CTL |
#define CMP_NO_CTL |
#define REDUCE_SCALED_POWER_BY_TWO_CHAIN 6 |
#define REDUCE_SCALED_POWER_BY_THREE_CHAIN 10 |
#define EEP_MAP9287_SPURCHAN (ah->eeprom.map9287.modalHeader.spurChans[i].spurChan) |
|
static |
|
static |
|
static |
Definition at line 37 of file ath9k_eeprom_9287.c.
References addr, ah, AR9287_EEP_START_LOC, ath9k_hw_common(), ath9k_hw_nvram_read(), common, DBG, and SIZE_EEPROM_AR9287.
Referenced by ath9k_hw_ar9287_fill_eeprom().
|
static |
Definition at line 59 of file ath9k_eeprom_9287.c.
References ah, AR9287_HTC_EEP_START_LOC, ath9k_hw_usb_gen_fill_eeprom(), and SIZE_EEPROM_AR9287.
Referenced by ath9k_hw_ar9287_fill_eeprom().
|
static |
Definition at line 69 of file ath9k_eeprom_9287.c.
References __ath9k_hw_ar9287_fill_eeprom(), __ath9k_hw_usb_ar9287_fill_eeprom(), ah, ath9k_hw_common(), ath9k_hw_use_flash, ATH_USB, common, and DBG2.
|
static |
Definition at line 84 of file ath9k_eeprom_9287.c.
References addr, ah, modal_eep_ar9287_header::antCtrlChain, modal_eep_ar9287_header::antCtrlCommon, AR5416_EEP_NO_BACK_VER, AR5416_EEPROM_MAGIC, AR5416_EEPROM_MAGIC_OFFSET, AR9287_EEP_VER, AR9287_MAX_CHAINS, AR_EEPROM_MODAL_SPURS, ath9k_hw_common(), ath9k_hw_nvram_read(), ath9k_hw_use_flash, ar9287_eeprom::baseEepHeader, base_eep_ar9287_header::blueToothOptions, base_eep_ar9287_header::checksum, common, DBG, DBG2, base_eep_ar9287_header::deviceCap, EINVAL, base_eep_ar9287_header::length, magic, ar9287_eeprom::modalHeader, base_eep_ar9287_header::regDmn, base_eep_ar9287_header::rfSilent, SIZE_EEPROM_AR9287, spur_chan::spurChan, modal_eep_ar9287_header::spurChans, swab16, swab32, u16, and base_eep_ar9287_header::version.
|
static |
Definition at line 190 of file ath9k_eeprom_9287.c.
References ah, AR9287_EEP_MINOR_VER_2, AR9287_EEP_MINOR_VER_3, AR9287_EEP_VER_MINOR_MASK, ar9287_eeprom::baseEepHeader, base_eep_ar9287_header::deviceCap, base_eep_ar9287_header::deviceType, EEP_DEV_TYPE, EEP_MAC_LSW, EEP_MAC_MID, EEP_MAC_MSW, EEP_MINOR_REV, EEP_NFTHRESH_2, EEP_OL_PWRCTRL, EEP_OP_CAP, EEP_OP_MODE, EEP_REG_0, EEP_REG_1, EEP_RF_SILENT, EEP_RX_MASK, EEP_TEMPSENSE_SLOPE, EEP_TEMPSENSE_SLOPE_PAL_ON, EEP_TX_MASK, base_eep_ar9287_header::macAddr, ar9287_eeprom::modalHeader, modal_eep_ar9287_header::noiseFloorThreshCh, base_eep_ar9287_header::opCapFlags, base_eep_ar9287_header::openLoopPwrCntl, param, base_eep_ar9287_header::regDmn, base_eep_ar9287_header::rfSilent, base_eep_ar9287_header::rxMask, base_eep_ar9287_header::tempSensSlope, base_eep_ar9287_header::tempSensSlopePalOn, base_eep_ar9287_header::txMask, and base_eep_ar9287_header::version.
Referenced by ath9k_hw_ar9287_set_txpower(), and ath9k_hw_set_ar9287_power_cal_table().
|
static |
Definition at line 244 of file ath9k_eeprom_9287.c.
References ah, AR5416_BCHAN_UNUSED, ath9k_hw_get_channel_centers(), ath9k_hw_get_lower_upper_index(), FREQ2FBIN, IS_CHAN_2GHZ, cal_data_op_loop_ar9287::pwrPdg, and chan_centers::synth_center.
Referenced by ath9k_hw_set_ar9287_power_cal_table().
Definition at line 273 of file ath9k_eeprom_9287.c.
References ah, REG_READ, and REG_WRITE.
Referenced by ath9k_hw_set_ar9287_power_cal_table().
|
static |
Definition at line 314 of file ath9k_eeprom_9287.c.
References ah, AR5416_NUM_PD_GAINS, AR5416_NUM_PDADC_VALUES, AR5416_PD_GAINS_IN_MASK, AR9287_EEP_MINOR_VER_2, AR9287_EEP_VER_MINOR_MASK, ar9287_eeprom_get_tx_gain_index(), ar9287_eeprom_olpc_set_pdadcs(), AR9287_MAX_CHAINS, AR9287_NUM_2G_CAL_PIERS, AR9287_PWR_TABLE_OFFSET_DB, AR_PHY_BASE, AR_PHY_TPCRG1, AR_PHY_TPCRG1_NUM_PD_GAIN, AR_PHY_TPCRG1_PD_GAIN_1, AR_PHY_TPCRG1_PD_GAIN_2, AR_PHY_TPCRG1_PD_GAIN_3, AR_PHY_TPCRG5, AR_PHY_TPCRG5_PD_GAIN_BOUNDARY_1, AR_PHY_TPCRG5_PD_GAIN_BOUNDARY_2, AR_PHY_TPCRG5_PD_GAIN_BOUNDARY_3, AR_PHY_TPCRG5_PD_GAIN_BOUNDARY_4, AR_PHY_TPCRG5_PD_GAIN_OVERLAP, ath9k_hw_ar9287_get_eeprom(), ath9k_hw_get_gain_boundaries_pdadcs(), ar9287_eeprom::baseEepHeader, ar9287_eeprom::calFreqPier2G, ar9287_eeprom::calPierData2G, EEP_OL_PWRCTRL, ENABLE_REGWRITE_BUFFER, if(), IS_CHAN_2GHZ, ar9287_eeprom::modalHeader, MS, NULL, modal_eep_ar9287_header::pdGainOverlap, base_eep_ar9287_header::pwrTableOffset, REG_READ, REG_RMW_FIELD, REG_WRITE, REGWRITE_BUFFER_FLUSH, SM, base_eep_ar9287_header::txMask, u16, base_eep_ar9287_header::version, cal_data_op_loop_ar9287::vpdPdg, and modal_eep_ar9287_header::xpdGain.
Referenced by ath9k_hw_ar9287_set_txpower().
|
static |
Definition at line 459 of file ath9k_eeprom_9287.c.
References ah, modal_eep_ar9287_header::antennaGainCh, ar5416_get_ntxchains, AR5416_NUM_BAND_EDGES, AR9287_NUM_2G_20_TARGET_POWERS, AR9287_NUM_2G_40_TARGET_POWERS, AR9287_NUM_2G_CCK_TARGET_POWERS, AR9287_NUM_CTLS, ARRAY_SIZE, ath9k_hw_get_channel_centers(), ath9k_hw_get_legacy_target_powers(), ath9k_hw_get_max_edge_power(), ath9k_hw_get_target_powers(), ath9k_hw_regulatory(), ATH9K_TP_SCALE_MAX, ar9287_eeprom::calTargetPower2G, ar9287_eeprom::calTargetPower2GHT20, ar9287_eeprom::calTargetPower2GHT40, ar9287_eeprom::calTargetPowerCck, CMP_CTL, CMP_NO_CTL, CTL_11A, CTL_11A_EXT, CTL_11B, CTL_11B_EXT, CTL_11G, CTL_11G_EXT, CTL_2GHT20, CTL_2GHT40, CTL_5GHT20, CTL_5GHT40, chan_centers::ctl_center, CTL_MODE_M, ar9287_eeprom::ctlData, cal_ctl_data_ar9287::ctlEdges, ar9287_eeprom::ctlIndex, EXT_ADDITIVE, chan_centers::ext_center, if(), IS_CHAN_2GHZ, IS_CHAN_HT40, max, MAX_RATE_POWER, min, ar9287_eeprom::modalHeader, NULL, rate11l, rate11s, rate12mb, rate18mb, rate1l, rate24mb, rate2l, rate2s, rate36mb, rate48mb, rate54mb, rate5_5l, rate5_5s, rate6mb, rate9mb, rateDupCck, rateDupOfdm, rateExtCck, rateExtOfdm, rateHt20_0, rateHt40_0, rateXr, REDUCE_SCALED_POWER_BY_THREE_CHAIN, REDUCE_SCALED_POWER_BY_TWO_CHAIN, SD_NO_CTL, SUB_NUM_CTL_MODES_AT_2G_40, chan_centers::synth_center, ath_regulatory::tp_scale, cal_target_power_leg::tPow2x, cal_target_power_ht::tPow2x, and u8.
Referenced by ath9k_hw_ar9287_set_txpower().
|
static |
Definition at line 721 of file ath9k_eeprom_9287.c.
References ah, Ar5416RateSize, AR9287_EEP_MINOR_VER_2, AR9287_EEP_VER_MINOR_MASK, AR9287_PWR_TABLE_OFFSET_DB, AR_PHY_POWER_TX_RATE1, AR_PHY_POWER_TX_RATE2, AR_PHY_POWER_TX_RATE3, AR_PHY_POWER_TX_RATE4, AR_PHY_POWER_TX_RATE5, AR_PHY_POWER_TX_RATE6, AR_PHY_POWER_TX_RATE7, AR_PHY_POWER_TX_RATE8, AR_PHY_POWER_TX_RATE9, AR_SREV_9280_20_OR_LATER, ARRAY_SIZE, ath9k_hw_ar9287_get_eeprom(), ath9k_hw_regulatory(), ath9k_hw_set_ar9287_power_cal_table(), ath9k_hw_set_ar9287_power_per_rate_table(), ATH9K_POW_SM, ar9287_eeprom::baseEepHeader, EEP_OL_PWRCTRL, ENABLE_REGWRITE_BUFFER, modal_eep_ar9287_header::ht40PowerIncForPdadc, IS_CHAN_2GHZ, IS_CHAN_HT40, ath_regulatory::max_power_level, MAX_RATE_POWER, memset(), ar9287_eeprom::modalHeader, rate11l, rate11s, rate12mb, rate18mb, rate1l, rate24mb, rate2l, rate2s, rate36mb, rate48mb, rate54mb, rate5_5l, rate5_5s, rate6mb, rate9mb, rateDupCck, rateDupOfdm, rateExtCck, rateExtOfdm, rateHt20_0, rateHt20_1, rateHt20_2, rateHt20_3, rateHt20_4, rateHt20_5, rateHt20_6, rateHt20_7, rateHt40_0, rateHt40_1, rateHt40_2, rateHt40_3, rateHt40_4, rateHt40_5, rateHt40_6, rateHt40_7, rateXr, REG_WRITE, REGWRITE_BUFFER_FLUSH, test, and base_eep_ar9287_header::version.
|
static |
Definition at line 862 of file ath9k_eeprom_9287.c.
|
static |
Definition at line 867 of file ath9k_eeprom_9287.c.
References modal_eep_ar9287_header::adcDesiredSize, ah, modal_eep_ar9287_header::antCtrlChain, modal_eep_ar9287_header::antCtrlCommon, AR9280_PHY_CCA_THRESH62, AR9280_PHY_RXGAIN_TXRX_ATTEN, AR9280_PHY_RXGAIN_TXRX_MARGIN, AR9287_AN_RF2G3_CH0, AR9287_AN_RF2G3_CH1, AR9287_AN_RF2G3_DB1, AR9287_AN_RF2G3_DB2, AR9287_AN_RF2G3_OB_CCK, AR9287_AN_RF2G3_OB_PAL_OFF, AR9287_AN_RF2G3_OB_PSK, AR9287_AN_RF2G3_OB_QAM, AR9287_AN_TOP2, AR9287_AN_TOP2_XPABIAS_LVL, AR9287_AN_TOP2_XPABIAS_LVL_S, AR9287_MAX_CHAINS, AR_PHY_CCA, AR_PHY_DESIRED_SZ, AR_PHY_DESIRED_SZ_ADC, AR_PHY_EXT_CCA0, AR_PHY_EXT_CCA0_THRESH62, AR_PHY_GAIN_2GHZ, AR_PHY_GAIN_2GHZ_XATTEN1_DB, AR_PHY_GAIN_2GHZ_XATTEN1_MARGIN, AR_PHY_RF_CTL2, AR_PHY_RF_CTL3, AR_PHY_RF_CTL4, AR_PHY_RF_CTL4_FRAME_XPAA_ON, AR_PHY_RF_CTL4_FRAME_XPAB_ON, AR_PHY_RF_CTL4_TX_END_XPAA_OFF, AR_PHY_RF_CTL4_TX_END_XPAB_OFF, AR_PHY_RXGAIN, AR_PHY_SETTLING, AR_PHY_SETTLING_SWITCH, AR_PHY_SWITCH_CHAIN_0, AR_PHY_SWITCH_COM, AR_PHY_TIMING_CTRL4, AR_PHY_TIMING_CTRL4_IQCORR_Q_I_COFF, AR_PHY_TIMING_CTRL4_IQCORR_Q_Q_COFF, AR_PHY_TX_END_DATA_START, AR_PHY_TX_END_PA_ON, AR_PHY_TX_END_TO_A2_RX_ON, ath9k_hw_analog_shift_regwrite(), ath9k_hw_analog_shift_rmw(), modal_eep_ar9287_header::bswAtten, modal_eep_ar9287_header::bswMargin, modal_eep_ar9287_header::db1, modal_eep_ar9287_header::db2, modal_eep_ar9287_header::iqCalICh, modal_eep_ar9287_header::iqCalQCh, IS_CHAN_HT40, ar9287_eeprom::modalHeader, modal_eep_ar9287_header::ob_cck, modal_eep_ar9287_header::ob_pal_off, modal_eep_ar9287_header::ob_psk, modal_eep_ar9287_header::ob_qam, REG_READ, REG_RMW_FIELD, REG_WRITE, modal_eep_ar9287_header::rxTxMarginCh, SM, modal_eep_ar9287_header::switchSettling, modal_eep_ar9287_header::swSettleHt40, modal_eep_ar9287_header::thresh62, modal_eep_ar9287_header::txEndToRxOn, modal_eep_ar9287_header::txEndToXpaOff, modal_eep_ar9287_header::txFrameToDataStart, modal_eep_ar9287_header::txFrameToPaOn, modal_eep_ar9287_header::txFrameToXpaOn, modal_eep_ar9287_header::txRxAttenCh, and modal_eep_ar9287_header::xpaBiasLvl.
Definition at line 979 of file ath9k_eeprom_9287.c.
References ah, AR_NO_SPUR, DBG2, EEP_MAP9287_SPURCHAN, SPUR_DISABLE, SPUR_ENABLE_EEPROM, and SPUR_ENABLE_IOCTL.
const struct eeprom_ops eep_ar9287_ops |
Definition at line 1009 of file ath9k_eeprom_9287.c.
Referenced by ath9k_hw_eeprom_init().