/drivers/net/wireless/intel/iwlegacy/ |
D | 3945-debug.c | 44 struct iwl39_stats_rx_phy *ofdm, *accum_ofdm, *delta_ofdm, *max_ofdm; in il3945_ucode_rx_stats_read() local 63 ofdm = &il->_3945.stats.rx.ofdm; in il3945_ucode_rx_stats_read() 66 accum_ofdm = &il->_3945.accum_stats.rx.ofdm; in il3945_ucode_rx_stats_read() 69 delta_ofdm = &il->_3945.delta_stats.rx.ofdm; in il3945_ucode_rx_stats_read() 72 max_ofdm = &il->_3945.max_delta.rx.ofdm; in il3945_ucode_rx_stats_read() 85 le32_to_cpu(ofdm->ina_cnt), accum_ofdm->ina_cnt, in il3945_ucode_rx_stats_read() 90 le32_to_cpu(ofdm->fina_cnt), accum_ofdm->fina_cnt, in il3945_ucode_rx_stats_read() 95 le32_to_cpu(ofdm->plcp_err), accum_ofdm->plcp_err, in il3945_ucode_rx_stats_read() 100 le32_to_cpu(ofdm->crc32_err), accum_ofdm->crc32_err, in il3945_ucode_rx_stats_read() 105 le32_to_cpu(ofdm->overrun_err), accum_ofdm->overrun_err, in il3945_ucode_rx_stats_read() [all …]
|
D | 4965-debug.c | 52 struct stats_rx_phy *ofdm, *accum_ofdm, *delta_ofdm, *max_ofdm; in il4965_ucode_rx_stats_read() local 72 ofdm = &il->_4965.stats.rx.ofdm; in il4965_ucode_rx_stats_read() 76 accum_ofdm = &il->_4965.accum_stats.rx.ofdm; in il4965_ucode_rx_stats_read() 80 delta_ofdm = &il->_4965.delta_stats.rx.ofdm; in il4965_ucode_rx_stats_read() 84 max_ofdm = &il->_4965.max_delta.rx.ofdm; in il4965_ucode_rx_stats_read() 95 le32_to_cpu(ofdm->ina_cnt), accum_ofdm->ina_cnt, in il4965_ucode_rx_stats_read() 99 le32_to_cpu(ofdm->fina_cnt), accum_ofdm->fina_cnt, in il4965_ucode_rx_stats_read() 103 le32_to_cpu(ofdm->plcp_err), accum_ofdm->plcp_err, in il4965_ucode_rx_stats_read() 107 le32_to_cpu(ofdm->crc32_err), accum_ofdm->crc32_err, in il4965_ucode_rx_stats_read() 111 le32_to_cpu(ofdm->overrun_err), accum_ofdm->overrun_err, in il4965_ucode_rx_stats_read() [all …]
|
D | 4965-calib.c | 495 struct stats_rx_phy *ofdm, *cck; in il4965_sensitivity_calibration() local 512 ofdm = &(((struct il_notif_stats *)resp)->rx.ofdm); in il4965_sensitivity_calibration() 524 fa_ofdm = le32_to_cpu(ofdm->false_alarm_cnt); in il4965_sensitivity_calibration() 526 bad_plcp_ofdm = le32_to_cpu(ofdm->plcp_err); in il4965_sensitivity_calibration()
|
/drivers/net/wireless/broadcom/b43/ |
D | ppr.c | 128 rates->ofdm[i] = maxpwr - off; in b43_ppr_load_max_from_sprom() 132 rates->mcs_20[0] = rates->ofdm[0]; in b43_ppr_load_max_from_sprom() 133 rates->mcs_20[1] = rates->ofdm[2]; in b43_ppr_load_max_from_sprom() 134 rates->mcs_20[2] = rates->ofdm[3]; in b43_ppr_load_max_from_sprom() 135 rates->mcs_20[3] = rates->ofdm[4]; in b43_ppr_load_max_from_sprom() 136 rates->mcs_20[4] = rates->ofdm[5]; in b43_ppr_load_max_from_sprom() 137 rates->mcs_20[5] = rates->ofdm[6]; in b43_ppr_load_max_from_sprom() 138 rates->mcs_20[6] = rates->ofdm[7]; in b43_ppr_load_max_from_sprom() 139 rates->mcs_20[7] = rates->ofdm[7]; in b43_ppr_load_max_from_sprom()
|
D | ppr.h | 17 u8 ofdm[B43_PPR_OFDM_RATES_NUM]; member
|
/drivers/net/wireless/mediatek/mt76/mt76x0/ |
D | eeprom.c | 170 t->ofdm[0] = t->ofdm[1] = s6_to_s8(val); in mt76x0_get_tx_power_per_rate() 171 t->ofdm[2] = t->ofdm[3] = s6_to_s8(val >> 8); in mt76x0_get_tx_power_per_rate() 176 t->ofdm[4] = t->ofdm[5] = s6_to_s8(val); in mt76x0_get_tx_power_per_rate() 177 t->ofdm[6] = t->ofdm[7] = s6_to_s8(val >> 8); in mt76x0_get_tx_power_per_rate() 238 target_power = (data & 0xff) - dev->mt76.rate_power.ofdm[7]; in mt76x0_get_power_info()
|
D | phy.h | 83 struct mt76x0_rate_pwr_item ofdm[8]; member
|
/drivers/net/wireless/mediatek/mt76/ |
D | mt76x02_phy.c | 101 mt76x02_tx_power_mask(t->cck[0], t->cck[2], t->ofdm[0], in mt76x02_phy_set_txpower() 102 t->ofdm[2])); in mt76x02_phy_set_txpower() 104 mt76x02_tx_power_mask(t->ofdm[4], t->ofdm[6], t->ht[0], in mt76x02_phy_set_txpower() 115 mt76x02_tx_power_mask(t->ofdm[7], t->vht[8], t->ht[7], in mt76x02_phy_set_txpower()
|
D | mt76x02_txrx.c | 87 max_txpwr = rp->ofdm[r->hw_value & 0x7]; in mt76x02_tx_get_max_txpwr_adj() 89 max_txpwr = dev->mt76.rate_power.ofdm[rate->idx & 0x7]; in mt76x02_tx_get_max_txpwr_adj() 115 dev->mt76.rate_power.ofdm[4]); in mt76x02_tx_set_txpwr_auto()
|
D | eeprom.c | 311 &len, ARRAY_SIZE(dest->ofdm)); in mt76_get_rate_power_limits() 312 mt76_apply_array_limit(dest->ofdm, ARRAY_SIZE(dest->ofdm), val, in mt76_get_rate_power_limits()
|
D | debugfs.c | 108 mt76_seq_puts_array(s, "OFDM", dev->rate_power.ofdm, in mt76_read_rate_txpower() 109 ARRAY_SIZE(dev->rate_power.ofdm)); in mt76_read_rate_txpower()
|
/drivers/net/wireless/mediatek/mt76/mt76x2/ |
D | eeprom.c | 310 t->ofdm[0] = t->ofdm[1] = mt76x02_rate_power_val(val); in mt76x2_get_rate_power() 311 t->ofdm[2] = t->ofdm[3] = mt76x02_rate_power_val(val >> 8); in mt76x2_get_rate_power() 317 t->ofdm[4] = t->ofdm[5] = mt76x02_rate_power_val(val); in mt76x2_get_rate_power() 318 t->ofdm[6] = t->ofdm[7] = mt76x02_rate_power_val(val >> 8); in mt76x2_get_rate_power()
|
/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | debugfs.c | 778 struct mvm_statistics_rx_phy_v2 *ofdm = &mvm->rx_stats_v3.ofdm; in iwl_dbgfs_fw_rx_stats_read() local 780 PRINT_STATS_LE32(ofdm, ina_cnt); in iwl_dbgfs_fw_rx_stats_read() 781 PRINT_STATS_LE32(ofdm, fina_cnt); in iwl_dbgfs_fw_rx_stats_read() 782 PRINT_STATS_LE32(ofdm, plcp_err); in iwl_dbgfs_fw_rx_stats_read() 783 PRINT_STATS_LE32(ofdm, crc32_err); in iwl_dbgfs_fw_rx_stats_read() 784 PRINT_STATS_LE32(ofdm, overrun_err); in iwl_dbgfs_fw_rx_stats_read() 785 PRINT_STATS_LE32(ofdm, early_overrun_err); in iwl_dbgfs_fw_rx_stats_read() 786 PRINT_STATS_LE32(ofdm, crc32_good); in iwl_dbgfs_fw_rx_stats_read() 787 PRINT_STATS_LE32(ofdm, false_alarm_cnt); in iwl_dbgfs_fw_rx_stats_read() 788 PRINT_STATS_LE32(ofdm, fina_sync_err_cnt); in iwl_dbgfs_fw_rx_stats_read() [all …]
|
/drivers/net/wireless/mediatek/mt7601u/ |
D | debugfs.c | 100 rp->ofdm[i].raw, rp->ofdm[i].bw20, rp->ofdm[i].bw40); in mt7601u_eeprom_param_show()
|
D | eeprom.c | 275 mt7601u_set_power_rate(&t->ofdm[0], delta, (val >> 16) & 0xff); in mt7601u_save_power_rate() 276 mt7601u_set_power_rate(&t->ofdm[1], delta, (val >> 24) & 0xff); in mt7601u_save_power_rate() 279 mt7601u_set_power_rate(&t->ofdm[2], delta, (val >> 0) & 0xff); in mt7601u_save_power_rate() 280 mt7601u_set_power_rate(&t->ofdm[3], delta, (val >> 8) & 0xff); in mt7601u_save_power_rate()
|
D | eeprom.h | 84 struct power_per_rate ofdm[4]; member
|
/drivers/media/dvb-frontends/cxd2880/ |
D | cxd2880_tnrdmd_dvbt2_mon.c | 434 struct cxd2880_dvbt2_ofdm *ofdm) in cxd2880_tnrdmd_dvbt2_mon_ofdm() argument 442 if (!tnr_dmd || !ofdm) in cxd2880_tnrdmd_dvbt2_mon_ofdm() 473 ofdm); in cxd2880_tnrdmd_dvbt2_mon_ofdm() 496 ofdm->mixed = ((data[0] & 0x20) ? 1 : 0); in cxd2880_tnrdmd_dvbt2_mon_ofdm() 497 ofdm->is_miso = ((data[0] & 0x10) >> 4); in cxd2880_tnrdmd_dvbt2_mon_ofdm() 498 ofdm->mode = (enum cxd2880_dvbt2_mode)(data[0] & 0x07); in cxd2880_tnrdmd_dvbt2_mon_ofdm() 499 ofdm->gi = (enum cxd2880_dvbt2_guard)((data[1] & 0x70) >> 4); in cxd2880_tnrdmd_dvbt2_mon_ofdm() 500 ofdm->pp = (enum cxd2880_dvbt2_pp)(data[1] & 0x07); in cxd2880_tnrdmd_dvbt2_mon_ofdm() 501 ofdm->bw_ext = (data[2] & 0x10) >> 4; in cxd2880_tnrdmd_dvbt2_mon_ofdm() 502 ofdm->papr = (enum cxd2880_dvbt2_papr)(data[2] & 0x0f); in cxd2880_tnrdmd_dvbt2_mon_ofdm() [all …]
|
/drivers/media/dvb-core/ |
D | dvb_frontend.c | 1192 switch (p->u.ofdm.bandwidth) { in dtv_property_cache_sync() 1215 c->code_rate_HP = p->u.ofdm.code_rate_HP; in dtv_property_cache_sync() 1216 c->code_rate_LP = p->u.ofdm.code_rate_LP; in dtv_property_cache_sync() 1217 c->modulation = p->u.ofdm.constellation; in dtv_property_cache_sync() 1218 c->transmission_mode = p->u.ofdm.transmission_mode; in dtv_property_cache_sync() 1219 c->guard_interval = p->u.ofdm.guard_interval; in dtv_property_cache_sync() 1220 c->hierarchy = p->u.ofdm.hierarchy_information; in dtv_property_cache_sync() 1274 p->u.ofdm.bandwidth = BANDWIDTH_10_MHZ; in dtv_property_legacy_params_sync() 1277 p->u.ofdm.bandwidth = BANDWIDTH_8_MHZ; in dtv_property_legacy_params_sync() 1280 p->u.ofdm.bandwidth = BANDWIDTH_7_MHZ; in dtv_property_legacy_params_sync() [all …]
|
/drivers/net/wireless/realtek/rtl8xxxu/ |
D | rtl8xxxu_8192e.c | 484 u32 val32, ofdm, mcs; in rtl8192e_set_tx_power() local 505 ofdm = ofdmbase | ofdmbase << 8 | ofdmbase << 16 | ofdmbase << 24; in rtl8192e_set_tx_power() 507 rtl8xxxu_write32(priv, REG_TX_AGC_A_RATE18_06, ofdm); in rtl8192e_set_tx_power() 508 rtl8xxxu_write32(priv, REG_TX_AGC_A_RATE54_24, ofdm); in rtl8192e_set_tx_power() 537 ofdm = ofdmbase | ofdmbase << 8 | in rtl8192e_set_tx_power() 540 rtl8xxxu_write32(priv, REG_TX_AGC_B_RATE18_06, ofdm); in rtl8192e_set_tx_power() 541 rtl8xxxu_write32(priv, REG_TX_AGC_B_RATE54_24, ofdm); in rtl8192e_set_tx_power() 623 efuse->tx_power_index_A.pwr_diff[i - 1].ofdm; in rtl8192eu_parse_efuse() 625 efuse->tx_power_index_B.pwr_diff[i - 1].ofdm; in rtl8192eu_parse_efuse()
|
/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | debugfs.c | 681 struct statistics_rx_phy *ofdm, *accum_ofdm, *delta_ofdm, *max_ofdm; in iwl_dbgfs_ucode_rx_stats_read() local 700 ofdm = &priv->statistics.rx_ofdm; in iwl_dbgfs_ucode_rx_stats_read() 722 le32_to_cpu(ofdm->ina_cnt), in iwl_dbgfs_ucode_rx_stats_read() 727 le32_to_cpu(ofdm->fina_cnt), accum_ofdm->fina_cnt, in iwl_dbgfs_ucode_rx_stats_read() 731 le32_to_cpu(ofdm->plcp_err), accum_ofdm->plcp_err, in iwl_dbgfs_ucode_rx_stats_read() 735 le32_to_cpu(ofdm->crc32_err), accum_ofdm->crc32_err, in iwl_dbgfs_ucode_rx_stats_read() 739 le32_to_cpu(ofdm->overrun_err), in iwl_dbgfs_ucode_rx_stats_read() 744 le32_to_cpu(ofdm->early_overrun_err), in iwl_dbgfs_ucode_rx_stats_read() 750 le32_to_cpu(ofdm->crc32_good), in iwl_dbgfs_ucode_rx_stats_read() 755 le32_to_cpu(ofdm->false_alarm_cnt), in iwl_dbgfs_ucode_rx_stats_read() [all …]
|
D | rxon.c | 925 u8 ofdm = 0; in iwl_calc_basic_rates() local 937 ofdm |= BIT(hw - IWL_FIRST_OFDM_RATE); in iwl_calc_basic_rates() 974 ofdm |= IWL_RATE_24M_MASK >> IWL_FIRST_OFDM_RATE; in iwl_calc_basic_rates() 976 ofdm |= IWL_RATE_12M_MASK >> IWL_FIRST_OFDM_RATE; in iwl_calc_basic_rates() 978 ofdm |= IWL_RATE_6M_MASK >> IWL_FIRST_OFDM_RATE; in iwl_calc_basic_rates() 1003 cck, ofdm); in iwl_calc_basic_rates() 1007 ctx->staging.ofdm_basic_rates = ofdm; in iwl_calc_basic_rates()
|
/drivers/staging/r8188eu/include/ |
D | rtl8188e_rf.h | 16 void rtl8188e_PHY_RF6052SetOFDMTxPower(struct adapter *Adapter, u8 *ofdm,
|
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
D | channel.c | 241 txpwr->ofdm[j] = min(txpwr->ofdm[j], local_constraint_qdbm); in brcms_c_channel_min_txpower_limits_with_local_constraint() 444 txpwr->ofdm[i] = (u8) maxpwr; in brcms_c_channel_reg_limits() 484 txpwr->mcs_20_siso[i] = txpwr->ofdm[i]; in brcms_c_channel_reg_limits()
|
/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | mac.c | 146 u32 ofdm = FIELD_PREP(MT_TIMEOUT_VAL_PLCP, 60) | in mt7615_mac_set_timing() local 179 mt76_wr(dev, MT_TMAC_ODTR, ofdm + reg_offset); in mt7615_mac_set_timing() 1624 mt7615_mac_set_sensitivity(struct mt7615_phy *phy, int val, bool ofdm) in mt7615_mac_set_sensitivity() argument 1630 if (ofdm) in mt7615_mac_set_sensitivity() 1641 if (ofdm) in mt7615_mac_set_sensitivity() 1736 u32 rts_err_rate, bool ofdm) in mt7615_mac_adjust_sensitivity() argument 1739 int false_cca = ofdm ? phy->false_cca_ofdm : phy->false_cca_cck; in mt7615_mac_adjust_sensitivity() 1741 s16 def_th = ofdm ? -98 : -110; in mt7615_mac_adjust_sensitivity() 1746 sensitivity = ofdm ? &phy->ofdm_sensitivity : &phy->cck_sensitivity; in mt7615_mac_adjust_sensitivity() 1781 u16 val = ofdm ? *sensitivity * 2 + 512 : *sensitivity + 256; in mt7615_mac_adjust_sensitivity() [all …]
|
/drivers/staging/rtl8192u/ |
D | r819xU_cmdpkt.c | 403 priv->stats.txrate.ofdm[i] += ptxrate->ofdm[i]; in cmpk_handle_tx_rate_history()
|