Lines Matching refs:hw
408 static u32 ieee80211_get_rate_duration(struct ieee80211_hw *hw, in ieee80211_get_rate_duration() argument
471 u32 ieee80211_calc_rx_airtime(struct ieee80211_hw *hw, in ieee80211_calc_rx_airtime() argument
486 sband = hw->wiphy->bands[status->band]; in ieee80211_calc_rx_airtime()
497 duration = ieee80211_get_rate_duration(hw, status, &overhead); in ieee80211_calc_rx_airtime()
509 static bool ieee80211_fill_rate_info(struct ieee80211_hw *hw, in ieee80211_fill_rate_info() argument
513 struct ieee80211_supported_band *sband = hw->wiphy->bands[band]; in ieee80211_fill_rate_info()
553 struct ieee80211_hw *hw, in ieee80211_fill_rx_status() argument
560 if (ieee80211_fill_rate_info(hw, stat, band, ri)) in ieee80211_fill_rx_status()
595 static u32 ieee80211_calc_tx_airtime_rate(struct ieee80211_hw *hw, in ieee80211_calc_tx_airtime_rate() argument
602 if (ieee80211_fill_rx_status(&stat, hw, rate, ri, band, len)) in ieee80211_calc_tx_airtime_rate()
605 return ieee80211_calc_rx_airtime(hw, &stat, len); in ieee80211_calc_tx_airtime_rate()
608 u32 ieee80211_calc_tx_airtime(struct ieee80211_hw *hw, in ieee80211_calc_tx_airtime() argument
619 cur_duration = ieee80211_calc_tx_airtime_rate(hw, rate, NULL, in ieee80211_calc_tx_airtime()
631 u32 ieee80211_calc_expected_tx_airtime(struct ieee80211_hw *hw, in ieee80211_calc_expected_tx_airtime() argument
661 if (ieee80211_fill_rx_status(&stat, hw, rate, ri, band, len)) in ieee80211_calc_expected_tx_airtime()
665 return ieee80211_calc_rx_airtime(hw, &stat, len); in ieee80211_calc_expected_tx_airtime()
667 duration = ieee80211_get_rate_duration(hw, &stat, &overhead); in ieee80211_calc_expected_tx_airtime()
704 sband = hw->wiphy->bands[band]; in ieee80211_calc_expected_tx_airtime()