mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2026-03-07 01:50:35 +01:00
bbf: Added support for Device.WiFi.DataElements.Network.
This commit is contained in:
parent
e98590509b
commit
2a88a4c5af
5 changed files with 2512 additions and 59 deletions
|
|
@ -58,6 +58,7 @@ libbbfdm_la_SOURCES += \
|
|||
../dmtree/tr181/x_iopsys_eu_owsd.c \
|
||||
../dmtree/tr181/x_iopsys_eu_buttons.c \
|
||||
../dmtree/tr181/wifi.c \
|
||||
../dmtree/tr181/wifi-dataelements.c \
|
||||
../dmtree/tr181/ethernet.c \
|
||||
../dmtree/tr181/atm.c \
|
||||
../dmtree/tr181/ptm.c \
|
||||
|
|
|
|||
1326
dmtree/tr181/wifi-dataelements.c
Normal file
1326
dmtree/tr181/wifi-dataelements.c
Normal file
File diff suppressed because it is too large
Load diff
46
dmtree/tr181/wifi-dataelements.h
Normal file
46
dmtree/tr181/wifi-dataelements.h
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
/*
|
||||
* Copyright (C) 2020 iopsys Software Solutions AB
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License version 2.1
|
||||
* as published by the Free Software Foundation
|
||||
*
|
||||
* Author: Saurabh Verma <saurabh.verma@iopsys.eu>
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __WIFI_DATAELEMENTS_H
|
||||
#define __WIFI_DATAELEMENTS_H
|
||||
|
||||
#include <libbbf_api/dmcommon.h>
|
||||
|
||||
extern DMOBJ tWiFiDataElementsObj[];
|
||||
extern DMOBJ tWiFiDataElementsNetworkObj[];
|
||||
extern DMLEAF tWiFiDataElementsNetworkParams[];
|
||||
extern DMOBJ tWiFiDataElementsNetworkDeviceObj[];
|
||||
extern DMLEAF tWiFiDataElementsNetworkDeviceParams[];
|
||||
extern DMOBJ tWiFiDataElementsNetworkDeviceRadioObj[];
|
||||
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioParams[];
|
||||
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioBackhaulStaParams[];
|
||||
extern DMOBJ tWiFiDataElementsNetworkDeviceRadioCapabilitiesObj[];
|
||||
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioCapabilitiesParams[];
|
||||
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioCapabilitiesCapableOperatingClassProfileParams[];
|
||||
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioCurrentOperatingClassProfileParams[];
|
||||
extern DMOBJ tWiFiDataElementsNetworkDeviceRadioBSSObj[];
|
||||
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioBSSParams[];
|
||||
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioBSSSTAParams[];
|
||||
extern DMOBJ tWiFiDataElementsNetworkDeviceRadioScanResultObj[];
|
||||
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioScanResultParams[];
|
||||
extern DMOBJ tWiFiDataElementsNetworkDeviceRadioScanResultOpClassScanObj[];
|
||||
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioScanResultOpClassScanParams[];
|
||||
extern DMOBJ tWiFiDataElementsNetworkDeviceRadioScanResultOpClassScanChannelScanObj[];
|
||||
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioScanResultOpClassScanChannelScanParams[];
|
||||
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioScanResultOpClassScanChannelScanNeighborBSSParams[];
|
||||
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioUnassociatedSTAParams[];
|
||||
extern DMOBJ tWiFiDataElementsAssociationEventObj[];
|
||||
extern DMLEAF tWiFiDataElementsAssociationEventParams[];
|
||||
extern DMLEAF tWiFiDataElementsAssociationEventAssociationEventDataParams[];
|
||||
extern DMOBJ tWiFiDataElementsDisassociationEventObj[];
|
||||
extern DMLEAF tWiFiDataElementsDisassociationEventParams[];
|
||||
extern DMLEAF tWiFiDataElementsDisassociationEventDisassociationEventDataParams[];
|
||||
#endif
|
||||
|
|
@ -15,6 +15,7 @@
|
|||
#include "wepkey.h"
|
||||
#include "wifi.h"
|
||||
#include "os.h"
|
||||
#include "wifi-dataelements.h"
|
||||
|
||||
|
||||
/**************************************************************************
|
||||
|
|
@ -2196,6 +2197,7 @@ int set_neighboring_wifi_diagnostics_diagnostics_state(char *refparam, struct dm
|
|||
/* *** Device.WiFi. *** */
|
||||
DMOBJ tWiFiObj[] = {
|
||||
/* OBJ, permission, addobj, delobj, checkdep, browseinstobj, forced_inform, notification, nextdynamicobj, nextobj, leaf, linker, bbfdm_type*/
|
||||
{"DataElements", &DMREAD, NULL, NULL, NULL, NULL, NULL, NULL, NULL, tWiFiDataElementsObj, NULL, NULL, BBFDM_BOTH},
|
||||
{"Radio", &DMREAD, NULL, NULL, NULL, browseWifiRadioInst, NULL, NULL, NULL, tWiFiRadioObj, tWiFiRadioParams, get_linker_Wifi_Radio, BBFDM_BOTH, (const char *[]){"Name", "Alias", NULL}},
|
||||
{"SSID", &DMWRITE, add_wifi_ssid, delete_wifi_ssid, NULL, browseWifiSsidInst, NULL, NULL, NULL, tWiFiSSIDObj, tWiFiSSIDParams, get_linker_Wifi_Ssid, BBFDM_BOTH, (const char *[]){"Name", "Alias", "BSSID", NULL}},
|
||||
{"AccessPoint", &DMWRITE, add_wifi_accesspoint, delete_wifi_accesspoint, NULL, browseWifiAccessPointInst, NULL, NULL, NULL, tWiFiAccessPointObj, tWiFiAccessPointParams, NULL, BBFDM_BOTH, (const char *[]){"SSIDReference", "Alias", NULL}},
|
||||
|
|
|
|||
1196
json/tr181.json
1196
json/tr181.json
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue