/linux-2.6.39/drivers/net/ixgbe/ |
D | ixgbe_sriov.c | 495 static void ixgbe_set_vf_rate_limit(struct ixgbe_hw *hw, int vf, int tx_rate, in ixgbe_set_vf_rate_limit() argument 501 if (tx_rate != 0) { in ixgbe_set_vf_rate_limit() 503 rf_int = link_speed / tx_rate; in ixgbe_set_vf_rate_limit() 504 rf_dec = (link_speed - (rf_int * tx_rate)); in ixgbe_set_vf_rate_limit() 505 rf_dec = (rf_dec * (1<<IXGBE_RTTBCNRC_RF_INT_SHIFT)) / tx_rate; in ixgbe_set_vf_rate_limit() 539 adapter->vfinfo[i].tx_rate = 0; in ixgbe_check_vf_rate_limit() 542 adapter->vfinfo[i].tx_rate, in ixgbe_check_vf_rate_limit() 547 int ixgbe_ndo_set_vf_bw(struct net_device *netdev, int vf, int tx_rate) in ixgbe_ndo_set_vf_bw() argument 555 (tx_rate > actual_link_speed) || (actual_link_speed != 10000) || in ixgbe_ndo_set_vf_bw() 556 ((tx_rate != 0) && (tx_rate <= 10))) in ixgbe_ndo_set_vf_bw() [all …]
|
D | ixgbe_sriov.h | 40 int ixgbe_ndo_set_vf_bw(struct net_device *netdev, int vf, int tx_rate);
|
D | ixgbe.h | 121 u16 tx_rate; member
|
/linux-2.6.39/drivers/net/wireless/ath/ath9k/ |
D | rc.c | 861 int tx_rate, int xretries, int retries, in ath_rc_update_per() argument 880 last_per = ath_rc_priv->per[tx_rate]; in ath_rc_update_per() 885 ath_rc_priv->per[tx_rate] += 30; in ath_rc_update_per() 886 if (ath_rc_priv->per[tx_rate] > 100) in ath_rc_update_per() 887 ath_rc_priv->per[tx_rate] = 100; in ath_rc_update_per() 895 ath_rc_priv->per[tx_rate] = in ath_rc_update_per() 901 if (ath_rc_priv->probe_rate == tx_rate) in ath_rc_update_per() 931 ath_rc_priv->per[tx_rate] = new_per; in ath_rc_update_per() 934 ath_rc_priv->per[tx_rate] = in ath_rc_update_per() 944 if (ath_rc_priv->probe_rate && ath_rc_priv->probe_rate == tx_rate) { in ath_rc_update_per() [all …]
|
/linux-2.6.39/drivers/staging/winbond/ |
D | mto.c | 143 void MTO_SetTxCount(struct wbsoft_priv *adapter, u8 tx_rate, u8 index) in MTO_SetTxCount() argument 147 if (tx_rate == MTO_DATA_RATE()) { in MTO_SetTxCount() 162 } else if (MTO_DATA_RATE() > 48 && tx_rate == 48) { in MTO_SetTxCount()
|
/linux-2.6.39/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()
|
/linux-2.6.39/drivers/net/wireless/hostap/ |
D | hostap_ap.c | 1034 sta->tx_rate, sta->tx_count[0], sta->tx_count[1], in prism2_sta_proc_read() 1170 sta->tx_max_rate = sta->tx_rate = sta->tx_rate_idx = 0; in prism2_check_tx_rates() 1174 sta->tx_rate = 10; in prism2_check_tx_rates() 1181 sta->tx_rate = 20; in prism2_check_tx_rates() 1188 sta->tx_rate = 55; in prism2_check_tx_rates() 1195 sta->tx_rate = 110; in prism2_check_tx_rates() 2637 int ret = sta->tx_rate; in ap_update_sta_tx_rate() 2661 case 0: sta->tx_rate = 10; break; in ap_update_sta_tx_rate() 2662 case 1: sta->tx_rate = 20; break; in ap_update_sta_tx_rate() 2663 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
|
/linux-2.6.39/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()
|
/linux-2.6.39/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
|
/linux-2.6.39/drivers/net/wireless/wl12xx/ |
D | scan.h | 68 __le32 tx_rate; member
|
D | scan.c | 170 cmd->params.tx_rate = cpu_to_le32(basic_rate); in wl1271_scan_send() 176 cmd->params.tx_rate = cpu_to_le32(basic_rate); in wl1271_scan_send()
|
/linux-2.6.39/drivers/net/wireless/iwlegacy/ |
D | iwl-4965-rs.c | 815 u32 tx_rate; in iwl4965_rs_tx_status() local 851 tx_rate = le32_to_cpu(table->rs_table[0].rate_n_flags); in iwl4965_rs_tx_status() 852 iwl4965_rs_get_tbl_info_from_mcs(tx_rate, in iwl4965_rs_tx_status() 879 (!!(tx_rate & RATE_MCS_HT_MSK) != in iwl4965_rs_tx_status() 881 (!!(tx_rate & RATE_MCS_GF_MSK) != in iwl4965_rs_tx_status() 886 mac_index, rs_index, tx_rate); in iwl4965_rs_tx_status() 940 tx_rate = le32_to_cpu(table->rs_table[0].rate_n_flags); in iwl4965_rs_tx_status() 941 iwl4965_rs_get_tbl_info_from_mcs(tx_rate, priv->band, &tbl_type, in iwl4965_rs_tx_status() 965 tx_rate = le32_to_cpu(table->rs_table[i].rate_n_flags); in iwl4965_rs_tx_status() 966 iwl4965_rs_get_tbl_info_from_mcs(tx_rate, priv->band, in iwl4965_rs_tx_status() [all …]
|
/linux-2.6.39/drivers/net/wireless/iwlwifi/ |
D | iwl-agn-rs.c | 880 u32 tx_rate; in rs_tx_status() local 915 tx_rate = le32_to_cpu(table->rs_table[0].rate_n_flags); in rs_tx_status() 916 rs_get_tbl_info_from_mcs(tx_rate, priv->band, &tbl_type, &rs_index); in rs_tx_status() 939 (!!(tx_rate & RATE_MCS_HT_MSK) != !!(mac_flags & IEEE80211_TX_RC_MCS)) || in rs_tx_status() 940 (!!(tx_rate & RATE_MCS_GF_MSK) != !!(mac_flags & IEEE80211_TX_RC_GREEN_FIELD)) || in rs_tx_status() 942 IWL_DEBUG_RATE(priv, "initial rate %d does not match %d (0x%x)\n", mac_index, rs_index, tx_rate); in rs_tx_status() 994 tx_rate = le32_to_cpu(table->rs_table[0].rate_n_flags); in rs_tx_status() 995 rs_get_tbl_info_from_mcs(tx_rate, priv->band, &tbl_type, in rs_tx_status() 1019 tx_rate = le32_to_cpu(table->rs_table[i].rate_n_flags); in rs_tx_status() 1020 rs_get_tbl_info_from_mcs(tx_rate, priv->band, in rs_tx_status() [all …]
|
/linux-2.6.39/include/linux/ |
D | if_link.h | 307 __u32 tx_rate; member
|
/linux-2.6.39/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()
|
/linux-2.6.39/drivers/net/igb/ |
D | igb.h | 80 u16 tx_rate; member
|
D | igb_main.c | 156 static int igb_ndo_set_vf_bw(struct net_device *netdev, int vf, int tx_rate); 6736 static void igb_set_vf_rate_limit(struct e1000_hw *hw, int vf, int tx_rate, in igb_set_vf_rate_limit() argument 6742 if (tx_rate != 0) { in igb_set_vf_rate_limit() 6744 rf_int = link_speed / tx_rate; in igb_set_vf_rate_limit() 6745 rf_dec = (link_speed - (rf_int * tx_rate)); in igb_set_vf_rate_limit() 6746 rf_dec = (rf_dec * (1<<E1000_RTTBCNRC_RF_INT_SHIFT)) / tx_rate; in igb_set_vf_rate_limit() 6781 adapter->vf_data[i].tx_rate = 0; in igb_check_vf_rate_limit() 6784 adapter->vf_data[i].tx_rate, in igb_check_vf_rate_limit() 6789 static int igb_ndo_set_vf_bw(struct net_device *netdev, int vf, int tx_rate) in igb_ndo_set_vf_bw() argument 6801 (tx_rate < 0) || (tx_rate > actual_link_speed)) in igb_ndo_set_vf_bw() [all …]
|
/linux-2.6.39/drivers/net/wireless/ |
D | at76c50x-usb.h | 181 u8 tx_rate; member
|
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() 1577 priv->tx_rate = 3; in init_atmel_card() 2051 priv->tx_rate = 3; in atmel_set_rate() 2059 priv->tx_rate = vwrq->value; in atmel_set_rate() 2064 priv->tx_rate = 0; in atmel_set_rate() 2067 priv->tx_rate = 1; in atmel_set_rate() 2070 priv->tx_rate = 2; in atmel_set_rate() 2073 priv->tx_rate = 3; in atmel_set_rate() 2121 switch (priv->tx_rate) { in atmel_get_rate()
|
/linux-2.6.39/drivers/net/wireless/orinoco/ |
D | hermes.h | 206 u8 tx_rate; member
|
/linux-2.6.39/drivers/net/wireless/iwmc3200wifi/ |
D | umac.h | 719 __le16 tx_rate[UMAC_NTF_RATE_SAMPLE_NR]; member
|