> +/*
> + * ieee80211_he_spr_size - calculate 802.11ax HE Spatial Reuse IE size
> + * @he_spr_ie: byte data of the He Spatial Reuse IE, stating from the the 
> byte
> + *   after the ext ID byte. It is assumed that he_spr_ie has at least
> + *   sizeof(struct ieee80211_he_spr) bytes, checked already in
> + *   ieee802_11_parse_elems_crc()

That reference to mac80211 isn't really quite appropriate here - should
say something like "the caller must have validated this". This is a
lower layer usable by non-mac80211 as well.

johannes

Reply via email to