/openbmc/linux/drivers/net/wireless/broadcom/b43/ |
H 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()
|
H A D | ppr.h | 17 u8 ofdm[B43_PPR_OFDM_RATES_NUM]; member
|
/openbmc/linux/drivers/net/wireless/intel/iwlegacy/ |
H 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 …]
|
H 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 …]
|
H 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()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt76x0/ |
H 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() 226 target_power = (data & 0xff) - dev->rate_power.ofdm[7]; in mt76x0_get_power_info()
|
H A D | phy.h | 83 struct mt76x0_rate_pwr_item ofdm[8]; member
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/ |
H 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[0], t->ht[7], in mt76x02_phy_set_txpower()
|
H 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->rate_power.ofdm[rate->idx & 0x7]; in mt76x02_tx_get_max_txpwr_adj() 115 dev->rate_power.ofdm[4]); in mt76x02_tx_set_txpwr_auto()
|
H A D | mt76x02_debugfs.c | 123 mt76_seq_puts_array(s, "OFDM", dev->rate_power.ofdm, in mt76x02_read_rate_txpower() 124 ARRAY_SIZE(dev->rate_power.ofdm)); in mt76x02_read_rate_txpower()
|
H A D | eeprom.c | 386 &len, ARRAY_SIZE(dest->ofdm)); in mt76_get_rate_power_limits() 387 mt76_apply_array_limit(dest->ofdm, ARRAY_SIZE(dest->ofdm), val, in mt76_get_rate_power_limits()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt76x2/ |
H A 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()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | debugfs.c | 989 struct mvm_statistics_rx_phy_v2 *ofdm = &mvm->rx_stats_v3.ofdm; in iwl_dbgfs_fw_rx_stats_read() local 991 PRINT_STATS_LE32(ofdm, ina_cnt); in iwl_dbgfs_fw_rx_stats_read() 992 PRINT_STATS_LE32(ofdm, fina_cnt); in iwl_dbgfs_fw_rx_stats_read() 993 PRINT_STATS_LE32(ofdm, plcp_err); in iwl_dbgfs_fw_rx_stats_read() 994 PRINT_STATS_LE32(ofdm, crc32_err); in iwl_dbgfs_fw_rx_stats_read() 995 PRINT_STATS_LE32(ofdm, overrun_err); in iwl_dbgfs_fw_rx_stats_read() 997 PRINT_STATS_LE32(ofdm, crc32_good); in iwl_dbgfs_fw_rx_stats_read() 1000 PRINT_STATS_LE32(ofdm, sfd_timeout); in iwl_dbgfs_fw_rx_stats_read() 1010 PRINT_STATS_LE32(ofdm, reserved); in iwl_dbgfs_fw_rx_stats_read() 1012 struct mvm_statistics_rx_phy *ofdm = &mvm->rx_stats.ofdm; in iwl_dbgfs_fw_rx_stats_read() local [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt7601u/ |
H A D | debugfs.c | 100 rp->ofdm[i].raw, rp->ofdm[i].bw20, rp->ofdm[i].bw40); in mt7601u_eeprom_param_show()
|
H 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()
|
H A D | eeprom.h | 84 struct power_per_rate ofdm[4]; member
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/ |
H A D | rs.c | 98 bool ofdm = !(rate_n_flags & RATE_MCS_CCK_MSK_V1); in iwl_legacy_rate_to_fw_idx() local 99 int offset = ofdm ? IWL_FIRST_OFDM_RATE : 0; in iwl_legacy_rate_to_fw_idx() 100 int last = ofdm ? IWL_RATE_COUNT_LEGACY : IWL_FIRST_OFDM_RATE; in iwl_legacy_rate_to_fw_idx()
|
/openbmc/linux/drivers/media/dvb-frontends/cxd2880/ |
H 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 …]
|
H A D | cxd2880_tnrdmd_dvbt2_mon.h | 44 struct cxd2880_dvbt2_ofdm *ofdm);
|
/openbmc/linux/drivers/media/dvb-core/ |
H A D | dvb_frontend.c | 1199 switch (p->u.ofdm.bandwidth) { in dtv_property_cache_sync() 1222 c->code_rate_HP = p->u.ofdm.code_rate_HP; in dtv_property_cache_sync() 1223 c->code_rate_LP = p->u.ofdm.code_rate_LP; in dtv_property_cache_sync() 1224 c->modulation = p->u.ofdm.constellation; in dtv_property_cache_sync() 1281 p->u.ofdm.bandwidth = BANDWIDTH_10_MHZ; in dtv_property_legacy_params_sync() 1284 p->u.ofdm.bandwidth = BANDWIDTH_8_MHZ; in dtv_property_legacy_params_sync() 1287 p->u.ofdm.bandwidth = BANDWIDTH_7_MHZ; in dtv_property_legacy_params_sync() 1290 p->u.ofdm.bandwidth = BANDWIDTH_6_MHZ; in dtv_property_legacy_params_sync() 1293 p->u.ofdm.bandwidth = BANDWIDTH_5_MHZ; in dtv_property_legacy_params_sync() 1300 p->u.ofdm.bandwidth = BANDWIDTH_AUTO; in dtv_property_legacy_params_sync() [all …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtl8xxxu/ |
H A D | rtl8xxxu_8192e.c | 531 u32 val32, ofdm, mcs; in rtl8192e_set_tx_power() local 552 ofdm = ofdmbase | ofdmbase << 8 | ofdmbase << 16 | ofdmbase << 24; in rtl8192e_set_tx_power() 554 rtl8xxxu_write32(priv, REG_TX_AGC_A_RATE18_06, ofdm); in rtl8192e_set_tx_power() 555 rtl8xxxu_write32(priv, REG_TX_AGC_A_RATE54_24, ofdm); in rtl8192e_set_tx_power() 584 ofdm = ofdmbase | ofdmbase << 8 | in rtl8192e_set_tx_power() 587 rtl8xxxu_write32(priv, REG_TX_AGC_B_RATE18_06, ofdm); in rtl8192e_set_tx_power() 588 rtl8xxxu_write32(priv, REG_TX_AGC_B_RATE54_24, ofdm); in rtl8192e_set_tx_power() 636 efuse->tx_power_index_A.pwr_diff[i - 1].ofdm; in rtl8192eu_parse_efuse() 638 efuse->tx_power_index_B.pwr_diff[i - 1].ofdm; in rtl8192eu_parse_efuse()
|
H A D | rtl8xxxu_8192f.c | 445 u32 val32, ofdm, mcs; in rtl8192f_set_tx_power() local 460 ofdm = ofdmbase | ofdmbase << 8 | ofdmbase << 16 | ofdmbase << 24; in rtl8192f_set_tx_power() 462 rtl8xxxu_write32_mask(priv, REG_TX_AGC_A_RATE18_06, 0x7f7f7f7f, ofdm); in rtl8192f_set_tx_power() 463 rtl8xxxu_write32_mask(priv, REG_TX_AGC_A_RATE54_24, 0x7f7f7f7f, ofdm); in rtl8192f_set_tx_power() 491 ofdm = ofdmbase | ofdmbase << 8 | ofdmbase << 16 | ofdmbase << 24; in rtl8192f_set_tx_power() 493 rtl8xxxu_write32_mask(priv, REG_TX_AGC_B_RATE18_06, 0x7f7f7f7f, ofdm); in rtl8192f_set_tx_power() 494 rtl8xxxu_write32_mask(priv, REG_TX_AGC_B_RATE54_24, 0x7f7f7f7f, ofdm); in rtl8192f_set_tx_power() 730 efuse->tx_power_index_A.pwr_diff[i - 1].ofdm; in rtl8192fu_parse_efuse() 732 efuse->tx_power_index_B.pwr_diff[i - 1].ofdm; in rtl8192fu_parse_efuse()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
H 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 …]
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H 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()
|
/openbmc/linux/Documentation/devicetree/bindings/net/wireless/ |
H A D | mediatek,mt76.yaml | 176 rates-ofdm: 244 rates-ofdm = /bits/ 8 <23 23 23 23 23 23 23 23>; 252 rates-ofdm = /bits/ 8 <14 14 14 14 14 14 14 14>;
|