From 9d38eee948c8c7df1b8301f29e44afab69629a70 Mon Sep 17 00:00:00 2001 From: Carter Chen Date: Thu, 13 Oct 2022 00:21:42 -0500 Subject: [PATCH 118/296] non-upstream: add IFX vendor OUI file Signed-off-by: Carter Chen --- .../broadcom/brcm80211/brcmfmac/vendor_ifx.h | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 drivers/net/wireless/broadcom/brcm80211/brcmfmac/vendor_ifx.h diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/vendor_ifx.h b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/vendor_ifx.h new file mode 100644 index 000000000000..39fef7f6ba49 --- /dev/null +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/vendor_ifx.h @@ -0,0 +1,56 @@ +/* SPDX-License-Identifier: ISC + * + * Infineon Technologies OUI and vendor specific assignments + * + * $ Copyright Infineon $ + */ + +#ifndef IFX_VENDOR_H +#define IFX_VENDOR_H + +/* This file is a registry of identifier assignments from the Infineon + * OUI 00:03:19 for purposes other than MAC address assignment. New identifiers + * can be assigned through normal review process for changes to the upstream + * hostap.git repository. + */ +#define OUI_IFX 0x000319 + +/* enum ifx_nl80211_vendor_subcmds - IFX nl80211 vendor command identifiers + * + * @IFX_VENDOR_SCMD_UNSPEC: Reserved value 0 + * + * @IFX_VENDOR_SCMD_MAX: This acts as a the tail of cmds list. + * Make sure it located at the end of the list. + */ +enum ifx_nl80211_vendor_subcmds { + /* TODO: IFX Vendor subcmd enum IDs between 1-15 are reserved + * to be filled later with BRCM Vendor subcmds that are + * already used by IFX. + */ + IFX_VENDOR_SCMD_UNSPEC = 0, + /* Reserved 1-5 */ + IFX_VENDOR_SCMD_FRAMEBURST = 6, + /* Reserved 7-15 */ + IFX_VENDOR_SCMD_DCMD = 16, + IFX_VENDOR_SCMD_MAX = 17 +}; + +/* enum ifx_vendor_attr - IFX nl80211 vendor attributes + * + * @IFX_VENDOR_ATTR_UNSPEC: Reserved value 0 + * + * @IFX_VENDOR_ATTR_MAX: This acts as a the tail of attrs list. + * Make sure it located at the end of the list. + */ +enum ifx_vendor_attr { + /* TODO: IFX Vendor attr enum IDs between 0-10 are reserved + * to be filled later with BRCM Vendor attrs that are + * already used by IFX. + */ + IFX_VENDOR_ATTR_UNSPEC = 0, + /* Reserved 1-10 */ + IFX_VENDOR_ATTR_MAX = 11 +}; + +#endif /* IFX_VENDOR_H */ + -- 2.25.1