Lines Matching defs:local

66 	struct ieee80211_local *local = sdata->local;
71 skb = dev_alloc_skb(sizeof(*mgmt) + local->hw.extra_tx_headroom);
76 skb_reserve(skb, local->hw.extra_tx_headroom);
115 struct ieee80211_local *local = sdata->local;
120 skb = dev_alloc_skb(sizeof(*bar) + local->hw.extra_tx_headroom);
124 skb_reserve(skb, local->hw.extra_tx_headroom);
168 if (atomic_inc_return(&sdata->local->agg_queue_stop[queue]) == 1)
170 &sdata->local->hw, queue,
181 if (atomic_dec_return(&sdata->local->agg_queue_stop[queue]) == 0)
183 &sdata->local->hw, queue,
202 fq = &sdata->local->fq;
231 schedule_and_wake_txq(sta->sdata->local, txqi);
237 * splice packets from the STA's pending to the local pending,
244 struct ieee80211_local *local = sdata->local;
256 spin_lock_irqsave(&local->queue_stop_reason_lock, flags);
259 &local->pending[queue]);
260 spin_unlock_irqrestore(&local->queue_stop_reason_lock, flags);
302 struct ieee80211_local *local = sta->local;
352 ret = drv_ampdu_action(local, sta->sdata, &params);
396 if (!local->in_reconfig)
404 ret = drv_ampdu_action(local, sta->sdata, &params);
456 struct ieee80211_local *local = sta->local;
471 buf_size = local->hw.max_tx_aggregation_subframes;
493 struct ieee80211_local *local = sta->local;
526 ret = drv_ampdu_action(local, sdata, &params);
591 struct ieee80211_local *local = sdata->local;
605 if (WARN_ON_ONCE(!local->ops->ampdu_action))
609 !ieee80211_hw_check(&local->hw, AMPDU_AGGREGATION) ||
610 ieee80211_hw_check(&local->hw, TX_AMPDU_SETUP_IN_HW))
725 ieee80211_queue_work(&local->hw, &sta->ampdu_mlme.work);
734 static void ieee80211_agg_tx_operational(struct ieee80211_local *local,
755 drv_ampdu_action(local, sta->sdata, &params);
781 struct ieee80211_local *local = sdata->local;
793 ieee80211_agg_tx_operational(local, sta, tid);
826 struct ieee80211_local *local = sdata->local;
838 ieee80211_queue_work(&local->hw, &sta->ampdu_mlme.work);
862 struct ieee80211_local *local = sdata->local;
868 if (!local->ops->ampdu_action)
892 ieee80211_queue_work(&local->hw, &sta->ampdu_mlme.work);
940 struct ieee80211_local *local = sdata->local;
952 ieee80211_queue_work(&local->hw, &sta->ampdu_mlme.work);
959 void ieee80211_process_addba_resp(struct ieee80211_local *local,
973 buf_size = min(buf_size, local->hw.max_tx_aggregation_subframes);
1027 ieee80211_agg_tx_operational(local, sta, tid);