Lines Matching refs:local

118 ieee80211_rx_radiotap_hdrlen(struct ieee80211_local *local,
135 if (ieee80211_hw_check(&local->hw, SIGNAL_DBM))
158 if (local->hw.radiotap_timestamp.units_pos >= 0) {
233 wiphy_work_queue(sdata->local->hw.wiphy, &sdata->work);
296 ieee80211_add_rx_radiotap_header(struct ieee80211_local *local,
337 if (!(has_fcs && ieee80211_hw_check(&local->hw, RX_INCLUDES_FCS)))
383 ieee80211_calculate_rx_timestamp(local, status,
391 if (has_fcs && ieee80211_hw_check(&local->hw, RX_INCLUDES_FCS))
443 if (ieee80211_hw_check(&local->hw, SIGNAL_DBM) &&
474 *pos = local->hw.radiotap_mcs_details;
527 u16 known = local->hw.radiotap_vht_details;
568 if (local->hw.radiotap_timestamp.units_pos >= 0) {
591 if (local->hw.radiotap_timestamp.accuracy >= 0) {
592 accuracy = local->hw.radiotap_timestamp.accuracy;
598 *pos++ = local->hw.radiotap_timestamp.units_pos;
707 ieee80211_make_monitor_skb(struct ieee80211_local *local,
717 rt_hdrlen = ieee80211_rx_radiotap_hdrlen(local, status, *origskb);
750 ieee80211_add_rx_radiotap_header(local, skb, rate, rt_hdrlen, true);
766 ieee80211_rx_monitor(struct ieee80211_local *local, struct sk_buff *origskb,
775 rcu_dereference(local->monitor_sdata);
810 if (ieee80211_hw_check(&local->hw, RX_INCLUDES_FCS)) {
832 if (!local->monitors || (status->flag & RX_FLAG_SKIP_MONITOR)) {
844 list_for_each_entry_rcu(sdata, &local->mon_list, u.mntr.list) {
846 &local->mon_list);
849 monskb = ieee80211_make_monitor_skb(local, &origskb,
1464 I802_DEBUG_INC(rx->local->dot11FrameDuplicateCount);
1532 struct ieee80211_local *local;
1536 local = rx->local;
1540 if (!local->pspolling)
1552 local->pspolling = false;
1557 ieee80211_send_pspoll(local, rx->sdata);
1565 struct ieee80211_local *local = sdata->local;
1577 if (!ieee80211_hw_check(&local->hw, AP_LINK_PS))
1578 drv_sta_notify(local, sdata, STA_NOTIFY_SLEEP, &sta->sta);
1588 spin_lock(&local->active_txq_lock[txq->ac]);
1591 spin_unlock(&local->active_txq_lock[txq->ac]);
1628 WARN_ON(!ieee80211_hw_check(&sta->local->hw, AP_LINK_PS));
1705 if (ieee80211_hw_check(&sdata->local->hw, AP_LINK_PS))
1775 * match the current local configuration when processed.
1816 if (!ieee80211_hw_check(&sta->local->hw, AP_LINK_PS) &&
1842 I802_DEBUG_INC(rx->local->rx_handlers_drop_nullfunc);
2276 I802_DEBUG_INC(rx->local->rx_handlers_fragments);
2328 I802_DEBUG_INC(rx->local->rx_handlers_drop_defrag);
2386 I802_DEBUG_INC(rx->local->rx_expand_skb_head_defrag);
2389 I802_DEBUG_INC(rx->local->rx_handlers_drop_defrag);
2400 ieee80211_led_rx(rx->local);
2648 /* deliver to local stack */
2693 * local net stack and back to the wireless medium
2706 * directly to it and do not pass it to local
2832 struct ieee80211_local *local = sdata->local;
2940 fwd_skb = skb_copy_expand(skb, local->tx_headroom + extra_head +
2997 ieee80211_add_pending_skb(local, fwd_skb);
3073 rx->local->hw.extra_tx_headroom,
3164 struct ieee80211_local *local = rx->local;
3229 if (!ieee80211_hw_check(&local->hw, SUPPORTS_DYNAMIC_PS) &&
3230 local->ps_sdata && local->hw.conf.dynamic_ps_timeout > 0 &&
3233 (!local->scanning &&
3235 mod_timer(&local->dynamic_ps_timer, jiffies +
3236 msecs_to_jiffies(local->hw.conf.dynamic_ps_timeout));
3298 drv_event_callback(rx->local, rx->sdata, &event);
3316 struct ieee80211_local *local = sdata->local;
3336 skb = dev_alloc_skb(sizeof(*resp) + local->hw.extra_tx_headroom);
3340 skb_reserve(skb, local->hw.extra_tx_headroom);
3364 if (!wiphy_ext_feature_isset(rx->local->hw.wiphy,
3368 if (ieee80211_hw_check(&rx->local->hw, DETECTS_COLOR_COLLISION))
3434 if (ieee80211_hw_check(&rx->local->hw, SIGNAL_DBM) &&
3438 cfg80211_report_obss_beacon_khz(rx->local->hw.wiphy,
3458 if (!rx->local->ops->add_twt_setup)
3503 struct ieee80211_local *local = rx->local;
3567 sband = rx->local->hw.wiphy->bands[status->band];
3569 rate_control_rate_update(local, sband, rx->sta, 0,
3601 sband = rx->local->hw.wiphy->bands[status->band];
3606 rate_control_rate_update(local, sband, rx->sta, 0,
3859 if (ieee80211_hw_check(&rx->local->hw, SIGNAL_DBM) &&
3917 struct ieee80211_local *local = rx->local;
3948 nskb = skb_copy_expand(rx->skb, local->hw.extra_tx_headroom, 0,
3965 if (ieee80211_hw_check(&local->hw, QUEUE_CONTROL))
3967 local->hw.offchannel_tx_hw_queue;
4057 struct ieee80211_local *local = rx->local;
4072 if (!local->cooked_mntrs)
4076 needed_headroom = ieee80211_rx_radiotap_hdrlen(local, status, skb);
4083 ieee80211_add_rx_radiotap_header(local, skb, rate, needed_headroom,
4091 list_for_each_entry_rcu(sdata, &local->interfaces, list) {
4129 I802_DEBUG_INC(rx->sdata->local->rx_handlers_queued);
4134 I802_DEBUG_INC(rx->sdata->local->rx_handlers_drop);
4145 sband = rx->local->hw.wiphy->bands[status->band];
4171 spin_lock_bh(&rx->local->rx_path_lock);
4213 spin_unlock_bh(&rx->local->rx_path_lock);
4274 rx->local = sta->sdata->local;
4328 drv_event_callback(rx.local, rx.sdata, &event);
4338 struct ieee80211_local *local;
4356 local = sta->sdata->local;
4357 WARN_ONCE(local->hw.max_rx_aggregation_subframes > 64,
4359 local->hw.max_rx_aggregation_subframes);
4570 struct ieee80211_local *local = sdata->local;
4590 fastrx.uses_rss = ieee80211_hw_check(&local->hw, USES_RSS);
4593 if (ieee80211_hw_check(&local->hw, AMPDU_AGGREGATION) &&
4594 !ieee80211_hw_check(&local->hw, SUPPORTS_REORDERING_BUFFER))
4621 if (ieee80211_hw_check(&local->hw, PS_NULLFUNC_STACK))
4623 if (ieee80211_hw_check(&local->hw, SUPPORTS_PS) &&
4624 !ieee80211_hw_check(&local->hw, SUPPORTS_DYNAMIC_PS))
4632 if (!ieee80211_hw_check(&local->hw, AP_LINK_PS))
4708 drv_sta_set_decap_offload(local, sdata, &sta->sta, assign);
4734 struct ieee80211_local *local = sdata->local;
4737 lockdep_assert_wiphy(local->hw.wiphy);
4739 list_for_each_entry(sta, &local->sta_list, list) {
4749 struct ieee80211_local *local = sdata->local;
4751 lockdep_assert_wiphy(local->hw.wiphy);
4855 /* deliver to local stack */
5015 struct ieee80211_local *local = rx->local;
5047 wiphy_debug(local->hw.wiphy,
5092 struct ieee80211_local *local = hw_to_local(hw);
5101 rx.local = local;
5105 I802_DEBUG_INC(local->dot11ReceivedFragmentCount);
5180 struct ieee80211_local *local = hw_to_local(hw);
5193 rx.local = local;
5198 I802_DEBUG_INC(local->dot11ReceivedFragmentCount);
5222 ieee80211_scan_rx(local, skb);
5262 for_each_sta_info(local, hdr->addr2, sta, tmp) {
5296 list_for_each_entry_rcu(sdata, &local->interfaces, list) {
5339 struct ieee80211_local *local = hw_to_local(hw);
5350 sband = local->hw.wiphy->bands[status->band];
5361 if (unlikely(local->quiescing || local->suspended))
5365 if (unlikely(local->in_reconfig))
5372 if (WARN_ON(!local->started))
5450 skb = ieee80211_rx_monitor(local, skb, rate);
5454 ieee80211_tpt_led_trig_rx(local, skb->len);
5501 struct ieee80211_local *local = hw_to_local(hw);
5506 skb_queue_tail(&local->skb_queue, skb);
5507 tasklet_schedule(&local->tasklet);