/linux/drivers/net/wireless/intel/iwlegacy/ |
A D | 3945-debug.c | 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() 110 le32_to_cpu(ofdm->early_overrun_err), in il3945_ucode_rx_stats_read() 122 le32_to_cpu(ofdm->false_alarm_cnt), in il3945_ucode_rx_stats_read() 128 le32_to_cpu(ofdm->fina_sync_err_cnt), in il3945_ucode_rx_stats_read() 145 le32_to_cpu(ofdm->unresponded_rts), in il3945_ucode_rx_stats_read() [all …]
|
A D | 4965-debug.c | 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() 115 le32_to_cpu(ofdm->early_overrun_err), in il4965_ucode_rx_stats_read() 125 le32_to_cpu(ofdm->false_alarm_cnt), in il4965_ucode_rx_stats_read() 130 le32_to_cpu(ofdm->fina_sync_err_cnt), in il4965_ucode_rx_stats_read() 144 le32_to_cpu(ofdm->unresponded_rts), in il4965_ucode_rx_stats_read() 163 le32_to_cpu(ofdm->sent_ba_rsp_cnt), in il4965_ucode_rx_stats_read() 168 le32_to_cpu(ofdm->dsp_self_kill), in il4965_ucode_rx_stats_read() [all …]
|
A 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()
|
/linux/drivers/net/wireless/broadcom/b43/ |
A 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()
|
A D | ppr.h | 17 u8 ofdm[B43_PPR_OFDM_RATES_NUM]; member
|
/linux/drivers/net/wireless/mediatek/mt76/mt76x0/ |
A 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()
|
A D | phy.h | 83 struct mt76x0_rate_pwr_item ofdm[8]; member
|
/linux/drivers/net/wireless/mediatek/mt76/ |
A 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()
|
A 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()
|
A D | eeprom.c | 325 &len, ARRAY_SIZE(dest->ofdm)); in mt76_get_rate_power_limits() 326 mt76_apply_array_limit(dest->ofdm, ARRAY_SIZE(dest->ofdm), val, in mt76_get_rate_power_limits()
|
A D | debugfs.c | 109 mt76_seq_puts_array(s, "OFDM", dev->rate_power.ofdm, in mt76_read_rate_txpower() 110 ARRAY_SIZE(dev->rate_power.ofdm)); in mt76_read_rate_txpower()
|
/linux/drivers/net/wireless/mediatek/mt76/mt76x2/ |
A D | eeprom.c | 301 t->ofdm[0] = t->ofdm[1] = mt76x02_rate_power_val(val); in mt76x2_get_rate_power() 302 t->ofdm[2] = t->ofdm[3] = mt76x02_rate_power_val(val >> 8); in mt76x2_get_rate_power() 308 t->ofdm[4] = t->ofdm[5] = mt76x02_rate_power_val(val); in mt76x2_get_rate_power() 309 t->ofdm[6] = t->ofdm[7] = mt76x02_rate_power_val(val >> 8); in mt76x2_get_rate_power()
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
A D | debugfs.c | 776 struct mvm_statistics_rx_phy_v2 *ofdm = &mvm->rx_stats_v3.ofdm; in iwl_dbgfs_fw_rx_stats_read() local 778 PRINT_STATS_LE32(ofdm, ina_cnt); in iwl_dbgfs_fw_rx_stats_read() 779 PRINT_STATS_LE32(ofdm, fina_cnt); in iwl_dbgfs_fw_rx_stats_read() 780 PRINT_STATS_LE32(ofdm, plcp_err); in iwl_dbgfs_fw_rx_stats_read() 781 PRINT_STATS_LE32(ofdm, crc32_err); in iwl_dbgfs_fw_rx_stats_read() 782 PRINT_STATS_LE32(ofdm, overrun_err); in iwl_dbgfs_fw_rx_stats_read() 784 PRINT_STATS_LE32(ofdm, crc32_good); in iwl_dbgfs_fw_rx_stats_read() 787 PRINT_STATS_LE32(ofdm, sfd_timeout); in iwl_dbgfs_fw_rx_stats_read() 797 PRINT_STATS_LE32(ofdm, reserved); in iwl_dbgfs_fw_rx_stats_read() 799 struct mvm_statistics_rx_phy *ofdm = &mvm->rx_stats.ofdm; in iwl_dbgfs_fw_rx_stats_read() local [all …]
|
/linux/drivers/net/wireless/mediatek/mt7601u/ |
A D | debugfs.c | 100 rp->ofdm[i].raw, rp->ofdm[i].bw20, rp->ofdm[i].bw40); in mt7601u_eeprom_param_show()
|
A 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()
|
/linux/drivers/net/wireless/intel/iwlwifi/fw/ |
A D | rs.c | 179 bool ofdm = !(rate_n_flags & RATE_MCS_CCK_MSK_V1); in iwl_legacy_rate_to_fw_idx() local 180 int offset = ofdm ? IWL_FIRST_OFDM_RATE : 0; in iwl_legacy_rate_to_fw_idx() 181 int last = ofdm ? IWL_RATE_COUNT_LEGACY : IWL_FIRST_OFDM_RATE; in iwl_legacy_rate_to_fw_idx()
|
/linux/drivers/media/dvb-frontends/cxd2880/ |
A 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 …]
|
/linux/drivers/media/dvb-core/ |
A D | dvb_frontend.c | 1184 switch (p->u.ofdm.bandwidth) { in dtv_property_cache_sync() 1207 c->code_rate_HP = p->u.ofdm.code_rate_HP; in dtv_property_cache_sync() 1208 c->code_rate_LP = p->u.ofdm.code_rate_LP; in dtv_property_cache_sync() 1209 c->modulation = p->u.ofdm.constellation; in dtv_property_cache_sync() 1266 p->u.ofdm.bandwidth = BANDWIDTH_10_MHZ; in dtv_property_legacy_params_sync() 1269 p->u.ofdm.bandwidth = BANDWIDTH_8_MHZ; in dtv_property_legacy_params_sync() 1272 p->u.ofdm.bandwidth = BANDWIDTH_7_MHZ; in dtv_property_legacy_params_sync() 1275 p->u.ofdm.bandwidth = BANDWIDTH_6_MHZ; in dtv_property_legacy_params_sync() 1278 p->u.ofdm.bandwidth = BANDWIDTH_5_MHZ; in dtv_property_legacy_params_sync() 1285 p->u.ofdm.bandwidth = BANDWIDTH_AUTO; in dtv_property_legacy_params_sync() [all …]
|
/linux/drivers/net/wireless/realtek/rtl8xxxu/ |
A 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()
|
/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
A D | debugfs.c | 696 ofdm = &priv->statistics.rx_ofdm; in iwl_dbgfs_ucode_rx_stats_read() 718 le32_to_cpu(ofdm->ina_cnt), in iwl_dbgfs_ucode_rx_stats_read() 735 le32_to_cpu(ofdm->overrun_err), in iwl_dbgfs_ucode_rx_stats_read() 746 le32_to_cpu(ofdm->crc32_good), in iwl_dbgfs_ucode_rx_stats_read() 751 le32_to_cpu(ofdm->false_alarm_cnt), in iwl_dbgfs_ucode_rx_stats_read() 763 le32_to_cpu(ofdm->sfd_timeout), in iwl_dbgfs_ucode_rx_stats_read() 768 le32_to_cpu(ofdm->fina_timeout), in iwl_dbgfs_ucode_rx_stats_read() 785 le32_to_cpu(ofdm->sent_ack_cnt), in iwl_dbgfs_ucode_rx_stats_read() 790 le32_to_cpu(ofdm->sent_cts_cnt), in iwl_dbgfs_ucode_rx_stats_read() 801 le32_to_cpu(ofdm->dsp_self_kill), in iwl_dbgfs_ucode_rx_stats_read() [all …]
|
A D | rxon.c | 920 u8 ofdm = 0; in iwl_calc_basic_rates() local 932 ofdm |= BIT(hw - IWL_FIRST_OFDM_RATE); in iwl_calc_basic_rates() 969 ofdm |= IWL_RATE_24M_MASK >> IWL_FIRST_OFDM_RATE; in iwl_calc_basic_rates() 971 ofdm |= IWL_RATE_12M_MASK >> IWL_FIRST_OFDM_RATE; in iwl_calc_basic_rates() 973 ofdm |= IWL_RATE_6M_MASK >> IWL_FIRST_OFDM_RATE; in iwl_calc_basic_rates() 998 cck, ofdm); in iwl_calc_basic_rates() 1002 ctx->staging.ofdm_basic_rates = ofdm; in iwl_calc_basic_rates()
|
/linux/Documentation/devicetree/bindings/net/wireless/ |
A D | mediatek,mt76.yaml | 124 rates-ofdm: 192 rates-ofdm = /bits/ 8 <23 23 23 23 23 23 23 23>; 200 rates-ofdm = /bits/ 8 <14 14 14 14 14 14 14 14>;
|
/linux/drivers/staging/r8188eu/include/ |
A D | rtl8188e_rf.h | 15 void rtl8188e_PHY_RF6052SetOFDMTxPower(struct adapter *Adapter, u8 *ofdm,
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
A 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()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7615/ |
A 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() 1611 mt7615_mac_set_sensitivity(struct mt7615_phy *phy, int val, bool ofdm) in mt7615_mac_set_sensitivity() argument 1617 if (ofdm) in mt7615_mac_set_sensitivity() 1628 if (ofdm) in mt7615_mac_set_sensitivity() 1723 u32 rts_err_rate, bool ofdm) in mt7615_mac_adjust_sensitivity() argument 1726 int false_cca = ofdm ? phy->false_cca_ofdm : phy->false_cca_cck; in mt7615_mac_adjust_sensitivity() 1728 u16 def_th = ofdm ? -98 : -110; in mt7615_mac_adjust_sensitivity() 1733 sensitivity = ofdm ? &phy->ofdm_sensitivity : &phy->cck_sensitivity; in mt7615_mac_adjust_sensitivity() 1768 u16 val = ofdm ? *sensitivity * 2 + 512 : *sensitivity + 256; in mt7615_mac_adjust_sensitivity() [all …]
|