Lines Matching defs:local

117 ieee80211_rx_radiotap_hdrlen(struct ieee80211_local *local,
137 if (ieee80211_hw_check(&local->hw, SIGNAL_DBM))
160 if (local->hw.radiotap_timestamp.units_pos >= 0) {
267 ieee80211_queue_work(&sdata->local->hw, &sdata->work);
276 ieee80211_add_rx_radiotap_header(struct ieee80211_local *local,
318 if (!(has_fcs && ieee80211_hw_check(&local->hw, RX_INCLUDES_FCS)))
364 ieee80211_calculate_rx_timestamp(local, status,
372 if (has_fcs && ieee80211_hw_check(&local->hw, RX_INCLUDES_FCS))
424 if (ieee80211_hw_check(&local->hw, SIGNAL_DBM) &&
455 *pos++ = local->hw.radiotap_mcs_details;
503 u16 known = local->hw.radiotap_vht_details;
544 if (local->hw.radiotap_timestamp.units_pos >= 0) {
558 if (local->hw.radiotap_timestamp.accuracy >= 0) {
559 accuracy = local->hw.radiotap_timestamp.accuracy;
565 *pos++ = local->hw.radiotap_timestamp.units_pos;
690 ieee80211_make_monitor_skb(struct ieee80211_local *local,
700 rt_hdrlen = ieee80211_rx_radiotap_hdrlen(local, status, *origskb);
732 ieee80211_add_rx_radiotap_header(local, skb, rate, rt_hdrlen, true);
748 ieee80211_rx_monitor(struct ieee80211_local *local, struct sk_buff *origskb,
757 rcu_dereference(local->monitor_sdata);
789 if (ieee80211_hw_check(&local->hw, RX_INCLUDES_FCS)) {
811 if (!local->monitors || (status->flag & RX_FLAG_SKIP_MONITOR)) {
823 list_for_each_entry_rcu(sdata, &local->mon_list, u.mntr.list) {
825 &local->mon_list);
828 monskb = ieee80211_make_monitor_skb(local, &origskb,
1351 struct ieee80211_local *local = rx->local;
1403 ieee80211_queue_work(&local->hw, &rx->sdata->work);
1449 I802_DEBUG_INC(rx->local->dot11FrameDuplicateCount);
1518 struct ieee80211_local *local;
1522 local = rx->local;
1526 if (!local->pspolling)
1538 local->pspolling = false;
1543 ieee80211_send_pspoll(local, rx->sdata);
1551 struct ieee80211_local *local = sdata->local;
1563 if (!ieee80211_hw_check(&local->hw, AP_LINK_PS))
1564 drv_sta_notify(local, sdata, STA_NOTIFY_SLEEP, &sta->sta);
1577 spin_lock(&local->active_txq_lock[txq->ac]);
1580 spin_unlock(&local->active_txq_lock[txq->ac]);
1617 WARN_ON(!ieee80211_hw_check(&sta->local->hw, AP_LINK_PS));
1694 if (ieee80211_hw_check(&sdata->local->hw, AP_LINK_PS))
1763 * match the current local configuration when processed.
1803 if (!ieee80211_hw_check(&sta->local->hw, AP_LINK_PS) &&
1829 I802_DEBUG_INC(rx->local->rx_handlers_drop_nullfunc);
2264 I802_DEBUG_INC(rx->local->rx_handlers_fragments);
2316 I802_DEBUG_INC(rx->local->rx_handlers_drop_defrag);
2374 I802_DEBUG_INC(rx->local->rx_expand_skb_head_defrag);
2377 I802_DEBUG_INC(rx->local->rx_handlers_drop_defrag);
2388 ieee80211_led_rx(rx->local);
2605 /* deliver to local stack */
2650 * local net stack and back to the wireless medium
2663 * directly to it and do not pass it to local
2759 rx->local->hw.extra_tx_headroom,
2839 struct ieee80211_local *local = rx->local;
2916 if (ieee80211_queue_stopped(&local->hw, q)) {
2935 fwd_skb = skb_copy_expand(skb, local->tx_headroom +
2968 ieee80211_add_pending_skb(local, fwd_skb);
2980 struct ieee80211_local *local = rx->local;
3024 skb_queue_tail(&local->skb_queue_tdls_chsw, rx->skb);
3025 schedule_work(&local->tdls_chsw_work);
3043 if (!ieee80211_hw_check(&local->hw, SUPPORTS_DYNAMIC_PS) &&
3044 local->ps_sdata && local->hw.conf.dynamic_ps_timeout > 0 &&
3047 (!local->scanning &&
3049 mod_timer(&local->dynamic_ps_timer, jiffies +
3050 msecs_to_jiffies(local->hw.conf.dynamic_ps_timeout));
3112 drv_event_callback(rx->local, rx->sdata, &event);
3130 struct ieee80211_local *local = sdata->local;
3150 skb = dev_alloc_skb(sizeof(*resp) + local->hw.extra_tx_headroom);
3154 skb_reserve(skb, local->hw.extra_tx_headroom);
3196 if (ieee80211_hw_check(&rx->local->hw, SIGNAL_DBM) &&
3200 cfg80211_report_obss_beacon_khz(rx->local->hw.wiphy,
3216 struct ieee80211_local *local = rx->local;
3284 sband = rx->local->hw.wiphy->bands[status->band];
3286 rate_control_rate_update(local, sband, rx->sta,
3318 sband = rx->local->hw.wiphy->bands[status->band];
3323 rate_control_rate_update(local, sband, rx->sta,
3509 ieee80211_queue_work(&local->hw, &sdata->work);
3532 if (ieee80211_hw_check(&rx->local->hw, SIGNAL_DBM) &&
3586 struct ieee80211_local *local = rx->local;
3617 nskb = skb_copy_expand(rx->skb, local->hw.extra_tx_headroom, 0,
3634 if (ieee80211_hw_check(&local->hw, QUEUE_CONTROL))
3636 local->hw.offchannel_tx_hw_queue;
3660 ieee80211_queue_work(&rx->local->hw, &sdata->work);
3721 ieee80211_queue_work(&rx->local->hw, &sdata->work);
3732 struct ieee80211_local *local = rx->local;
3747 if (!local->cooked_mntrs)
3753 needed_headroom = ieee80211_rx_radiotap_hdrlen(local, status, skb);
3760 ieee80211_add_rx_radiotap_header(local, skb, rate, needed_headroom,
3768 list_for_each_entry_rcu(sdata, &local->interfaces, list) {
3803 I802_DEBUG_INC(rx->sdata->local->rx_handlers_drop);
3814 sband = rx->local->hw.wiphy->bands[status->band];
3822 I802_DEBUG_INC(rx->sdata->local->rx_handlers_drop);
3828 I802_DEBUG_INC(rx->sdata->local->rx_handlers_queued);
3852 spin_lock_bh(&rx->local->rx_path_lock);
3895 spin_unlock_bh(&rx->local->rx_path_lock);
3936 .local = sta->local,
3959 drv_event_callback(rx.local, rx.sdata, &event);
3988 rx.local = sta->local;
4190 struct ieee80211_local *local = sdata->local;
4207 fastrx.uses_rss = ieee80211_hw_check(&local->hw, USES_RSS);
4210 if (ieee80211_hw_check(&local->hw, AMPDU_AGGREGATION) &&
4211 !ieee80211_hw_check(&local->hw, SUPPORTS_REORDERING_BUFFER))
4238 if (ieee80211_hw_check(&local->hw, PS_NULLFUNC_STACK))
4240 if (ieee80211_hw_check(&local->hw, SUPPORTS_PS) &&
4241 !ieee80211_hw_check(&local->hw, SUPPORTS_DYNAMIC_PS))
4249 if (!ieee80211_hw_check(&local->hw, AP_LINK_PS))
4334 struct ieee80211_local *local = sdata->local;
4337 lockdep_assert_held(&local->sta_mtx);
4339 list_for_each_entry(sta, &local->sta_list, list) {
4349 struct ieee80211_local *local = sdata->local;
4351 mutex_lock(&local->sta_mtx);
4353 mutex_unlock(&local->sta_mtx);
4544 /* deliver to local stack */
4568 struct ieee80211_local *local = rx->local;
4595 wiphy_debug(local->hw.wiphy,
4617 struct ieee80211_local *local = hw_to_local(hw);
4629 rx.local = local;
4633 I802_DEBUG_INC(local->dot11ReceivedFragmentCount);
4657 ieee80211_scan_rx(local, skb);
4672 for_each_sta_info(local, hdr->addr2, sta, tmp) {
4697 list_for_each_entry_rcu(sdata, &local->interfaces, list) {
4742 struct ieee80211_local *local = hw_to_local(hw);
4752 sband = local->hw.wiphy->bands[status->band];
4763 if (unlikely(local->quiescing || local->suspended))
4767 if (unlikely(local->in_reconfig))
4774 if (WARN_ON(!local->started))
4837 skb = ieee80211_rx_monitor(local, skb, rate);
4841 ieee80211_tpt_led_trig_rx(local,
4885 struct ieee80211_local *local = hw_to_local(hw);
4890 skb_queue_tail(&local->skb_queue, skb);
4891 tasklet_schedule(&local->tasklet);