/drivers/net/wireless/ath/ath9k/ |
D | rc.c | 905 int tx_rate, int xretries, int retries, in ath_rc_update_per() argument 923 last_per = ath_rc_priv->per[tx_rate]; in ath_rc_update_per() 928 ath_rc_priv->per[tx_rate] += 30; in ath_rc_update_per() 929 if (ath_rc_priv->per[tx_rate] > 100) in ath_rc_update_per() 930 ath_rc_priv->per[tx_rate] = 100; in ath_rc_update_per() 938 ath_rc_priv->per[tx_rate] = in ath_rc_update_per() 944 if (ath_rc_priv->probe_rate == tx_rate) in ath_rc_update_per() 974 ath_rc_priv->per[tx_rate] = new_per; in ath_rc_update_per() 977 ath_rc_priv->per[tx_rate] = in ath_rc_update_per() 987 if (ath_rc_priv->probe_rate && ath_rc_priv->probe_rate == tx_rate) { in ath_rc_update_per() [all …]
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_sriov.c | 805 static void ixgbe_set_vf_rate_limit(struct ixgbe_hw *hw, int vf, int tx_rate, in ixgbe_set_vf_rate_limit() argument 811 if (tx_rate != 0) { in ixgbe_set_vf_rate_limit() 813 rf_int = link_speed / tx_rate; in ixgbe_set_vf_rate_limit() 814 rf_dec = (link_speed - (rf_int * tx_rate)); in ixgbe_set_vf_rate_limit() 815 rf_dec = (rf_dec * (1<<IXGBE_RTTBCNRC_RF_INT_SHIFT)) / tx_rate; in ixgbe_set_vf_rate_limit() 865 adapter->vfinfo[i].tx_rate = 0; in ixgbe_check_vf_rate_limit() 868 adapter->vfinfo[i].tx_rate, in ixgbe_check_vf_rate_limit() 873 int ixgbe_ndo_set_vf_bw(struct net_device *netdev, int vf, int tx_rate) in ixgbe_ndo_set_vf_bw() argument 881 (tx_rate > actual_link_speed) || (actual_link_speed != 10000) || in ixgbe_ndo_set_vf_bw() 882 ((tx_rate != 0) && (tx_rate <= 10))) in ixgbe_ndo_set_vf_bw() [all …]
|
D | ixgbe_sriov.h | 39 int ixgbe_ndo_set_vf_bw(struct net_device *netdev, int vf, int tx_rate);
|
/drivers/staging/winbond/ |
D | mto.c | 138 void MTO_SetTxCount(struct wbsoft_priv *adapter, u8 tx_rate, u8 index) in MTO_SetTxCount() argument 142 if (tx_rate == MTO_DATA_RATE()) { in MTO_SetTxCount() 157 } else if (MTO_DATA_RATE() > 48 && tx_rate == 48) { in MTO_SetTxCount()
|
/drivers/staging/rtl8192u/ |
D | r819xU_cmdpkt.c | 339 u16 tx_rate; in cmdpkt_beacontimerinterrupt_819xusb() local 348 tx_rate = 60; in cmdpkt_beacontimerinterrupt_819xusb() 353 tx_rate =10; in cmdpkt_beacontimerinterrupt_819xusb() 357 rtl819xusb_beacon_tx(dev,tx_rate); // HW Beacon in cmdpkt_beacontimerinterrupt_819xusb()
|
/drivers/net/wireless/hostap/ |
D | hostap_ap.c | 1036 sta->tx_rate, sta->tx_count[0], sta->tx_count[1], in prism2_sta_proc_read() 1172 sta->tx_max_rate = sta->tx_rate = sta->tx_rate_idx = 0; in prism2_check_tx_rates() 1176 sta->tx_rate = 10; in prism2_check_tx_rates() 1183 sta->tx_rate = 20; in prism2_check_tx_rates() 1190 sta->tx_rate = 55; in prism2_check_tx_rates() 1197 sta->tx_rate = 110; in prism2_check_tx_rates() 2639 int ret = sta->tx_rate; in ap_update_sta_tx_rate() 2663 case 0: sta->tx_rate = 10; break; in ap_update_sta_tx_rate() 2664 case 1: sta->tx_rate = 20; break; in ap_update_sta_tx_rate() 2665 case 2: sta->tx_rate = 55; break; in ap_update_sta_tx_rate() [all …]
|
D | hostap_ap.h | 68 u8 tx_rate; /* current TX rate (in 0.1 Mbps) */ member
|
/drivers/atm/ |
D | horizon.c | 2162 vcc.tx_rate = 0x0; in hrz_open() 2227 vcc.tx_rate = 0; in hrz_open() 2247 vcc.tx_rate = 0; in hrz_open() 2255 vcc.tx_rate = 0; // ? in hrz_open() 2282 &vcc.tx_pcr_bits, &vcc.tx_rate); in hrz_open() 2288 error = atm_pcr_check (txtp, vcc.tx_rate); in hrz_open() 2330 &vcc.tx_scr_bits, &vcc.tx_rate); in hrz_open() 2460 if (vcc.tx_rate > dev->tx_avail) { in hrz_open() 2472 dev->tx_avail -= vcc.tx_rate; in hrz_open() 2475 vcc.tx_rate, vcc.rx_rate); in hrz_open() [all …]
|
D | horizon.h | 394 unsigned int tx_rate; member
|
D | ambassador.h | 623 unsigned int tx_rate; member
|
/drivers/net/wireless/b43legacy/ |
D | xmit.c | 203 struct ieee80211_rate *tx_rate; in generate_txhdr_fw3() local 210 tx_rate = ieee80211_get_tx_rate(dev->wl->hw, info); in generate_txhdr_fw3() 212 rate = tx_rate->hw_value; in generate_txhdr_fw3() 214 rate_fb = ieee80211_get_alt_retry_rate(dev->wl->hw, info, 0) ? : tx_rate; in generate_txhdr_fw3()
|
/drivers/net/wireless/mwifiex/ |
D | sta_cmdresp.c | 499 priv->tx_rate = resp->params.tx_rate.tx_rate; in mwifiex_ret_802_11_tx_rate_query() 500 priv->tx_htinfo = resp->params.tx_rate.ht_info; in mwifiex_ret_802_11_tx_rate_query() 503 mwifiex_index_to_data_rate(priv, priv->tx_rate, in mwifiex_ret_802_11_tx_rate_query()
|
D | fw.h | 722 u8 tx_rate; member 1164 struct host_cmd_ds_tx_rate_query tx_rate; member
|
/drivers/staging/rtl8192e/rtl8192e/ |
D | r8192E_cmdpkt.c | 173 u16 tx_rate; in cmdpkt_beacontimerinterrupt_819xusb() local 179 tx_rate = 60; in cmdpkt_beacontimerinterrupt_819xusb() 182 tx_rate = 10; in cmdpkt_beacontimerinterrupt_819xusb()
|
/drivers/net/wireless/iwlegacy/ |
D | 4965-rs.c | 820 u32 tx_rate; in il4965_rs_tx_status() local 853 tx_rate = le32_to_cpu(table->rs_table[0].rate_n_flags); in il4965_rs_tx_status() 854 il4965_rs_get_tbl_info_from_mcs(tx_rate, il->band, &tbl_type, &rs_idx); in il4965_rs_tx_status() 877 !!(tx_rate & RATE_MCS_HT_MSK) != !!(mac_flags & IEEE80211_TX_RC_MCS) in il4965_rs_tx_status() 878 || !!(tx_rate & RATE_MCS_GF_MSK) != in il4965_rs_tx_status() 881 rs_idx, tx_rate); in il4965_rs_tx_status() 934 tx_rate = le32_to_cpu(table->rs_table[0].rate_n_flags); in il4965_rs_tx_status() 935 il4965_rs_get_tbl_info_from_mcs(tx_rate, il->band, &tbl_type, in il4965_rs_tx_status() 960 tx_rate = le32_to_cpu(table->rs_table[i].rate_n_flags); in il4965_rs_tx_status() 961 il4965_rs_get_tbl_info_from_mcs(tx_rate, il->band, in il4965_rs_tx_status() [all …]
|
/drivers/net/wireless/iwlwifi/ |
D | iwl-agn-rs.c | 918 u32 tx_rate; in rs_tx_status() local 953 tx_rate = le32_to_cpu(table->rs_table[0].rate_n_flags); in rs_tx_status() 954 rs_get_tbl_info_from_mcs(tx_rate, priv->band, &tbl_type, &rs_index); in rs_tx_status() 977 (!!(tx_rate & RATE_MCS_HT_MSK) != !!(mac_flags & IEEE80211_TX_RC_MCS)) || in rs_tx_status() 978 (!!(tx_rate & RATE_MCS_GF_MSK) != !!(mac_flags & IEEE80211_TX_RC_GREEN_FIELD)) || in rs_tx_status() 980 IWL_DEBUG_RATE(priv, "initial rate %d does not match %d (0x%x)\n", mac_index, rs_index, tx_rate); in rs_tx_status() 1032 tx_rate = le32_to_cpu(table->rs_table[0].rate_n_flags); in rs_tx_status() 1033 rs_get_tbl_info_from_mcs(tx_rate, priv->band, &tbl_type, in rs_tx_status() 1057 tx_rate = le32_to_cpu(table->rs_table[i].rate_n_flags); in rs_tx_status() 1058 rs_get_tbl_info_from_mcs(tx_rate, priv->band, in rs_tx_status() [all …]
|
/drivers/net/wireless/wl12xx/ |
D | scan.h | 83 __le32 tx_rate; member
|
/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 164 static int igb_ndo_set_vf_bw(struct net_device *netdev, int vf, int tx_rate); 7081 static void igb_set_vf_rate_limit(struct e1000_hw *hw, int vf, int tx_rate, in igb_set_vf_rate_limit() argument 7087 if (tx_rate != 0) { in igb_set_vf_rate_limit() 7089 rf_int = link_speed / tx_rate; in igb_set_vf_rate_limit() 7090 rf_dec = (link_speed - (rf_int * tx_rate)); in igb_set_vf_rate_limit() 7091 rf_dec = (rf_dec * (1<<E1000_RTTBCNRC_RF_INT_SHIFT)) / tx_rate; in igb_set_vf_rate_limit() 7126 adapter->vf_data[i].tx_rate = 0; in igb_check_vf_rate_limit() 7129 adapter->vf_data[i].tx_rate, in igb_check_vf_rate_limit() 7134 static int igb_ndo_set_vf_bw(struct net_device *netdev, int vf, int tx_rate) in igb_ndo_set_vf_bw() argument 7146 (tx_rate < 0) || (tx_rate > actual_link_speed)) in igb_ndo_set_vf_bw() [all …]
|
D | igb.h | 87 u16 tx_rate; member
|
/drivers/net/wireless/wl1251/ |
D | cmd.h | 196 __le16 tx_rate; member
|
D | cmd.c | 435 cmd->params.tx_rate = cpu_to_le16(1 << 1); /* 2 Mbps */ in wl1251_cmd_scan()
|
/drivers/net/wireless/ |
D | atmel.c | 521 int tx_rate; member 746 atmel_wmem8(priv, atmel_tx(priv, TX_DESC_RATE_OFFSET, priv->tx_desc_tail), priv->tx_rate); in tx_update_descriptor() 1576 priv->tx_rate = 3; in init_atmel_card() 2050 priv->tx_rate = 3; in atmel_set_rate() 2058 priv->tx_rate = vwrq->value; in atmel_set_rate() 2063 priv->tx_rate = 0; in atmel_set_rate() 2066 priv->tx_rate = 1; in atmel_set_rate() 2069 priv->tx_rate = 2; in atmel_set_rate() 2072 priv->tx_rate = 3; in atmel_set_rate() 2120 switch (priv->tx_rate) { in atmel_get_rate()
|
D | at76c50x-usb.h | 181 u8 tx_rate; member
|
/drivers/net/wireless/orinoco/ |
D | hermes.h | 206 u8 tx_rate; member
|
/drivers/net/wireless/iwmc3200wifi/ |
D | umac.h | 719 __le16 tx_rate[UMAC_NTF_RATE_SAMPLE_NR]; member
|