WiFiDataElements: Added support for missing objects/parameters and updated mappings

This commit is contained in:
Amin Ben Ramdhane 2022-03-14 20:12:33 +01:00
parent 0fb8187f07
commit df6e164c9e
11 changed files with 2217 additions and 734 deletions

File diff suppressed because it is too large Load diff

View file

@ -48,16 +48,27 @@ extern DMLEAF tWiFiDataElementsNetworkSSIDParams[];
extern DMLEAF tWiFiDataElementsNetworkMultiAPSteeringSummaryStatsParams[]; extern DMLEAF tWiFiDataElementsNetworkMultiAPSteeringSummaryStatsParams[];
extern DMOBJ tWiFiDataElementsNetworkDeviceObj[]; extern DMOBJ tWiFiDataElementsNetworkDeviceObj[];
extern DMLEAF tWiFiDataElementsNetworkDeviceParams[]; extern DMLEAF tWiFiDataElementsNetworkDeviceParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceDefault8021QParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceSSIDtoVIDMappingParams[];
extern DMOBJ tWiFiDataElementsNetworkDeviceCACStatusObj[];
extern DMLEAF tWiFiDataElementsNetworkDeviceCACStatusParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceCACStatusCACAvailableChannelParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceCACStatusCACNonOccupancyChannelParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceCACStatusCACActiveChannelParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceSPRuleParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceIEEE1905SecurityParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceAnticipatedChannelsParams[];
extern DMOBJ tWiFiDataElementsNetworkDeviceAnticipatedChannelUsageObj[];
extern DMLEAF tWiFiDataElementsNetworkDeviceAnticipatedChannelUsageParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceAnticipatedChannelUsageEntryParams[];
extern DMOBJ tWiFiDataElementsNetworkDeviceMultiAPDeviceObj[];
extern DMLEAF tWiFiDataElementsNetworkDeviceMultiAPDeviceParams[];
extern DMOBJ tWiFiDataElementsNetworkDeviceMultiAPDeviceBackhaulObj[];
extern DMLEAF tWiFiDataElementsNetworkDeviceMultiAPDeviceBackhaulParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceMultiAPDeviceBackhaulCurrentOperatingClassProfileParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceMultiAPDeviceBackhaulStatsParams[];
extern DMOBJ tWiFiDataElementsNetworkDeviceRadioObj[]; extern DMOBJ tWiFiDataElementsNetworkDeviceRadioObj[];
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioParams[]; 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 DMOBJ tWiFiDataElementsNetworkDeviceRadioScanResultObj[];
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioScanResultParams[]; extern DMLEAF tWiFiDataElementsNetworkDeviceRadioScanResultParams[];
extern DMOBJ tWiFiDataElementsNetworkDeviceRadioScanResultOpClassScanObj[]; extern DMOBJ tWiFiDataElementsNetworkDeviceRadioScanResultOpClassScanObj[];
@ -65,6 +76,7 @@ extern DMLEAF tWiFiDataElementsNetworkDeviceRadioScanResultOpClassScanParams[];
extern DMOBJ tWiFiDataElementsNetworkDeviceRadioScanResultOpClassScanChannelScanObj[]; extern DMOBJ tWiFiDataElementsNetworkDeviceRadioScanResultOpClassScanChannelScanObj[];
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioScanResultOpClassScanChannelScanParams[]; extern DMLEAF tWiFiDataElementsNetworkDeviceRadioScanResultOpClassScanChannelScanParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioScanResultOpClassScanChannelScanNeighborBSSParams[]; extern DMLEAF tWiFiDataElementsNetworkDeviceRadioScanResultOpClassScanChannelScanNeighborBSSParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioBackhaulStaParams[];
extern DMOBJ tWiFiDataElementsNetworkDeviceRadioScanCapabilityObj[]; extern DMOBJ tWiFiDataElementsNetworkDeviceRadioScanCapabilityObj[];
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioScanCapabilityParams[]; extern DMLEAF tWiFiDataElementsNetworkDeviceRadioScanCapabilityParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioScanCapabilityOpClassChannelsParams[]; extern DMLEAF tWiFiDataElementsNetworkDeviceRadioScanCapabilityOpClassChannelsParams[];
@ -73,20 +85,40 @@ extern DMLEAF tWiFiDataElementsNetworkDeviceRadioCACCapabilityParams[];
extern DMOBJ tWiFiDataElementsNetworkDeviceRadioCACCapabilityCACMethodObj[]; extern DMOBJ tWiFiDataElementsNetworkDeviceRadioCACCapabilityCACMethodObj[];
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioCACCapabilityCACMethodParams[]; extern DMLEAF tWiFiDataElementsNetworkDeviceRadioCACCapabilityCACMethodParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioCACCapabilityCACMethodOpClassChannelsParams[]; extern DMLEAF tWiFiDataElementsNetworkDeviceRadioCACCapabilityCACMethodOpClassChannelsParams[];
extern DMOBJ tWiFiDataElementsNetworkDeviceRadioCapabilitiesObj[];
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioCapabilitiesParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioCapabilitiesWiFi6APRoleParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioCapabilitiesWiFi6bSTARoleParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioCapabilitiesAKMFrontHaulParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioCapabilitiesAKMBackhaulParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioCapabilitiesCapableOperatingClassProfileParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioCurrentOperatingClassProfileParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioDisAllowedOpClassChannelsParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioSpatialReuseParams[];
extern DMOBJ tWiFiDataElementsNetworkDeviceRadioBSSObj[];
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioBSSParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioBSSQMDescriptorParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioBSSMultiAPSteeringParams[];
extern DMOBJ tWiFiDataElementsNetworkDeviceRadioBSSSTAObj[];
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioBSSSTAParams[];
extern DMOBJ tWiFiDataElementsNetworkDeviceRadioBSSSTAMultiAPSTAObj[];
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioBSSSTAMultiAPSTAParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioBSSSTAMultiAPSTASteeringSummaryStatsParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioBSSSTAMultiAPSTASteeringHistoryParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioBSSSTAWiFi6CapabilitiesParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioBSSSTATIDQueueSizesParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioUnassociatedSTAParams[]; extern DMLEAF tWiFiDataElementsNetworkDeviceRadioUnassociatedSTAParams[];
extern DMOBJ tWiFiDataElementsNetworkDeviceMultiAPDeviceObj[]; extern DMLEAF tWiFiDataElementsNetworkDeviceRadioMultiAPRadioParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceMultiAPDeviceParams[];
extern DMOBJ tWiFiDataElementsNetworkDeviceMultiAPDeviceBackhaulObj[];
extern DMLEAF tWiFiDataElementsNetworkDeviceMultiAPDeviceBackhaulParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceMultiAPDeviceBackhaulCurrentOperatingClassProfileParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceMultiAPDeviceBackhaulStatsParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceDefault8021QParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceSSIDtoVIDMappingParams[];
extern DMOBJ tWiFiDataElementsAssociationEventObj[]; extern DMOBJ tWiFiDataElementsAssociationEventObj[];
extern DMLEAF tWiFiDataElementsAssociationEventParams[]; extern DMLEAF tWiFiDataElementsAssociationEventParams[];
extern DMOBJ tWiFiDataElementsAssociationEventAssociationEventDataObj[];
extern DMLEAF tWiFiDataElementsAssociationEventAssociationEventDataParams[]; extern DMLEAF tWiFiDataElementsAssociationEventAssociationEventDataParams[];
extern DMLEAF tWiFiDataElementsAssociationEventAssociationEventDataWiFi6CapabilitiesParams[];
extern DMOBJ tWiFiDataElementsDisassociationEventObj[]; extern DMOBJ tWiFiDataElementsDisassociationEventObj[];
extern DMLEAF tWiFiDataElementsDisassociationEventParams[]; extern DMLEAF tWiFiDataElementsDisassociationEventParams[];
extern DMLEAF tWiFiDataElementsDisassociationEventDisassociationEventDataParams[]; extern DMLEAF tWiFiDataElementsDisassociationEventDisassociationEventDataParams[];
extern DMOBJ tWiFiDataElementsFailedConnectionEventObj[];
extern DMLEAF tWiFiDataElementsFailedConnectionEventParams[];
extern DMLEAF tWiFiDataElementsFailedConnectionEventFailedConnectionEventDataParams[];
#endif #endif

