3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-20 10:52:33 +01:00

ie: Rearrange header order

This commit is contained in:
Denis Kenzior 2015-07-13 13:26:55 -05:00
parent e6cb22f412
commit 2fdf03cb84

View File

@ -233,6 +233,7 @@ void ie_tlv_iter_init(struct ie_tlv_iter *iter, const unsigned char *tlv,
unsigned int len); unsigned int len);
void ie_tlv_iter_recurse(struct ie_tlv_iter *iter, void ie_tlv_iter_recurse(struct ie_tlv_iter *iter,
struct ie_tlv_iter *recurse); struct ie_tlv_iter *recurse);
bool ie_tlv_iter_next(struct ie_tlv_iter *iter);
static inline unsigned int ie_tlv_iter_get_tag(struct ie_tlv_iter *iter) static inline unsigned int ie_tlv_iter_get_tag(struct ie_tlv_iter *iter)
{ {
@ -253,8 +254,6 @@ static inline const unsigned char *ie_tlv_iter_get_data(
void *ie_tlv_extract_wsc_payload(const unsigned char *ies, unsigned int len, void *ie_tlv_extract_wsc_payload(const unsigned char *ies, unsigned int len,
ssize_t *out_len); ssize_t *out_len);
uint32_t ie_rsn_cipher_suite_to_cipher(enum ie_rsn_cipher_suite suite);
bool ie_tlv_iter_next(struct ie_tlv_iter *iter);
bool ie_tlv_builder_init(struct ie_tlv_builder *builder); bool ie_tlv_builder_init(struct ie_tlv_builder *builder);
bool ie_tlv_builder_set_length(struct ie_tlv_builder *builder, bool ie_tlv_builder_set_length(struct ie_tlv_builder *builder,
unsigned int new_len); unsigned int new_len);
@ -265,6 +264,8 @@ bool ie_tlv_builder_recurse(struct ie_tlv_builder *builder,
void ie_tlv_builder_finalize(struct ie_tlv_builder *builder, void ie_tlv_builder_finalize(struct ie_tlv_builder *builder,
unsigned int *out_len); unsigned int *out_len);
uint32_t ie_rsn_cipher_suite_to_cipher(enum ie_rsn_cipher_suite suite);
int ie_parse_rsne(struct ie_tlv_iter *iter, struct ie_rsn_info *info); int ie_parse_rsne(struct ie_tlv_iter *iter, struct ie_rsn_info *info);
int ie_parse_rsne_from_data(const uint8_t *data, size_t len, int ie_parse_rsne_from_data(const uint8_t *data, size_t len,
struct ie_rsn_info *info); struct ie_rsn_info *info);