RDK Documentation (Open Sourced RDK Components)
Device_WiFi_EndPoint_Security.h
1 /*
2  * If not stated otherwise in this file or this component's Licenses.txt file the
3  * following copyright and licenses apply:
4  *
5  * Copyright 2016 RDK Management
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18 */
19 
20 /**
21  * @defgroup TR69_HOSTIF_WIFI_ENDPOINT_SECURITY TR-069 Object (Device.WiFi.EndPoint.{i}.Security.) Public APIs
22  * This object contains security related parameters that apply to a WiFi end point [802.11-2007].
23  * @ingroup TR69_HOSTIF_WIFI
24  */
25 
26 /**
27 * @defgroup tr69hostif
28 * @{
29 * @defgroup hostif
30 * @{
31 **/
32 
33 
34 #ifndef DEVICE_WIFI_ENDPOINT_SECURITY_H_
35 #define DEVICE_WIFI_ENDPOINT_SECURITY_H_
36 
37 #include "hostIf_main.h"
38 #include "hostIf_utils.h"
39 #include "hostIf_tr69ReqHandler.h"
40 #include "hostIf_updateHandler.h"
41 
43 
44  static GHashTable *ifHash;
45  int dev_id = 0; //CID:103185 - UNINIT_CTOR
48 
49 public:
50  static class hostIf_WiFi_EndPoint_Security *getInstance(int dev_id);
51  static GList* getAllInstances();
52  static void closeInstance(hostIf_WiFi_EndPoint_Security *);
53  static void closeAllInstances();
54 
55  char ModesSupported[64];
56 
57  /**
58  * @ingroup TR69_HOSTIF_WIFI_ENDPOINT_SECURITY
59  * @{
60  */
61  /**
62  * @brief This function provides the comma-separated list of strings contains which security modes
63  * the wireless EndPoint instance is capable of supporting.
64  *
65  * Each list item is an enumeration of:
66  * - None
67  * - WEP-64
68  * - WEP-128
69  * - WPA-Personal
70  * - WPA2-Personal
71  * - WPA-WPA2-Personal
72  * - WPA-Enterprise
73  * - WPA2-Enterprise
74  * - WPA-WPA2-Enterprise
75  *
76  * @param[out] stMsgData TR-069 Host interface message request.
77  *
78  * @return Returns 0 on success, otherwise will return the appropriate error code.
79  */
81 
82  /**
83  * @brief Get the security mode enabled for wifi device. The value must be a member of the list
84  * reported by the ModesSupported parameter, indicates which security mode is enabled.
85  *
86  * @param[out] stMsgData TR-069 Host interface message request.
87  *
88  * @return Returns 0 on success, otherwise will return the appropriate error code.
89  */
91 
92  /** @ */ //End of Doxygen tag TR69_HOSTIF_WIFI_ENDPOINT_SECURITY
93 };
94 
95 
96 
97 
98 #endif /* DEVICE_WIFI_ENDPOINT_H_ */
99 
100 
101 /** @} */
102 /** @} */
_HostIf_MsgData_t
Definition: hostIf_tr69ReqHandler.h:170
hostIf_WiFi_EndPoint_Security
Definition: Device_WiFi_EndPoint_Security.h:42
hostIf_main.h
hostIf_main API.
hostIf_WiFi_EndPoint_Security::get_hostIf_WiFi_EndPoint_ModesSupported
int get_hostIf_WiFi_EndPoint_ModesSupported(HOSTIF_MsgData_t *stMsgData)
This function provides the comma-separated list of strings contains which security modes the wireless...
hostIf_WiFi_EndPoint_Security::get_hostIf_WiFi_EndPoint_Security_ModesEnabled
int get_hostIf_WiFi_EndPoint_Security_ModesEnabled(HOSTIF_MsgData_t *stMsgData)
Get the security mode enabled for wifi device. The value must be a member of the list reported by the...