Lines Matching defs:local

32 	struct ieee80211_local *local = sta->sdata->local;
52 sband = local->hw.wiphy->bands[chanctx_conf->def.chan->band];
69 void rate_control_tx_status(struct ieee80211_local *local,
73 struct rate_control_ref *ref = local->rate_ctrl;
91 void rate_control_rate_update(struct ieee80211_local *local,
95 struct rate_control_ref *ref = local->rate_ctrl;
115 drv_sta_rc_update(local, sta->sdata, &sta->sta, changed);
232 rate_control_alloc(const char *name, struct ieee80211_local *local)
243 ref->priv = ref->ops->alloc(&local->hw);
253 static void rate_control_free(struct ieee80211_local *local,
259 debugfs_remove_recursive(local->debugfs.rcdir);
260 local->debugfs.rcdir = NULL;
268 struct ieee80211_local *local = sdata->local;
286 sband = local->hw.wiphy->bands[band];
883 sband = sdata->local->hw.wiphy->bands[info->band];
889 __rate_control_send_low(&sdata->local->hw, sband, sta, info,
901 struct rate_control_ref *ref = sdata->local->rate_ctrl;
916 if (ieee80211_hw_check(&sdata->local->hw, HAS_RATE_CONTROL))
932 if (ieee80211_hw_check(&sdata->local->hw, SUPPORTS_RC_TABLE))
972 int ieee80211_init_rate_ctrl_alg(struct ieee80211_local *local,
979 if (local->open_count)
982 if (ieee80211_hw_check(&local->hw, HAS_RATE_CONTROL)) {
983 if (WARN_ON(!local->ops->set_rts_threshold))
988 ref = rate_control_alloc(name, local);
990 wiphy_warn(local->hw.wiphy,
995 WARN_ON(local->rate_ctrl);
996 local->rate_ctrl = ref;
998 wiphy_debug(local->hw.wiphy, "Selected rate control algorithm '%s'\n",
1004 void rate_control_deinitialize(struct ieee80211_local *local)
1008 ref = local->rate_ctrl;
1013 local->rate_ctrl = NULL;
1014 rate_control_free(local, ref);