Search Linux Wireless

Re: [PATCH 04/15] mac80211: adding 802.11n IEs handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > On Mon, 2007-11-26 at 16:14 +0200, Ron Rindjunsky wrote:
> >> 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

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux