/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | dm.c | 833 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 …]
|
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt76x0/ |
D | phy.c | 577 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 …]
|
/linux-6.1.9/drivers/staging/vt6656/ |
D | rxtx.c | 83 u16 tx_rate, u8 pkt_type, in vnt_get_phy_field() argument 97 switch (tx_rate) { in vnt_get_phy_field() 121 if (tx_rate > RATE_11M) { in vnt_get_phy_field() 124 } else if (tx_rate > RATE_1M) { in vnt_get_phy_field() 129 i = tx_rate > RATE_54M ? RATE_54M : tx_rate; in vnt_get_phy_field() 185 u16 rate = tx_context->tx_rate; in vnt_rxtx_datahead_g() 207 u16 rate = tx_context->tx_rate; in vnt_rxtx_datahead_ab() 498 struct ieee80211_tx_rate *tx_rate = &info->control.rates[0]; in vnt_tx_packet() local 515 if (tx_rate->flags & IEEE80211_TX_RC_USE_CTS_PROTECT) { in vnt_tx_packet() 539 tx_context->tx_rate = rate->hw_value; in vnt_tx_packet()
|
D | device.h | 239 u16 tx_rate; member
|
/linux-6.1.9/drivers/phy/microchip/ |
D | lan966x_serdes.c | 164 u8 tx_rate; member 176 u8 tx_rate; member 189 HSIO_SD_CFG_TX_RATE_SET(res_struct->tx_rate) | in lan966x_sd6g40_reg_cfg() 305 ret_val->tx_rate = 0x0; in lan966x_sd6g40_get_conf_from_mode() 310 ret_val->tx_rate = 0x0; in lan966x_sd6g40_get_conf_from_mode() 320 ret_val->tx_rate = macro->speed == SPEED_2500 ? 0x1 : 0x2; in lan966x_sd6g40_get_conf_from_mode() 325 ret_val->tx_rate = macro->speed == SPEED_2500 ? 0x1 : 0x2; in lan966x_sd6g40_get_conf_from_mode() 352 ret_val->tx_rate = mode_args->tx_rate; in lan966x_calc_sd6g40_setup_lane()
|
/linux-6.1.9/drivers/staging/rtl8192u/ |
D | r819xU_cmdpkt.c | 171 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()
|
/linux-6.1.9/drivers/net/wireless/mediatek/mt7601u/ |
D | phy.c | 785 mt7601u_phy_rf_pa_mode_val(struct mt7601u_dev *dev, int phy_mode, int tx_rate) in mt7601u_phy_rf_pa_mode_val() argument 792 tx_rate += 4; in mt7601u_phy_rf_pa_mode_val() 802 return decode_tb[(reg >> (tx_rate * 2)) & 0x3]; in mt7601u_phy_rf_pa_mode_val() 811 u8 bbp_r47, pkt_type, tx_rate; in mt7601u_tssi_params_get() local 824 tx_rate = (pkt_type >> 4) & 0x03; in mt7601u_tssi_params_get() 829 tx_rate = ofdm_pkt2rate[(pkt_type >> 4) & 0x07]; in mt7601u_tssi_params_get() 834 tx_rate = mt7601u_bbp_r47_get(dev, bbp_r47, BBP_R47_F_TX_RATE); in mt7601u_tssi_params_get() 835 tx_rate &= 0x7f; in mt7601u_tssi_params_get() 841 p.trgt_power += rate_table[tx_rate / 2].bw20; in mt7601u_tssi_params_get() 843 p.trgt_power += rate_table[tx_rate / 2].bw40; in mt7601u_tssi_params_get() [all …]
|
/linux-6.1.9/drivers/staging/vt6655/ |
D | baseband.c | 1705 unsigned short tx_rate) in bb_get_frame_time() argument 1710 unsigned int rate_idx = (unsigned int)tx_rate; in bb_get_frame_time() 1760 u16 tx_rate, u8 pkt_type, struct vnt_phy_field *phy) in vnt_get_phy_field() argument 1771 switch (tx_rate) { in vnt_get_phy_field()
|
D | baseband.h | 53 u16 tx_rate, u8 pkt_type, struct vnt_phy_field *phy);
|
D | device_main.c | 929 u8 tx_rate; in vnt_int_report_rate() local 933 tx_rate = rate->hw_value - RATE_18M; in vnt_int_report_rate() 939 tx_rate = fallback_rate0[tx_rate][retry]; in vnt_int_report_rate() 941 tx_rate = fallback_rate1[tx_rate][retry]; in vnt_int_report_rate() 944 idx = tx_rate - RATE_6M; in vnt_int_report_rate() 946 idx = tx_rate; in vnt_int_report_rate()
|
/linux-6.1.9/tools/spi/ |
D | spidev_test.c | 371 double rx_rate, tx_rate; in show_transfer_rate() local 374 tx_rate = ((_write_count - prev_write_count) * 8) / (interval*1000.0); in show_transfer_rate() 376 printf("rate: tx %.1fkbps, rx %.1fkbps\n", rx_rate, tx_rate); in show_transfer_rate()
|
/linux-6.1.9/drivers/net/wireless/intersil/hostap/ |
D | hostap_ap.c | 1039 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 …]
|
D | hostap_ap.h | 69 u8 tx_rate; /* current TX rate (in 0.1 Mbps) */ member
|
/linux-6.1.9/drivers/net/wireless/broadcom/b43legacy/ |
D | xmit.c | 190 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()
|
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7921/ |
D | mcu.h | 16 __le16 tx_rate; member
|
/linux-6.1.9/drivers/net/ethernet/intel/i40e/ |
D | i40e_virtchnl_pf.h | 97 unsigned int tx_rate; /* Tx bandwidth limit in Mbps */ member
|
/linux-6.1.9/drivers/net/wireless/ti/wl12xx/ |
D | scan.h | 31 __le32 tx_rate; member
|
/linux-6.1.9/drivers/net/wireless/intel/iwlegacy/ |
D | 4965-rs.c | 804 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 …]
|
/linux-6.1.9/drivers/staging/r8188eu/hal/ |
D | rtl8188eu_xmit.c | 240 ptxdesc->txdw5 |= cpu_to_le32(MRateToHwRate(pmlmeext->tx_rate)); in update_txdesc() 266 ptxdesc->txdw5 |= cpu_to_le32(MRateToHwRate(pmlmeext->tx_rate)); in update_txdesc() 279 ptxdesc->txdw5 |= cpu_to_le32(MRateToHwRate(pmlmeext->tx_rate)); in update_txdesc()
|
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_sriov.c | 1578 u16 tx_rate = adapter->vfinfo[vf].tx_rate; in ixgbe_set_vf_rate_limit() local 1580 if (tx_rate) { in ixgbe_set_vf_rate_limit() 1586 bcnrc_val /= tx_rate; in ixgbe_set_vf_rate_limit() 1640 adapter->vfinfo[i].tx_rate = 0; in ixgbe_check_vf_rate_limit() 1674 adapter->vfinfo[vf].tx_rate = max_tx_rate; in ixgbe_ndo_set_vf_bw() 1846 ivi->max_tx_rate = adapter->vfinfo[vf].tx_rate; in ixgbe_ndo_get_vf_config()
|
/linux-6.1.9/drivers/net/wireless/marvell/mwifiex/ |
D | sta_cmdresp.c | 517 priv->tx_rate = resp->params.tx_rate.tx_rate; in mwifiex_ret_802_11_tx_rate_query() 518 priv->tx_htinfo = resp->params.tx_rate.ht_info; in mwifiex_ret_802_11_tx_rate_query() 521 mwifiex_index_to_data_rate(priv, priv->tx_rate, in mwifiex_ret_802_11_tx_rate_query()
|
/linux-6.1.9/sound/firewire/bebob/ |
D | bebob_stream.c | 65 unsigned int tx_rate, rx_rate, trials; in snd_bebob_stream_get_rate() local 70 err = avc_general_get_sig_fmt(bebob->unit, &tx_rate, in snd_bebob_stream_get_rate() 85 if (rx_rate == tx_rate) in snd_bebob_stream_get_rate()
|
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | rs.c | 876 u32 tx_rate; in rs_tx_status() local 911 tx_rate = le32_to_cpu(table->rs_table[0].rate_n_flags); in rs_tx_status() 912 rs_get_tbl_info_from_mcs(tx_rate, priv->band, &tbl_type, &rs_index); in rs_tx_status() 935 (!!(tx_rate & RATE_MCS_HT_MSK) != !!(mac_flags & IEEE80211_TX_RC_MCS)) || in rs_tx_status() 936 (!!(tx_rate & RATE_MCS_GF_MSK) != !!(mac_flags & IEEE80211_TX_RC_GREEN_FIELD)) || in rs_tx_status() 938 IWL_DEBUG_RATE(priv, "initial rate %d does not match %d (0x%x)\n", mac_index, rs_index, tx_rate); in rs_tx_status() 990 tx_rate = le32_to_cpu(table->rs_table[0].rate_n_flags); in rs_tx_status() 991 rs_get_tbl_info_from_mcs(tx_rate, priv->band, &tbl_type, in rs_tx_status() 1015 tx_rate = le32_to_cpu(table->rs_table[i].rate_n_flags); in rs_tx_status() 1016 rs_get_tbl_info_from_mcs(tx_rate, priv->band, in rs_tx_status() [all …]
|
/linux-6.1.9/drivers/net/ethernet/huawei/hinic/ |
D | hinic_sriov.c | 165 u32 tx_rate) in hinic_set_vf_rate_limit() argument 173 rate_cfg.tx_rate = tx_rate; in hinic_set_vf_rate_limit() 179 HW_VF_ID_TO_OS(vf_id), tx_rate, err, rate_cfg.status, in hinic_set_vf_rate_limit() 187 nic_io->vf_infos[HW_VF_ID_TO_OS(vf_id)].max_rate = tx_rate; in hinic_set_vf_rate_limit()
|
/linux-6.1.9/drivers/staging/ks7010/ |
D | ks_wlan_net.c | 420 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()
|