[PATCH 6.12 107/163] wifi: cfg80211: fix S1G beacon head validation in nl80211