LinuxKPI: 802.11: implement some *eleme/ie* lookup functions
authorBjoern A. Zeeb <bz@FreeBSD.org>
Sat, 31 Dec 2022 01:33:28 +0000 (01:33 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Sat, 31 Dec 2022 01:33:28 +0000 (01:33 +0000)
commit5db817d864241232c51d654836996282c69f5e28
treead91e2ace07234112b6caf3d9fb69646fac94ac2
parent5edde07c2aba02d0f7d30bbb0f203ec3e920e273
LinuxKPI: 802.11: implement some *eleme/ie* lookup functions

Implement cfg80211_find_elem(), ieee80211_bss_get_elem(),
ieee80211_bss_get_ie(), and cfg80211_find_vendor_ie() with the last
one having a short cut always also checking oui_type in the pattern.

Sponsored by: The FreeBSD Foundation
MFC after: 10 days
sys/compat/linuxkpi/common/include/net/cfg80211.h
sys/compat/linuxkpi/common/include/net/mac80211.h