On Wed, 2025-07-23 at 10:04 +0200, Johannes Berg wrote: > > If you don't want to limit to 1600 then I think encoding wise we're > limit to 2048 (but in practice to 2008 with the AID limit in nl80211), Actually I guess without paging anyway to 2048. > struct element *tim; > > pos = skb_put(skb, 4); > tim = (void *)pos; > // add all the stuff including PVB > tim->datalen = skb_tail_pointer(skb) - &tim->data; tim->data is already a pointer, so the & there is wrong, sorry. johannes