• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Broadcom Corporation OUI and vendor specific assignments
3  * Copyright (c) 2015, Broadcom Corporation.
4  *
5  * This software may be distributed under the terms of the BSD license.
6  * See README for more details.
7  */
8 
9 #ifndef BRCM_VENDOR_H
10 #define BRCM_VENDOR_H
11 
12 /*
13  * This file is a registry of identifier assignments from the Broadcom
14  * OUI 00:10:18 for purposes other than MAC address assignment. New identifiers
15  * can be assigned through normal review process for changes to the upstream
16  * hostap.git repository.
17  */
18 
19 #define OUI_BRCM  0x001018
20 
21 /**
22  * enum brcm_nl80211_vendor_subcmds - BRCM nl80211 vendor command identifiers
23  *
24  * @BRCM_VENDOR_SUBCMD_UNSPEC: Reserved value 0
25  *
26  * @BRCM_VENDOR_SUBCMD_PRIV_STR: String command/event
27  */
28 enum brcm_nl80211_vendor_subcmds {
29 	BRCM_VENDOR_SUBCMD_UNSPEC		= 0,
30 	BRCM_VENDOR_SUBCMD_SET_PMK		= 4,
31 	BRCM_VENDOR_SUBCMD_SET_MAC		= 6,
32 	BRCM_VENDOR_SCMD_ACS			= 9,
33 	BRCM_VENDOR_SCMD_MAX			= 10
34 };
35 
36 /**
37  * enum brcm_nl80211_vendor_events - BRCM nl80211 asynchoronous event identifiers
38  *
39  * @BRCM_VENDOR_EVENT_UNSPEC: Reserved value 0
40  *
41  * @BRCM_VENDOR_EVENT_PRIV_STR: String command/event
42  */
43 enum brcm_nl80211_vendor_events {
44         BRCM_VENDOR_EVENT_UNSPEC,
45 	BRCM_VENDOR_EVENT_ACS			= 42,
46 	BRCM_VENDOR_EVENT_LAST			= 44
47 };
48 
49 enum wl_vendor_attr_acs_offload {
50 	BRCM_VENDOR_ATTR_ACS_CHANNEL_INVALID = 0,
51 	BRCM_VENDOR_ATTR_ACS_PRIMARY_FREQ,
52 	BRCM_VENDOR_ATTR_ACS_SECONDARY_FREQ,
53 	BRCM_VENDOR_ATTR_ACS_VHT_SEG0_CENTER_CHANNEL,
54 	BRCM_VENDOR_ATTR_ACS_VHT_SEG1_CENTER_CHANNEL,
55 
56 	BRCM_VENDOR_ATTR_ACS_HW_MODE,
57 	BRCM_VENDOR_ATTR_ACS_HT_ENABLED,
58 	BRCM_VENDOR_ATTR_ACS_HT40_ENABLED,
59 	BRCM_VENDOR_ATTR_ACS_VHT_ENABLED,
60 	BRCM_VENDOR_ATTR_ACS_CHWIDTH,
61 	BRCM_VENDOR_ATTR_ACS_CH_LIST,
62 	BRCM_VENDOR_ATTR_ACS_FREQ_LIST,
63 
64 	BRCM_VENDOR_ATTR_ACS_LAST
65 };
66 
67 enum brcm_wlan_vendor_attr {
68 	BRCM_ATTR_DRIVER_CMD            = 0,
69 	BRCM_ATTR_DRIVER_KEY_PMK        = 1,
70 	BRCM_ATTR_DRIVER_MAC_ADDR	= 3,
71 	BRCM_ATTR_DRIVER_AFTER_LAST     = 5,
72 	BRCM_ATTR_DRIVER_MAX            = BRCM_ATTR_DRIVER_AFTER_LAST - 1,
73 };
74 #endif /* BRCM_VENDOR_H */
75 
76