Re: [PATCH 04/15] mac80211: adding 802.11n IEs handling
From: Johannes Berg <johannes@sipsolutions.net>
Date: 2007-11-26 17:00:21
Attachments
- signature.asc [application/pgp-signature] 828 bytes
From: Johannes Berg <johannes@sipsolutions.net>
Date: 2007-11-26 17:00:21
quoted
On Mon, 2007-11-26 at 16:14 +0200, Ron Rindjunsky wrote:quoted
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 9e5b3a9..9caf124 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h@@ -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. johannes