Lines Matching refs:flag
730 enum ieee80211_sta_info_flags flag) in set_sta_flag() argument
732 WARN_ON(flag == WLAN_STA_AUTH || in set_sta_flag()
733 flag == WLAN_STA_ASSOC || in set_sta_flag()
734 flag == WLAN_STA_AUTHORIZED); in set_sta_flag()
735 set_bit(flag, &sta->_flags); in set_sta_flag()
739 enum ieee80211_sta_info_flags flag) in clear_sta_flag() argument
741 WARN_ON(flag == WLAN_STA_AUTH || in clear_sta_flag()
742 flag == WLAN_STA_ASSOC || in clear_sta_flag()
743 flag == WLAN_STA_AUTHORIZED); in clear_sta_flag()
744 clear_bit(flag, &sta->_flags); in clear_sta_flag()
748 enum ieee80211_sta_info_flags flag) in test_sta_flag() argument
750 return test_bit(flag, &sta->_flags); in test_sta_flag()
754 enum ieee80211_sta_info_flags flag) in test_and_clear_sta_flag() argument
756 WARN_ON(flag == WLAN_STA_AUTH || in test_and_clear_sta_flag()
757 flag == WLAN_STA_ASSOC || in test_and_clear_sta_flag()
758 flag == WLAN_STA_AUTHORIZED); in test_and_clear_sta_flag()
759 return test_and_clear_bit(flag, &sta->_flags); in test_and_clear_sta_flag()
763 enum ieee80211_sta_info_flags flag) in test_and_set_sta_flag() argument
765 WARN_ON(flag == WLAN_STA_AUTH || in test_and_set_sta_flag()
766 flag == WLAN_STA_ASSOC || in test_and_set_sta_flag()
767 flag == WLAN_STA_AUTHORIZED); in test_and_set_sta_flag()
768 return test_and_set_bit(flag, &sta->_flags); in test_and_set_sta_flag()