Home
last modified time | relevance | path

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

1234

/drivers/staging/vt6656/
Dcard.c158 u8 *tx_rate, u8 *rsv_time) in vnt_calculate_ofdm_rate() argument
163 *tx_rate = 0x9b; in vnt_calculate_ofdm_rate()
166 *tx_rate = 0x8b; in vnt_calculate_ofdm_rate()
172 *tx_rate = 0x9f; in vnt_calculate_ofdm_rate()
175 *tx_rate = 0x8f; in vnt_calculate_ofdm_rate()
181 *tx_rate = 0x9a; in vnt_calculate_ofdm_rate()
184 *tx_rate = 0x8a; in vnt_calculate_ofdm_rate()
190 *tx_rate = 0x9e; in vnt_calculate_ofdm_rate()
193 *tx_rate = 0x8e; in vnt_calculate_ofdm_rate()
199 *tx_rate = 0x9d; in vnt_calculate_ofdm_rate()
[all …]
Dint.c78 u8 tx_rate; in vnt_int_report_rate() local
82 tx_rate = rate->hw_value - RATE_18M; in vnt_int_report_rate()
88 tx_rate = fallback_rate0[tx_rate][retry]; in vnt_int_report_rate()
90 tx_rate = fallback_rate1[tx_rate][retry]; in vnt_int_report_rate()
93 idx = tx_rate - RATE_6M; in vnt_int_report_rate()
95 idx = tx_rate; in vnt_int_report_rate()
Drxtx.c272 u16 rate = tx_context->tx_rate; in vnt_rxtx_datahead_g()
305 u16 rate = tx_context->tx_rate; in vnt_rxtx_datahead_g_fb()
337 u16 rate = tx_context->tx_rate; in vnt_rxtx_datahead_a_fb()
364 u16 rate = tx_context->tx_rate; in vnt_rxtx_datahead_ab()
407 u16 current_rate = tx_context->tx_rate; in vnt_rxtx_rts_g_head()
433 u16 current_rate = tx_context->tx_rate; in vnt_rxtx_rts_g_fb_head()
477 u16 current_rate = tx_context->tx_rate; in vnt_rxtx_rts_ab_head()
496 u16 current_rate = tx_context->tx_rate; in vnt_rxtx_rts_a_fb_head()
527 u16 current_rate = tx_context->tx_rate; in vnt_fill_cts_fb_head()
563 u16 current_rate = tx_context->tx_rate; in vnt_fill_cts_head()
[all …]
Dbaseband.h77 unsigned int frame_length, u16 tx_rate);
80 u16 tx_rate, u8 pkt_type, struct vnt_phy_field *phy);
Dbaseband.c131 unsigned int frame_length, u16 tx_rate) in vnt_get_frame_time() argument
138 if (tx_rate > RATE_54M) in vnt_get_frame_time()
141 rate = (unsigned int)vnt_frame_time[tx_rate]; in vnt_get_frame_time()
143 if (tx_rate <= 3) { in vnt_get_frame_time()
188 u16 tx_rate, u8 pkt_type, struct vnt_phy_field *phy) in vnt_get_phy_field() argument
199 switch (tx_rate) { in vnt_get_phy_field()
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Ddm.c986 rtlpriv->dm.tx_rate = 0xff; in rtl8821ae_dm_common_info_self_update()
1090 u8 rate = rtldm->tx_rate; in rtl8812ae_get_delta_swing_table()
1137 rtldm->tx_rate = rate; in rtl8821ae_dm_update_init_rate()
1333 u8 tx_rate = 0xFF; in rtl8812ae_dm_txpwr_track_set_pwr() local
1336 if (rtldm->tx_rate != 0xFF) in rtl8812ae_dm_txpwr_track_set_pwr()
1337 tx_rate = in rtl8812ae_dm_txpwr_track_set_pwr()
1338 rtl8821ae_hw_rate_to_mrate(hw, rtldm->tx_rate); in rtl8812ae_dm_txpwr_track_set_pwr()
1343 if (tx_rate != 0xFF) { in rtl8812ae_dm_txpwr_track_set_pwr()
1345 if ((tx_rate >= MGN_1M) && (tx_rate <= MGN_11M)) in rtl8812ae_dm_txpwr_track_set_pwr()
1348 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/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
177 tx_rate = 60; in cmdpkt_beacontimerinterrupt_819xusb()
180 tx_rate = 10; in cmdpkt_beacontimerinterrupt_819xusb()
184 rtl819xusb_beacon_tx(dev, tx_rate); /* HW Beacon */ in cmdpkt_beacontimerinterrupt_819xusb()
/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/staging/vt6655/
Dbaseband.h55 u16 tx_rate, u8 pkt_type, struct vnt_phy_field *phy);
Ddevice_main.c857 u8 tx_rate; in vnt_int_report_rate() local
861 tx_rate = rate->hw_value - RATE_18M; in vnt_int_report_rate()
867 tx_rate = fallback_rate0[tx_rate][retry]; in vnt_int_report_rate()
869 tx_rate = fallback_rate1[tx_rate][retry]; in vnt_int_report_rate()
872 idx = tx_rate - RATE_6M; in vnt_int_report_rate()
874 idx = tx_rate; in vnt_int_report_rate()
Dbaseband.c1765 u16 tx_rate, u8 pkt_type, struct vnt_phy_field *phy) in vnt_get_phy_field() argument
1776 switch (tx_rate) { in vnt_get_phy_field()
/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.c1521 u16 tx_rate = adapter->vfinfo[vf].tx_rate; in ixgbe_set_vf_rate_limit() local
1523 if (tx_rate) { in ixgbe_set_vf_rate_limit()
1529 bcnrc_val /= tx_rate; in ixgbe_set_vf_rate_limit()
1583 adapter->vfinfo[i].tx_rate = 0; in ixgbe_check_vf_rate_limit()
1617 adapter->vfinfo[vf].tx_rate = max_tx_rate; in ixgbe_ndo_set_vf_bw()
1711 ivi->max_tx_rate = adapter->vfinfo[vf].tx_rate; in ixgbe_ndo_get_vf_config()
/drivers/net/wireless/mediatek/mt76/
Dtx.c390 struct ieee80211_tx_rate tx_rate; in mt76_txq_send_burst() local
410 tx_rate = info->control.rates[0]; in mt76_txq_send_burst()
448 info->control.rates[0] = tx_rate; in mt76_txq_send_burst()
/drivers/staging/rtl8188eu/hal/
Drtl8188eu_xmit.c265 ptxdesc->txdw5 |= cpu_to_le32(MRateToHwRate(pmlmeext->tx_rate)); in update_txdesc()
291 ptxdesc->txdw5 |= cpu_to_le32(MRateToHwRate(pmlmeext->tx_rate)); in update_txdesc()
308 ptxdesc->txdw5 |= cpu_to_le32(MRateToHwRate(pmlmeext->tx_rate)); in update_txdesc()
/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.h99 unsigned int tx_rate; /* Tx bandwidth limit in Mbps */ member
/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/wireless/intel/iwlwifi/dvm/
Drs.c890 u32 tx_rate; in rs_tx_status() local
925 tx_rate = le32_to_cpu(table->rs_table[0].rate_n_flags); in rs_tx_status()
926 rs_get_tbl_info_from_mcs(tx_rate, priv->band, &tbl_type, &rs_index); in rs_tx_status()
949 (!!(tx_rate & RATE_MCS_HT_MSK) != !!(mac_flags & IEEE80211_TX_RC_MCS)) || in rs_tx_status()
950 (!!(tx_rate & RATE_MCS_GF_MSK) != !!(mac_flags & IEEE80211_TX_RC_GREEN_FIELD)) || in rs_tx_status()
952 IWL_DEBUG_RATE(priv, "initial rate %d does not match %d (0x%x)\n", mac_index, rs_index, tx_rate); in rs_tx_status()
1004 tx_rate = le32_to_cpu(table->rs_table[0].rate_n_flags); in rs_tx_status()
1005 rs_get_tbl_info_from_mcs(tx_rate, priv->band, &tbl_type, in rs_tx_status()
1029 tx_rate = le32_to_cpu(table->rs_table[i].rate_n_flags); in rs_tx_status()
1030 rs_get_tbl_info_from_mcs(tx_rate, priv->band, in rs_tx_status()
[all …]
/drivers/net/ethernet/intel/ice/
Dice_virtchnl_pf.h84 unsigned int tx_rate; /* Tx bandwidth limit in Mbps */ member

1234