16#ifndef LIBWIFI_CORE_TAG_H
17#define LIBWIFI_CORE_TAG_H
276 const unsigned char *tag_data,
size_t tag_length);
305 const unsigned char *tag_data,
size_t tag_length);
struct libwifi_tagged_parameters tags
struct libwifi_tag_header header
unsigned char * parameters
char * libwifi_get_tag_name(int tag_number)
Get the name of a tagged parameter via a supplied tag number.
int libwifi_quick_add_tag(struct libwifi_tagged_parameters *tagged_parameters, int tag_number, const unsigned char *tag_data, size_t tag_length)
Add a tagged parameter via tag number and data to a management frame.
int libwifi_add_tag(struct libwifi_tagged_parameters *tagged_parameters, struct libwifi_tagged_parameter *tagged_parameter)
Add a tagged parameter to a list of frame tagged parameters.
struct libwifi_tag_header __attribute__((packed))
void libwifi_free_tag(struct libwifi_tagged_parameter *tagged_parameter)
Free a tagged parameters body.
int libwifi_remove_tag(struct libwifi_tagged_parameters *tagged_parameters, int tag_number)
Remove a tagged parameter from a list of frame tagged parameters.
int libwifi_check_tag(struct libwifi_tagged_parameters *tags, int tag_number)
Check if a tagged parameter is present via tag number.
size_t libwifi_create_tag(struct libwifi_tagged_parameter *tagged_parameter, int tag_number, const unsigned char *tag_data, size_t tag_length)
Create a tagged parameter from a tag number, length and data.
@ TAG_CHANNEL_SWITCH_TIMING
@ TAG_ADVERTISEMENT_PROTOCOL
@ TAG_EXPEDITED_BANDWIDTH_REQUEST
@ TAG_CONGESTION_NOTIFICATION
@ TAG_MULTIPLE_MAC_SUBLAYERS
@ TAG_EXTENDED_CAPABILITIES
@ TAG_EXTENDED_CHANNEL_SWITCH_ANNOUNCEMENT
@ TAG_HCCA_TXOP_UPDATE_COUNT
@ TAG_MESH_PEERING_MANAGEMENT
@ TAG_DYNAMIC_TONE_PAIRING_REPORT
@ TAG_MEASUREMENT_PILOT_TRANSMISSION
@ TAG_RELAY_TRANSFER_PARAMETER_SET
@ TAG_RM_ENABLED_CAPABILITIES
@ TAG_AUTHENTICATED_MESH_PEERING_EXCHANGE
@ TAG_SUPPORTED_OPERATING_CLASSES
@ TAG_DMG_BSS_PARAMETER_CHANGE
@ TAG_CHANNEL_SWITCH_WRAPPER
@ TAG_BSS_AC_ACCESS_DELAY
@ TAG_OVERLAPPING_BSS_PARAMETERS
@ TAG_MCCAOP_ADVERTISEMENT_OVERVIEW
@ TAG_DSE_REGISTERED_LOCATION
@ TAG_NONTRANSMITTED_BSSID_CAPABILITY
@ TAG_BSS_AVAILABLE_ADMISSION_CAPACITY
@ TAG_BSS_AVERAGE_ACCESS_DELAY
@ TAG_QUIET_PERIOD_RESPONSE
@ TAG_DMG_LINK_ADAPTATION_ACKNOWLEDGEMENT
@ TAG_MULTIPLE_BSSID_INDEX
@ TAG_BEAMLINK_MAINTENANCE
@ TAG_INTRA_ACCESS_CATEGORY_PRIORITY
@ TAG_CLUSTER_TIME_OFFSET
@ TAG_MESH_LINK_METRIC_REPORT
@ TAG_WIDE_BANDWIDTH_CHANNEL_SWITCH
@ TAG_EMERGENCY_ALERT_IDENTIFIER
@ TAG_QUIET_PERIOD_REQUEST
@ TAG_ANTENNA_SECTOR_ID_PATTERN
@ TAG_EXTENDED_SUPPORTED_RATES
@ TAG_QOS_TRAFFIC_CAPABILITY
@ TAG_MESH_CHANNEL_SWITCH_PARAMETERS
@ TAG_SECONDARY_CHANNEL_OFFSET
@ TAG_HIGHER_LAYER_STREAM_ID
@ TAG_TRANSMIT_POWER_ENVELOPE
@ TAG_CHANNEL_SWITCH_ANNOUNCEMENT
@ TAG_COLLOCATED_INTERFERENCE_REPORT
@ TAG_CHANNEL_MEASUREMENT_FEEDBACK
@ TAG_MCCAOP_SETUP_REQUEST
@ TAG_TIM_BROADCAST_RESPONSE
@ TAG_DMG_WAKEUP_SCHEDULE
@ TAG_BSS_MAX_IDLE_PERIOD
@ TAG_REDUCED_NEIGHBOR_REPORT
@ TAG_FINE_TIMING_MEASUREMENT_PARAMETERS
@ TAG_DMG_BEAM_REFINEMENT
@ TAG_FAST_BSS_TRANSITION
@ TAG_MCCAOP_ADVERTISEMENT
@ TAG_TIM_BROADCAST_REQUEST
@ TAG_MEASUREMENT_REQUEST
@ TAG_BSS_INTOLERANT_CHANNEL_REPORT
size_t libwifi_dump_tag(struct libwifi_tagged_parameter *tag, unsigned char *buf, size_t buf_len)
Dump a tagged parameter into a raw buffer, for use with other buffers or injection.