wifi: cfg80211: remove cfg80211_inform_single_bss_frame_data()
authorJohannes Berg <johannes.berg@intel.com>
Fri, 16 Feb 2024 11:54:28 +0000 (13:54 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 21 Feb 2024 14:19:04 +0000 (15:19 +0100)
commit317bad4c3b61eaf14a7f5c65521a3aa8b0b6f1bc
treee4fc95f457894c72b86709ea0ce2307e41470319
parentf8599d634094b1257054a8d0815785d658cbdb74
wifi: cfg80211: remove cfg80211_inform_single_bss_frame_data()

This function pretty much does what cfg80211_inform_single_bss_data()
already does, except on a frame data. But we can call the other one,
after populating the inform_data more completely, so we don't need to
do everything twice.

This also uncovered a few bugs:
 * the 6 GHz power type checks were only done in this function, move
   (and rename from 'uhb') those;
 * the chains/chain_signal information wasn't used in the latter,
   add that

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240216135047.f3f864f94c78.I2192adb32ab10713e71f395a9d203386264f6ed5@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/scan.c