Home
last modified time | relevance | path

Searched refs:ieee80211_hw_check (Results 1 – 25 of 28) sorted by relevance

12

/linux/net/mac80211/
H A Dmain.c417 if (!ieee80211_hw_check(&local->hw, WANT_MONITOR_VIF)) in ieee80211_link_info_change_notify()
1055 bool have_mfp = ieee80211_hw_check(&local->hw, MFP_CAPABLE); in ieee80211_init_cipher_suites()
1073 if (ieee80211_hw_check(&local->hw, SW_CRYPTO_CONTROL) && fips_enabled) { in ieee80211_init_cipher_suites()
1079 if (WARN_ON(ieee80211_hw_check(&local->hw, SW_CRYPTO_CONTROL) && in ieee80211_init_cipher_suites()
1146 if (ieee80211_hw_check(hw, QUEUE_CONTROL) && in ieee80211_register_hw()
1157 if (WARN_ON(ieee80211_hw_check(hw, SUPPORTS_TX_FRAG) && in ieee80211_register_hw()
1181 if (WARN_ON(!ieee80211_hw_check(hw, HAS_RATE_CONTROL))) in ieee80211_register_hw()
1184 if (WARN_ON(!ieee80211_hw_check(hw, AMPDU_AGGREGATION))) in ieee80211_register_hw()
1187 if (WARN_ON(ieee80211_hw_check(hw, HOST_BROADCAST_PS_BUFFERING))) in ieee80211_register_hw()
1190 if (WARN_ON(ieee80211_hw_check(hw, SUPPORTS_PS) && in ieee80211_register_hw()
[all …]
H A Dpm.c42 if (ieee80211_hw_check(hw, AMPDU_AGGREGATION) && in __ieee80211_suspend()
121 if (ieee80211_hw_check(hw, AMPDU_AGGREGATION)) { in __ieee80211_suspend()
H A Diface.c447 !ieee80211_hw_check(&sdata->local->hw, QUEUE_CONTROL)) { in ieee80211_check_queues()
627 !ieee80211_hw_check(&local->hw, NO_VIRTUAL_MONITOR)) { in ieee80211_do_stop()
756 !ieee80211_hw_check(&local->hw, NO_VIRTUAL_MONITOR)) in ieee80211_do_stop()
1106 if (ieee80211_hw_check(&local->hw, SUPPORTS_TX_ENCAP_OFFLOAD) && in ieee80211_set_sdata_offload_flags()
1110 if (!ieee80211_hw_check(&local->hw, SUPPORTS_TX_FRAG) && in ieee80211_set_sdata_offload_flags()
1120 if (ieee80211_hw_check(&local->hw, SUPPORTS_RX_DECAP_OFFLOAD) && in ieee80211_set_sdata_offload_flags()
1125 !ieee80211_hw_check(&local->hw, SUPPORTS_CONC_MON_RX_DECAP)) in ieee80211_set_sdata_offload_flags()
1152 if (!ieee80211_hw_check(&local->hw, SUPPORTS_TX_ENCAP_OFFLOAD) || in ieee80211_set_vif_encap_ops()
1188 if (!ieee80211_hw_check(&local->hw, SUPPORTS_TX_ENCAP_OFFLOAD)) in ieee80211_recalc_offload()
1229 if (ieee80211_hw_check(&local->hw, QUEUE_CONTROL)) in ieee80211_set_default_queues()
[all …]
H A Dtx.c200 if (!ieee80211_hw_check(&local->hw, SUPPORTS_PS)) in ieee80211_tx_h_dynamic_ps()
204 if (ieee80211_hw_check(&local->hw, SUPPORTS_DYNAMIC_PS)) in ieee80211_tx_h_dynamic_ps()
413 if (ieee80211_hw_check(&tx->local->hw, QUEUE_CONTROL)) in ieee80211_tx_h_multicast_ps_buf()
423 if (!ieee80211_hw_check(&tx->local->hw, HOST_BROADCAST_PS_BUFFERING)) in ieee80211_tx_h_multicast_ps_buf()
970 if (ieee80211_hw_check(&tx->local->hw, SUPPORTS_TX_FRAG)) in ieee80211_tx_h_fragment()
1254 ieee80211_hw_check(&local->hw, AMPDU_AGGREGATION) && in ieee80211_tx_prepare()
1255 !ieee80211_hw_check(&local->hw, TX_AMPDU_SETUP_IN_HW)) { in ieee80211_tx_prepare()
1546 if (!ieee80211_hw_check(&sdata->local->hw, in ieee80211_txq_init()
1549 } else if (!ieee80211_hw_check(&sdata->local->hw, in ieee80211_txq_init()
1786 ieee80211_hw_check(&local->hw, NO_VIRTUAL_MONITOR)) { in __ieee80211_tx()
[all …]
H A Dstatus.c558 WARN_ON(!ieee80211_hw_check(&local->hw, REPORTS_TX_ACK_STATUS)); in ieee80211_tdls_td_tx_handle()
879 if (ieee80211_hw_check(&sta->local->hw, REPORTS_LOW_ACK)) in ieee80211_lost_packet()
1031 if (ieee80211_hw_check(&local->hw, HAS_RATE_CONTROL) && in __ieee80211_tx_status()
1122 ieee80211_hw_check(&local->hw, REPORTS_TX_ACK_STATUS) && in __ieee80211_tx_status()
1217 if (ieee80211_hw_check(&local->hw, REPORTS_TX_ACK_STATUS)) { in ieee80211_tx_status_ext()
1305 if (ieee80211_hw_check(&local->hw, HAS_RATE_CONTROL)) in ieee80211_tx_rate_update()
H A Drx.c136 if (ieee80211_hw_check(&local->hw, SIGNAL_DBM)) in ieee80211_rx_radiotap_hdrlen()
361 if (!(has_fcs && ieee80211_hw_check(&local->hw, RX_INCLUDES_FCS))) in ieee80211_add_rx_radiotap_header()
415 if (has_fcs && ieee80211_hw_check(&local->hw, RX_INCLUDES_FCS)) in ieee80211_add_rx_radiotap_header()
467 if (ieee80211_hw_check(&local->hw, SIGNAL_DBM) && in ieee80211_add_rx_radiotap_header()
893 if (ieee80211_hw_check(&local->hw, RX_INCLUDES_FCS)) { in ieee80211_rx_monitor()
935 if (ieee80211_hw_check(&local->hw, NO_VIRTUAL_MONITOR) && in ieee80211_rx_monitor()
944 if (ieee80211_hw_check(&local->hw, NO_VIRTUAL_MONITOR)) in ieee80211_rx_monitor()
1699 if (!ieee80211_hw_check(&local->hw, AP_LINK_PS)) in sta_ps_start()
1752 WARN_ON(!ieee80211_hw_check(&sta->local->hw, AP_LINK_PS)); in ieee80211_sta_ps_transition()
1829 if (ieee80211_hw_check(&sdata->local->hw, AP_LINK_PS)) in ieee80211_rx_h_uapsd_and_pspoll()
[all …]
H A Dmlme.c123 if (ieee80211_hw_check(&sdata->local->hw, CONNECTION_MONITOR)) in ieee80211_sta_reset_beacon_monitor()
140 if (ieee80211_hw_check(&sdata->local->hw, CONNECTION_MONITOR)) in ieee80211_sta_reset_conn_monitor()
161 ieee80211_hw_check(&sdata->local->hw, DISALLOW_PUNCTURING)) in ieee80211_chandef_usable()
211 if (ieee80211_hw_check(&sdata->local->hw, STRICT)) in ieee80211_determine_ap_chan()
258 if (eht_oper && ieee80211_hw_check(&sdata->local->hw, STRICT)) { in ieee80211_determine_ap_chan()
562 if (!ieee80211_hw_check(&sdata->local->hw, STRICT)) in ieee80211_verify_sta_ht_mcs_support()
619 if (!ieee80211_hw_check(&sdata->local->hw, STRICT)) in ieee80211_verify_sta_vht_mcs_support()
703 if (!ieee80211_hw_check(&sdata->local->hw, STRICT) && !ap_min_req_set) in ieee80211_verify_peer_he_mcs_support()
763 if (!ieee80211_hw_check(&sdata->local->hw, STRICT) && !ap_min_req_set) in ieee80211_verify_sta_he_mcs_support()
1918 if (!ieee80211_hw_check(&local->hw, STRICT)) { in ieee80211_add_vht_ie()
[all …]
H A Dscan.c189 else if (ieee80211_hw_check(&local->hw, SIGNAL_DBM)) in ieee80211_bss_info_update()
191 else if (ieee80211_hw_check(&local->hw, SIGNAL_UNSPEC)) in ieee80211_bss_info_update()
395 if (ieee80211_hw_check(&local->hw, SINGLE_SCAN_ON_ALL_BANDS)) { in ieee80211_prep_hw_scan()
475 !ieee80211_hw_check(&local->hw, SINGLE_SCAN_ON_ALL_BANDS) && in __ieee80211_scan_completed()
766 if (ieee80211_hw_check(&local->hw, SINGLE_SCAN_ON_ALL_BANDS)) { in __ieee80211_start_scan()
H A Dsta_info.c544 if (ieee80211_hw_check(&local->hw, HAS_RATE_CONTROL)) in sta_prepare_rate_control()
563 if (ieee80211_hw_check(hw, USES_RSS)) { in sta_info_alloc_link()
837 if (!ieee80211_hw_check(&sdata->local->hw, NEEDS_UNIQUE_STA_ADDR)) in sta_info_insert_check()
1131 if (ieee80211_hw_check(&local->hw, AP_LINK_PS) && !local->ops->set_tim) in __sta_info_recalc_tim()
1853 if (!ieee80211_hw_check(&local->hw, AP_LINK_PS)) in ieee80211_sta_ps_deliver_wakeup()
2719 ieee80211_hw_check(&local->hw, REPORTS_TX_ACK_STATUS)) { in sta_set_tidstats()
2726 ieee80211_hw_check(&local->hw, REPORTS_TX_ACK_STATUS)) { in sta_set_tidstats()
2979 if (ieee80211_hw_check(&sta->local->hw, SIGNAL_DBM) || in sta_set_link_sinfo()
2980 ieee80211_hw_check(&sta->local->hw, SIGNAL_UNSPEC)) { in sta_set_link_sinfo()
3210 if (ieee80211_hw_check(&sta->local->hw, SIGNAL_DBM) || in sta_set_sinfo()
[all …]
H A Dcfg.c123 if (!ieee80211_hw_check(&local->hw, WANT_MONITOR_VIF) && in ieee80211_set_mon_options()
124 !ieee80211_hw_check(&local->hw, NO_VIRTUAL_MONITOR) && in ieee80211_set_mon_options()
130 !ieee80211_hw_check(&local->hw, NO_VIRTUAL_MONITOR)) in ieee80211_set_mon_options()
136 if (ieee80211_hw_check(&local->hw, WANT_MONITOR_VIF) || in ieee80211_set_mon_options()
137 ieee80211_hw_check(&local->hw, NO_VIRTUAL_MONITOR)) { in ieee80211_set_mon_options()
243 if (!ieee80211_hw_check(&local->hw, WANT_MONITOR_VIF) || in ieee80211_add_iface()
1076 if (!ieee80211_hw_check(&local->hw, NO_VIRTUAL_MONITOR)) { in ieee80211_set_monitor_channel()
1878 if (ieee80211_hw_check(&local->hw, HAS_RATE_CONTROL)) in ieee80211_start_ap()
2542 ieee80211_hw_check(&local->hw, TDLS_WIDER_BW) && in sta_apply_parameters()
3263 if (!ieee80211_hw_check(&sdata->local->hw, SIGNAL_DBM)) in ieee80211_update_mesh_config()
[all …]
H A Dagg-tx.c471 ieee80211_hw_check(&local->hw, STRICT)) { in ieee80211_send_addba_with_timeout()
630 !ieee80211_hw_check(&local->hw, AMPDU_AGGREGATION) || in ieee80211_start_tx_ba_session()
631 ieee80211_hw_check(&local->hw, TX_AMPDU_SETUP_IN_HW)) in ieee80211_start_tx_ba_session()
H A Drate.c946 if (ieee80211_hw_check(&sdata->local->hw, HAS_RATE_CONTROL)) in rate_control_get_rate()
962 if (ieee80211_hw_check(&sdata->local->hw, SUPPORTS_RC_TABLE)) in rate_control_get_rate()
1010 if (ieee80211_hw_check(&local->hw, HAS_RATE_CONTROL)) { in ieee80211_init_rate_ctrl_alg()
H A Dutil.c682 if (sdata && ieee80211_hw_check(&local->hw, QUEUE_CONTROL)) { in ieee80211_get_vif_queues()
711 if (!queues || !ieee80211_hw_check(&local->hw, QUEUE_CONTROL)) in __ieee80211_flush_queues()
760 !ieee80211_hw_check(&local->hw, NO_VIRTUAL_MONITOR)) in __iterate_interfaces()
782 if (sdata && ieee80211_hw_check(&local->hw, WANT_MONITOR_VIF) && in __iterate_interfaces()
841 !ieee80211_hw_check(&local->hw, NO_VIRTUAL_MONITOR)) in __ieee80211_iterate_interfaces()
859 if (monitor && ieee80211_hw_check(&local->hw, WANT_MONITOR_VIF) && in __ieee80211_iterate_interfaces()
1991 if (sdata && ieee80211_hw_check(&local->hw, WANT_MONITOR_VIF)) { in ieee80211_reconfig()
2004 !ieee80211_hw_check(&local->hw, NO_VIRTUAL_MONITOR)) in ieee80211_reconfig()
2024 !ieee80211_hw_check(&local->hw, NO_VIRTUAL_MONITOR)) in ieee80211_reconfig()
2315 if (ieee80211_hw_check(hw, AMPDU_AGGREGATION)) { in ieee80211_reconfig()
[all …]
H A Ds1g.c232 ieee80211_hw_check(&sdata->local->hw, SUPPORTS_NDP_BLOCKACK) && in ieee80211_s1g_use_ndp_ba()
H A Doffchannel.c46 !ieee80211_hw_check(&local->hw, PS_NULLFUNC_STACK)) in ieee80211_offchannel_ps_enable()
1039 if (ieee80211_hw_check(&local->hw, QUEUE_CONTROL)) in ieee80211_mgmt_tx()
H A Dtdls.c50 bool wider_band = ieee80211_hw_check(&local->hw, TDLS_WIDER_BW) && in ieee80211_tdls_add_ext_capab()
52 bool buffer_sta = ieee80211_hw_check(&local->hw, in ieee80211_tdls_add_ext_capab()
1093 ieee80211_hw_check(&sdata->local->hw, REPORTS_TX_ACK_STATUS)) { in ieee80211_tdls_prep_mgmt_packet()
H A Dchan.c546 WARN_ON_ONCE(!ieee80211_hw_check(&local->hw, in ieee80211_get_width_of_link()
1284 if (!ieee80211_hw_check(&local->hw, NO_VIRTUAL_MONITOR)) in ieee80211_recalc_smps_chanctx()
H A Ddebugfs_netdev.c580 tdls_wider_bw = ieee80211_hw_check(&sdata->local->hw, TDLS_WIDER_BW) && in ieee80211_if_fmt_tdls_wider_bw()
/linux/drivers/net/wireless/virtual/
H A Dmac80211_hwsim_main.c2243 if (ieee80211_hw_check(hw, SUPPORTS_RC_TABLE)) in mac80211_hwsim_tx()
2421 if (ieee80211_hw_check(hw, SUPPORTS_RC_TABLE)) { in mac80211_hwsim_tx_frame()
2453 if (ieee80211_hw_check(hw, SUPPORTS_RC_TABLE)) in __mac80211_hwsim_beacon_tx()
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dtx.c352 if (!ieee80211_hw_check(mvm->hw, HAS_RATE_CONTROL)) { in iwl_mvm_get_tx_rate()
H A Dmac80211.c4251 WARN_ON_ONCE(!ieee80211_hw_check(hw, MFP_CAPABLE)); in __iwl_mvm_mac_set_key()
5500 if (!ieee80211_hw_check(mvm->hw, HANDLES_QUIET_CSA)) in iwl_mvm_pre_channel_switch()
/linux/drivers/net/wireless/mediatek/mt76/
H A Dmac80211.c288 if (ieee80211_hw_check(phy->hw, SUPPORTS_VHT_EXT_NSS_BW)) in mt76_init_stream_cap()
/linux/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dmac.c829 if (!ieee80211_hw_check(hw, SUPPORTS_PS)) in mt7615_mac_write_txwi()
/linux/include/net/
H A Dmac80211.h3325 #define ieee80211_hw_check(hw, flg) _ieee80211_hw_check(hw, IEEE80211_HW_##flg) macro
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmain.c2446 if (ieee80211_hw_check(hw, SUPPORTS_AMSDU_IN_AMPDU) && in mt7996_net_fill_forward_path()

12