Home
last modified time | relevance | path

Searched refs:tx_rate (Results 1 – 25 of 105) sorted by relevance

12345

/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Ddm.c833 rtlpriv->dm.tx_rate = 0xff; in rtl8821ae_dm_common_info_self_update()
939 u8 rate = rtldm->tx_rate; in rtl8812ae_get_delta_swing_table()
986 rtldm->tx_rate = rate; in rtl8821ae_dm_update_init_rate()
1182 u8 tx_rate = 0xFF; in rtl8812ae_dm_txpwr_track_set_pwr() local
1185 if (rtldm->tx_rate != 0xFF) in rtl8812ae_dm_txpwr_track_set_pwr()
1186 tx_rate = in rtl8812ae_dm_txpwr_track_set_pwr()
1187 rtl8821ae_hw_rate_to_mrate(hw, rtldm->tx_rate); in rtl8812ae_dm_txpwr_track_set_pwr()
1192 if (tx_rate != 0xFF) { in rtl8812ae_dm_txpwr_track_set_pwr()
1194 if ((tx_rate >= MGN_1M) && (tx_rate <= MGN_11M)) in rtl8812ae_dm_txpwr_track_set_pwr()
1197 else if ((tx_rate >= MGN_6M) && (tx_rate <= MGN_48M)) in rtl8812ae_dm_txpwr_track_set_pwr()
[all …]
/drivers/net/wireless/mediatek/mt76/mt76x0/
Dphy.c577 int index, u8 tx_rate) in mt76x0_phy_get_rf_pa_mode() argument
583 return (val & (3 << (tx_rate * 2))) >> (tx_rate * 2); in mt76x0_phy_get_rf_pa_mode()
591 u8 tx_rate, cur_power; in mt76x0_phy_get_target_power() local
597 tx_rate = (info[0] & 0x60) >> 5; in mt76x0_phy_get_target_power()
598 if (tx_rate > 3) in mt76x0_phy_get_target_power()
601 *target_power = cur_power + dev->mt76.rate_power.cck[tx_rate]; in mt76x0_phy_get_target_power()
602 *target_pa_power = mt76x0_phy_get_rf_pa_mode(dev, 0, tx_rate); in mt76x0_phy_get_target_power()
608 tx_rate = (info[0] & 0xf0) >> 4; in mt76x0_phy_get_target_power()
609 switch (tx_rate) { in mt76x0_phy_get_target_power()
644 tx_rate = info[1] & 0xf; in mt76x0_phy_get_target_power()
[all …]
/drivers/staging/vt6656/
Drxtx.c87 u16 tx_rate, u8 pkt_type, in vnt_get_phy_field() argument
101 switch (tx_rate) { in vnt_get_phy_field()
125 if (tx_rate > RATE_11M) { in vnt_get_phy_field()
128 } else if (tx_rate > RATE_1M) { in vnt_get_phy_field()
133 i = tx_rate > RATE_54M ? RATE_54M : tx_rate; in vnt_get_phy_field()
189 u16 rate = tx_context->tx_rate; in vnt_rxtx_datahead_g()
211 u16 rate = tx_context->tx_rate; in vnt_rxtx_datahead_ab()
504 struct ieee80211_tx_rate *tx_rate = &info->control.rates[0]; in vnt_tx_packet() local
521 if (tx_rate->flags & IEEE80211_TX_RC_USE_CTS_PROTECT) { in vnt_tx_packet()
545 tx_context->tx_rate = rate->hw_value; in vnt_tx_packet()
Ddevice.h243 u16 tx_rate; member
/drivers/net/wireless/mediatek/mt76/mt7915/
Dmain.c776 if (!stats->tx_rate.legacy && !stats->tx_rate.flags) in mt7915_sta_statistics()
779 if (stats->tx_rate.legacy) { in mt7915_sta_statistics()
780 sinfo->txrate.legacy = stats->tx_rate.legacy; in mt7915_sta_statistics()
782 sinfo->txrate.mcs = stats->tx_rate.mcs; in mt7915_sta_statistics()
783 sinfo->txrate.nss = stats->tx_rate.nss; in mt7915_sta_statistics()
784 sinfo->txrate.bw = stats->tx_rate.bw; in mt7915_sta_statistics()
785 sinfo->txrate.he_gi = stats->tx_rate.he_gi; in mt7915_sta_statistics()
786 sinfo->txrate.he_dcm = stats->tx_rate.he_dcm; in mt7915_sta_statistics()
787 sinfo->txrate.he_ru_alloc = stats->tx_rate.he_ru_alloc; in mt7915_sta_statistics()
789 sinfo->txrate.flags = stats->tx_rate.flags; in mt7915_sta_statistics()
/drivers/net/wireless/mediatek/mt7601u/
Dphy.c782 mt7601u_phy_rf_pa_mode_val(struct mt7601u_dev *dev, int phy_mode, int tx_rate) in mt7601u_phy_rf_pa_mode_val() argument
789 tx_rate += 4; in mt7601u_phy_rf_pa_mode_val()
799 return decode_tb[(reg >> (tx_rate * 2)) & 0x3]; in mt7601u_phy_rf_pa_mode_val()
808 u8 bbp_r47, pkt_type, tx_rate; in mt7601u_tssi_params_get() local
821 tx_rate = (pkt_type >> 4) & 0x03; in mt7601u_tssi_params_get()
826 tx_rate = ofdm_pkt2rate[(pkt_type >> 4) & 0x07]; in mt7601u_tssi_params_get()
831 tx_rate = mt7601u_bbp_r47_get(dev, bbp_r47, BBP_R47_F_TX_RATE); in mt7601u_tssi_params_get()
832 tx_rate &= 0x7f; in mt7601u_tssi_params_get()
838 p.trgt_power += rate_table[tx_rate / 2].bw20; in mt7601u_tssi_params_get()
840 p.trgt_power += rate_table[tx_rate / 2].bw40; in mt7601u_tssi_params_get()
[all …]
/drivers/staging/rtl8192u/
Dr819xU_cmdpkt.c171 u16 tx_rate; in cmdpkt_beacontimerinterrupt_819xusb() local
178 tx_rate = 60; in cmdpkt_beacontimerinterrupt_819xusb()
181 tx_rate = 10; in cmdpkt_beacontimerinterrupt_819xusb()
185 rtl819xusb_beacon_tx(dev, tx_rate); /* HW Beacon */ in cmdpkt_beacontimerinterrupt_819xusb()
/drivers/staging/vt6655/
Dbaseband.c1708 unsigned short tx_rate) in bb_get_frame_time() argument
1713 unsigned int rate_idx = (unsigned int)tx_rate; in bb_get_frame_time()
1763 u16 tx_rate, u8 pkt_type, struct vnt_phy_field *phy) in vnt_get_phy_field() argument
1774 switch (tx_rate) { in vnt_get_phy_field()
Dbaseband.h55 u16 tx_rate, u8 pkt_type, struct vnt_phy_field *phy);
Ddevice_main.c862 u8 tx_rate; in vnt_int_report_rate() local
866 tx_rate = rate->hw_value - RATE_18M; in vnt_int_report_rate()
872 tx_rate = fallback_rate0[tx_rate][retry]; in vnt_int_report_rate()
874 tx_rate = fallback_rate1[tx_rate][retry]; in vnt_int_report_rate()
877 idx = tx_rate - RATE_6M; in vnt_int_report_rate()
879 idx = tx_rate; in vnt_int_report_rate()
/drivers/net/wireless/intersil/hostap/
Dhostap_ap.c1039 sta->tx_rate, sta->tx_count[0], sta->tx_count[1], in prism2_sta_proc_show()
1174 sta->tx_max_rate = sta->tx_rate = sta->tx_rate_idx = 0; in prism2_check_tx_rates()
1178 sta->tx_rate = 10; in prism2_check_tx_rates()
1185 sta->tx_rate = 20; in prism2_check_tx_rates()
1192 sta->tx_rate = 55; in prism2_check_tx_rates()
1199 sta->tx_rate = 110; in prism2_check_tx_rates()
2640 int ret = sta->tx_rate; in ap_update_sta_tx_rate()
2664 case 0: sta->tx_rate = 10; break; in ap_update_sta_tx_rate()
2665 case 1: sta->tx_rate = 20; break; in ap_update_sta_tx_rate()
2666 case 2: sta->tx_rate = 55; break; in ap_update_sta_tx_rate()
[all …]
Dhostap_ap.h69 u8 tx_rate; /* current TX rate (in 0.1 Mbps) */ member
/drivers/net/wireless/broadcom/b43legacy/
Dxmit.c190 struct ieee80211_rate *tx_rate; in generate_txhdr_fw3() local
197 tx_rate = ieee80211_get_tx_rate(dev->wl->hw, info); in generate_txhdr_fw3()
199 rate = tx_rate->hw_value; in generate_txhdr_fw3()
201 rate_fb = ieee80211_get_alt_retry_rate(dev->wl->hw, info, 0) ? : tx_rate; in generate_txhdr_fw3()
/drivers/atm/
Dhorizon.c2125 vcc.tx_rate = 0x0; in hrz_open()
2189 vcc.tx_rate = 0; in hrz_open()
2209 vcc.tx_rate = 0; in hrz_open()
2217 vcc.tx_rate = 0; // ? in hrz_open()
2244 &vcc.tx_pcr_bits, &vcc.tx_rate); in hrz_open()
2250 error = atm_pcr_check (txtp, vcc.tx_rate); in hrz_open()
2292 &vcc.tx_scr_bits, &vcc.tx_rate); in hrz_open()
2420 if (vcc.tx_rate > dev->tx_avail) { in hrz_open()
2432 dev->tx_avail -= vcc.tx_rate; in hrz_open()
2435 vcc.tx_rate, vcc.rx_rate); in hrz_open()
[all …]
/drivers/net/wireless/intel/iwlegacy/
D4965-rs.c804 u32 tx_rate; in il4965_rs_tx_status() local
837 tx_rate = le32_to_cpu(table->rs_table[0].rate_n_flags); in il4965_rs_tx_status()
838 il4965_rs_get_tbl_info_from_mcs(tx_rate, il->band, &tbl_type, &rs_idx); in il4965_rs_tx_status()
861 !!(tx_rate & RATE_MCS_HT_MSK) != !!(mac_flags & IEEE80211_TX_RC_MCS) in il4965_rs_tx_status()
862 || !!(tx_rate & RATE_MCS_GF_MSK) != in il4965_rs_tx_status()
865 rs_idx, tx_rate); in il4965_rs_tx_status()
918 tx_rate = le32_to_cpu(table->rs_table[0].rate_n_flags); in il4965_rs_tx_status()
919 il4965_rs_get_tbl_info_from_mcs(tx_rate, il->band, &tbl_type, in il4965_rs_tx_status()
944 tx_rate = le32_to_cpu(table->rs_table[i].rate_n_flags); in il4965_rs_tx_status()
945 il4965_rs_get_tbl_info_from_mcs(tx_rate, il->band, in il4965_rs_tx_status()
[all …]
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.c1526 u16 tx_rate = adapter->vfinfo[vf].tx_rate; in ixgbe_set_vf_rate_limit() local
1528 if (tx_rate) { in ixgbe_set_vf_rate_limit()
1534 bcnrc_val /= tx_rate; in ixgbe_set_vf_rate_limit()
1588 adapter->vfinfo[i].tx_rate = 0; in ixgbe_check_vf_rate_limit()
1622 adapter->vfinfo[vf].tx_rate = max_tx_rate; in ixgbe_ndo_set_vf_bw()
1716 ivi->max_tx_rate = adapter->vfinfo[vf].tx_rate; in ixgbe_ndo_get_vf_config()
/drivers/staging/rtl8188eu/hal/
Drtl8188eu_xmit.c263 ptxdesc->txdw5 |= cpu_to_le32(MRateToHwRate(pmlmeext->tx_rate)); in update_txdesc()
289 ptxdesc->txdw5 |= cpu_to_le32(MRateToHwRate(pmlmeext->tx_rate)); in update_txdesc()
306 ptxdesc->txdw5 |= cpu_to_le32(MRateToHwRate(pmlmeext->tx_rate)); in update_txdesc()
/drivers/net/wireless/ti/wl12xx/
Dscan.h31 __le32 tx_rate; member
/drivers/net/wireless/marvell/mwifiex/
Dsta_cmdresp.c528 priv->tx_rate = resp->params.tx_rate.tx_rate; in mwifiex_ret_802_11_tx_rate_query()
529 priv->tx_htinfo = resp->params.tx_rate.ht_info; in mwifiex_ret_802_11_tx_rate_query()
532 mwifiex_index_to_data_rate(priv, priv->tx_rate, in mwifiex_ret_802_11_tx_rate_query()
/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.h97 unsigned int tx_rate; /* Tx bandwidth limit in Mbps */ member
/drivers/net/wireless/intel/iwlwifi/dvm/
Drs.c881 u32 tx_rate; in rs_tx_status() local
916 tx_rate = le32_to_cpu(table->rs_table[0].rate_n_flags); in rs_tx_status()
917 rs_get_tbl_info_from_mcs(tx_rate, priv->band, &tbl_type, &rs_index); in rs_tx_status()
940 (!!(tx_rate & RATE_MCS_HT_MSK) != !!(mac_flags & IEEE80211_TX_RC_MCS)) || in rs_tx_status()
941 (!!(tx_rate & RATE_MCS_GF_MSK) != !!(mac_flags & IEEE80211_TX_RC_GREEN_FIELD)) || in rs_tx_status()
943 IWL_DEBUG_RATE(priv, "initial rate %d does not match %d (0x%x)\n", mac_index, rs_index, tx_rate); in rs_tx_status()
995 tx_rate = le32_to_cpu(table->rs_table[0].rate_n_flags); in rs_tx_status()
996 rs_get_tbl_info_from_mcs(tx_rate, priv->band, &tbl_type, in rs_tx_status()
1020 tx_rate = le32_to_cpu(table->rs_table[i].rate_n_flags); in rs_tx_status()
1021 rs_get_tbl_info_from_mcs(tx_rate, priv->band, in rs_tx_status()
[all …]
/drivers/net/ethernet/huawei/hinic/
Dhinic_sriov.c163 u32 tx_rate) in hinic_set_vf_rate_limit() argument
171 rate_cfg.tx_rate = tx_rate; in hinic_set_vf_rate_limit()
177 HW_VF_ID_TO_OS(vf_id), tx_rate, err, rate_cfg.status, in hinic_set_vf_rate_limit()
185 nic_io->vf_infos[HW_VF_ID_TO_OS(vf_id)].max_rate = tx_rate; in hinic_set_vf_rate_limit()
/drivers/net/ethernet/intel/ice/
Dice_virtchnl_pf.h96 unsigned int tx_rate; /* Tx bandwidth limit in Mbps */ member
/drivers/staging/ks7010/
Dks_wlan_net.c420 priv->reg.tx_rate = TX_RATE_FIXED; in ks_wlan_set_rate()
447 priv->reg.tx_rate = TX_RATE_MANUAL_AUTO; in ks_wlan_set_rate()
456 priv->reg.tx_rate = TX_RATE_FULL_AUTO; in ks_wlan_set_rate()
485 priv->reg.tx_rate = TX_RATE_FIXED; in ks_wlan_set_rate()
600 priv->reg.tx_rate = TX_RATE_MANUAL_AUTO; in ks_wlan_set_rate()
622 priv->reg.tx_rate = TX_RATE_FULL_AUTO; in ks_wlan_set_rate()
650 vwrq->bitrate.fixed = (priv->reg.tx_rate == TX_RATE_FIXED) ? 1 : 0; in ks_wlan_get_rate()
/drivers/net/ethernet/qlogic/qed/
Dqed_sriov.h56 int tx_rate; member

12345