mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
wifi: mac80211: add a helper to fragment an element
The way this works is that you add all the element data, keeping a pointer to the length field of the element. Then call this helper function, which will fragment the element if there was more than 255 bytes in the element, memmove()ing the data back if needed. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
8a263dcb58
commit
e434254946
2 changed files with 29 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue