|
RDK Documentation (Open Sourced RDK Components)
|
33 #ifdef USE_WIFI_PROFILE
37 #include "Device_WiFi_AccessPoint.h"
39 GHashTable* hostIf_WiFi_AccessPoint::ifHash = NULL;
51 ifHash = g_hash_table_new(NULL,NULL);
60 RDK_LOG(RDK_LOG_WARN,LOG_TR69HOSTIF,
"Caught exception, not able create hostIf_WiFi_AccessPoint instance..\n");
62 g_hash_table_insert(ifHash, (gpointer)dev_id, pRet);
68 GList* hostIf_WiFi_AccessPoint::getAllInstances()
71 return g_hash_table_get_keys(ifHash);
80 g_hash_table_remove(ifHash, (gconstpointer)pDev->dev_id);
85 void hostIf_WiFi_AccessPoint::closeAllInstances()
89 GList* tmp_list = g_hash_table_get_values (ifHash);
94 tmp_list = tmp_list->next;
115 hostIf_WiFi_AccessPoint::hostIf_WiFi_AccessPoint(
int dev_id):
118 SSIDAdvertisementEnabled(false),
120 WMMCapability(false),
121 UAPSDCapability(false),
124 AssociatedDeviceNumberOfEntries(0)
127 memset(Status , 0, 64);
128 memset (Alias, 0,64);
129 memset (SSIDReference, 0, 256);
int get_hostIf_WiFi_AccessPoint_SSIDReference(HOSTIF_MsgData_t *stMsgData)
Get path name of a row in the SSID table. If the parameter value is set to Null indicate that the ref...
int get_hostIf_WiFi_AccessPoint_UAPSDEnable(HOSTIF_MsgData_t *stMsgData)
Whether U-APSD support is currently enabled. When enabled, this is indicated in beacon frames.
int get_hostIf_WiFi_AccessPoint_WMMEnable(HOSTIF_MsgData_t *stMsgData)
Check whether WMM support is currently enabled. When enabled, this is indicated in beacon frames.
int get_hostIf_WiFi_AccessPoint_Enable(HOSTIF_MsgData_t *stMsgData)
Enables or disables this access point.
int get_hostIf_WiFi_AccessPoint_UAPSDCapability(HOSTIF_MsgData_t *stMsgData)
Check whether this access point supports WMM Unscheduled Automatic Power Save Delivery (U-APSD).
int get_hostIf_WiFi_AccessPoint_RetryLimit(HOSTIF_MsgData_t *stMsgData)
Get thee maximum number of retransmission for a packet. This corresponds to IEEE 802....
int get_hostIf_WiFi_AccessPoint_SSIDAdvertisementEnabled(HOSTIF_MsgData_t *stMsgData)
Check whether or not beacons include the SSID name.
int get_hostIf_WiFi_AccessPoint_AssociatedDeviceNumberOfEntries(HOSTIF_MsgData_t *stMsgData)
Get the number of entries in the AssociatedDevice table. The AssociatedDevice table contains informat...
int get_hostIf_WiFi_AccessPoint_WMMCapability(HOSTIF_MsgData_t *stMsgData)
Check whether this access point supports WiFi Multimedia (WMM) Access Categories (AC).
int get_hostIf_WiFi_AccessPoint_Alias(HOSTIF_MsgData_t *stMsgData)
Get the access point alias based addressing. Alias provides a mechanism for an ACS to label the insta...
int get_hostIf_WiFi_AccessPoint_Status(HOSTIF_MsgData_t *stMsgData)
Get the status of the access point which is currently being set. The status of the access point could...