On April 17, 2020 12:43:09 PM Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote:
From: Johannes Berg <johannes.berg@xxxxxxxxx> Almost all drivers below cfg80211 get the API wrong (except for cfg80211) and are unable to cope with multiple registrations for the same frame type, which is valid due to the match filter. This seems to indicate the API is wrong, and we should maintain the full information in cfg80211 instead of the drivers. Change the API to no longer inform the driver about individual registrations and unregistrations, but rather every time about the entire state of the entire wiphy and single wdev, whenever it may have changed. This also simplifies the code in cfg80211 as it no longer has to track exactly what was unregistered and can free things immediately.
For brcmfmac... Acked-by: Arend van Spriel <arend.vanspriel@xxxxxxxxxxxx>
Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx> --- drivers/net/wireless/ath/ath6kl/cfg80211.c | 26 +++--- .../broadcom/brcm80211/brcmfmac/cfg80211.c | 19 ++---