> > > + struct sta_ampdu_mlme ampdu_mlme; > > > + int timer_to_tid[STA_TID_NUM]; /* convert timer id to tid */ > > > > Since you only use that as an identity mapping it can well be a u8 > > array. Not that I like the trick used, but I don't see any good way to > > avoid it either. > > > > yes... that was quite an irritating issue, had to use this kind of > mechanism here. > i will check changing type to u8 (need to exmine if it will cause any > addresses problems) > I just checked, it's an unsigned long and not an address so you can > really pass anything to it. Therefore, I think using a u8 array would be > appropriate. Yes, I also checked and it seems ok. > johannes --------------------------------------------------------------------- Intel Israel (74) Limited This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. - To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html