Home
last modified time | relevance | path

Searched refs:test_sta_flag (Results 1 – 20 of 20) sorted by relevance

/linux-6.6.21/net/mac80211/
Dmesh_ps.c64 if (!test_sta_flag(sta, WLAN_STA_PS_STA)) { in mps_qos_null_tx()
262 if (test_sta_flag(sta, WLAN_STA_PS_STA) == do_buffer) in ieee80211_mps_sta_status_update()
490 if (test_sta_flag(sta, WLAN_STA_MPSP_OWNER)) in mps_frame_deliver()
552 test_sta_flag(sta, WLAN_STA_PS_STA) && in ieee80211_mpsp_trigger_process()
592 if (test_sta_flag(sta, WLAN_STA_PS_STA) && in ieee80211_mps_frame_release()
596 if (!test_sta_flag(sta, WLAN_STA_MPSP_OWNER)) in ieee80211_mps_frame_release()
Dsta_info.c125 if (test_sta_flag(sta, WLAN_STA_PS_STA) || in __cleanup_single_sta()
126 test_sta_flag(sta, WLAN_STA_PS_DRIVER) || in __cleanup_single_sta()
127 test_sta_flag(sta, WLAN_STA_PS_DELIVER)) { in __cleanup_single_sta()
368 if (test_sta_flag(sta, WLAN_STA_INSERTED)) in sta_remove_link()
421 WARN_ON_ONCE(test_sta_flag(sta, WLAN_STA_INSERTED)); in sta_info_free()
461 if (!test_sta_flag(sta, WLAN_STA_PS_STA)) in sta_deliver_ps_frames()
798 !test_sta_flag(sta, WLAN_STA_ASSOC)) in ieee80211_recalc_p2p_go_ps_allowed()
1265 if (test_sta_flag(sta, WLAN_STA_TDLS_OFF_CHANNEL)) { in __sta_info_destroy_part1()
1324 if (test_sta_flag(sta, WLAN_STA_INSERTED)) { in _sta_info_move_state()
1618 test_sta_flag(sta, WLAN_STA_PS_STA)) in ieee80211_sta_expire()
[all …]
Dtdls.c531 if (test_sta_flag(sta, WLAN_STA_TDLS_WIDER_BW)) in ieee80211_tdls_add_setup_start_ies()
700 if (test_sta_flag(sta, WLAN_STA_TDLS_WIDER_BW)) in ieee80211_tdls_add_setup_cfm_ies()
1078 if (sta && test_sta_flag(sta, WLAN_STA_TDLS_INITIATOR)) in ieee80211_tdls_prep_mgmt_packet()
1127 try_resend = sta && test_sta_flag(sta, WLAN_STA_TDLS_PEER_AUTH); in ieee80211_tdls_prep_mgmt_packet()
1368 test_sta_flag(sta, WLAN_STA_TDLS_WIDER_BW)) { in iee80211_tdls_recalc_chanctx()
1398 !test_sta_flag(sta, WLAN_STA_AUTHORIZED) || in iee80211_tdls_have_ht_peers()
1399 !test_sta_flag(sta, WLAN_STA_TDLS_PEER_AUTH) || in iee80211_tdls_have_ht_peers()
1686 if (!test_sta_flag(sta, WLAN_STA_TDLS_CHAN_SWITCH)) { in ieee80211_tdls_channel_switch()
1729 if (!test_sta_flag(sta, WLAN_STA_TDLS_OFF_CHANNEL)) { in ieee80211_tdls_cancel_channel_switch()
1812 if (!sta || !test_sta_flag(sta, WLAN_STA_TDLS_PEER_AUTH)) { in ieee80211_process_tdls_channel_switch_resp()
[all …]
Dvht.c167 !test_sta_flag(link_sta->sta, WLAN_STA_TDLS_PEER)) in ieee80211_vht_cap_ie_to_sta_vht_cap()
533 if (test_sta_flag(sta, WLAN_STA_TDLS_PEER) && in ieee80211_sta_cur_vht_bw()
534 test_sta_flag(sta, WLAN_STA_TDLS_WIDER_BW) && in ieee80211_sta_cur_vht_bw()
535 test_sta_flag(sta, WLAN_STA_AUTHORIZED) && in ieee80211_sta_cur_vht_bw()
Dtx.c318 assoc = test_sta_flag(tx->sta, WLAN_STA_ASSOC); in ieee80211_tx_h_check_assoc()
465 if (sta == NULL || !test_sta_flag(sta, WLAN_STA_MFP)) in ieee80211_use_mfp()
485 if (unlikely((test_sta_flag(sta, WLAN_STA_PS_STA) || in ieee80211_tx_h_unicast_ps_buf()
486 test_sta_flag(sta, WLAN_STA_PS_DRIVER) || in ieee80211_tx_h_unicast_ps_buf()
487 test_sta_flag(sta, WLAN_STA_PS_DELIVER)) && in ieee80211_tx_h_unicast_ps_buf()
509 if (!test_sta_flag(sta, WLAN_STA_PS_STA) && in ieee80211_tx_h_unicast_ps_buf()
510 !test_sta_flag(sta, WLAN_STA_PS_DRIVER) && in ieee80211_tx_h_unicast_ps_buf()
511 !test_sta_flag(sta, WLAN_STA_PS_DELIVER)) { in ieee80211_tx_h_unicast_ps_buf()
544 } else if (unlikely(test_sta_flag(sta, WLAN_STA_PS_STA))) { in ieee80211_tx_h_unicast_ps_buf()
676 test_sta_flag(tx->sta, WLAN_STA_USES_ENCRYPTION)) { in ieee80211_tx_h_select_key()
[all …]
Dcfg.c527 if (!sta || !test_sta_flag(sta, WLAN_STA_ASSOC)) { in ieee80211_add_key()
542 if (sta && test_sta_flag(sta, WLAN_STA_MFP)) in ieee80211_add_key()
1677 !test_sta_flag(sta, WLAN_STA_AUTH)) { in sta_apply_auth_flags()
1685 !test_sta_flag(sta, WLAN_STA_ASSOC)) { in sta_apply_auth_flags()
1691 if (!test_sta_flag(sta, WLAN_STA_RATE_CONTROL)) in sta_apply_auth_flags()
1702 else if (test_sta_flag(sta, WLAN_STA_AUTHORIZED)) in sta_apply_auth_flags()
1712 test_sta_flag(sta, WLAN_STA_ASSOC)) { in sta_apply_auth_flags()
1720 test_sta_flag(sta, WLAN_STA_AUTH)) { in sta_apply_auth_flags()
1915 } else if (test_sta_flag(sta, WLAN_STA_TDLS_PEER)) { in sta_apply_parameters()
1935 if (!test_sta_flag(sta, WLAN_STA_TDLS_PEER) && in sta_apply_parameters()
[all …]
Dmesh_sync.c130 if (test_sta_flag(sta, WLAN_STA_TOFFSET_KNOWN)) { in mesh_sync_offset_rx_bcn_presp()
Drx.c1468 (!rx->sta || !test_sta_flag(rx->sta, WLAN_STA_ASSOC)))) { in ieee80211_rx_h_check()
1578 if (test_sta_flag(sta, WLAN_STA_PS_DRIVER)) { in sta_ps_end()
1604 in_ps = test_sta_flag(sta, WLAN_STA_PS_STA); in ieee80211_sta_ps_transition()
1621 if (test_sta_flag(sta, WLAN_STA_SP)) in ieee80211_sta_pspoll()
1624 if (!test_sta_flag(sta, WLAN_STA_PS_DRIVER)) in ieee80211_sta_pspoll()
1649 if (test_sta_flag(sta, WLAN_STA_SP)) in ieee80211_sta_uapsd_trigger()
1652 if (!test_sta_flag(sta, WLAN_STA_PS_DRIVER)) in ieee80211_sta_uapsd_trigger()
1686 if (!test_sta_flag(rx->sta, WLAN_STA_PS_STA)) in ieee80211_rx_h_uapsd_and_pspoll()
1735 test_sta_flag(sta, WLAN_STA_AUTHORIZED)) { in ieee80211_rx_h_sta_process()
1797 if (test_sta_flag(sta, WLAN_STA_PS_STA)) { in ieee80211_rx_h_sta_process()
[all …]
Dstatus.c145 if (test_sta_flag(sta, WLAN_STA_PS_STA) && in ieee80211_handle_filtered_frame()
157 if (!test_sta_flag(sta, WLAN_STA_PS_STA) && in ieee80211_handle_filtered_frame()
168 !!test_sta_flag(sta, WLAN_STA_PS_STA), jiffies); in ieee80211_handle_filtered_frame()
1181 } else if (test_sta_flag(sta, WLAN_STA_PS_STA)) { in ieee80211_tx_status_ext()
Dsta_info.h757 static inline int test_sta_flag(struct sta_info *sta, in test_sta_flag() function
789 WARN_ON_ONCE(test_sta_flag(sta, WLAN_STA_INSERTED)); in sta_info_pre_move_state()
Dagg-tx.c647 if (test_sta_flag(sta, WLAN_STA_BLOCK_BA)) { in ieee80211_start_tx_ba_session()
654 if (test_sta_flag(sta, WLAN_STA_MFP) && in ieee80211_start_tx_ba_session()
655 !test_sta_flag(sta, WLAN_STA_AUTHORIZED)) { in ieee80211_start_tx_ba_session()
Dmesh_plink.c479 if (!test_sta_flag(sta, WLAN_STA_RATE_CONTROL)) in mesh_sta_info_init()
784 if (!test_sta_flag(sta, WLAN_STA_AUTH)) in mesh_plink_open()
1055 if (!test_sta_flag(sta, WLAN_STA_AUTH)) { in mesh_plink_get_event()
Drate.c78 if (!ref || !test_sta_flag(sta, WLAN_STA_RATE_CONTROL)) in rate_control_tx_status()
922 if (sta && test_sta_flag(sta, WLAN_STA_RATE_CONTROL)) { in rate_control_get_rate()
Dht.c363 blocked = test_sta_flag(sta, WLAN_STA_BLOCK_BA); in ieee80211_ba_session_work()
Dagg-rx.c289 if (test_sta_flag(sta, WLAN_STA_BLOCK_BA)) { in ___ieee80211_start_rx_ba_session()
Dchan.c813 !test_sta_flag(sta, WLAN_STA_TDLS_WIDER_BW) || in ieee80211_recalc_chanctx_chantype()
814 !test_sta_flag(sta, WLAN_STA_AUTHORIZED) || in ieee80211_recalc_chanctx_chantype()
Diface.c909 if (sta && test_sta_flag(sta, WLAN_STA_TDLS_PEER)) { in ieee80211_netdev_fill_forward_path()
910 if (!test_sta_flag(sta, WLAN_STA_TDLS_PEER_AUTH)) in ieee80211_netdev_fill_forward_path()
Ddebugfs_sta.c97 if (test_sta_flag(sta, flg)) in sta_flags_read()
Drc80211_minstrel_ht.c1822 mi->use_short_preamble = test_sta_flag(sta_info, WLAN_STA_SHORT_PREAMBLE) && in minstrel_ht_update_caps()
Dmlme.c2244 authorized = test_sta_flag(sta, WLAN_STA_AUTHORIZED); in ieee80211_powersave_allowed()