16#ifndef LIBWIFI_CORE_TYPES_H
17#define LIBWIFI_CORE_TYPES_H
19#include "../../core/misc/byteswap.h"
199#define libwifi_check_capabilities(x, cap) (BYTESWAP16(x) & (1 << cap))
@ REASON_MESH_MAX_RETRIES
@ REASON_SERVICE_NOT_AUTHORIZED
@ REASON_MAC_ADDRESS_ALREADY_EXISTS_IN_MBSS
@ REASON_UNNACCEPTABLE_POWER_CAPABILITY
@ REASON_MESH_PATH_ERROR_NO_FORWARDING_INFORMATION
@ REASON_BSS_TRANSITION_MGMT
@ REASON_MESH_CHANNEL_SWITCH_REGULATORY_REQUIREMENTS
@ REASON_MESH_CONFIGURATION_POLICY_VIOLATION
@ REASON_STA_REQUESTING_REASSOC_NOT_AUTHED
@ REASON_TDLS_DIRECT_LINK_TEARDOWN_UNREACHABLE
@ REASON_MESH_INVALID_GTK
@ REASON_INVALID_FT_ACTION_FRAMECOUNT
@ REASON_INSUFFICIENT_BANDWIDTH
@ REASON_TDLS_DIRECT_LINK_TEARDOWN_UNSPECIFIED
@ REASON_LACKS_SSP_ROAMING
@ REASON_FOURWAY_HANDSHAKE_TIMEOUT
@ REASON_MESH_CHANNEL_SWITCH_UNSPECIFIED
@ REASON_MESH_INCONSISTENT_PARAMETERS
@ REASON_MESH_INVALID_SECURITY_CAPABILITY
@ REASON_INVALID_RSNE_CAPABILITIES
@ REASON_MESH_PATH_ERROR_DESTINATION_UNREACHABLE
@ REASON_MESH_PATH_ERROR_NO_PROXY_INFORMATION
@ REASON_PEERKEY_MISMATCH
@ REASON_UNKNOWN_TS_OR_BA
@ REASON_CIPHER_OR_AKM_REQUIRED
@ REASON_INVALID_8021X_AUTH
@ REASON_MESH_PEERING_CANCELED
@ REASON_EXCESSIVE_ACKS_REQUIRED
@ REASON_CIPHER_SUITE_REJECTED
@ REASON_UNNACCEPTABLE_CHANNELS
@ REASON_UNSUPPORTED_RSNE_VERSION
@ REASON_GROUPKEY_HANDSHAKE_TIMEOUT
@ REASON_INVALID_PAIRWISE_CIPHER
@ REASON_SERVICE_CHANGE_PRECLUDES_TS
@ REASON_MESH_CONFIRM_TIMEOUT
@ REASON_UNSPECIFIED_FAILURE
@ REASON_INVALID_GROUP_CIPHER
@ REASON_PREVIOUS_AUTH_INVALID
@ STATUS_NO_OUTSTANDING_GAS_REQUEST
@ STATUS_TS_SCHEDULE_CONFLICT
@ STATUS_REFUSED_CAPABILITIES_MISMATCH
@ STATUS_REJECTED_HOME_WITH_SUGGESTED_CHANGES
@ STATUS_SUCCESS_POWER_SAVE_MODE
@ STATUS_REJECTED_EMERGENCY_SERVICES_NOT_SUPPORTED
@ STATUS_STATUS_INVALID_GROUP_CIPHER
@ STATUS_STATUS_INVALID_PAIRWISE_CIPHER
@ STATUS_AUTHORIZATION_DEENABLED
@ STATUS_REJECTED_FOR_DELAY_PERIOD
@ STATUS_STATUS_CIPHER_OUT_OF_POLICY
@ STATUS_REJECTED_WITH_SUGGESTED_BSS_TRANSITION
@ STATUS_MCCA_TRACK_LIMIT_EXCEEDED
@ STATUS_REFUSED_TEMPORARILY
@ STATUS_REJECTED_SPECTRUM_MANAGEMENT_REQUIRED
@ STATUS_REQUESTED_TCLAS_NOT_SUPPORTED
@ STATUS_TCLAS_RESOURCES_EXHAUSTED
@ STATUS_INVALID_RSNE_CAPABILITIES
@ STATUS_TRANSMISSION_FAILURE
@ STATUS_PENDING_ADMITTING_FST_SESSION
@ STATUS_DENIED_PCO_TIME_NOT_SUPPORTED
@ STATUS_CHALLENGE_FAILURE
@ STATUS_REJECTED_BAD_SUPPORTED_CHANNELS
@ STATUS_DENIED_DUE_TO_SPECTRUM_MANAGEMENT
@ STATUS_STATUS_INVALID_AKMP
@ STATUS_REFUSED_UNAUTHENTICATED_ACCESS_NOT_SUPPORTED
@ STATUS_DENIED_NO_ASSOCIATION_EXISTS
@ STATUS_UNSPECIFIED_QOS_FAILURE
@ STATUS_REJECT_NO_WAKEUP_SPECIFIED
@ STATUS_GAS_QUERY_RESPONSE_TOO_
@ STATUS_DENIED_LISTEN_INTERVAL_TOO_LARGE
@ STATUS_DENIED_POOR_CHANNEL_CONDITIONS
@ STATUS_SERVER_UNREACHABLE
@ STATUS_CANNOT_FIND_ALTERNATIVE_TBTT
@ STATUS_STATUS_INVALID_MDE
@ STATUS_QUERY_RESPONSE_OUTSTANDING
@ STATUS_UNSUPPORTED_FINITE_CYCLIC_GROUP
@ STATUS_DENIED_QOS_NOT_SUPPORTED
@ STATUS_RESTRICTION_FROM_AUTHORIZED_GDB
@ STATUS_UNSUPPORTED_AUTH_ALGORITHM
@ STATUS_DENIED_NO_SHORT_PREAMBLE_SUPPORT
@ STATUS_REJECTED_SEQUENCE_TIMEOUT
@ STATUS_TCLAS_PROCESSING_TERMINATED
@ STATUS_MAF_LIMIT_EXCEEDED
@ STATUS_BAD_INTERVAL_WITH_U_APSD_COEX
@ STATUS_TDLS_REJECTED_ALTERNATIVE_PROVIDED
@ STATUS_REJECTED_WITH_SUGGESTED_CHANGES
@ STATUS_STATUS_INVALID_ELEMENT
@ STATUS_REJECT_WITH_SCHEDULE
@ STATUS_UNACCEPTABLE_LIFETIME
@ STATUS_U_APSD_COEX_MODE_NOT_SUPPORTED
@ STATUS_STATUS_INVALID_FT_ACTION_FRAME_COUNT
@ STATUS_ANTI_CLOGGING_TOKEN_REQUIRED
@ STATUS_INVALID_PARAMETERS
@ STATUS_DENIED_NO_MORE_STAS
@ STATUS_R0KH_UNREACHABLE
@ STATUS_INSUFFICIENT_TCLAS_PROCESSING_RESOURCES
@ STATUS_SECURITY_DISABLED
@ STATUS_REFUSED_AP_OUT_OF_MEMORY
@ STATUS_PERFORMING_FST_NOW
@ STATUS_REQUEST_DECLINED
@ STATUS_GAS_ADVERTISEMENT_PROTOCOL_NOT_SUPPORTED
@ STATUS_DENIED_OTHER_REASON
@ STATUS_REFUSED_EXTERNAL_REASON
@ STATUS_REJECT_U_PID_SETTING
@ STATUS_GAS_QUERY_TIMEOUT
@ STATUS_ROBUST_MANAGEMENT_POLICY_VIOLATION
@ STATUS_ENABLEMENT_DENIED
@ STATUS_DENIED_NO_HT_SUPPORT
@ STATUS_PENDING_GAP_IN_BA_WINDOW
@ STATUS_GAS_RESPONSE_NOT_RECEIVED_FROM
@ STATUS_DENIED_NO_SHORT_SLOT_TIME_SUPPORT
@ STATUS_REJECTED_BAD_POWER_CAPABILITY
@ STATUS_MCCAOP_RESERVATION_CONFLICT
@ STATUS_STATUS_INVALID_FTE
@ STATUS_DENIED_INSUFFICIENT_BANDWIDTH
@ STATUS_STATUS_INVALID_PMKID
@ STATUS_TRANSACTION_SEQUENCE_ERROR
@ STATUS_REFUSED_BASIC_RATES_MISMATCH
@ STATUS_DENIED_WITH_SUGGESTED_BAND_AND_CHANNEL
@ STATUS_U_APSD_COEXISTANCE_NOT_SUPPORTED
@ STATUS_REJECTED_FOR_SSP_PERMISSIONS
@ STATUS_DENIED_VHT_NOT_SUPPORTED
@ STATUS_UNSUPPORTED_RSNE_VERSION
@ STATUS_REQUESTED_TCLAS_NOT_SUPPORTED_2
@ CAPABILITIES_IMMEDIATE_ACK
@ CAPABILITIES_CHAN_AGILITY
@ CAPABILITIES_MEASUREMENT
@ CAPABILITIES_SHORT_SLOT
@ CAPABILITIES_POWER_SAVE
@ CAPABILITIES_SHORT_PREAMBLE
@ CAPABILITIES_DELAYED_ACK
@ CAPABILITIES_SPECTRUM_AGILITY