View file

@ -52,6 +52,8 @@ char *Provider_Bridge_Type[] = {"S-VLAN", "PE", NULL};
char *AdvPreferredRouterFlag[] = {"High", "Medium", "Low", NULL}; char *AdvPreferredRouterFlag[] = {"High", "Medium", "Low", NULL};
char *PowerState[] = {"On", "Power_Save", "Off", "Unsupported", NULL}; char *PowerState[] = {"On", "Power_Save", "Off", "Unsupported", NULL};
char *FW_Mode[] = {"AnyTime", "Immediately", "WhenIdle", "ConfirmationNeeded", NULL}; char *FW_Mode[] = {"AnyTime", "Immediately", "WhenIdle", "ConfirmationNeeded", NULL};
char *AKMsAllowed[] = {"psk", "dpp", "sae", "psk+sae", "dpp+sae", "dpp+psk+sae", "SuiteSelector", NULL};
char *CellularDataPreference[] = {"Excluded", "Should not use", "Should use", NULL};
char *PIN[] = {"^\\d{4}|\\d{8}$", NULL}; char *PIN[] = {"^\\d{4}|\\d{8}$", NULL};
char *DestinationAddress[] = {"^\\d+/\\d+$", NULL}; char *DestinationAddress[] = {"^\\d+/\\d+$", NULL};

View file

@ -115,6 +115,8 @@ extern char *Provider_Bridge_Type[];
extern char *AdvPreferredRouterFlag[]; extern char *AdvPreferredRouterFlag[];
extern char *PowerState[]; extern char *PowerState[];
extern char *FW_Mode[]; extern char *FW_Mode[];
extern char *AKMsAllowed[];
extern char *CellularDataPreference[];
#define CRONTABS_ROOT "/etc/crontabs/root" #define CRONTABS_ROOT "/etc/crontabs/root"
#define ACTIVATE_HANDLER_FILE "/usr/share/bbfdm/bbf_activate_handler.sh" #define ACTIVATE_HANDLER_FILE "/usr/share/bbfdm/bbf_activate_handler.sh"

View file

@ -1492,7 +1492,7 @@ static void test_api_bbfdm_valid_library_event(void **state)
idx++; idx++;
} }
assert_int_equal(idx, 6); assert_int_equal(idx, 8);
} }
static void test_api_bbfdm_valid_json_event(void **state) static void test_api_bbfdm_valid_json_event(void **state)
@ -1532,7 +1532,7 @@ static void test_api_bbfdm_valid_json_event(void **state)
idx++; idx++;
} }
assert_int_equal(idx, 6); assert_int_equal(idx, 8);
} }
static void test_api_bbfdm_valid_json_v1_event(void **state) static void test_api_bbfdm_valid_json_v1_event(void **state)
@ -1574,7 +1574,7 @@ static void test_api_bbfdm_valid_json_v1_event(void **state)
idx++; idx++;
} }
assert_int_equal(idx, 6); assert_int_equal(idx, 8);
} }
int main(void) int main(void)

