• Home
  • Raw
  • Download

Lines Matching refs:hw

45 	return &local->hw;  in wiphy_to_ieee80211_hw()
128 __le16 ieee80211_generic_frame_duration(struct ieee80211_hw *hw, in ieee80211_generic_frame_duration() argument
155 __le16 ieee80211_rts_duration(struct ieee80211_hw *hw, in ieee80211_rts_duration() argument
159 struct ieee80211_local *local = hw_to_local(hw); in ieee80211_rts_duration()
167 sband = local->hw.wiphy->bands[frame_txctl->band]; in ieee80211_rts_duration()
198 __le16 ieee80211_ctstoself_duration(struct ieee80211_hw *hw, in ieee80211_ctstoself_duration() argument
203 struct ieee80211_local *local = hw_to_local(hw); in ieee80211_ctstoself_duration()
211 sband = local->hw.wiphy->bands[frame_txctl->band]; in ieee80211_ctstoself_duration()
313 if (local->hw.queues < IEEE80211_NUM_ACS) in _ieee80211_wake_txqs()
316 for (i = 0; i < local->hw.queues; i++) { in _ieee80211_wake_txqs()
356 if (local->hw.queues < IEEE80211_NUM_ACS) in ieee80211_propagate_queue_wake()
381 static void __ieee80211_wake_queue(struct ieee80211_hw *hw, int queue, in __ieee80211_wake_queue() argument
386 struct ieee80211_local *local = hw_to_local(hw); in __ieee80211_wake_queue()
390 if (WARN_ON(queue >= hw->queues)) in __ieee80211_wake_queue()
433 void ieee80211_wake_queue_by_reason(struct ieee80211_hw *hw, int queue, in ieee80211_wake_queue_by_reason() argument
437 struct ieee80211_local *local = hw_to_local(hw); in ieee80211_wake_queue_by_reason()
441 __ieee80211_wake_queue(hw, queue, reason, refcounted, &flags); in ieee80211_wake_queue_by_reason()
445 void ieee80211_wake_queue(struct ieee80211_hw *hw, int queue) in ieee80211_wake_queue() argument
447 ieee80211_wake_queue_by_reason(hw, queue, in ieee80211_wake_queue()
453 static void __ieee80211_stop_queue(struct ieee80211_hw *hw, int queue, in __ieee80211_stop_queue() argument
457 struct ieee80211_local *local = hw_to_local(hw); in __ieee80211_stop_queue()
463 if (WARN_ON(queue >= hw->queues)) in __ieee80211_stop_queue()
474 if (local->hw.queues < IEEE80211_NUM_ACS) in __ieee80211_stop_queue()
500 void ieee80211_stop_queue_by_reason(struct ieee80211_hw *hw, int queue, in ieee80211_stop_queue_by_reason() argument
504 struct ieee80211_local *local = hw_to_local(hw); in ieee80211_stop_queue_by_reason()
508 __ieee80211_stop_queue(hw, queue, reason, refcounted); in ieee80211_stop_queue_by_reason()
512 void ieee80211_stop_queue(struct ieee80211_hw *hw, int queue) in ieee80211_stop_queue() argument
514 ieee80211_stop_queue_by_reason(hw, queue, in ieee80211_stop_queue()
523 struct ieee80211_hw *hw = &local->hw; in ieee80211_add_pending_skb() local
529 ieee80211_free_txskb(&local->hw, skb); in ieee80211_add_pending_skb()
534 __ieee80211_stop_queue(hw, queue, IEEE80211_QUEUE_STOP_REASON_SKB_ADD, in ieee80211_add_pending_skb()
537 __ieee80211_wake_queue(hw, queue, IEEE80211_QUEUE_STOP_REASON_SKB_ADD, in ieee80211_add_pending_skb()
545 struct ieee80211_hw *hw = &local->hw; in ieee80211_add_pending_skbs() local
555 ieee80211_free_txskb(&local->hw, skb); in ieee80211_add_pending_skbs()
561 __ieee80211_stop_queue(hw, queue, in ieee80211_add_pending_skbs()
568 for (i = 0; i < hw->queues; i++) in ieee80211_add_pending_skbs()
569 __ieee80211_wake_queue(hw, i, in ieee80211_add_pending_skbs()
575 void ieee80211_stop_queues_by_reason(struct ieee80211_hw *hw, in ieee80211_stop_queues_by_reason() argument
580 struct ieee80211_local *local = hw_to_local(hw); in ieee80211_stop_queues_by_reason()
586 for_each_set_bit(i, &queues, hw->queues) in ieee80211_stop_queues_by_reason()
587 __ieee80211_stop_queue(hw, i, reason, refcounted); in ieee80211_stop_queues_by_reason()
592 void ieee80211_stop_queues(struct ieee80211_hw *hw) in ieee80211_stop_queues() argument
594 ieee80211_stop_queues_by_reason(hw, IEEE80211_MAX_QUEUE_MAP, in ieee80211_stop_queues()
600 int ieee80211_queue_stopped(struct ieee80211_hw *hw, int queue) in ieee80211_queue_stopped() argument
602 struct ieee80211_local *local = hw_to_local(hw); in ieee80211_queue_stopped()
606 if (WARN_ON(queue >= hw->queues)) in ieee80211_queue_stopped()
617 void ieee80211_wake_queues_by_reason(struct ieee80211_hw *hw, in ieee80211_wake_queues_by_reason() argument
622 struct ieee80211_local *local = hw_to_local(hw); in ieee80211_wake_queues_by_reason()
628 for_each_set_bit(i, &queues, hw->queues) in ieee80211_wake_queues_by_reason()
629 __ieee80211_wake_queue(hw, i, reason, refcounted, &flags); in ieee80211_wake_queues_by_reason()
634 void ieee80211_wake_queues(struct ieee80211_hw *hw) in ieee80211_wake_queues() argument
636 ieee80211_wake_queues_by_reason(hw, IEEE80211_MAX_QUEUE_MAP, in ieee80211_wake_queues()
648 if (sdata && ieee80211_hw_check(&local->hw, QUEUE_CONTROL)) { in ieee80211_get_vif_queues()
659 queues = BIT(local->hw.queues) - 1; in ieee80211_get_vif_queues()
676 if (!queues || !ieee80211_hw_check(&local->hw, QUEUE_CONTROL)) in __ieee80211_flush_queues()
679 ieee80211_stop_queues_by_reason(&local->hw, queues, in __ieee80211_flush_queues()
685 ieee80211_wake_queues_by_reason(&local->hw, queues, in __ieee80211_flush_queues()
700 ieee80211_stop_queues_by_reason(&local->hw, in ieee80211_stop_vif_queues()
709 ieee80211_wake_queues_by_reason(&local->hw, in ieee80211_wake_vif_queues()
752 struct ieee80211_hw *hw, u32 iter_flags, in ieee80211_iterate_interfaces() argument
757 struct ieee80211_local *local = hw_to_local(hw); in ieee80211_iterate_interfaces()
766 struct ieee80211_hw *hw, u32 iter_flags, in ieee80211_iterate_active_interfaces_atomic() argument
771 struct ieee80211_local *local = hw_to_local(hw); in ieee80211_iterate_active_interfaces_atomic()
781 struct ieee80211_hw *hw, u32 iter_flags, in ieee80211_iterate_active_interfaces_rtnl() argument
786 struct ieee80211_local *local = hw_to_local(hw); in ieee80211_iterate_active_interfaces_rtnl()
810 void ieee80211_iterate_stations_atomic(struct ieee80211_hw *hw, in ieee80211_iterate_stations_atomic() argument
815 struct ieee80211_local *local = hw_to_local(hw); in ieee80211_iterate_stations_atomic()
870 void ieee80211_queue_work(struct ieee80211_hw *hw, struct work_struct *work) in ieee80211_queue_work() argument
872 struct ieee80211_local *local = hw_to_local(hw); in ieee80211_queue_work()
881 void ieee80211_queue_delayed_work(struct ieee80211_hw *hw, in ieee80211_queue_delayed_work() argument
885 struct ieee80211_local *local = hw_to_local(hw); in ieee80211_queue_delayed_work()
1449 if (local->hw.queues < IEEE80211_NUM_ACS) in ieee80211_set_wmm_default()
1558 skb = dev_alloc_skb(local->hw.extra_tx_headroom + IEEE80211_WEP_IV_LEN + in ieee80211_send_auth()
1563 skb_reserve(skb, local->hw.extra_tx_headroom + IEEE80211_WEP_IV_LEN); in ieee80211_send_auth()
1608 skb = dev_alloc_skb(local->hw.extra_tx_headroom + in ieee80211_send_deauth_disassoc()
1613 skb_reserve(skb, local->hw.extra_tx_headroom); in ieee80211_send_deauth_disassoc()
1649 sband = local->hw.wiphy->bands[band]; in ieee80211_build_preq_ies_band()
1897 skb = ieee80211_probereq_get(&local->hw, src, ssid, ssid_len, in ieee80211_build_probe_req()
1929 sband = sdata->local->hw.wiphy->bands[band]; in ieee80211_sta_get_rates()
2002 ieee80211_queue_delayed_work(&local->hw, &local->scan_work, 0); in ieee80211_flush_completed_scan()
2044 cfg80211_shutdown_all_interfaces(local->hw.wiphy); in ieee80211_handle_reconfig_failure()
2097 funcs = kcalloc(sdata->local->hw.max_nan_de_entries + 1, in ieee80211_reconfig_nan()
2130 struct ieee80211_hw *hw = &local->hw; in ieee80211_reconfig() local
2205 drv_set_frag_threshold(local, hw->wiphy->frag_threshold); in ieee80211_reconfig()
2208 drv_set_rts_threshold(local, hw->wiphy->rts_threshold); in ieee80211_reconfig()
2211 drv_set_coverage_class(local, hw->wiphy->coverage_class); in ieee80211_reconfig()
2346 wiphy_ext_feature_isset(sdata->local->hw.wiphy, in ieee80211_reconfig()
2395 if (!(local->hw.conf.flags & IEEE80211_CONF_PS)) { in ieee80211_reconfig()
2453 cfg80211_sched_scan_stopped_rtnl(local->hw.wiphy, 0); in ieee80211_reconfig()
2470 if (ieee80211_hw_check(hw, AMPDU_AGGREGATION)) { in ieee80211_reconfig()
2494 ieee80211_queue_work(&local->hw, &sdata->work); in ieee80211_reconfig()
2497 ieee80211_wake_queues_by_reason(hw, IEEE80211_MAX_QUEUE_MAP, in ieee80211_reconfig()
2981 bool ieee80211_chandef_vht_oper(struct ieee80211_hw *hw, in ieee80211_chandef_vht_oper() argument
3003 if (!ccfs1 && ieee80211_hw_check(hw, SUPPORTS_VHT_EXT_NSS_BW)) in ieee80211_chandef_vht_oper()
3095 sband = local->hw.wiphy->bands[band]; in ieee80211_add_srates_ie()
3140 sband = local->hw.wiphy->bands[band]; in ieee80211_add_ext_srates_ie()
3263 sband = local->hw.wiphy->bands[status->band]; in ieee80211_calculate_rx_timestamp()
3330 struct cfg80211_chan_def chandef = local->hw.conf.chandef; in ieee80211_dfs_radar_detected_work()
3352 cfg80211_radar_event(local->hw.wiphy, &chandef, GFP_KERNEL); in ieee80211_dfs_radar_detected_work()
3355 void ieee80211_radar_detected(struct ieee80211_hw *hw) in ieee80211_radar_detected() argument
3357 struct ieee80211_local *local = hw_to_local(hw); in ieee80211_radar_detected()
3564 const struct ieee80211_cipher_scheme *l = local->hw.cipher_schemes; in ieee80211_cs_get()
3565 int n = local->hw.n_cipher_schemes; in ieee80211_cs_get()
3859 if (cfg80211_iftype_allowed(local->hw.wiphy, iftype, 0, 1)) { in ieee80211_check_combinations()
3894 cfg80211_iftype_allowed(local->hw.wiphy, in ieee80211_check_combinations()
3905 return cfg80211_check_combinations(local->hw.wiphy, &params); in ieee80211_check_combinations()
3941 err = cfg80211_iter_combinations(local->hw.wiphy, &params, in ieee80211_max_num_channels()