Home
last modified time | relevance | path

Searched refs:tx_time (Results 1 – 25 of 38) sorted by relevance

12

/Linux-v5.15/drivers/net/wireless/mediatek/mt76/mt7915/
Dtestmode.c256 mt7915_tm_set_tx_len(struct mt7915_phy *phy, u32 tx_time) in mt7915_tm_set_tx_len() argument
266 if (!tx_time) in mt7915_tm_set_tx_len()
324 tx_len = bitrate * tx_time / 10 / 8; in mt7915_tm_set_tx_len()
421 u32 tx_time = td->tx_time; in mt7915_tm_set_tx_frames() local
442 if (duty_cycle && tx_time && !ipg) { in mt7915_tm_set_tx_frames()
443 ipg = tx_time * 100 / duty_cycle - tx_time; in mt7915_tm_set_tx_frames()
444 } else if (duty_cycle && !tx_time && ipg) { in mt7915_tm_set_tx_frames()
446 tx_time = duty_cycle * ipg / (100 - duty_cycle); in mt7915_tm_set_tx_frames()
450 mt7915_tm_set_tx_len(phy, tx_time); in mt7915_tm_set_tx_frames()
/Linux-v5.15/net/mac80211/
Drc80211_minstrel_ht_debugfs.c51 unsigned int j, tp_max, tp_avg, eprob, tx_time; in minstrel_ht_stats_dump() local
121 tx_time = DIV_ROUND_CLOSEST(duration, 1000); in minstrel_ht_stats_dump()
122 p += sprintf(p, "%6u ", tx_time); in minstrel_ht_stats_dump()
197 unsigned int j, tp_max, tp_avg, eprob, tx_time; in minstrel_ht_stats_csv_dump() local
265 tx_time = DIV_ROUND_CLOSEST(duration, 1000); in minstrel_ht_stats_csv_dump()
266 p += sprintf(p, "%u,", tx_time); in minstrel_ht_stats_csv_dump()
Drc80211_minstrel_ht.c1265 unsigned int tx_time, tx_time_rtscts, tx_time_data; in minstrel_calc_retransmit() local
1300 tx_time = ctime + 2 * (overhead + tx_time_data); in minstrel_calc_retransmit()
1310 tx_time += ctime + overhead + tx_time_data; in minstrel_calc_retransmit()
1315 } while ((tx_time < mp->segment_size) && in minstrel_calc_retransmit()
Dmesh_hwmp.c326 u32 tx_time, estimated_retx; in airtime_link_metric_get() local
357 tx_time = (device_constant + 10 * test_frame_len / rate); in airtime_link_metric_get()
359 result = ((u64)tx_time * estimated_retx) >> (2 * ARITH_SHIFT); in airtime_link_metric_get()
/Linux-v5.15/drivers/net/wireless/ath/carl9170/
Dcmd.c185 ar->tally.tx_time += le32_to_cpu(tally.tx_time) / tick; in carl9170_collect_tally()
193 info->time_tx = ar->tally.tx_time; in carl9170_collect_tally()
Dfwcmd.h309 __le32 tx_time; member
Dcarl9170.h344 u64 tx_time; /* usec */ member
/Linux-v5.15/drivers/net/wireless/ath/ath5k/
Dpcu.c288 u16 tx_time; in ath5k_hw_write_rate_duration() local
308 tx_time = ath5k_hw_get_frame_duration(ah, band, 10, in ath5k_hw_write_rate_duration()
311 ath5k_hw_reg_write(ah, tx_time, reg); in ath5k_hw_write_rate_duration()
316 tx_time = ath5k_hw_get_frame_duration(ah, band, 10, rate, true); in ath5k_hw_write_rate_duration()
317 ath5k_hw_reg_write(ah, tx_time, in ath5k_hw_write_rate_duration()
/Linux-v5.15/drivers/spi/
Dspi-sun4i.c210 unsigned int start, end, tx_time; in sun4i_spi_transfer_one() local
328 tx_time = max(tfr->len * 8 * 2 / (tfr->speed_hz / 1000), 100U); in sun4i_spi_transfer_one()
331 msecs_to_jiffies(tx_time)); in sun4i_spi_transfer_one()
337 jiffies_to_msecs(end - start), tx_time); in sun4i_spi_transfer_one()
Dspi-sun6i.c260 unsigned int start, end, tx_time; in sun6i_spi_transfer_one() local
425 tx_time = max(tfr->len * 8 * 2 / (tfr->speed_hz / 1000), 100U); in sun6i_spi_transfer_one()
428 msecs_to_jiffies(tx_time)); in sun6i_spi_transfer_one()
434 jiffies_to_msecs(end - start), tx_time); in sun6i_spi_transfer_one()
/Linux-v5.15/drivers/net/
Dntb_netdev.c65 static unsigned int tx_time = 1; variable
158 mod_timer(&dev->tx_timer, jiffies + usecs_to_jiffies(tx_time)); in __ntb_netdev_maybe_stop_tx()
236 mod_timer(&dev->tx_timer, jiffies + usecs_to_jiffies(tx_time)); in ntb_netdev_tx_timer()
/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/mvm/
Drx.c722 mvm->radio_stats.tx_time = le64_to_cpu(stats->tx_time); in iwl_mvm_handle_rx_statistics_tlv()
798 mvm->radio_stats.tx_time = in iwl_mvm_handle_rx_statistics()
799 le64_to_cpu(stats->general.common.tx_time); in iwl_mvm_handle_rx_statistics()
820 mvm->radio_stats.tx_time = in iwl_mvm_handle_rx_statistics()
821 le64_to_cpu(stats->general.common.tx_time); in iwl_mvm_handle_rx_statistics()
Dsta.h271 u16 tx_time; member
Dtx.c1511 info->status.tx_time = in iwl_mvm_rx_tx_cmd_single()
1713 mvmsta->tid_data[tid].tx_time = in iwl_mvm_rx_tx_cmd_agg()
1902 ba_info.status.tx_time = in iwl_mvm_rx_ba_notif()
1975 ba_info.status.tx_time = tid_data->tx_time; in iwl_mvm_rx_ba_notif()
Dutils.c369 mvm->accu_radio_stats.tx_time += mvm->radio_stats.tx_time; in iwl_mvm_accu_radio_stats()
/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/fw/api/
Dstats.h272 __le64 tx_time; member
301 __le64 tx_time; member
486 __le64 tx_time; member
/Linux-v5.15/drivers/net/wireless/mediatek/mt76/mt7921/
Dmac.c62 u32 tx_time[IEEE80211_NUM_ACS], rx_time[IEEE80211_NUM_ACS]; in mt7921_mac_sta_poll() local
97 tx_time[i] = msta->airtime_ac[i] - tx_last; in mt7921_mac_sta_poll()
119 u32 tx_cur = tx_time[q]; in mt7921_mac_sta_poll()
961 info->status.tx_time = 0; in mt7921_tx_complete_status()
1206 u64 busy_time, tx_time, rx_time, obss_time; in mt7921_phy_update_channel() local
1211 tx_time = mt76_get_field(dev, MT_MIB_SDR36(idx), in mt7921_phy_update_channel()
1226 state->cc_tx += tx_time; in mt7921_phy_update_channel()
/Linux-v5.15/drivers/s390/net/
Dctcm_main.h124 unsigned long tx_time; member
Dctcm_sysfs.c105 jiffies_to_usecs(priv->channel[WRITE]->prof.tx_time)); in ctcm_print_statistics()
Dctcm_fsms.c260 if (duration > ch->prof.tx_time) in chx_txdone()
261 ch->prof.tx_time = duration; in chx_txdone()
1231 if (duration > ch->prof.tx_time) in ctcmpc_chx_txdone()
1232 ch->prof.tx_time = duration; in ctcmpc_chx_txdone()
Dnetiucv.c130 unsigned long tx_time; member
1615 return sprintf(buf, "%ld\n", priv->conn->prof.tx_time); in txtime_show()
1624 priv->conn->prof.tx_time = 0; in txtime_write()
/Linux-v5.15/drivers/net/wireless/microchip/wilc1000/
Dnetdev.h36 u64 tx_time; member
/Linux-v5.15/include/net/bluetooth/
Dhci.h1618 __le16 tx_time; member
1629 __le16 tx_time; member
1635 __le16 tx_time; member
1668 __le16 tx_time; member
2354 __le16 tx_time; member
/Linux-v5.15/drivers/net/wireless/mediatek/mt76/
Dtestmode.c467 td->tx_time = nla_get_u32(tb[MT76_TM_ATTR_TX_TIME]); in mt76_testmode_cmd()
617 nla_put_u32(msg, MT76_TM_ATTR_TX_TIME, td->tx_time)) || in mt76_testmode_dump()
/Linux-v5.15/drivers/net/wireless/mediatek/mt76/mt7615/
Dmac.c848 u32 addr, tx_time[4], rx_time[4]; in mt7615_mac_sta_poll() local
872 tx_time[i] = msta->airtime_ac[i] - tx_last; in mt7615_mac_sta_poll()
891 u32 tx_cur = tx_time[i]; in mt7615_mac_sta_poll()
1836 u64 busy_time, tx_time, rx_time, obss_time; in mt7615_phy_update_channel() local
1842 tx_time = mt76_get_field(dev, MT_MIB_SDR36(idx), in mt7615_phy_update_channel()
1856 state->cc_tx += tx_time; in mt7615_phy_update_channel()

12