Lines Matching refs:hw
52 sband = local->hw.wiphy->bands[chanctx_conf->def.chan->band]; in rate_control_rate_init()
238 debugfsdir = debugfs_create_dir("rc", local->hw.wiphy->debugfsdir); in rate_control_alloc()
243 ref->priv = ref->ops->alloc(&local->hw, debugfsdir); in rate_control_alloc()
281 sband = local->hw.wiphy->bands[band]; in ieee80211_check_rate_mask()
328 static void __rate_control_send_low(struct ieee80211_hw *hw, in __rate_control_send_low() argument
336 ieee80211_chandef_rate_flags(&hw->conf.chandef); in __rate_control_send_low()
365 1 : hw->max_rate_tries; in __rate_control_send_low()
381 __rate_control_send_low(txrc->hw, sband, pubsta, info, in rate_control_send_low()
864 sband = sdata->local->hw.wiphy->bands[info->band]; in ieee80211_get_tx_rates()
870 __rate_control_send_low(&sdata->local->hw, sband, sta, info, in ieee80211_get_tx_rates()
897 if (ieee80211_hw_check(&sdata->local->hw, HAS_RATE_CONTROL)) in rate_control_get_rate()
913 if (ieee80211_hw_check(&sdata->local->hw, SUPPORTS_RC_TABLE)) in rate_control_get_rate()
921 int rate_control_set_rates(struct ieee80211_hw *hw, in rate_control_set_rates() argument
944 drv_sta_rate_tbl_update(hw_to_local(hw), sta->sdata, pubsta); in rate_control_set_rates()
962 if (ieee80211_hw_check(&local->hw, HAS_RATE_CONTROL)) { in ieee80211_init_rate_ctrl_alg()
970 wiphy_warn(local->hw.wiphy, in ieee80211_init_rate_ctrl_alg()
978 wiphy_debug(local->hw.wiphy, "Selected rate control algorithm '%s'\n", in ieee80211_init_rate_ctrl_alg()