/net/mac80211/ |
D | mesh_ps.c | 63 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()
|
D | sta_info.c | 92 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 …]
|
D | tdls.c | 527 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 …]
|
D | vht.c | 165 !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()
|
D | cfg.c | 469 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 …]
|
D | tx.c | 318 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 …]
|
D | rx.c | 1492 (!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 …]
|
D | sta_info.h | 746 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()
|
D | status.c | 144 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()
|
D | mesh_sync.c | 130 if (test_sta_flag(sta, WLAN_STA_TOFFSET_KNOWN)) { in mesh_sync_offset_rx_bcn_presp()
|
D | agg-tx.c | 626 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()
|
D | mesh_plink.c | 464 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()
|
D | rate.c | 77 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()
|
D | ht.c | 348 blocked = test_sta_flag(sta, WLAN_STA_BLOCK_BA); in ieee80211_ba_session_work()
|
D | agg-rx.c | 305 if (test_sta_flag(sta, WLAN_STA_BLOCK_BA)) { in ___ieee80211_start_rx_ba_session()
|
D | chan.c | 706 !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()
|
D | debugfs_sta.c | 97 if (test_sta_flag(sta, flg)) in sta_flags_read()
|
D | mlme.c | 1700 authorized = test_sta_flag(sta, WLAN_STA_AUTHORIZED); in ieee80211_powersave_allowed()
|