brcmfmac: support station interface creation version 1, 2 and 3
authorWright Feng <wright.feng@cypress.com>
Thu, 29 Sep 2022 05:06:12 +0000 (00:06 -0500)
committerKalle Valo <kvalo@kernel.org>
Wed, 5 Oct 2022 07:41:45 +0000 (10:41 +0300)
commit4388827b87d849e51053e098c4e12c707b9fef34
treeb1aef9a9c444c97a5c3fcad087ff2efbbbe5ecf1
parent2b5fb30f8ff55c7d0e8cd6a06c9be1de6129f5a7
brcmfmac: support station interface creation version 1, 2 and 3

To create virtual station interface for RSDB and VSDB, we add interface
creation version 1, 2 and 3 supports
The structures of each version are different and only version 3 and
later version are able to get interface creating version from firmware
side.

The patch has been verified two concurrent stations pings test with
 interface create version 1:
          89342(4359b1)-PCIE: 9.40.100
 interface create version 2:
         4373a0-sdio: 13.10.271
 interface create version 3:
         4373a0-sdio: 13.35.48

Signed-off-by: Wright Feng <wright.feng@cypress.com>
Signed-off-by: Chi-hsien Lin <chi-hsien.lin@infineon.com>
Signed-off-by: Ian Lin <ian.lin@infineon.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220929050614.31518-3-ian.lin@infineon.com
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c