View file

@ -50,6 +50,10 @@ config ap
config node config node
option agent_id '46:d4:37:71:b4:10' option agent_id '46:d4:37:71:b4:10'
option primary_vid '55'
option primary_pcp '16'
list steer_exclude '00:aa:bb:cc:dd:ee'
list steer_exclude_btm '00:aa:bb:cc:dd:ee'
config radio config radio
option agent_id '46:d4:37:71:b4:10' option agent_id '46:d4:37:71:b4:10'

View file

View file

@ -1,10 +0,0 @@
{
"fail_no_candidate": 10,
"assoc_cntlr_attempts": 15,
"assoc_cntlr_success": 13,
"assoc_cntlr_fail": 2,
"btm_attempts": 25,
"btm_success": 19,
"btm_fail": 6,
"btm_query_resp": 3
}

View file

@ -1,21 +1,21 @@
{ {
"date": "Mon Dec 13 06:54:32 2021", "date": "Thu Mar 10 09:48:56 2022",
"version": "0.2", "version": "0.2",
"description": "WFA Data Elements", "description": "WFA Data Elements",
"TimeStamp": "2021-12-13T06:54:32+01:00", "TimeStamp": "2022-03-10T09:48:56+01:00",
"name": "wifi", "name": "wifi",
"data": [ "data": [
{ {
"wfa-dataelements:Network": { "wfa-dataelements:Network": {
"ID": "", "ID": "46:d4:37:71:b4:19",
"NumberOfDevices": 1, "NumberOfDevices": 1,
"ControllerID": "46:d4:37:71:b4:10", "ControllerID": "46:d4:37:71:b4:10",
"TimeStamp": "2021-12-13T06:06:35+01:00", "TimeStamp": "2022-03-10T09:48:56+01:00",
"DeviceList": [ "DeviceList": [
{ {
"ID": "46:d4:37:71:b4:10", "ID": "46:d4:37:71:b4:10",
"NumberOfRadios": 2, "NumberOfRadios": 2,
"CollectionInterval": 0, "CollectionInterval": 5,
"RadioList": [ "RadioList": [
{ {
"ID": "RNQ3cbQf", "ID": "RNQ3cbQf",
@ -32,7 +32,7 @@
{ {
"BSSID": "7e:d4:37:71:b4:18", "BSSID": "7e:d4:37:71:b4:18",
"SSID": "MAP-44D43771B410-BH-5GHz", "SSID": "MAP-44D43771B410-BH-5GHz",
"TimeStamp": "2021-12-13T06:06:35+01:00", "TimeStamp": "2022-03-10T09:48:35+01:00",
"Enabled": true, "Enabled": true,
"LastChange": 0, "LastChange": 0,
"NumberofSTA": 1, "NumberofSTA": 1,
@ -40,12 +40,12 @@
"EstServiceParametersBK": "AAAA", "EstServiceParametersBK": "AAAA",
"EstServiceParametersVO": "AAAA", "EstServiceParametersVO": "AAAA",
"EstServiceParametersVI": "AAAA", "EstServiceParametersVI": "AAAA",
"UnicastBytesReceived": 0, "UnicastBytesReceived": 7,
"UnicastBytesSent": 0, "UnicastBytesSent": 8,
"MulticastBytesReceived": 0, "MulticastBytesReceived": 30,
"MulticastBytesSent": 30, "MulticastBytesSent": 3039979,
"BroadcastBytesReceived": 0, "BroadcastBytesReceived": 24,
"BroadcastBytesSent": 0, "BroadcastBytesSent": 2440500,
"STAList": [ "STAList": [
{ {
"MACAddress": "44:d4:37:71:be:6f", "MACAddress": "44:d4:37:71:be:6f",
@ -81,18 +81,18 @@
"SSID": "iopsysWrt-44D43771B410", "SSID": "iopsysWrt-44D43771B410",
"TimeStamp": "2021-12-13T06:06:35+01:00", "TimeStamp": "2021-12-13T06:06:35+01:00",
"Enabled": true, "Enabled": true,
"LastChange": 0, "LastChange": 789,
"NumberofSTA": 0, "NumberofSTA": 0,
"EstServiceParametersBE": "AAAA", "EstServiceParametersBE": "AAAA",
"EstServiceParametersBK": "AAAA", "EstServiceParametersBK": "A=AA",
"EstServiceParametersVO": "AAAA", "EstServiceParametersVO": "AA=A",
"EstServiceParametersVI": "AAAA", "EstServiceParametersVI": "AAA=",
"UnicastBytesReceived": 0, "UnicastBytesReceived": 5540,
"UnicastBytesSent": 0, "UnicastBytesSent": 21567,
"MulticastBytesReceived": 0, "MulticastBytesReceived": 523569,
"MulticastBytesSent": 48, "MulticastBytesSent": 3963880,
"BroadcastBytesReceived": 0, "BroadcastBytesReceived": 185622,
"BroadcastBytesSent": 0, "BroadcastBytesSent": 2368831,
"STAList": [ "STAList": [
] ]
@ -219,28 +219,28 @@
"Enabled": true, "Enabled": true,
"NumberOfCurrOpClass": 1, "NumberOfCurrOpClass": 1,
"NumberOfUnassocSta": 0, "NumberOfUnassocSta": 0,
"Utilization": 0, "Utilization": 20,
"Transmit": 56, "Transmit": 56,
"ReceiveSelf": 0, "ReceiveSelf": 10,
"RecieveOther": 128, "RecieveOther": 128,
"BSSList": [ "BSSList": [
{ {
"BSSID": "7a:d4:37:71:b4:1f", "BSSID": "7a:d4:37:71:b4:1f",
"SSID": "MAP-44D43771B410-BH-2.4GHz", "SSID": "MAP-44D43771B410-BH-2.4GHz",
"TimeStamp": "2021-12-13T06:06:35+01:00", "TimeStamp": "2022-03-10T09:48:35+01:00",
"Enabled": true, "Enabled": true,
"LastChange": 0, "LastChange": 150,
"NumberofSTA": 0, "NumberofSTA": 0,
"EstServiceParametersBE": "AAAA", "EstServiceParametersBE": "AAAA",
"EstServiceParametersBK": "AAAA", "EstServiceParametersBK": "AAAA",
"EstServiceParametersVO": "AAAA", "EstServiceParametersVO": "AAAA",
"EstServiceParametersVI": "AAAA", "EstServiceParametersVI": "AAAA",
"UnicastBytesReceived": 0, "UnicastBytesReceived": 1475,
"UnicastBytesSent": 0, "UnicastBytesSent": 150,
"MulticastBytesReceived": 0, "MulticastBytesReceived": 1520,
"MulticastBytesSent": 30, "MulticastBytesSent": 3040038,
"BroadcastBytesReceived": 0, "BroadcastBytesReceived": 7450,
"BroadcastBytesSent": 0, "BroadcastBytesSent": 2440491,
"STAList": [ "STAList": [
] ]
@ -248,20 +248,20 @@
{ {
"BSSID": "44:d4:37:71:b4:1e", "BSSID": "44:d4:37:71:b4:1e",
"SSID": "iopsysWrt-44D43771B410", "SSID": "iopsysWrt-44D43771B410",
"TimeStamp": "2021-12-13T06:06:35+01:00", "TimeStamp": "2022-03-10T09:48:35+01:00",
"Enabled": true, "Enabled": true,
"LastChange": 0, "LastChange": 7899,
"NumberofSTA": 0, "NumberofSTA": 0,
"EstServiceParametersBE": "AAAA", "EstServiceParametersBE": "AAAA",
"EstServiceParametersBK": "AAAA", "EstServiceParametersBK": "AAAA",
"EstServiceParametersVO": "AAAA", "EstServiceParametersVO": "AAAA",
"EstServiceParametersVI": "AAAA", "EstServiceParametersVI": "AAAA",
"UnicastBytesReceived": 0, "UnicastBytesReceived": 4579,
"UnicastBytesSent": 0, "UnicastBytesSent": 9651,
"MulticastBytesReceived": 0, "MulticastBytesReceived": 456,
"MulticastBytesSent": 34, "MulticastBytesSent": 3963894,
"BroadcastBytesReceived": 0, "BroadcastBytesReceived": 8755,
"BroadcastBytesSent": 0, "BroadcastBytesSent": 2368832,
"STAList": [ "STAList": [
] ]

View file

@ -1,160 +1,713 @@
{ {
"num_ssid": 4, "date": "Thu Mar 10 09:48:56 2022",
"ssidlist": [ "version": "0.2",
{ "description": "WFA Data Elements",
"ssid": "iopsysWrt-44D43771B410", "TimeStamp": "2022-03-10T09:48:56+01:00",
"band": "5GHz", "name": "wifi",
"vid": 1, "data": [
"security": "WPA3PSK/WPA2PSK+WPA3PSK" {
}, "wfa-dataelements:Network": {
{ "ID": "46:d4:37:71:b4:19",
"ssid": "iopsysWrt-44D43771B410", "TimeStamp": "2022-03-10T09:48:56+01:00",
"band": "2.4GHz", "ControllerID": "46:d4:37:71:b4:10",
"vid": 1, "DeviceNumberOfEntries": 1,
"security": "WPA3PSK/WPA2PSK+WPA3PSK" "MSCSDisallowedStaList": [
}, "10:20:40:50:60:88",
{ "10:20:30:50:70:90",
"ssid": "MAP-44D43771B410-BH-5GHz", "10:30:40:90:60:90"
"band": "5GHz", ],
"vid": 1, "SCSDisallowedStaList": [
"security": "WPA3PSK" "11:22:33:50:60:88",
}, "11:23:34:56:78:99"
{ ],
"ssid": "MAP-44D43771B410-BH-2.4GHz", "SSIDNumberOfEntries": 4,
"band": "2.4GHz", "SSID": [
"vid": 1, {
"security": "WPA3PSK" "SSID": "iopsysWrt-44D43771B410",
} "Band": "5"
], },
"num_ap_devices": 1, {
"APDeviceList": [ "SSID": "iopsysWrt-44D43771B410",
{ "Band": "2.4"
"macaddr": "46:d4:37:71:b4:10", },
"manufacturer": "IOPSYS", {
"oui": "00:22:07", "SSID": "MAP-44D43771B410-BH-5GHz",
"product_class": "AP", "Band": "5"
"serialnumber": "12345", },
"version": "6.4", {
"last_connect_time": "TODO", "SSID": "MAP-44D43771B410-BH-2.4GHz",
"backhaul_type": "TODO", "Band": "2.4"
"backhaul_macaddr": "TODO", }
"backhaul_tx_bytes": 0, ],
"backhaul_rx_bytes": 0, "MultiAPSteeringSummaryStats": {
"backhaul_utilization": 0, "NoCandidateAPFailures": 10,
"backhaul_rcpi": 0, "BlacklistAttempts": 15,
"radar_detections": [ "BlacklistSuccesses": 13,
"BlacklistFailures": 2,
"BTMAttempts": 25,
"BTMSuccesses": 19,
"BTMFailures": 6,
"BTMQueryResponses": 3
},
"DeviceList": [
{
"ID": "46:d4:37:71:b4:10",
"MultiAPCapabilities": "DA==",
"CollectionInterval": 5,
"ReportUnsuccessfulAssociations": "true",
"MaxReportingRate": 55,
"APMetricsReportingInterval": 44,
"Manufacturer": "IOPSYS",
"SerialNumber": "46:d4:37",
"ManufacturerModel": "IOPSYS",
"SoftwareVersion": "6.5.0",
"ExecutionEnv": "Device.SoftwareModules.ExecEnv.1.",
"DSCPMap": "0x3F",
"MaxPrioritizationRules": 50,
"PrioritizationSupport": "false",
"MaxVIDs": 4096,
"APMetricsWiFi6": "true",
"CountryCode": "SE",
"LocalSteeringDisallowedSTAList": [
"10:20:40:50:60:88",
"10:20:30:50:70:90"
],
"BTMSteeringDisallowedSTAList": [
"11:22:33:50:60:88",
"11:23:34:56:78:99"
],
"DFSEnable": "true",
"ReportIndependentScans": "true",
"AssociatedSTAinAPMetricsWiFi6": "true",
"MaxUnsuccessfulAssociationReportingRate": 55,
"STASteeringState": "true",
"CoordinatedCACAllowed": "true",
"TrafficSeparationAllowed": "true",
"ServicePrioritizationAllowed": "true",
"RadioNumberOfEntries": 2,
"Default8021QNumberOfEntries": 1,
"SSIDtoVIDMappingNumberOfEntries": 1,
"CACStatusNumberOfEntries": 0,
"IEEE1905SecurityNumberOfEntries": 0,
"SPRuleNumberOfEntries": 0,
"AnticipatedChannelsNumberOfEntries": 0,
"AnticipatedChannelUsageNumberOfEntries": 0,
"Default8021Q": [
{
"Enable": "true",
"PrimaryVID": "",
"DefaultPCP": ""
}
],
"SSIDtoVIDMapping": [
{
"SSID": "MAP-44D43771B410-BH",
"VID": "17"
}
],
"CACStatus": [
],
"SPRule": [
],
"IEEE1905Security": [
],
"AnticipatedChannels": [
],
"AnticipatedChannelUsage": [
],
"MultiAPDevice": {
"ManufacturerOUI": "TODO",
"LastContactTime": "2022-03-10T20:44:35+01:00",
"AssocIEEE1905DeviceRef": "TODO",
"EasyMeshControllerOperationMode": "TODO",
"EasyMeshAgentOperationMode": "TODO",
"Backhaul": {
"LinkType": "TODO",
"BackhaulMACAddress": "TODO MACAddress",
"BackhaulDeviceID": "TODO MACAddress",
"MACAddress": "TODO MACAddress",
"CurrentOperatingClassProfileNumberOfEntries": 1,
"CurrentOperatingClassProfile": [
{
"Class": "",
"Channel": "",
"TxPower": "",
"TimeStamp": "2022-03-10T15:48:35+01:00"
}
],
"Stats": {
"BytesSent": 15222,
"BytesReceived": 4776,
"PacketsSent": 86868,
"PacketsReceived": 74177,
"ErrorsSent": 52,
"ErrorsReceived": 784,
"LinkUtilization": 554,
"SignalStrength": 96,
"LastDataDownlinkRate": 74,
"LastDataUplinkRate": 5,
"TimeStamp": "2022-02-18T20:00:00+01:00"
}
}
},
"RadioList": [
{
"ID": "RNQ3cbQf",
"Enabled": "true",
"Noise": 170,
"Utilization": 0,
"Transmit": 56,
"ReceiveSelf": 0,
"ReceiveOther": 56,
"TrafficSeparationCombinedFronthaul": "true",
"TrafficSeparationCombinedBackhaul": "true",
"SteeringPolicy": 0,
"ChannelUtilizationThreshold": 0,
"RCPISteeringThreshold": 0,
"STAReportingRCPIThreshold": 0,
"STAReportingRCPIHysteresisMarginOverride": 0,
"ChannelUtilizationReportingThreshold": 0,
"AssociatedSTATrafficStatsInclusionPolicy": "true",
"AssociatedSTALinkMetricsInclusionPolicy": "true",
"ChipsetVendor": "IOPSYS",
"APMetricsWiFi6": "true",
"CurrentOperatingClassProfileNumberOfEntries": 0,
"UnassociatedSTANumberOfEntries": 0,
"BSSNumberOfEntries": 2,
"ScanResultNumberOfEntries": 0,
"DisAllowedOpClassChannelsNumberOfEntries": 0,
"ScanResult": [
],
"BackhaulSta": {
"MACAddress": "44:d4:37:71:be:6f"
},
"ScanCapability": {
"OnBootOnly": "true",
"Impact": 0,
"MinimumInterval": 0,
"OpClassChannelsNumberOfEntries": 0,
"OpClassChannels": [
]
},
"CACCapability": {
"CACMethodNumberOfEntries": 0,
"CACMethod": [
]
},
"Capabilities": {
"HTCapabilities": "Dg==",
"VHTCapabilities": "AAAAAAIw",
"HECapabilities": "AAA=",
"CapableOperatingClassProfileNumberOfEntries": 0,
"AKMFrontHaulNumberOfEntries": 0,
"AKMBackhaulNumberOfEntries": 0,
"WiFi6APRole": {
"HE160": "true",
"HE8080": "true",
"MCSNSS": "TODO base64(4:12)",
"SUBeamformer": "true",
"SUBeamformee": "true",
"MUBeamformer": "true",
"Beamformee80orLess": "true",
"BeamformeeAbove80": "true",
"ULMUMIMO": "true",
"ULOFDMA": "true",
"MaxDLMUMIMO": 0,
"MaxULMUMIMO": 0,
"MaxDLOFDMA": 0,
"MaxULOFDMA": 0,
"RTS": "true",
"MURTS": "true",
"MultiBSSID": "true",
"MUEDCA": "true",
"TWTRequestor": "true",
"TWTResponder": "true",
"SpatialReuse": "true",
"AnticipatedChannelUsage": "true"
},
"WiFi6bSTARole": {
"HE160": "true",
"HE8080": "true",
"MCSNSS": "TODO base64(4:12)",
"SUBeamformer": "true",
"SUBeamformee": "true",
"MUBeamformer": "true",
"Beamformee80orLess": "true",
"BeamformeeAbove80": "true",
"ULMUMIMO": "true",
"ULOFDMA": "true",
"MaxDLMUMIMO": 0,
"MaxULMUMIMO": 0,
"MaxDLOFDMA": 0,
"MaxULOFDMA": 0,
"RTS": "true",
"MURTS": "true",
"MultiBSSID": "true",
"MUEDCA": "true",
"TWTRequestor": "true",
"TWTResponder": "true",
"SpatialReuse": "true",
"AnticipatedChannelUsage": "true"
},
"AKMFrontHaul": [
],
"AKMBackhaul": [
],
"CapableOperatingClassProfile": [
]
},
"CurrentOperatingClassProfile": [
],
"DisAllowedOpClassChannels": [
],
"SpatialReuse": {
"PartialBSSColor": 0,
"BSSColor": 0,
"HESIGASpatialReuseValue15Allowed": "true",
"SRGInformationValid": "true",
"NonSRGOffsetValid": "true",
"PSRDisallowed": "true",
"NonSRGOBSSPDMaxOffset": 0,
"SRGOBSSPDMinOffset": 0,
"SRGOBSSPDMaxOffset": 0,
"SRGBSSColorBitmap": "TODO hexBinary(8:8)",
"SRGPartialBSSIDBitmap": "TODO hexBinary(8:8)",
"NeighborBSSColorInUseBitmap": "TODO hexBinary(8:8)"
},
"BSSList": [
{
"BSSID": "7e:d4:37:71:b4:18",
"SSID": "MAP-44D43771B410-BH-5GHz",
"Enabled": "true",
"LastChange": 0,
"TimeStamp": "2022-03-10T09:48:35+01:00",
"UnicastBytesSent": 7,
"UnicastBytesReceived": 8,
"MulticastBytesSent": 30,
"MulticastBytesReceived": 3039979,
"BroadcastBytesSent": 2440500,
"BroadcastBytesReceived": 24,
"ByteCounterUnits": 0,
"Profile1bSTAsDisallowed": "true",
"Profile2bSTAsDisallowed": "true",
"AssociationAllowanceStatus": 0,
"EstServiceParametersBE": "AA",
"EstServiceParametersBK": "BB",
"EstServiceParametersVI": "CC",
"EstServiceParametersVO": "DD",
"BackhaulUse": "true",
"FronthaulUse": "true",
"R1disallowed": "true",
"R2disallowed": "true",
"MultiBSSID": "true",
"TransmittedBSSID": "true",
"FronthaulAKMsAllowed": [
"sae",
"psk+sae",
"SuiteSelector"
],
"BackhaulAKMsAllowed": [
"psk",
"dpp"
],
"STANumberOfEntries": 1,
"QMDescriptorNumberOfEntries": 0,
"QMDescriptor": [
],
"MultiAPSteering": {
"BlacklistAttempts": 40,
"BTMAttempts": 15,
"BTMQueryResponses": 18
},
"STAList": [
{
"MACAddress": "44:d4:37:71:be:6f",
"TimeStamp": "2022-03-10T09:48:35+01:00",
"HTCapabilities": "/g==",
"VHTCapabilities": "AsAAAP6w",
"HECapabilities": "qv+q/2zA",
"ClientCapabilities": "TODO base64",
"LastDataDownlinkRate": 1361,
"LastDataUplinkRate": 1633,
"UtilizationReceive": 4,
"UtilizationTransmit": 5,
"EstMACDataRateDownlink": 10,
"EstMACDataRateUplink": 22,
"SignalStrength": 158,
"LastConnectTime": 6,
"BytesSent": 85439,
"BytesReceived": 7872,
"PacketsSent": 827,
"PacketsReceived": 44,
"ErrorsSent": 478,
"ErrorsReceived": 635,
"RetransCount": 2,
"NumberOfMeasureReports": 0,
"MeasurementReport": [
],
"IPV4Address": "TODO IPv4Address",
"IPV6Address": "TODO IPv6Address",
"Hostname": "",
"CellularDataPreference": "TODO",
"ReAssociationDelay": 0,
"TIDQueueSizesNumberOfEntries": 0,
"MultiAPSTA": {
"AssociationTime": "TODO dateTime",
"Noise": 0,
"SteeringHistoryNumberOfEntries": 0,
"SteeringSummaryStats": {
"NoCandidateAPFailures": 0,
"BlacklistAttempts": 0,
"BlacklistSuccesses": 0,
"BlacklistFailures": 0,
"BTMAttempts": 0,
"BTMSuccesses": 0,
"BTMFailures": 0,
"BTMQueryResponses": 0,
"LastSteerTime": 0
},
"SteeringHistory": [
]
},
"WiFi6Capabilities": {
"HE160": "true",
"HE8080": "true",
"MCSNSS": "TODO base64(4:12)",
"SUBeamformer": "true",
"SUBeamformee": "true",
"MUBeamformer": "true",
"Beamformee80orLess": "true",
"BeamformeeAbove80": "true",
"ULMUMIMO": "true",
"ULOFDMA": "true",
"MaxDLMUMIMO": 0,
"MaxULMUMIMO": 0,
"MaxDLOFDMA": 0,
"MaxULOFDMA": 0,
"RTS": "true",
"MURTS": "true",
"MultiBSSID": "true",
"MUEDCA": "true",
"TWTRequestor": "true",
"TWTResponder": "true",
"SpatialReuse": "true",
"AnticipatedChannelUsage": "true"
},
"TIDQueueSizes": [
]
}
]
},
{
"BSSID": "44:d4:37:71:b4:1f",
"SSID": "iopsysWrt-44D43771B410",
"Enabled": "true",
"LastChange": 789,
"TimeStamp": "2022-03-10T09:48:35+01:00",
"UnicastBytesSent": 21567,
"UnicastBytesReceived": 5540,
"MulticastBytesSent": 3963880,
"MulticastBytesReceived": 523569,
"BroadcastBytesSent": 2368831,
"BroadcastBytesReceived": 185622,
"ByteCounterUnits": 0,
"Profile1bSTAsDisallowed": "true",
"Profile2bSTAsDisallowed": "true",
"AssociationAllowanceStatus": 0,
"EstServiceParametersBE": "AAAA",
"EstServiceParametersBK": "A=AA",
"EstServiceParametersVI": "AA=A",
"EstServiceParametersVO": "AAA=",
"BackhaulUse": "true",
"FronthaulUse": "true",
"R1disallowed": "true",
"R2disallowed": "true",
"MultiBSSID": "true",
"TransmittedBSSID": "true",
"FronthaulAKMsAllowed": [
],
"BackhaulAKMsAllowed": [
],
"STANumberOfEntries": 0,
"QMDescriptorNumberOfEntries": 0,
"QMDescriptor": [
],
"MultiAPSteering": {
"BlacklistAttempts": 0,
"BTMAttempts": 0,
"BTMQueryResponses": 0
},
"STAList": [
], ]
"num_radios": 2, }
"RadioList": [ ],
{ "UnassociatedSTA": [
"macaddr": "44:d4:37:71:b4:1f",
"band": 5, ],
"standard": "ax", "MultiAPRadio": {
"channel": 36,
"bandwidth": 80, }
"channel_ext": 0, },
"mcs": 0, {
"txpower": 23, "ID": "RNQ3cbQe",
"channels": [ "Enabled": "true",
36, "Noise": 175,
40, "Utilization": 20,
44, "Transmit": 56,
48, "ReceiveSelf": 10,
52, "ReceiveOther": 128,
56, "TrafficSeparationCombinedFronthaul": "true",
60, "TrafficSeparationCombinedBackhaul": "true",
64, "SteeringPolicy": 0,
100, "ChannelUtilizationThreshold": 0,
104, "RCPISteeringThreshold": 0,
108, "STAReportingRCPIThreshold": 0,
112, "STAReportingRCPIHysteresisMarginOverride": 0,
116, "ChannelUtilizationReportingThreshold": 0,
120, "AssociatedSTATrafficStatsInclusionPolicy": "true",
124, "AssociatedSTALinkMetricsInclusionPolicy": "true",
128, "ChipsetVendor": "TODO",
132, "APMetricsWiFi6": "true",
136, "CurrentOperatingClassProfileNumberOfEntries": 0,
140, "UnassociatedSTANumberOfEntries": 1,
144 "BSSNumberOfEntries": 2,
], "ScanResultNumberOfEntries": 0,
"num_bss": 2, "DisAllowedOpClassChannelsNumberOfEntries": 0,
"APList": [ "ScanResult": [
{
"bssid": "7e:d4:37:71:b4:18", ],
"ssid": "MAP-44D43771B410-BH-5GHz", "BackhaulSta": {
"num_steer_assoc_control": 0, "MACAddress": "10:20:40:50:60:88"
"num_steer_btm": 0, },
"num_steer_btm_query": 0, "ScanCapability": {
"num_stations": 0, "OnBootOnly": "true",
"StationList": [ "Impact": 0,
"MinimumInterval": 0,
] "OpClassChannelsNumberOfEntries": 0,
}, "OpClassChannels": [
{
"bssid": "44:d4:37:71:b4:1f", ]
"ssid": "iopsysWrt-44D43771B410", },
"num_steer_assoc_control": 0, "CACCapability": {
"num_steer_btm": 0, "CACMethodNumberOfEntries": 0,
"num_steer_btm_query": 0, "CACMethod": [
"num_stations": 0,
"StationList": [ ]
},
] "Capabilities": {
} "HTCapabilities": "CA==",
] "VHTCapabilities": "AAAAAAAA",
}, "HECapabilities": "AAA=",
{ "CapableOperatingClassProfileNumberOfEntries": 0,
"macaddr": "44:d4:37:71:b4:1e", "AKMFrontHaulNumberOfEntries": 0,
"band": 2, "AKMBackhaulNumberOfEntries": 0,
"standard": "ax", "WiFi6APRole": {
"channel": 6, "HE160": "true",
"bandwidth": 20, "HE8080": "true",
"channel_ext": 0, "MCSNSS": "TODO base64(4:12)",
"mcs": 0, "SUBeamformer": "true",
"txpower": 20, "SUBeamformee": "true",
"channels": [ "MUBeamformer": "true",
1, "Beamformee80orLess": "true",
2, "BeamformeeAbove80": "true",
3, "ULMUMIMO": "true",
4, "ULOFDMA": "true",
5, "MaxDLMUMIMO": 0,
6, "MaxULMUMIMO": 0,
7, "MaxDLOFDMA": 0,
8, "MaxULOFDMA": 0,
9, "RTS": "true",
10, "MURTS": "true",
11, "MultiBSSID": "true",
12, "MUEDCA": "true",
13 "TWTRequestor": "true",
], "TWTResponder": "true",
"num_bss": 2, "SpatialReuse": "true",
"APList": [ "AnticipatedChannelUsage": "true"
{ },
"bssid": "7a:d4:37:71:b4:1f", "WiFi6bSTARole": {
"ssid": "MAP-44D43771B410-BH-2.4GHz", "HE160": "true",
"num_steer_assoc_control": 0, "HE8080": "true",
"num_steer_btm": 0, "MCSNSS": "TODO base64(4:12)",
"num_steer_btm_query": 0, "SUBeamformer": "true",
"num_stations": 0, "SUBeamformee": "true",
"StationList": [ "MUBeamformer": "true",
"Beamformee80orLess": "true",
] "BeamformeeAbove80": "true",
}, "ULMUMIMO": "true",
{ "ULOFDMA": "true",
"bssid": "44:d4:37:71:b4:1e", "MaxDLMUMIMO": 0,
"ssid": "iopsysWrt-44D43771B410", "MaxULMUMIMO": 0,
"num_steer_assoc_control": 0, "MaxDLOFDMA": 0,
"num_steer_btm": 0, "MaxULOFDMA": 0,
"num_steer_btm_query": 0, "RTS": "true",
"num_stations": 0, "MURTS": "true",
"StationList": [ "MultiBSSID": "true",
"MUEDCA": "true",
] "TWTRequestor": "true",
} "TWTResponder": "true",
] "SpatialReuse": "true",
} "AnticipatedChannelUsage": "true"
] },
} "AKMFrontHaul": [
]
} ],
"AKMBackhaul": [
],
"CapableOperatingClassProfile": [
]
},
"CurrentOperatingClassProfile": [
],
"DisAllowedOpClassChannels": [
],
"SpatialReuse": {
"PartialBSSColor": 0,
"BSSColor": 0,
"HESIGASpatialReuseValue15Allowed": "true",
"SRGInformationValid": "true",
"NonSRGOffsetValid": "true",
"PSRDisallowed": "true",
"NonSRGOBSSPDMaxOffset": 0,
"SRGOBSSPDMinOffset": 0,
"SRGOBSSPDMaxOffset": 0,
"SRGBSSColorBitmap": "TODO hexBinary(8:8)",
"SRGPartialBSSIDBitmap": "TODO hexBinary(8:8)",
"NeighborBSSColorInUseBitmap": "TODO hexBinary(8:8)"
},
"BSSList": [
{
"BSSID": "7a:d4:37:71:b4:1f",
"SSID": "MAP-44D43771B410-BH-2.4GHz",
"Enabled": "true",
"LastChange": 150,
"TimeStamp": "2022-03-10T09:48:35+01:00",
"UnicastBytesSent": 150,
"UnicastBytesReceived": 1475,
"MulticastBytesSent": 3040038,
"MulticastBytesReceived": 1520,
"BroadcastBytesSent": 2440491,
"BroadcastBytesReceived": 7450,
"ByteCounterUnits": 230,
"Profile1bSTAsDisallowed": "true",
"Profile2bSTAsDisallowed": "true",
"AssociationAllowanceStatus": 0,
"EstServiceParametersBE": "AA4A",
"EstServiceParametersBK": "1AAA",
"EstServiceParametersVI": "A2AA",
"EstServiceParametersVO": "AAA3",
"BackhaulUse": "true",
"FronthaulUse": "true",
"R1disallowed": "true",
"R2disallowed": "true",
"MultiBSSID": "true",
"TransmittedBSSID": "true",
"FronthaulAKMsAllowed": [
],
"BackhaulAKMsAllowed": [
],
"STANumberOfEntries": 0,
"QMDescriptorNumberOfEntries": 0,
"QMDescriptor": [
],
"MultiAPSteering": {
"BlacklistAttempts": 0,
"BTMAttempts": 0,
"BTMQueryResponses": 0
},
"STAList": [
]
},
{
"BSSID": "44:d4:37:71:b4:1e",
"SSID": "iopsysWrt-44D43771B410",
"Enabled": "true",
"LastChange": 7899,
"TimeStamp": "2022-03-10T09:48:35+01:00",
"UnicastBytesSent": 9651,
"UnicastBytesReceived": 4579,
"MulticastBytesSent": 3963894,
"MulticastBytesReceived": 456,
"BroadcastBytesSent": 2368832,
"BroadcastBytesReceived": 8755,
"ByteCounterUnits": 4857,
"Profile1bSTAsDisallowed": "true",
"Profile2bSTAsDisallowed": "true",
"AssociationAllowanceStatus": 0,
"EstServiceParametersBE": "A45A",
"EstServiceParametersBK": "12AA",
"EstServiceParametersVI": "A85A",
"EstServiceParametersVO": "8AA9",
"BackhaulUse": "true",
"FronthaulUse": "true",
"R1disallowed": "true",
"R2disallowed": "true",
"MultiBSSID": "true",
"TransmittedBSSID": "true",
"FronthaulAKMsAllowed": [
],
"BackhaulAKMsAllowed": [
],
"STANumberOfEntries": 0,
"QMDescriptorNumberOfEntries": 0,
"QMDescriptor": [
],
"MultiAPSteering": {
"BlacklistAttempts": 0,
"BTMAttempts": 0,
"BTMQueryResponses": 0
},
"STAList": [
]
}
],
"UnassociatedSTA": [
{
"MACAddress": "",
"SignalStrength": "125"
}
],
"MultiAPRadio": {
}
}
]
}
]
}
}
]
}

View file

@ -1,17 +0,0 @@
#!/bin/sh
. /usr/share/libubox/jshn.sh
case "$1" in
list)
echo '{ "steer_summary" : {} }'
;;
call)
case "$2" in
steer_summary)
cat /tmp/mapcontroller_steer_summary.data 2>/dev/null
;;
esac
;;
esac