Lines Matching refs:hw
116 if (ieee80211_hw_check(&sdata->local->hw, CONNECTION_MONITOR)) in ieee80211_sta_reset_beacon_monitor()
133 if (ieee80211_hw_check(&sdata->local->hw, CONNECTION_MONITOR)) in ieee80211_sta_reset_conn_monitor()
252 if (!ieee80211_chandef_vht_oper(&sdata->local->hw, vht_cap_info, in ieee80211_determine_chantype()
261 } else if (!ieee80211_chandef_vht_oper(&sdata->local->hw, in ieee80211_determine_chantype()
332 while (!cfg80211_chandef_usable(sdata->local->hw.wiphy, chandef, in ieee80211_determine_chantype()
371 local->hw.wiphy->bands[chan->band]; in ieee80211_config_bw()
707 sband = local->hw.wiphy->bands[chan->band]; in ieee80211_send_assoc()
736 skb = alloc_skb(local->hw.extra_tx_headroom + in ieee80211_send_assoc()
756 skb_reserve(skb, local->hw.extra_tx_headroom); in ieee80211_send_assoc()
769 ieee80211_hw_check(&local->hw, SPECTRUM_MGMT)) in ieee80211_send_assoc()
781 ieee80211_encode_usf(local->hw.conf.listen_interval) : in ieee80211_send_assoc()
782 local->hw.conf.listen_interval); in ieee80211_send_assoc()
878 if (ieee80211_hw_check(&local->hw, SUPPORTS_ONLY_HE_MULTI_BSSID) && in ieee80211_send_assoc()
1056 if (ieee80211_hw_check(&local->hw, REPORTS_TX_ACK_STATUS)) in ieee80211_send_assoc()
1070 skb = ieee80211_pspoll_get(&local->hw, &sdata->vif); in ieee80211_send_pspoll()
1089 skb = ieee80211_nullfunc_get(&local->hw, &sdata->vif, in ieee80211_send_nullfunc()
1090 !ieee80211_hw_check(&local->hw, DOESNT_SUPPORT_QOS_NDP)); in ieee80211_send_nullfunc()
1101 if (ieee80211_hw_check(&local->hw, REPORTS_TX_ACK_STATUS)) in ieee80211_send_nullfunc()
1120 skb = dev_alloc_skb(local->hw.extra_tx_headroom + 30); in ieee80211_send_4addr_nullfunc()
1124 skb_reserve(skb, local->hw.extra_tx_headroom); in ieee80211_send_4addr_nullfunc()
1182 ieee80211_queue_work(&sdata->local->hw, in ieee80211_chswitch_work()
1194 ieee80211_queue_work(&sdata->local->hw, in ieee80211_chswitch_work()
1238 ieee80211_queue_work(&local->hw, in ieee80211_chswitch_post_beacon()
1255 ieee80211_queue_work(&sdata->local->hw, in ieee80211_chswitch_done()
1258 ieee80211_queue_work(&sdata->local->hw, &ifmgd->chswitch_work); in ieee80211_chswitch_done()
1268 ieee80211_queue_work(&sdata->local->hw, &sdata->u.mgd.chswitch_work); in ieee80211_chswitch_timer()
1363 if (!cfg80211_chandef_usable(local->hw.wiphy, &csa_ie.chandef, in ieee80211_sta_process_chanswitch()
1411 !ieee80211_hw_check(&local->hw, CHANCTX_STA_CSA)) { in ieee80211_sta_process_chanswitch()
1455 ieee80211_queue_work(&local->hw, &ifmgd->chswitch_work); in ieee80211_sta_process_chanswitch()
1475 ieee80211_queue_work(&local->hw, &ifmgd->csa_connection_drop_work); in ieee80211_sta_process_chanswitch()
1636 struct ieee80211_conf *conf = &local->hw.conf; in ieee80211_enable_ps()
1646 !ieee80211_hw_check(&local->hw, SUPPORTS_DYNAMIC_PS)) { in ieee80211_enable_ps()
1650 if (ieee80211_hw_check(&local->hw, PS_NULLFUNC_STACK)) in ieee80211_enable_ps()
1653 if (ieee80211_hw_check(&local->hw, PS_NULLFUNC_STACK) && in ieee80211_enable_ps()
1654 ieee80211_hw_check(&local->hw, REPORTS_TX_ACK_STATUS)) in ieee80211_enable_ps()
1664 struct ieee80211_conf *conf = &local->hw.conf; in ieee80211_change_ps()
1713 if (!ieee80211_hw_check(&local->hw, SUPPORTS_PS)) { in ieee80211_recalc_ps()
1741 local->hw.conf.dynamic_ps_timeout = timeout; in ieee80211_recalc_ps()
1747 local->hw.conf.ps_dtim_period = dtimper; in ieee80211_recalc_ps()
1772 if (local->hw.conf.flags & IEEE80211_CONF_PS) { in ieee80211_dynamic_ps_disable_work()
1773 local->hw.conf.flags &= ~IEEE80211_CONF_PS; in ieee80211_dynamic_ps_disable_work()
1777 ieee80211_wake_queues_by_reason(&local->hw, in ieee80211_dynamic_ps_disable_work()
1799 if (local->hw.conf.flags & IEEE80211_CONF_PS) in ieee80211_dynamic_ps_enable_work()
1802 if (local->hw.conf.dynamic_ps_timeout > 0) { in ieee80211_dynamic_ps_enable_work()
1807 local->hw.conf.dynamic_ps_timeout)); in ieee80211_dynamic_ps_enable_work()
1817 for (q = 0; q < local->hw.queues; q++) { in ieee80211_dynamic_ps_enable_work()
1823 local->hw.conf.dynamic_ps_timeout)); in ieee80211_dynamic_ps_enable_work()
1830 if (ieee80211_hw_check(&local->hw, PS_NULLFUNC_STACK) && in ieee80211_dynamic_ps_enable_work()
1835 local->hw.conf.dynamic_ps_timeout)); in ieee80211_dynamic_ps_enable_work()
1843 if (!(ieee80211_hw_check(&local->hw, REPORTS_TX_ACK_STATUS) && in ieee80211_dynamic_ps_enable_work()
1844 ieee80211_hw_check(&local->hw, PS_NULLFUNC_STACK)) || in ieee80211_dynamic_ps_enable_work()
1847 local->hw.conf.flags |= IEEE80211_CONF_PS; in ieee80211_dynamic_ps_enable_work()
1856 ieee80211_queue_work(&local->hw, &local->dynamic_ps_enable_work); in ieee80211_dynamic_ps_timer()
1885 if (local->hw.queues < IEEE80211_NUM_ACS) in __ieee80211_sta_handle_tspec_ac_params()
1987 if (local->hw.queues < IEEE80211_NUM_ACS) in ieee80211_sta_wmm_params()
2297 if (local->hw.conf.flags & IEEE80211_CONF_PS) { in ieee80211_set_disassoc()
2298 local->hw.conf.flags &= ~IEEE80211_CONF_PS; in ieee80211_set_disassoc()
2326 if (ieee80211_hw_check(&local->hw, DEAUTH_NEED_MGD_TX_PREP) && in ieee80211_set_disassoc()
2440 if (ieee80211_hw_check(&sdata->local->hw, CONNECTION_MONITOR)) in ieee80211_reset_ap_probe()
2512 ieee80211_queue_work(&sdata->local->hw, &sdata->work); in ieee80211_sta_tx_notify()
2562 if (ieee80211_hw_check(&sdata->local->hw, REPORTS_TX_ACK_STATUS)) { in ieee80211_mgd_probe_ap_send()
2645 struct sk_buff *ieee80211_ap_probereq_get(struct ieee80211_hw *hw, in ieee80211_ap_probereq_get() argument
2725 cfg80211_unlink_bss(local->hw.wiphy, ifmgd->associated); in __ieee80211_disconnect()
2789 struct ieee80211_hw *hw = &sdata->local->hw; in ieee80211_beacon_loss() local
2794 ieee80211_queue_work(hw, &sdata->u.mgd.beacon_connection_loss_work); in ieee80211_beacon_loss()
2801 struct ieee80211_hw *hw = &sdata->local->hw; in ieee80211_connection_loss() local
2806 ieee80211_queue_work(hw, &sdata->u.mgd.beacon_connection_loss_work); in ieee80211_connection_loss()
2813 struct ieee80211_hw *hw = &sdata->local->hw; in ieee80211_disconnect() local
2822 ieee80211_queue_work(hw, &sdata->u.mgd.beacon_connection_loss_work); in ieee80211_disconnect()
2850 cfg80211_put_bss(sdata->local->hw.wiphy, auth_data->bss); in ieee80211_destroy_auth_data()
2911 if (ieee80211_hw_check(&local->hw, REPORTS_TX_ACK_STATUS)) in ieee80211_auth_challenge()
3510 wiphy_ext_feature_isset(local->hw.wiphy, in ieee80211_assoc_success()
3602 local->hw.queues >= IEEE80211_NUM_ACS; in ieee80211_assoc_success()
3834 channel = ieee80211_get_channel_khz(local->hw.wiphy, in ieee80211_rx_bss_info()
3867 channel = ieee80211_get_channel(sdata->local->hw.wiphy, in ieee80211_rx_mgmt_probe_resp()
4084 if (ieee80211_hw_check(&local->hw, TIMING_BEACON_ONLY)) { in ieee80211_rx_mgmt_beacon()
4147 if (ieee80211_hw_check(&local->hw, PS_NULLFUNC_STACK) && in ieee80211_rx_mgmt_beacon()
4149 if (local->hw.conf.dynamic_ps_timeout > 0) { in ieee80211_rx_mgmt_beacon()
4150 if (local->hw.conf.flags & IEEE80211_CONF_PS) { in ieee80211_rx_mgmt_beacon()
4151 local->hw.conf.flags &= ~IEEE80211_CONF_PS; in ieee80211_rx_mgmt_beacon()
4212 if (ieee80211_hw_check(&local->hw, TIMING_BEACON_ONLY) && in ieee80211_rx_mgmt_beacon()
4426 ieee80211_queue_work(&sdata->local->hw, &sdata->work); in ieee80211_sta_timer()
4468 cfg80211_unlink_bss(local->hw.wiphy, auth_data->bss); in ieee80211_auth()
4490 if (ieee80211_hw_check(&local->hw, REPORTS_TX_ACK_STATUS)) in ieee80211_auth()
4534 cfg80211_unlink_bss(local->hw.wiphy, assoc_data->bss); in ieee80211_do_assoc()
4546 if (!ieee80211_hw_check(&local->hw, REPORTS_TX_ACK_STATUS)) { in ieee80211_do_assoc()
4570 ieee80211_queue_work(&local->hw, &sdata->work); in ieee80211_mgd_conn_tx_status()
4670 if (ieee80211_hw_check(&local->hw, REPORTS_TX_ACK_STATUS)) in ieee80211_sta_work()
4695 else if (ieee80211_hw_check(&local->hw, REPORTS_TX_ACK_STATUS)) { in ieee80211_sta_work()
4737 ieee80211_queue_work(&sdata->local->hw, in ieee80211_sta_bcn_mon_timer()
4770 ieee80211_queue_work(&local->hw, &ifmgd->monitor_work); in ieee80211_sta_conn_mon_timer()
4788 if (!ieee80211_hw_check(&sdata->local->hw, CONNECTION_MONITOR)) in ieee80211_restart_sta_timer()
4789 ieee80211_queue_work(&sdata->local->hw, in ieee80211_restart_sta_timer()
4904 ifmgd->uapsd_queues = sdata->local->hw.uapsd_queues; in ieee80211_sta_setup_sdata()
4905 ifmgd->uapsd_max_sp_len = sdata->local->hw.uapsd_max_sp_len; in ieee80211_sta_setup_sdata()
4908 if (sdata->local->hw.wiphy->features & NL80211_FEATURE_DYNAMIC_SMPS) in ieee80211_sta_setup_sdata()
5060 sband = local->hw.wiphy->bands[cbss->channel->band]; in ieee80211_prep_channel()
5257 sband = local->hw.wiphy->bands[cbss->channel->band]; in ieee80211_prep_connection()
5363 } else if (!ieee80211_hw_check(&sdata->local->hw, in ieee80211_prep_connection()
5556 cfg80211_ref_bss(local->hw.wiphy, auth_data->bss); in ieee80211_mgd_auth()
5642 (local->hw.queues >= IEEE80211_NUM_ACS); in ieee80211_mgd_assoc()
5663 sband = local->hw.wiphy->bands[req->bss->channel->band]; in ieee80211_mgd_assoc()
5728 ieee80211_hw_check(&local->hw, PS_NULLFUNC_STACK), in ieee80211_mgd_assoc()
5825 if (ieee80211_hw_check(&sdata->local->hw, NEED_DTIM_BEFORE_ASSOC) && in ieee80211_mgd_assoc()
5847 if (ieee80211_hw_check(&local->hw, TIMING_BEACON_ONLY)) { in ieee80211_mgd_assoc()