Lines Matching defs:local

27 	struct ieee80211_local *local;
31 local = sdata->local;
33 mutex_lock(&local->mtx);
39 mutex_unlock(&local->mtx);
45 struct ieee80211_local *local = sdata->local;
47 bool chan_switch = local->hw.wiphy->features &
49 bool wider_band = ieee80211_hw_check(&local->hw, TDLS_WIDER_BW) &&
51 bool buffer_sta = ieee80211_hw_check(&local->hw,
79 struct wiphy *wiphy = sdata->local->hw.wiphy;
85 ch = ieee80211_get_channel(sdata->local->hw.wiphy, i);
344 !cfg80211_reg_can_beacon_relax(sdata->local->hw.wiphy, &uc,
367 struct ieee80211_local *local = sdata->local;
402 if (local->hw.queues >= IEEE80211_NUM_ACS &&
428 mutex_lock(&local->sta_mtx);
434 mutex_unlock(&local->sta_mtx);
531 mutex_unlock(&local->sta_mtx);
547 struct ieee80211_local *local = sdata->local;
558 mutex_lock(&local->sta_mtx);
563 mutex_unlock(&local->sta_mtx);
583 if (local->hw.queues >= IEEE80211_NUM_ACS && sta->sta.wme)
634 mutex_unlock(&local->sta_mtx);
868 struct ieee80211_local *local = sdata->local;
873 local->hw.extra_tx_headroom +
892 skb_reserve(skb, local->hw.extra_tx_headroom);
902 ret = ieee80211_prep_tdls_encap_data(local->hw.wiphy,
908 ret = ieee80211_prep_tdls_direct(local->hw.wiphy, sdata->dev,
1027 ieee80211_hw_check(&sdata->local->hw, REPORTS_TX_ACK_STATUS)) {
1074 struct ieee80211_local *local = sdata->local;
1086 mutex_lock(&local->mtx);
1112 ieee80211_flush_queues(local, sdata, false);
1114 mutex_unlock(&local->mtx);
1123 mutex_lock(&local->mtx);
1125 mutex_unlock(&local->mtx);
1129 ieee80211_queue_delayed_work(&sdata->local->hw,
1135 mutex_unlock(&local->mtx);
1147 struct ieee80211_local *local = sdata->local;
1157 ieee80211_stop_vif_queues(local, sdata,
1159 ieee80211_flush_queues(local, sdata, false);
1180 ieee80211_wake_vif_queues(local, sdata,
1224 drv_mgd_protect_tdls_discover(sdata->local, sdata);
1250 struct ieee80211_local *local = sdata->local;
1256 mutex_lock(&local->chanctx_mtx);
1258 lockdep_is_held(&local->chanctx_mtx));
1261 sband = local->hw.wiphy->bands[conf->def.chan->band];
1263 ieee80211_recalc_chanctx_chantype(local, ctx);
1274 rate_control_rate_update(local, sband, sta,
1281 ieee80211_recalc_chanctx_chantype(local, ctx);
1286 mutex_unlock(&local->chanctx_mtx);
1295 list_for_each_entry_rcu(sta, &sdata->local->sta_list, list) {
1346 struct ieee80211_local *local = sdata->local;
1370 mutex_lock(&local->mtx);
1381 mutex_lock(&local->sta_mtx);
1384 mutex_unlock(&local->sta_mtx);
1393 mutex_unlock(&local->sta_mtx);
1410 tasklet_kill(&local->tx_pending_tasklet);
1412 ieee80211_flush_queues(local, sdata, false);
1416 mutex_lock(&local->sta_mtx);
1418 mutex_unlock(&local->sta_mtx);
1433 ieee80211_queue_work(&sdata->local->hw,
1436 mutex_unlock(&local->mtx);
1563 struct ieee80211_local *local = sdata->local;
1573 mutex_lock(&local->sta_mtx);
1597 ret = drv_tdls_channel_switch(local, sdata, &sta->sta, oper_class,
1603 mutex_unlock(&local->sta_mtx);
1614 struct ieee80211_local *local = sdata->local;
1617 mutex_lock(&local->sta_mtx);
1632 drv_tdls_cancel_channel_switch(local, sdata, &sta->sta);
1636 mutex_unlock(&local->sta_mtx);
1686 struct ieee80211_local *local = sdata->local;
1705 mutex_lock(&local->sta_mtx);
1757 drv_tdls_recv_channel_switch(sdata->local, sdata, &params);
1764 mutex_unlock(&local->sta_mtx);
1773 struct ieee80211_local *local = sdata->local;
1826 chan = ieee80211_get_channel(sdata->local->hw.wiphy, freq);
1865 if (!cfg80211_reg_can_beacon_relax(sdata->local->hw.wiphy, &chandef,
1871 mutex_lock(&local->sta_mtx);
1911 drv_tdls_recv_channel_switch(sdata->local, sdata, &params);
1918 mutex_unlock(&local->sta_mtx);
1928 struct wiphy *wiphy = sdata->local->hw.wiphy;
1962 list_for_each_entry_rcu(sta, &sdata->local->sta_list, list) {
1976 struct ieee80211_local *local =
1983 while ((skb = skb_dequeue(&local->skb_queue_tdls_chsw))) {
1985 list_for_each_entry(sdata, &local->interfaces, list) {