Skip to content

Instantly share code, notes, and snippets.

@zdi-team
Created June 10, 2022 17:26
Show Gist options
  • Save zdi-team/b6d20cea3259ca4075cdab058cece54a to your computer and use it in GitHub Desktop.
Save zdi-team/b6d20cea3259ca4075cdab058cece54a to your computer and use it in GitHub Desktop.
struct ieee80211_beacon {
uint8_t i_fc[2];
uint8_t i_dur[2];
uint8_t i_addr1[IEEE80211_ADDR_LEN];
uint8_t i_addr2[IEEE80211_ADDR_LEN];
uint8_t i_addr3[IEEE80211_ADDR_LEN];
uint8_t i_seq[2];
// ... sequence of ieee80211_option structures of varying lengths ...
};
struct ieee80211_option {
uint8_t id;
uint8_t len;
// ... ‘len’ bytes of data ...
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment