Lines Matching defs:local

117 ieee80211_rx_radiotap_hdrlen(struct ieee80211_local *local,
134 if (ieee80211_hw_check(&local->hw, SIGNAL_DBM))
157 if (local->hw.radiotap_timestamp.units_pos >= 0) {
232 wiphy_work_queue(sdata->local->hw.wiphy, &sdata->work);
295 ieee80211_add_rx_radiotap_header(struct ieee80211_local *local,
336 if (!(has_fcs && ieee80211_hw_check(&local->hw, RX_INCLUDES_FCS)))
382 ieee80211_calculate_rx_timestamp(local, status,
390 if (has_fcs && ieee80211_hw_check(&local->hw, RX_INCLUDES_FCS))
442 if (ieee80211_hw_check(&local->hw, SIGNAL_DBM) &&
473 *pos = local->hw.radiotap_mcs_details;
526 u16 known = local->hw.radiotap_vht_details;
567 if (local->hw.radiotap_timestamp.units_pos >= 0) {
581 if (local->hw.radiotap_timestamp.accuracy >= 0) {
582 accuracy = local->hw.radiotap_timestamp.accuracy;
588 *pos++ = local->hw.radiotap_timestamp.units_pos;
697 ieee80211_make_monitor_skb(struct ieee80211_local *local,
707 rt_hdrlen = ieee80211_rx_radiotap_hdrlen(local, status, *origskb);
740 ieee80211_add_rx_radiotap_header(local, skb, rate, rt_hdrlen, true);
756 ieee80211_rx_monitor(struct ieee80211_local *local, struct sk_buff *origskb,
765 rcu_dereference(local->monitor_sdata);
800 if (ieee80211_hw_check(&local->hw, RX_INCLUDES_FCS)) {
822 if (!local->monitors || (status->flag & RX_FLAG_SKIP_MONITOR)) {
834 list_for_each_entry_rcu(sdata, &local->mon_list, u.mntr.list) {
836 &local->mon_list);
839 monskb = ieee80211_make_monitor_skb(local, &origskb,
1437 I802_DEBUG_INC(rx->local->dot11FrameDuplicateCount);
1505 struct ieee80211_local *local;
1509 local = rx->local;
1513 if (!local->pspolling)
1525 local->pspolling = false;
1530 ieee80211_send_pspoll(local, rx->sdata);
1538 struct ieee80211_local *local = sdata->local;
1550 if (!ieee80211_hw_check(&local->hw, AP_LINK_PS))
1551 drv_sta_notify(local, sdata, STA_NOTIFY_SLEEP, &sta->sta);
1561 spin_lock(&local->active_txq_lock[txq->ac]);
1564 spin_unlock(&local->active_txq_lock[txq->ac]);
1601 WARN_ON(!ieee80211_hw_check(&sta->local->hw, AP_LINK_PS));
1678 if (ieee80211_hw_check(&sdata->local->hw, AP_LINK_PS))
1748 * match the current local configuration when processed.
1789 if (!ieee80211_hw_check(&sta->local->hw, AP_LINK_PS) &&
1815 I802_DEBUG_INC(rx->local->rx_handlers_drop_nullfunc);
2249 I802_DEBUG_INC(rx->local->rx_handlers_fragments);
2301 I802_DEBUG_INC(rx->local->rx_handlers_drop_defrag);
2359 I802_DEBUG_INC(rx->local->rx_expand_skb_head_defrag);
2362 I802_DEBUG_INC(rx->local->rx_handlers_drop_defrag);
2373 ieee80211_led_rx(rx->local);
2611 /* deliver to local stack */
2656 * local net stack and back to the wireless medium
2669 * directly to it and do not pass it to local
2788 struct ieee80211_local *local = sdata->local;
2896 fwd_skb = skb_copy_expand(skb, local->tx_headroom + extra_head +
2953 ieee80211_add_pending_skb(local, fwd_skb);
3029 rx->local->hw.extra_tx_headroom,
3120 struct ieee80211_local *local = rx->local;
3186 if (!ieee80211_hw_check(&local->hw, SUPPORTS_DYNAMIC_PS) &&
3187 local->ps_sdata && local->hw.conf.dynamic_ps_timeout > 0 &&
3190 (!local->scanning &&
3192 mod_timer(&local->dynamic_ps_timer, jiffies +
3193 msecs_to_jiffies(local->hw.conf.dynamic_ps_timeout));
3255 drv_event_callback(rx->local, rx->sdata, &event);
3273 struct ieee80211_local *local = sdata->local;
3293 skb = dev_alloc_skb(sizeof(*resp) + local->hw.extra_tx_headroom);
3297 skb_reserve(skb, local->hw.extra_tx_headroom);
3321 if (!wiphy_ext_feature_isset(rx->local->hw.wiphy,
3325 if (ieee80211_hw_check(&rx->local->hw, DETECTS_COLOR_COLLISION))
3391 if (ieee80211_hw_check(&rx->local->hw, SIGNAL_DBM) &&
3395 cfg80211_report_obss_beacon_khz(rx->local->hw.wiphy,
3418 if (!rx->local->ops->add_twt_setup)
3463 struct ieee80211_local *local = rx->local;
3527 sband = rx->local->hw.wiphy->bands[status->band];
3529 rate_control_rate_update(local, sband, rx->sta, 0,
3561 sband = rx->local->hw.wiphy->bands[status->band];
3566 rate_control_rate_update(local, sband, rx->sta, 0,
3793 if (ieee80211_hw_check(&rx->local->hw, SIGNAL_DBM) &&
3851 struct ieee80211_local *local = rx->local;
3882 nskb = skb_copy_expand(rx->skb, local->hw.extra_tx_headroom, 0,
3899 if (ieee80211_hw_check(&local->hw, QUEUE_CONTROL))
3901 local->hw.offchannel_tx_hw_queue;
3991 struct ieee80211_local *local = rx->local;
4006 if (!local->cooked_mntrs)
4010 needed_headroom = ieee80211_rx_radiotap_hdrlen(local, status, skb);
4017 ieee80211_add_rx_radiotap_header(local, skb, rate, needed_headroom,
4025 list_for_each_entry_rcu(sdata, &local->interfaces, list) {
4063 I802_DEBUG_INC(rx->sdata->local->rx_handlers_queued);
4068 I802_DEBUG_INC(rx->sdata->local->rx_handlers_drop);
4079 sband = rx->local->hw.wiphy->bands[status->band];
4105 spin_lock_bh(&rx->local->rx_path_lock);
4147 spin_unlock_bh(&rx->local->rx_path_lock);
4208 rx->local = sta->sdata->local;
4262 drv_event_callback(rx.local, rx.sdata, &event);
4272 struct ieee80211_local *local;
4290 local = sta->sdata->local;
4291 WARN_ONCE(local->hw.max_rx_aggregation_subframes > 64,
4293 local->hw.max_rx_aggregation_subframes);
4504 struct ieee80211_local *local = sdata->local;
4524 fastrx.uses_rss = ieee80211_hw_check(&local->hw, USES_RSS);
4527 if (ieee80211_hw_check(&local->hw, AMPDU_AGGREGATION) &&
4528 !ieee80211_hw_check(&local->hw, SUPPORTS_REORDERING_BUFFER))
4555 if (ieee80211_hw_check(&local->hw, PS_NULLFUNC_STACK))
4557 if (ieee80211_hw_check(&local->hw, SUPPORTS_PS) &&
4558 !ieee80211_hw_check(&local->hw, SUPPORTS_DYNAMIC_PS))
4566 if (!ieee80211_hw_check(&local->hw, AP_LINK_PS))
4642 drv_sta_set_decap_offload(local, sdata, &sta->sta, assign);
4668 struct ieee80211_local *local = sdata->local;
4671 lockdep_assert_held(&local->sta_mtx);
4673 list_for_each_entry(sta, &local->sta_list, list) {
4683 struct ieee80211_local *local = sdata->local;
4685 mutex_lock(&local->sta_mtx);
4687 mutex_unlock(&local->sta_mtx);
4789 /* deliver to local stack */
4949 struct ieee80211_local *local = rx->local;
4981 wiphy_debug(local->hw.wiphy,
5026 struct ieee80211_local *local = hw_to_local(hw);
5035 rx.local = local;
5039 I802_DEBUG_INC(local->dot11ReceivedFragmentCount);
5114 struct ieee80211_local *local = hw_to_local(hw);
5127 rx.local = local;
5132 I802_DEBUG_INC(local->dot11ReceivedFragmentCount);
5156 ieee80211_scan_rx(local, skb);
5197 for_each_sta_info(local, hdr->addr2, sta, tmp) {
5231 list_for_each_entry_rcu(sdata, &local->interfaces, list) {
5274 struct ieee80211_local *local = hw_to_local(hw);
5285 sband = local->hw.wiphy->bands[status->band];
5296 if (unlikely(local->quiescing || local->suspended))
5300 if (unlikely(local->in_reconfig))
5307 if (WARN_ON(!local->started))
5385 skb = ieee80211_rx_monitor(local, skb, rate);
5389 ieee80211_tpt_led_trig_rx(local, skb->len);
5436 struct ieee80211_local *local = hw_to_local(hw);
5441 skb_queue_tail(&local->skb_queue, skb);
5442 tasklet_schedule(&local->tasklet);