size_t libwifi_dump_timing_advert(struct libwifi_timing_advert *adv, unsigned char *buf, size_t buf_len)
Dump a libwifi_timing_advert into a raw format for packet injection.
int libwifi_create_timing_advert(struct libwifi_timing_advert *adv, const unsigned char receiver[6], const unsigned char transmitter[6], const unsigned char address3[6], struct libwifi_timing_advert_fields *adv_fields, const char country[3], uint16_t max_reg_power, uint8_t max_tx_power, uint8_t tx_power_used, uint8_t noise_floor)
Create a populated libwifi_timing_advert struct.