wifi: cfg80211: clean up cfg80211_inform_bss_frame_data()
authorJohannes Berg <johannes.berg@intel.com>
Fri, 16 Feb 2024 11:54:29 +0000 (13:54 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 21 Feb 2024 14:19:04 +0000 (15:19 +0100)
commit7e899c1d6f0da2a98ebf6629274ef912d4c83359
treeb370f5420245937d9c3e7292fc6bc7681bdad67d
parent317bad4c3b61eaf14a7f5c65521a3aa8b0b6f1bc
wifi: cfg80211: clean up cfg80211_inform_bss_frame_data()

Make cfg80211_inform_bss_frame_data() call the existing
cfg80211_inform_bss_data() after parsing the frame in the
appropriate way, so we have less code duplication. This
required introducing a new CFG80211_BSS_FTYPE_S1G_BEACON,
but that can be used by other drivers as well.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240216135047.874aed1eff5f.Ib7d88d126eec50c64763251a78cb432bb5df14df@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
net/wireless/scan.c