> >> >> @@ -89,6 +89,8 @@ struct ieee80211_sta_bss { > >> >> size_t rsn_ie_len; > >> >> u8 *wmm_ie; > >> >> size_t wmm_ie_len; > >> >> + u8 *ht_ie; > >> >> + size_t ht_ie_len; > >> > > >> > At some point we probably should reorder the fields here to avoid all > >> > the padding... Not in this patch though, of course. > >> > >> There should not be any padding, size_t has the same size as a pointer. > > > > Even on 64-bit? In any case, the _len vars can all be u8 too. > > I think you are missing a couple of '*'s here. No. I just thought size_t would be 32 bits, and all the size_t can be replaced by u8 since IEs cannot be longer than that. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part