xref: /wlan-driver/qcacld-3.0/components/mlme/dispatcher/inc/wlan_mlme_product_details_cfg.h (revision 5113495b16420b49004c444715d2daae2066e7dc)
1 /*
2  * Copyright (c) 2011-2018 The Linux Foundation. All rights reserved.
3  *
4  * Permission to use, copy, modify, and/or distribute this software for
5  * any purpose with or without fee is hereby granted, provided that the
6  * above copyright notice and this permission notice appear in all
7  * copies.
8  *
9  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
10  * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
11  * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
12  * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
13  * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
14  * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
15  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
16  * PERFORMANCE OF THIS SOFTWARE.
17  */
18 
19 #ifndef WLAN_MLME_PRODUCT_DETAILS_H__
20 #define WLAN_MLME_PRODUCT_DETAILS_H__
21 
22 /*
23  * manufacturer_name - Set manufacture Name
24  * @Min_len: 0
25  * @Max_len: 63
26  * @Default: Qualcomm Atheros
27  *
28  * This internal CFG is used to set manufacture name
29  *
30  * Related: None
31  *
32  * Supported Feature: product details
33  *
34  * Usage: Internal
35  *
36  */
37 #define CFG_MFR_NAME CFG_STRING( \
38 	"manufacturer_name", \
39 	0, \
40 	WLAN_CFG_MFR_NAME_LEN, \
41 	"Qualcomm Atheros", \
42 	"Manufacture name")
43 
44 /*
45  * model_number - Set model number
46  * @Min_len: 0
47  * @Max_len: 31
48  * @Default: MN1234
49  *
50  * This internal CFG is used to set model number
51  *
52  * Related: None
53  *
54  * Supported Feature: product details
55  *
56  * Usage: Internal
57  *
58  */
59 #define CFG_MODEL_NUMBER CFG_STRING( \
60 	"model_number", \
61 	0, \
62 	WLAN_CFG_MODEL_NUMBER_LEN, \
63 	"MN1234", \
64 	"model number")
65 
66 /*
67  * model_name - Set model name
68  * @Min_len: 0
69  * @Max_len: 31
70  * @Default: WFR4031
71  *
72  * This internal CFG is used to set model name
73  *
74  * Related: None
75  *
76  * Supported Feature: product details
77  *
78  * Usage: Internal
79  *
80  */
81 #define CFG_MODEL_NAME CFG_STRING( \
82 	"model_name", \
83 	0, \
84 	WLAN_CFG_MODEL_NAME_LEN, \
85 	"WFR4031", \
86 	"model name")
87 
88 /*
89  * manufacture_product_name - Set manufacture product name
90  * @Min_len: 0
91  * @Max_len: 31
92  * @Default: 11n-AP
93  *
94  * This internal CFG is used to set manufacture product name
95  *
96  * Related: None
97  *
98  * Supported Feature: product details
99  *
100  * Usage: Internal
101  *
102  */
103 #define CFG_MFR_PRODUCT_NAME CFG_STRING( \
104 	"manufacture_product_name", \
105 	0, \
106 	WLAN_CFG_MFR_PRODUCT_NAME_LEN, \
107 	"11n-AP", \
108 	"manufacture product name")
109 
110 /*
111  * model_number - Set manufacture product version
112  * @Min_len: 0
113  * @Max_len: 31
114  * @Default: SN1234
115  *
116  * This internal CFG is used to set manufacture product version
117  *
118  * Related: None
119  *
120  * Supported Feature: product details
121  *
122  * Usage: Internal
123  *
124  */
125 #define CFG_MFR_PRODUCT_VERSION CFG_STRING( \
126 	"manufacture_product_version", \
127 	0, \
128 	WLAN_CFG_MFR_PRODUCT_VERSION_LEN, \
129 	"SN1234", \
130 	"manufacture product version")
131 
132 #define CFG_MLME_PRODUCT_DETAILS_ALL \
133 		CFG(CFG_MFR_NAME) \
134 		CFG(CFG_MODEL_NUMBER) \
135 		CFG(CFG_MODEL_NAME) \
136 		CFG(CFG_MFR_PRODUCT_NAME) \
137 		CFG(CFG_MFR_PRODUCT_VERSION)
138 
139 #endif
140 
141