|
iPXE
|
Go to the source code of this file.
Data Structures | |
| struct | base_eep_header |
| struct | base_eep_header_4k |
| struct | spur_chan |
| struct | modal_eep_header |
| struct | calDataPerFreqOpLoop |
| struct | modal_eep_4k_header |
| struct | base_eep_ar9287_header |
| struct | modal_eep_ar9287_header |
| struct | cal_data_per_freq |
| struct | cal_data_per_freq_4k |
| struct | cal_target_power_leg |
| struct | cal_target_power_ht |
| struct | cal_ctl_edges |
| struct | cal_data_op_loop_ar9287 |
| struct | cal_data_per_freq_ar9287 |
| union | cal_data_per_freq_ar9287_u |
| struct | cal_ctl_data_ar9287 |
| struct | cal_ctl_data |
| struct | cal_ctl_data_4k |
| struct | ar5416_eeprom_def |
| struct | ar5416_eeprom_4k |
| struct | ar9287_eeprom |
| struct | ath9k_country_entry |
| struct | eeprom_ops |
Functions | |
| FILE_LICENCE (BSD2) | |
| FILE_SECBOOT (FORBIDDEN) | |
| void | ath9k_hw_analog_shift_regwrite (struct ath_hw *ah, u32 reg, u32 val) |
| void | ath9k_hw_analog_shift_rmw (struct ath_hw *ah, u32 reg, u32 mask, u32 shift, u32 val) |
| int16_t | ath9k_hw_interpolate (u16 target, u16 srcLeft, u16 srcRight, int16_t targetLeft, int16_t targetRight) |
| int | ath9k_hw_get_lower_upper_index (u8 target, u8 *pList, u16 listSize, u16 *indexL, u16 *indexR) |
| int | ath9k_hw_nvram_read (struct ath_common *common, u32 off, u16 *data) |
| void | ath9k_hw_usb_gen_fill_eeprom (struct ath_hw *ah, u16 *eep_data, int eep_start_loc, int size) |
| void | ath9k_hw_fill_vpd_table (u8 pwrMin, u8 pwrMax, u8 *pPwrList, u8 *pVpdList, u16 numIntercepts, u8 *pRetVpdList) |
| void | ath9k_hw_get_legacy_target_powers (struct ath_hw *ah, struct ath9k_channel *chan, struct cal_target_power_leg *powInfo, u16 numChannels, struct cal_target_power_leg *pNewPower, u16 numRates, int isExtTarget) |
| void | ath9k_hw_get_target_powers (struct ath_hw *ah, struct ath9k_channel *chan, struct cal_target_power_ht *powInfo, u16 numChannels, struct cal_target_power_ht *pNewPower, u16 numRates, int isHt40Target) |
| u16 | ath9k_hw_get_max_edge_power (u16 freq, struct cal_ctl_edges *pRdEdgesPower, int is2GHz, int num_band_edges) |
| void | ath9k_hw_update_regulatory_maxpower (struct ath_hw *ah) |
| int | ath9k_hw_eeprom_init (struct ath_hw *ah) |
| void | ath9k_hw_get_gain_boundaries_pdadcs (struct ath_hw *ah, struct ath9k_channel *chan, void *pRawDataSet, u8 *bChans, u16 availPiers, u16 tPdGainOverlap, u16 *pPdGainBoundaries, u8 *pPDADCValues, u16 numXpdGains) |
Variables | |
| const struct eeprom_ops | eep_def_ops |
| const struct eeprom_ops | eep_4k_ops |
| const struct eeprom_ops | eep_ar9287_ops |
| const struct eeprom_ops | eep_ar9300_ops |
| #define AR_EEPROM_MODAL_SPURS 5 |
Definition at line 26 of file eeprom.h.
Referenced by ar5008_hw_spur_mitigate(), ar9002_hw_spur_mitigate(), ar9003_hw_spur_mitigate_ofdm(), ath9k_hw_4k_check_eeprom(), ath9k_hw_ar9287_check_eeprom(), ath9k_hw_def_check_eeprom(), and ath9k_hw_init_config().
| #define AR5416_EEPROM_MAGIC 0x5aa5 |
Definition at line 32 of file eeprom.h.
Referenced by ath9k_hw_4k_check_eeprom(), ath9k_hw_ar9287_check_eeprom(), and ath9k_hw_def_check_eeprom().
| #define CTRY_DEFAULT 0 |
Definition at line 38 of file eeprom.h.
Referenced by ath9k_hw_init_defaults().
| #define AR5416_EEPROM_MAGIC_OFFSET 0x0 |
Definition at line 60 of file eeprom.h.
Referenced by ath9k_hw_4k_check_eeprom(), ath9k_hw_ar9287_check_eeprom(), and ath9k_hw_def_check_eeprom().
| #define AR5416_EEPROM_S 2 |
Definition at line 61 of file eeprom.h.
Referenced by ath9k_hw_usb_gen_fill_eeprom(), and ath_pci_eeprom_read().
| #define AR5416_EEPROM_OFFSET 0x2000 |
Definition at line 62 of file eeprom.h.
Referenced by ath9k_hw_usb_gen_fill_eeprom(), and ath_pci_eeprom_read().
| #define AR5416_EEPROM_START_ADDR (AR_SREV_9100(ah)) ? 0x1fff1000 : 0x503f1200 |
| #define SD_NO_CTL 0xE0 |
Definition at line 68 of file eeprom.h.
Referenced by ar9003_hw_set_power_per_rate_table(), ath9k_hw_set_4k_power_per_rate_table(), ath9k_hw_set_ar9287_power_per_rate_table(), and ath9k_hw_set_def_power_per_rate_table().
| #define NO_CTL 0xff |
Definition at line 69 of file eeprom.h.
Referenced by ath_regd_get_band_ctl().
| #define CTL_MODE_M 0xf |
Definition at line 70 of file eeprom.h.
Referenced by ar9003_hw_set_power_per_rate_table(), ath9k_hw_set_4k_power_per_rate_table(), ath9k_hw_set_ar9287_power_per_rate_table(), and ath9k_hw_set_def_power_per_rate_table().
| #define CTL_11A 0 |
Definition at line 71 of file eeprom.h.
Referenced by ar9003_hw_set_power_per_rate_table(), ath9k_hw_set_ar9287_power_per_rate_table(), ath9k_hw_set_def_power_per_rate_table(), and ath9k_regd_get_ctl().
| #define CTL_11B 1 |
Definition at line 72 of file eeprom.h.
Referenced by ar9003_hw_set_power_per_rate_table(), ath9k_hw_set_4k_power_per_rate_table(), ath9k_hw_set_ar9287_power_per_rate_table(), ath9k_hw_set_def_power_per_rate_table(), and ath9k_regd_get_ctl().
| #define CTL_11G 2 |
Definition at line 73 of file eeprom.h.
Referenced by ar9003_hw_set_power_per_rate_table(), ath9k_hw_set_4k_power_per_rate_table(), ath9k_hw_set_ar9287_power_per_rate_table(), ath9k_hw_set_def_power_per_rate_table(), and ath9k_regd_get_ctl().
| #define CTL_2GHT20 5 |
Definition at line 74 of file eeprom.h.
Referenced by ar9003_hw_set_power_per_rate_table(), ath9k_hw_set_4k_power_per_rate_table(), ath9k_hw_set_ar9287_power_per_rate_table(), and ath9k_hw_set_def_power_per_rate_table().
| #define CTL_5GHT20 6 |
Definition at line 75 of file eeprom.h.
Referenced by ar9003_hw_set_power_per_rate_table(), ath9k_hw_set_ar9287_power_per_rate_table(), and ath9k_hw_set_def_power_per_rate_table().
| #define CTL_2GHT40 7 |
Definition at line 76 of file eeprom.h.
Referenced by ar9003_hw_set_power_per_rate_table(), ath9k_hw_set_4k_power_per_rate_table(), ath9k_hw_set_ar9287_power_per_rate_table(), and ath9k_hw_set_def_power_per_rate_table().
| #define CTL_5GHT40 8 |
Definition at line 77 of file eeprom.h.
Referenced by ar9003_hw_set_power_per_rate_table(), ath9k_hw_set_4k_power_per_rate_table(), ath9k_hw_set_ar9287_power_per_rate_table(), and ath9k_hw_set_def_power_per_rate_table().
| #define CTL_11A_EXT (CTL_11A | EXT_ADDITIVE) |
| #define CTL_11G_EXT (CTL_11G | EXT_ADDITIVE) |
| #define CTL_11B_EXT (CTL_11B | EXT_ADDITIVE) |
| #define INCREASE_MAXPOW_BY_TWO_CHAIN 6 /* 10*log10(2)*2 */ |
Definition at line 87 of file eeprom.h.
Referenced by ath9k_hw_def_set_txpower(), and ath9k_hw_update_regulatory_maxpower().
| #define INCREASE_MAXPOW_BY_THREE_CHAIN 10 /* 10*log10(3)*2 */ |
Definition at line 88 of file eeprom.h.
Referenced by ath9k_hw_def_set_txpower(), and ath9k_hw_update_regulatory_maxpower().
| #define AR9285_RDEXT_DEFAULT 0x1F |
Definition at line 100 of file eeprom.h.
Referenced by ath9k_hw_fill_cap_info().
| #define ATH9K_POW_SM | ( | _r, | |
| _s ) |
Definition at line 102 of file eeprom.h.
Referenced by ath9k_hw_4k_set_txpower(), ath9k_hw_ar9287_set_txpower(), and ath9k_hw_def_set_txpower().
Definition at line 103 of file eeprom.h.
Referenced by ar9287_eeprom_get_tx_gain_index(), ath9k_get_txgain_index(), ath9k_hw_def_set_addac(), and ath9k_hw_get_gain_boundaries_pdadcs().
| #define ath9k_hw_use_flash | ( | _ah | ) |
Definition at line 104 of file eeprom.h.
Referenced by ar9300_eeprom_restore_internal(), ath9k_hw_4k_check_eeprom(), ath9k_hw_4k_fill_eeprom(), ath9k_hw_ar9287_check_eeprom(), ath9k_hw_ar9287_fill_eeprom(), ath9k_hw_def_check_eeprom(), and ath9k_hw_def_fill_eeprom().
| #define AR5416_VER_MASK (eep->baseEepHeader.version & AR5416_EEP_VER_MINOR_MASK) |
Definition at line 106 of file eeprom.h.
Referenced by ath9k_hw_def_get_eeprom(), ath9k_hw_def_set_board_values(), and ath9k_hw_def_set_gain().
| #define OLC_FOR_AR9280_20_LATER |
Definition at line 107 of file eeprom.h.
Referenced by ar9002_hw_olc_temp_compensation(), ar9002_olc_init(), ath9k_hw_def_set_txpower(), and ath9k_hw_set_def_power_cal_table().
| #define OLC_FOR_AR9287_10_LATER |
Definition at line 109 of file eeprom.h.
Referenced by ar9002_hw_olc_temp_compensation(), and ar9002_olc_init().
| #define EEP_RFSILENT_ENABLED 0x0001 |
Definition at line 117 of file eeprom.h.
Referenced by ath9k_hw_fill_cap_info().
| #define EEP_RFSILENT_POLARITY 0x0002 |
Definition at line 119 of file eeprom.h.
Referenced by ath9k_hw_fill_cap_info().
| #define EEP_RFSILENT_GPIO_SEL 0x001c |
Definition at line 121 of file eeprom.h.
Referenced by ath9k_hw_fill_cap_info().
| #define AR5416_OPFLAGS_11A 0x01 |
Definition at line 124 of file eeprom.h.
Referenced by ath9k_hw_fill_cap_info().
| #define AR5416_OPFLAGS_11G 0x02 |
Definition at line 125 of file eeprom.h.
Referenced by ath9k_hw_fill_cap_info().
| #define AR5416_EEP_NO_BACK_VER 0x1 |
Definition at line 131 of file eeprom.h.
Referenced by ath9k_hw_4k_check_eeprom(), ath9k_hw_ar9287_check_eeprom(), and ath9k_hw_def_check_eeprom().
| #define AR5416_EEP_VER 0xE |
Definition at line 132 of file eeprom.h.
Referenced by ath9k_hw_4k_check_eeprom(), and ath9k_hw_def_check_eeprom().
| #define AR5416_EEP_VER_MINOR_MASK 0x0FFF |
Definition at line 133 of file eeprom.h.
Referenced by ath9k_hw_4k_get_eeprom(), ath9k_hw_4k_set_board_values(), ath9k_hw_4k_set_gain(), ath9k_hw_4k_set_txpower(), ath9k_hw_def_set_txpower(), ath9k_hw_set_4k_power_cal_table(), and ath9k_hw_set_def_power_cal_table().
| #define AR5416_EEP_MINOR_VER_2 0x2 |
Definition at line 134 of file eeprom.h.
Referenced by ath9k_hw_4k_set_board_values(), ath9k_hw_4k_set_txpower(), ath9k_hw_def_set_board_values(), ath9k_hw_def_set_txpower(), ath9k_hw_set_4k_power_cal_table(), and ath9k_hw_set_def_power_cal_table().
| #define AR5416_EEP_MINOR_VER_3 0x3 |
Definition at line 135 of file eeprom.h.
Referenced by ath9k_hw_4k_set_board_values(), ath9k_hw_4k_set_gain(), ath9k_hw_def_set_board_values(), and ath9k_hw_def_set_gain().
| #define AR5416_EEP_MINOR_VER_7 0x7 |
Definition at line 136 of file eeprom.h.
Referenced by ath9k_hw_4k_set_addac(), and ath9k_hw_def_set_addac().
| #define AR5416_EEP_MINOR_VER_16 0x10 |
Definition at line 138 of file eeprom.h.
Referenced by ath9k_hw_fill_cap_info().
| #define AR5416_EEP_MINOR_VER_17 0x11 |
Definition at line 139 of file eeprom.h.
Referenced by ar9280_20_hw_init_rxgain_ini().
| #define AR5416_EEP_MINOR_VER_19 0x13 |
Definition at line 140 of file eeprom.h.
Referenced by ar9280_20_hw_init_txgain_ini(), ath9k_hw_4k_get_eeprom(), ath9k_hw_def_get_eeprom(), and ath9k_hw_def_set_board_values().
| #define AR5416_EEP_MINOR_VER_20 0x14 |
Definition at line 141 of file eeprom.h.
Referenced by ath9k_hw_def_get_eeprom(), and ath9k_hw_def_set_board_values().
| #define AR5416_EEP_MINOR_VER_21 0x15 |
Definition at line 142 of file eeprom.h.
Referenced by ath9k_hw_def_get_eeprom().
| #define AR5416_EEP_MINOR_VER_22 0x16 |
Definition at line 143 of file eeprom.h.
Referenced by ath9k_hw_def_get_eeprom().
| #define AR5416_NUM_5G_CAL_PIERS 8 |
Definition at line 145 of file eeprom.h.
Referenced by ath9k_hw_set_def_power_cal_table().
| #define AR5416_NUM_2G_CAL_PIERS 4 |
Definition at line 146 of file eeprom.h.
Referenced by ath9k_hw_set_def_power_cal_table().
| #define AR5416_NUM_5G_20_TARGET_POWERS 8 |
Definition at line 147 of file eeprom.h.
Referenced by ath9k_hw_set_def_power_per_rate_table().
| #define AR5416_NUM_5G_40_TARGET_POWERS 8 |
Definition at line 148 of file eeprom.h.
Referenced by ath9k_hw_set_def_power_per_rate_table().
| #define AR5416_NUM_2G_CCK_TARGET_POWERS 3 |
Definition at line 149 of file eeprom.h.
Referenced by ath9k_hw_set_4k_power_per_rate_table(), and ath9k_hw_set_def_power_per_rate_table().
| #define AR5416_NUM_2G_20_TARGET_POWERS 4 |
Definition at line 150 of file eeprom.h.
Referenced by ath9k_hw_set_4k_power_per_rate_table(), and ath9k_hw_set_def_power_per_rate_table().
| #define AR5416_NUM_2G_40_TARGET_POWERS 4 |
Definition at line 151 of file eeprom.h.
Referenced by ath9k_hw_set_4k_power_per_rate_table(), and ath9k_hw_set_def_power_per_rate_table().
| #define AR5416_NUM_CTLS 24 |
Definition at line 152 of file eeprom.h.
Referenced by ath9k_hw_set_def_power_per_rate_table().
| #define AR5416_NUM_BAND_EDGES 8 |
Definition at line 153 of file eeprom.h.
Referenced by ath9k_hw_set_ar9287_power_per_rate_table(), and ath9k_hw_set_def_power_per_rate_table().
| #define AR5416_NUM_PD_GAINS 4 |
Definition at line 154 of file eeprom.h.
Referenced by ath9k_hw_get_gain_boundaries_pdadcs(), ath9k_hw_set_ar9287_power_cal_table(), and ath9k_hw_set_def_power_cal_table().
| #define AR5416_PD_GAINS_IN_MASK 4 |
Definition at line 155 of file eeprom.h.
Referenced by ath9k_hw_get_gain_boundaries_pdadcs(), ath9k_hw_set_4k_power_cal_table(), ath9k_hw_set_ar9287_power_cal_table(), and ath9k_hw_set_def_power_cal_table().
| #define AR5416_PD_GAIN_ICEPTS 5 |
Definition at line 156 of file eeprom.h.
Referenced by ath9k_hw_get_gain_boundaries_pdadcs().
| #define AR5416_NUM_PDADC_VALUES 128 |
Definition at line 157 of file eeprom.h.
Referenced by ath9k_hw_get_gain_boundaries_pdadcs(), ath9k_hw_set_4k_power_cal_table(), ath9k_hw_set_ar9287_power_cal_table(), ath9k_hw_set_def_power_cal_table(), and ath9k_olc_get_pdadcs().
| #define AR5416_BCHAN_UNUSED 0xFF |
Definition at line 158 of file eeprom.h.
Referenced by ar9003_hw_get_max_edge_power(), ar9287_eeprom_get_tx_gain_index(), ath9k_get_txgain_index(), ath9k_hw_fbin2freq(), ath9k_hw_fbin2freq(), ath9k_hw_get_gain_boundaries_pdadcs(), ath9k_hw_get_legacy_target_powers(), ath9k_hw_get_max_edge_power(), and ath9k_hw_get_target_powers().
| #define AR5416_MAX_PWR_RANGE_IN_HALF_DB 64 |
Definition at line 159 of file eeprom.h.
Referenced by ath9k_hw_get_gain_boundaries_pdadcs().
| #define AR5416_MAX_CHAINS 3 |
Definition at line 160 of file eeprom.h.
Referenced by ar9002_hw_adc_dccal_collect(), ar9002_hw_adc_gaincal_collect(), ar9002_hw_iqcal_collect(), ar9002_hw_per_calibration(), ar9003_hw_iqcal_collect(), ath9k_hw_def_check_eeprom(), ath9k_hw_def_set_board_values(), ath9k_hw_loadnf(), ath9k_hw_reset_calibration(), ath9k_hw_set_def_power_cal_table(), and ath9k_hw_update_nfcal_hist_buffer().
| #define AR5416_PWR_TABLE_OFFSET_DB -5 |
Definition at line 162 of file eeprom.h.
Referenced by ath9k_adjust_pdadc_values(), ath9k_change_gain_boundary_setting(), ath9k_hw_4k_get_eeprom(), ath9k_hw_4k_set_txpower(), and ath9k_hw_def_get_eeprom().
| #define AR5416_EEP_RXGAIN_23DB_BACKOFF 0 |
Definition at line 165 of file eeprom.h.
Referenced by ar9280_20_hw_init_rxgain_ini().
| #define AR5416_EEP_RXGAIN_13DB_BACKOFF 1 |
Definition at line 166 of file eeprom.h.
Referenced by ar9280_20_hw_init_rxgain_ini().
| #define AR5416_EEP_TXGAIN_ORIGINAL 0 |
Definition at line 170 of file eeprom.h.
Referenced by ath9k_hw_4k_get_eeprom().
| #define AR5416_EEP_TXGAIN_HIGH_POWER 1 |
Definition at line 171 of file eeprom.h.
Referenced by ar9002_hw_init_mode_gain_regs(), ar9280_20_hw_init_txgain_ini(), and ar9285_hw_pa_cal().
| #define AR5416_EEP4K_NUM_2G_CAL_PIERS 3 |
Definition at line 174 of file eeprom.h.
Referenced by ath9k_hw_set_4k_power_cal_table().
| #define AR5416_EEP4K_NUM_CTLS 12 |
Definition at line 178 of file eeprom.h.
Referenced by ath9k_hw_set_4k_power_per_rate_table().
| #define AR5416_EEP4K_NUM_BAND_EDGES 4 |
Definition at line 179 of file eeprom.h.
Referenced by ath9k_hw_set_4k_power_per_rate_table().
| #define AR5416_EEP4K_NUM_PD_GAINS 2 |
Definition at line 180 of file eeprom.h.
Referenced by ath9k_hw_set_4k_power_cal_table().
| #define AR5416_EEP4K_MAX_CHAINS 1 |
Definition at line 181 of file eeprom.h.
Referenced by ath9k_hw_4k_check_eeprom(), and ath9k_hw_set_4k_power_cal_table().
| #define AR9280_TX_GAIN_TABLE_SIZE 22 |
Definition at line 183 of file eeprom.h.
Referenced by ar9002_olc_init(), ar9280_hw_olc_temp_compensation(), and ath9k_get_txgain_index().
| #define AR9287_EEP_VER 0xE |
Definition at line 185 of file eeprom.h.
Referenced by ath9k_hw_ar9287_check_eeprom().
| #define AR9287_EEP_VER_MINOR_MASK 0xFFF |
Definition at line 186 of file eeprom.h.
Referenced by ath9k_hw_ar9287_get_eeprom(), ath9k_hw_ar9287_set_txpower(), and ath9k_hw_set_ar9287_power_cal_table().
| #define AR9287_EEP_MINOR_VER_2 0x2 |
Definition at line 188 of file eeprom.h.
Referenced by ath9k_hw_ar9287_get_eeprom(), ath9k_hw_ar9287_set_txpower(), and ath9k_hw_set_ar9287_power_cal_table().
| #define AR9287_EEP_MINOR_VER_3 0x3 |
Definition at line 189 of file eeprom.h.
Referenced by ath9k_hw_ar9287_get_eeprom().
| #define AR9287_EEP_MINOR_VER AR9287_EEP_MINOR_VER_3 |
| #define AR9287_EEP_MINOR_VER_b AR9287_EEP_MINOR_VER |
| #define AR9287_EEP_NO_BACK_VER AR9287_EEP_MINOR_VER_1 |
| #define AR9287_EEP_START_LOC 128 |
Definition at line 194 of file eeprom.h.
Referenced by __ath9k_hw_ar9287_fill_eeprom().
| #define AR9287_HTC_EEP_START_LOC 256 |
Definition at line 195 of file eeprom.h.
Referenced by __ath9k_hw_usb_ar9287_fill_eeprom().
| #define AR9287_NUM_2G_CAL_PIERS 3 |
Definition at line 196 of file eeprom.h.
Referenced by ath9k_hw_set_ar9287_power_cal_table().
| #define AR9287_NUM_2G_CCK_TARGET_POWERS 3 |
Definition at line 197 of file eeprom.h.
Referenced by ath9k_hw_set_ar9287_power_per_rate_table().
| #define AR9287_NUM_2G_20_TARGET_POWERS 3 |
Definition at line 198 of file eeprom.h.
Referenced by ath9k_hw_set_ar9287_power_per_rate_table().
| #define AR9287_NUM_2G_40_TARGET_POWERS 3 |
Definition at line 199 of file eeprom.h.
Referenced by ath9k_hw_set_ar9287_power_per_rate_table().
| #define AR9287_NUM_CTLS 12 |
Definition at line 200 of file eeprom.h.
Referenced by ath9k_hw_set_ar9287_power_per_rate_table().
| #define AR9287_PD_GAIN_ICEPTS 1 |
Definition at line 202 of file eeprom.h.
Referenced by ath9k_hw_get_gain_boundaries_pdadcs().
| #define AR9287_MAX_CHAINS 2 |
Definition at line 205 of file eeprom.h.
Referenced by ath9k_hw_ar9287_check_eeprom(), ath9k_hw_ar9287_set_board_values(), and ath9k_hw_set_ar9287_power_cal_table().
| #define AR9287_PWR_TABLE_OFFSET_DB -5 |
Definition at line 210 of file eeprom.h.
Referenced by ath9k_hw_ar9287_set_txpower(), and ath9k_hw_set_ar9287_power_cal_table().
| #define AR9287_CHECKSUM_LOCATION (AR9287_EEP_START_LOC + 1) |
| #define CTL_EDGE_TPOWER | ( | _ctl | ) |
Definition at line 214 of file eeprom.h.
Referenced by ar9003_hw_get_direct_edge_power(), ar9003_hw_get_indirect_edge_power(), and ath9k_hw_get_max_edge_power().
| #define CTL_EDGE_FLAGS | ( | _ctl | ) |
Definition at line 215 of file eeprom.h.
Referenced by ar9003_hw_get_indirect_edge_power(), and ath9k_hw_get_max_edge_power().
| #define LNA_CTL_LOCAL_BIAS BIT(5) |
Definition at line 222 of file eeprom.h.
Referenced by ath9k_hw_def_set_board_values().
| #define LNA_CTL_FORCE_XPA BIT(6) |
Definition at line 223 of file eeprom.h.
Referenced by ath9k_hw_def_set_board_values().
| #define EEP_4K_BB_DESIRED_SCALE_MASK 0x1f |
Definition at line 447 of file eeprom.h.
Referenced by ath9k_hw_4k_set_board_values().
| #define ar5416_get_ntxchains | ( | _txchainmask | ) |
Definition at line 707 of file eeprom.h.
Referenced by ar9003_hw_set_power_per_rate_table(), ath9k_hw_def_set_txpower(), ath9k_hw_set_4k_power_per_rate_table(), ath9k_hw_set_ar9287_power_per_rate_table(), ath9k_hw_set_def_power_per_rate_table(), and ath9k_hw_update_regulatory_maxpower().
| enum eeprom_param |
Definition at line 226 of file eeprom.h.
| enum ar5416_rates |
| enum ath9k_hal_freq_band |
| Enumerator | |
|---|---|
| ATH9K_HAL_FREQ_BAND_5GHZ | |
| ATH9K_HAL_FREQ_BAND_2GHZ | |
| enum reg_ext_bitmap |
| Enumerator | |
|---|---|
| REG_EXT_FCC_MIDBAND | |
| REG_EXT_JAPAN_MIDBAND | |
| REG_EXT_FCC_DFS_HT40 | |
| REG_EXT_JAPAN_NONDFS_HT40 | |
| REG_EXT_JAPAN_DFS_HT40 | |
Definition at line 636 of file eeprom.h.
| FILE_LICENCE | ( | BSD2 | ) |
| FILE_SECBOOT | ( | FORBIDDEN | ) |
Definition at line 34 of file ath9k_eeprom.c.
References ah, reg, REG_WRITE, u32, udelay(), and val.
Referenced by ath9k_hw_ar9287_set_board_values().
Definition at line 42 of file ath9k_eeprom.c.
References ah, reg, REG_READ, REG_WRITE, u32, udelay(), and val.
Referenced by ar9002_olc_init(), ath9k_hw_4k_set_board_values(), ath9k_hw_ar9287_set_board_values(), and ath9k_hw_def_set_board_values().
| int16_t ath9k_hw_interpolate | ( | u16 | target, |
| u16 | srcLeft, | ||
| u16 | srcRight, | ||
| int16_t | targetLeft, | ||
| int16_t | targetRight ) |
Definition at line 56 of file ath9k_eeprom.c.
References u16.
Referenced by ath9k_hw_get_gain_boundaries_pdadcs(), ath9k_hw_get_legacy_target_powers(), and ath9k_hw_get_target_powers().
| int ath9k_hw_get_lower_upper_index | ( | u8 | target, |
| u8 * | pList, | ||
| u16 | listSize, | ||
| u16 * | indexL, | ||
| u16 * | indexR ) |
Definition at line 71 of file ath9k_eeprom.c.
Referenced by ar9287_eeprom_get_tx_gain_index(), ath9k_get_txgain_index(), ath9k_hw_fill_vpd_table(), and ath9k_hw_get_gain_boundaries_pdadcs().
| int ath9k_hw_nvram_read | ( | struct ath_common * | common, |
| u32 | off, | ||
| u16 * | data ) |
Definition at line 131 of file ath9k_eeprom.c.
References common, data, u16, and u32.
Referenced by __ath9k_hw_4k_fill_eeprom(), __ath9k_hw_ar9287_fill_eeprom(), __ath9k_hw_def_fill_eeprom(), ar9300_eeprom_read_byte(), ar9300_eeprom_read_word(), ar9300_eeprom_restore_flash(), ath9k_hw_4k_check_eeprom(), ath9k_hw_ar9287_check_eeprom(), and ath9k_hw_def_check_eeprom().
| void ath9k_hw_usb_gen_fill_eeprom | ( | struct ath_hw * | ah, |
| u16 * | eep_data, | ||
| int | eep_start_loc, | ||
| int | size ) |
Definition at line 99 of file ath9k_eeprom.c.
References addr, ah, AR5416_EEPROM_OFFSET, AR5416_EEPROM_S, data, REG_READ_MULTI, size, u16, and u32.
Referenced by __ath9k_hw_usb_4k_fill_eeprom(), __ath9k_hw_usb_ar9287_fill_eeprom(), and __ath9k_hw_usb_def_fill_eeprom().
| void ath9k_hw_fill_vpd_table | ( | u8 | pwrMin, |
| u8 | pwrMax, | ||
| u8 * | pPwrList, | ||
| u8 * | pVpdList, | ||
| u16 | numIntercepts, | ||
| u8 * | pRetVpdList ) |
Definition at line 136 of file ath9k_eeprom.c.
References ath9k_hw_get_lower_upper_index(), k, u16, and u8.
Referenced by ath9k_hw_get_gain_boundaries_pdadcs().
| void ath9k_hw_get_legacy_target_powers | ( | struct ath_hw * | ah, |
| struct ath9k_channel * | chan, | ||
| struct cal_target_power_leg * | powInfo, | ||
| u16 | numChannels, | ||
| struct cal_target_power_leg * | pNewPower, | ||
| u16 | numRates, | ||
| int | isExtTarget ) |
Definition at line 163 of file ath9k_eeprom.c.
References ah, AR5416_BCHAN_UNUSED, ath9k_hw_fbin2freq(), ath9k_hw_get_channel_centers(), ath9k_hw_interpolate(), cal_target_power_leg::bChannel, chan_centers::ctl_center, chan_centers::ext_center, IS_CHAN_2GHZ, cal_target_power_leg::tPow2x, tPow2x, u16, and u8.
Referenced by ath9k_hw_set_4k_power_per_rate_table(), ath9k_hw_set_ar9287_power_per_rate_table(), and ath9k_hw_set_def_power_per_rate_table().
| void ath9k_hw_get_target_powers | ( | struct ath_hw * | ah, |
| struct ath9k_channel * | chan, | ||
| struct cal_target_power_ht * | powInfo, | ||
| u16 | numChannels, | ||
| struct cal_target_power_ht * | pNewPower, | ||
| u16 | numRates, | ||
| int | isHt40Target ) |
Definition at line 218 of file ath9k_eeprom.c.
References ah, AR5416_BCHAN_UNUSED, ath9k_hw_fbin2freq(), ath9k_hw_get_channel_centers(), ath9k_hw_interpolate(), cal_target_power_ht::bChannel, chan_centers::ctl_center, IS_CHAN_2GHZ, chan_centers::synth_center, cal_target_power_ht::tPow2x, tPow2x, u16, and u8.
Referenced by ath9k_hw_set_4k_power_per_rate_table(), ath9k_hw_set_ar9287_power_per_rate_table(), and ath9k_hw_set_def_power_per_rate_table().
| u16 ath9k_hw_get_max_edge_power | ( | u16 | freq, |
| struct cal_ctl_edges * | pRdEdgesPower, | ||
| int | is2GHz, | ||
| int | num_band_edges ) |
Definition at line 273 of file ath9k_eeprom.c.
References AR5416_BCHAN_UNUSED, ath9k_hw_fbin2freq(), cal_ctl_edges::bChannel, CTL_EDGE_FLAGS, CTL_EDGE_TPOWER, MAX_RATE_POWER, and u16.
Referenced by ath9k_hw_set_4k_power_per_rate_table(), ath9k_hw_set_ar9287_power_per_rate_table(), and ath9k_hw_set_def_power_per_rate_table().
| void ath9k_hw_update_regulatory_maxpower | ( | struct ath_hw * | ah | ) |
Definition at line 300 of file ath9k_eeprom.c.
References ah, ar5416_get_ntxchains, ath9k_hw_regulatory(), DBG2, INCREASE_MAXPOW_BY_THREE_CHAIN, INCREASE_MAXPOW_BY_TWO_CHAIN, and ath_regulatory::max_power_level.
| int ath9k_hw_eeprom_init | ( | struct ath_hw * | ah | ) |
Definition at line 532 of file ath9k_eeprom.c.
References ah, AR_SREV_9271, AR_SREV_9285, AR_SREV_9287, AR_SREV_9300_20_OR_LATER, eep_4k_ops, eep_ar9287_ops, eep_ar9300_ops, eep_def_ops, EIO, and status.
Referenced by ath9k_hw_post_init().
| void ath9k_hw_get_gain_boundaries_pdadcs | ( | struct ath_hw * | ah, |
| struct ath9k_channel * | chan, | ||
| void * | pRawDataSet, | ||
| u8 * | bChans, | ||
| u16 | availPiers, | ||
| u16 | tPdGainOverlap, | ||
| u16 * | pPdGainBoundaries, | ||
| u8 * | pPDADCValues, | ||
| u16 | numXpdGains ) |
Definition at line 320 of file ath9k_eeprom.c.
References ah, AR5416_BCHAN_UNUSED, AR5416_MAX_PWR_RANGE_IN_HALF_DB, AR5416_NUM_PD_GAINS, AR5416_NUM_PDADC_VALUES, AR5416_PD_GAIN_ICEPTS, AR5416_PD_GAINS_IN_MASK, AR9287_PD_GAIN_ICEPTS, AR_SREV_5416_20_OR_LATER, AR_SREV_9271, AR_SREV_9280_20_OR_LATER, AR_SREV_9285, AR_SREV_9287, ath9k_hw_fill_vpd_table(), ath9k_hw_get_channel_centers(), ath9k_hw_get_lower_upper_index(), ath9k_hw_interpolate(), FREQ2FBIN, IS_CHAN_2GHZ, k, max, MAX_RATE_POWER, memset(), min, cal_data_per_freq::pwrPdg, cal_data_per_freq_4k::pwrPdg, cal_data_per_freq_ar9287::pwrPdg, ss, chan_centers::synth_center, u16, u8, cal_data_per_freq::vpdPdg, cal_data_per_freq_4k::vpdPdg, and cal_data_per_freq_ar9287::vpdPdg.
Referenced by ath9k_hw_set_4k_power_cal_table(), ath9k_hw_set_ar9287_power_cal_table(), and ath9k_hw_set_def_power_cal_table().
|
extern |
Definition at line 1343 of file ath9k_eeprom_def.c.
Referenced by ath9k_hw_eeprom_init().
|
extern |
Definition at line 1070 of file ath9k_eeprom_4k.c.
Referenced by ath9k_hw_eeprom_init().
|
extern |
Definition at line 714 of file eeprom.h.
Referenced by ath9k_hw_eeprom_init().
|
extern |
Definition at line 4997 of file ath9k_ar9003_eeprom.c.
Referenced by ath9k_hw_eeprom_init().