wifi: mac80211: mlme: unify CSA handling
authorJohannes Berg <johannes.berg@intel.com>
Wed, 28 Feb 2024 08:55:46 +0000 (09:55 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 4 Mar 2024 13:34:01 +0000 (14:34 +0100)
commitf3dee30c6791e22633d9d7e43e48c1dff946cc0b
treeca4ecf095f1bb729f4eacb30f13544dca3b80386
parent6f0107d195a812074c6f977d492ffc99ba3ff2bb
wifi: mac80211: mlme: unify CSA handling

Unify all the CSA handling, including handling of a beacon
after the CSA, into ieee80211_sta_process_chanswitch().

The CRC of the beacon will change due to changes in the
CSA/ECSA elements, so there's really no need to have the
'beacon after CSA' handling before the CRC processing or
to change the beacon_crc_valid value here.

Reviewed-by: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240228095719.e269c0e02905.I9dc68ff1e84d51349822bc7d3b33b578fcf8e360@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c