Home
last modified time | relevance | path

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

/net/mac80211/
Dmesh_ps.c63 if (!test_sta_flag(sta, WLAN_STA_PS_STA)) { in mps_qos_null_tx()
261 if (test_sta_flag(sta, WLAN_STA_PS_STA) == do_buffer) in ieee80211_mps_sta_status_update()
489 if (test_sta_flag(sta, WLAN_STA_MPSP_OWNER)) in mps_frame_deliver()
551 test_sta_flag(sta, WLAN_STA_PS_STA) && in ieee80211_mpsp_trigger_process()
591 if (test_sta_flag(sta, WLAN_STA_PS_STA) && in ieee80211_mps_frame_release()
595 if (!test_sta_flag(sta, WLAN_STA_MPSP_OWNER)) in ieee80211_mps_frame_release()
Dsta_info.c92 if (test_sta_flag(sta, WLAN_STA_PS_STA) || in __cleanup_single_sta()
93 test_sta_flag(sta, WLAN_STA_PS_DRIVER) || in __cleanup_single_sta()
94 test_sta_flag(sta, WLAN_STA_PS_DELIVER)) { in __cleanup_single_sta()
272 WARN_ON_ONCE(test_sta_flag(sta, WLAN_STA_INSERTED)); in sta_info_free()
312 if (!test_sta_flag(sta, WLAN_STA_PS_STA)) in sta_deliver_ps_frames()
623 !test_sta_flag(sta, WLAN_STA_ASSOC)) in ieee80211_recalc_p2p_go_ps_allowed()
1044 if (test_sta_flag(sta, WLAN_STA_TDLS_OFF_CHANNEL)) { in __sta_info_destroy_part1()
1259 test_sta_flag(sta, WLAN_STA_PS_STA)) in ieee80211_sta_expire()
1840 if (!test_sta_flag(sta, WLAN_STA_PS_DRIVER)) in ieee80211_sta_block_awake()
1843 if (!test_sta_flag(sta, WLAN_STA_PS_STA)) { in ieee80211_sta_block_awake()
[all …]
Dtdls.c527 if (test_sta_flag(sta, WLAN_STA_TDLS_WIDER_BW)) in ieee80211_tdls_add_setup_start_ies()
626 if (test_sta_flag(sta, WLAN_STA_TDLS_WIDER_BW)) in ieee80211_tdls_add_setup_cfm_ies()
984 if (sta && test_sta_flag(sta, WLAN_STA_TDLS_INITIATOR)) in ieee80211_tdls_prep_mgmt_packet()
1033 try_resend = sta && test_sta_flag(sta, WLAN_STA_TDLS_PEER_AUTH); in ieee80211_tdls_prep_mgmt_packet()
1267 test_sta_flag(sta, WLAN_STA_TDLS_WIDER_BW)) { in iee80211_tdls_recalc_chanctx()
1297 !test_sta_flag(sta, WLAN_STA_AUTHORIZED) || in iee80211_tdls_have_ht_peers()
1298 !test_sta_flag(sta, WLAN_STA_TDLS_PEER_AUTH) || in iee80211_tdls_have_ht_peers()
1583 if (!test_sta_flag(sta, WLAN_STA_TDLS_CHAN_SWITCH)) { in ieee80211_tdls_channel_switch()
1626 if (!test_sta_flag(sta, WLAN_STA_TDLS_OFF_CHANNEL)) { in ieee80211_tdls_cancel_channel_switch()
1707 if (!sta || !test_sta_flag(sta, WLAN_STA_TDLS_PEER_AUTH)) { in ieee80211_process_tdls_channel_switch_resp()
[all …]
Dvht.c165 !test_sta_flag(sta, WLAN_STA_TDLS_PEER)) in ieee80211_vht_cap_ie_to_sta_vht_cap()
473 if (test_sta_flag(sta, WLAN_STA_TDLS_PEER) && in ieee80211_sta_cur_vht_bw()
474 test_sta_flag(sta, WLAN_STA_TDLS_WIDER_BW) && in ieee80211_sta_cur_vht_bw()
475 test_sta_flag(sta, WLAN_STA_AUTHORIZED) && in ieee80211_sta_cur_vht_bw()
Dcfg.c469 if (!sta || !test_sta_flag(sta, WLAN_STA_ASSOC)) { in ieee80211_add_key()
484 if (sta && test_sta_flag(sta, WLAN_STA_MFP)) in ieee80211_add_key()
1409 !test_sta_flag(sta, WLAN_STA_AUTH)) { in sta_apply_auth_flags()
1417 !test_sta_flag(sta, WLAN_STA_ASSOC)) { in sta_apply_auth_flags()
1423 if (!test_sta_flag(sta, WLAN_STA_RATE_CONTROL)) in sta_apply_auth_flags()
1434 else if (test_sta_flag(sta, WLAN_STA_AUTHORIZED)) in sta_apply_auth_flags()
1444 test_sta_flag(sta, WLAN_STA_ASSOC)) { in sta_apply_auth_flags()
1452 test_sta_flag(sta, WLAN_STA_AUTH)) { in sta_apply_auth_flags()
1583 } else if (test_sta_flag(sta, WLAN_STA_TDLS_PEER)) { in sta_apply_parameters()
1603 if (!test_sta_flag(sta, WLAN_STA_TDLS_PEER) && in sta_apply_parameters()
[all …]
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()
656 test_sta_flag(tx->sta, WLAN_STA_USES_ENCRYPTION)) { in ieee80211_tx_h_select_key()
[all …]
Drx.c1492 (!rx->sta || !test_sta_flag(rx->sta, WLAN_STA_ASSOC)))) { in ieee80211_rx_h_check()
1601 if (test_sta_flag(sta, WLAN_STA_PS_DRIVER)) { in sta_ps_end()
1627 in_ps = test_sta_flag(sta, WLAN_STA_PS_STA); in ieee80211_sta_ps_transition()
1644 if (test_sta_flag(sta, WLAN_STA_SP)) in ieee80211_sta_pspoll()
1647 if (!test_sta_flag(sta, WLAN_STA_PS_DRIVER)) in ieee80211_sta_pspoll()
1672 if (test_sta_flag(sta, WLAN_STA_SP)) in ieee80211_sta_uapsd_trigger()
1675 if (!test_sta_flag(sta, WLAN_STA_PS_DRIVER)) in ieee80211_sta_uapsd_trigger()
1709 if (!test_sta_flag(rx->sta, WLAN_STA_PS_STA)) in ieee80211_rx_h_uapsd_and_pspoll()
1757 test_sta_flag(sta, WLAN_STA_AUTHORIZED)) { in ieee80211_rx_h_sta_process()
1819 if (test_sta_flag(sta, WLAN_STA_PS_STA)) { in ieee80211_rx_h_sta_process()
[all …]
Dsta_info.h746 static inline int test_sta_flag(struct sta_info *sta, in test_sta_flag() function
778 WARN_ON_ONCE(test_sta_flag(sta, WLAN_STA_INSERTED)); in sta_info_pre_move_state()
Dstatus.c144 if (test_sta_flag(sta, WLAN_STA_PS_STA) && in ieee80211_handle_filtered_frame()
156 if (!test_sta_flag(sta, WLAN_STA_PS_STA) && in ieee80211_handle_filtered_frame()
167 !!test_sta_flag(sta, WLAN_STA_PS_STA), jiffies); in ieee80211_handle_filtered_frame()
1172 } else if (test_sta_flag(sta, WLAN_STA_PS_STA)) { in ieee80211_tx_status_ext()
Dmesh_sync.c130 if (test_sta_flag(sta, WLAN_STA_TOFFSET_KNOWN)) { in mesh_sync_offset_rx_bcn_presp()
Dagg-tx.c626 if (test_sta_flag(sta, WLAN_STA_BLOCK_BA)) { in ieee80211_start_tx_ba_session()
633 if (test_sta_flag(sta, WLAN_STA_MFP) && in ieee80211_start_tx_ba_session()
634 !test_sta_flag(sta, WLAN_STA_AUTHORIZED)) { in ieee80211_start_tx_ba_session()
Dmesh_plink.c464 if (!test_sta_flag(sta, WLAN_STA_RATE_CONTROL)) in mesh_sta_info_init()
770 if (!test_sta_flag(sta, WLAN_STA_AUTH)) in mesh_plink_open()
1041 if (!test_sta_flag(sta, WLAN_STA_AUTH)) { in mesh_plink_get_event()
Drate.c77 if (!ref || !test_sta_flag(sta, WLAN_STA_RATE_CONTROL)) in rate_control_tx_status()
914 if (sta && test_sta_flag(sta, WLAN_STA_RATE_CONTROL)) { in rate_control_get_rate()
Dht.c348 blocked = test_sta_flag(sta, WLAN_STA_BLOCK_BA); in ieee80211_ba_session_work()
Dagg-rx.c305 if (test_sta_flag(sta, WLAN_STA_BLOCK_BA)) { in ___ieee80211_start_rx_ba_session()
Dchan.c706 !test_sta_flag(sta, WLAN_STA_TDLS_WIDER_BW) || in ieee80211_recalc_chanctx_chantype()
707 !test_sta_flag(sta, WLAN_STA_AUTHORIZED) || in ieee80211_recalc_chanctx_chantype()
Ddebugfs_sta.c97 if (test_sta_flag(sta, flg)) in sta_flags_read()
Dmlme.c1700 authorized = test_sta_flag(sta, WLAN_STA_AUTHORIZED); in ieee80211_powersave_allowed()