Lines Matching defs:local
25 struct ieee80211_local *local = hw_to_local(hw);
31 &local->skb_queue : &local->skb_queue_unreliable, skb);
32 tmp = skb_queue_len(&local->skb_queue) +
33 skb_queue_len(&local->skb_queue_unreliable);
35 (skb = skb_dequeue(&local->skb_queue_unreliable))) {
38 I802_DEBUG_INC(local->tx_status_drop);
40 tasklet_schedule(&local->tasklet);
44 static void ieee80211_handle_filtered_frame(struct ieee80211_local *local,
55 ieee80211_free_txskb(&local->hw, skb);
150 if (!timer_pending(&local->sta_cleanup))
151 mod_timer(&local->sta_cleanup,
161 ieee80211_add_pending_skb(local, skb);
169 ieee80211_free_txskb(&local->hw, skb);
187 struct ieee80211_local *local = sta->local;
227 ieee80211_queue_work(&local->hw, &sdata->recalc_smps);
292 ieee80211_add_tx_radiotap_header(struct ieee80211_local *local,
338 sband = local->hw.wiphy->bands[info->band];
384 u16 known = local->hw.radiotap_vht_details &
524 u16 known = local->hw.radiotap_vht_details &
571 static void ieee80211_tdls_td_tx_handle(struct ieee80211_local *local,
592 WARN_ON(!ieee80211_hw_check(&local->hw, REPORTS_TX_ACK_STATUS));
607 ieee80211_sdata_from_skb(struct ieee80211_local *local, struct sk_buff *skb)
612 list_for_each_entry_rcu(sdata, &local->interfaces, list) {
623 return rcu_dereference(local->p2p_sdata);
626 static void ieee80211_report_ack_skb(struct ieee80211_local *local,
635 spin_lock_irqsave(&local->ack_status_lock, flags);
636 skb = idr_remove(&local->ack_status_frames, info->ack_frame_id);
637 spin_unlock_irqrestore(&local->ack_status_lock, flags);
663 sdata = ieee80211_sdata_from_skb(local, skb);
698 static void ieee80211_report_used_skb(struct ieee80211_local *local,
715 sta = sta_info_get_by_addrs(local, hdr->addr1, hdr->addr2);
716 ieee80211_sta_update_pending_airtime(local, sta,
728 sdata = ieee80211_sdata_from_skb(local, skb);
740 ieee80211_tdls_td_tx_handle(local, sdata, skb,
750 wiphy_work_queue(local->hw.wiphy,
763 ieee80211_report_ack_skb(local, skb, acked, dropped,
772 ieee80211_led_tx(local);
800 if (ieee80211_hw_check(&sta->local->hw, REPORTS_LOW_ACK))
864 void ieee80211_tx_monitor(struct ieee80211_local *local, struct sk_buff *skb,
881 ieee80211_add_tx_radiotap_header(local, skb, retry_count,
892 list_for_each_entry_rcu(sdata, &local->interfaces, list) {
927 struct ieee80211_local *local = hw_to_local(hw);
957 if (ieee80211_hw_check(&local->hw, HAS_RATE_CONTROL) &&
1002 ieee80211_handle_filtered_frame(local, sta, skb);
1024 I802_DEBUG_INC(local->dot11TransmittedFrameCount);
1026 I802_DEBUG_INC(local->dot11MulticastTransmittedFrameCount);
1028 I802_DEBUG_INC(local->dot11RetryCount);
1030 I802_DEBUG_INC(local->dot11MultipleRetryCount);
1040 I802_DEBUG_INC(local->dot11TransmittedFragmentCount);
1043 I802_DEBUG_INC(local->dot11FailedCount);
1048 ieee80211_hw_check(&local->hw, REPORTS_TX_ACK_STATUS) &&
1050 local->ps_sdata && !(local->scanning)) {
1052 local->ps_sdata->u.mgd.flags |=
1054 mod_timer(&local->dynamic_ps_timer,
1058 ieee80211_report_used_skb(local, skb, false, status->ack_hwtstamp);
1071 if (!local->monitors && (!send_to_cooked || !local->cooked_mntrs)) {
1080 ieee80211_tx_monitor(local, skb, retry_count, shift,
1087 struct ieee80211_local *local = hw_to_local(hw);
1096 sta = sta_info_get_by_addrs(local, hdr->addr1, hdr->addr2);
1108 struct ieee80211_local *local = hw_to_local(hw);
1130 ieee80211_sta_update_pending_airtime(local, sta,
1154 if (ieee80211_hw_check(&local->hw, REPORTS_TX_ACK_STATUS)) {
1187 ieee80211_handle_filtered_frame(local, sta, skb);
1196 rate_control_tx_status(local, status);
1198 ieee80211s_update_metric(local, sta, status);
1206 I802_DEBUG_INC(local->dot11TransmittedFrameCount);
1208 I802_DEBUG_INC(local->dot11MulticastTransmittedFrameCount);
1210 I802_DEBUG_INC(local->dot11RetryCount);
1212 I802_DEBUG_INC(local->dot11MultipleRetryCount);
1214 I802_DEBUG_INC(local->dot11FailedCount);
1221 ieee80211_report_used_skb(local, skb, false, status->ack_hwtstamp);
1233 struct ieee80211_local *local = hw_to_local(hw);
1240 rate_control_tx_status(local, &status);
1242 if (ieee80211_hw_check(&local->hw, HAS_RATE_CONTROL))
1257 struct ieee80211_local *local = hw_to_local(hw);
1260 ieee80211_report_used_skb(local, skb, true, kt);