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 DMOBJ tWiFiDataElementsNetworkDeviceObj[];
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 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[];
@ -65,6 +76,7 @@ extern DMLEAF tWiFiDataElementsNetworkDeviceRadioScanResultOpClassScanParams[];
extern DMOBJ tWiFiDataElementsNetworkDeviceRadioScanResultOpClassScanChannelScanObj[];
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioScanResultOpClassScanChannelScanParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioScanResultOpClassScanChannelScanNeighborBSSParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioBackhaulStaParams[];
extern DMOBJ tWiFiDataElementsNetworkDeviceRadioScanCapabilityObj[];
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioScanCapabilityParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioScanCapabilityOpClassChannelsParams[];
@ -73,20 +85,40 @@ extern DMLEAF tWiFiDataElementsNetworkDeviceRadioCACCapabilityParams[];
extern DMOBJ tWiFiDataElementsNetworkDeviceRadioCACCapabilityCACMethodObj[];
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioCACCapabilityCACMethodParams[];
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 DMOBJ tWiFiDataElementsNetworkDeviceMultiAPDeviceObj[];
extern DMLEAF tWiFiDataElementsNetworkDeviceMultiAPDeviceParams[];
extern DMOBJ tWiFiDataElementsNetworkDeviceMultiAPDeviceBackhaulObj[];
extern DMLEAF tWiFiDataElementsNetworkDeviceMultiAPDeviceBackhaulParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceMultiAPDeviceBackhaulCurrentOperatingClassProfileParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceMultiAPDeviceBackhaulStatsParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceDefault8021QParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceSSIDtoVIDMappingParams[];
extern DMLEAF tWiFiDataElementsNetworkDeviceRadioMultiAPRadioParams[];
extern DMOBJ tWiFiDataElementsAssociationEventObj[];
extern DMLEAF tWiFiDataElementsAssociationEventParams[];
extern DMOBJ tWiFiDataElementsAssociationEventAssociationEventDataObj[];
extern DMLEAF tWiFiDataElementsAssociationEventAssociationEventDataParams[];
extern DMLEAF tWiFiDataElementsAssociationEventAssociationEventDataWiFi6CapabilitiesParams[];
extern DMOBJ tWiFiDataElementsDisassociationEventObj[];
extern DMLEAF tWiFiDataElementsDisassociationEventParams[];
extern DMLEAF tWiFiDataElementsDisassociationEventDisassociationEventDataParams[];
extern DMOBJ tWiFiDataElementsFailedConnectionEventObj[];
extern DMLEAF tWiFiDataElementsFailedConnectionEventParams[];
extern DMLEAF tWiFiDataElementsFailedConnectionEventFailedConnectionEventDataParams[];
#endif

View file

@ -52,6 +52,8 @@ char *Provider_Bridge_Type[] = {"S-VLAN", "PE", NULL};
char *AdvPreferredRouterFlag[] = {"High", "Medium", "Low", NULL};
char *PowerState[] = {"On", "Power_Save", "Off", "Unsupported", 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 *DestinationAddress[] = {"^\\d+/\\d+$", NULL};

View file

@ -115,6 +115,8 @@ extern char *Provider_Bridge_Type[];
extern char *AdvPreferredRouterFlag[];
extern char *PowerState[];
extern char *FW_Mode[];
extern char *AKMsAllowed[];
extern char *CellularDataPreference[];
#define CRONTABS_ROOT "/etc/crontabs/root"
#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++;
}
assert_int_equal(idx, 6);
assert_int_equal(idx, 8);
}
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++;
}
assert_int_equal(idx, 6);
assert_int_equal(idx, 8);
}
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++;
}
assert_int_equal(idx, 6);
assert_int_equal(idx, 8);
}
int main(void)

View file

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

View file

@ -1,160 +1,713 @@
{
"num_ssid": 4,
"ssidlist": [
"date": "Thu Mar 10 09:48:56 2022",
"version": "0.2",
"description": "WFA Data Elements",
"TimeStamp": "2022-03-10T09:48:56+01:00",
"name": "wifi",
"data": [
{
"ssid": "iopsysWrt-44D43771B410",
"band": "5GHz",
"vid": 1,
"security": "WPA3PSK/WPA2PSK+WPA3PSK"
"wfa-dataelements:Network": {
"ID": "46:d4:37:71:b4:19",
"TimeStamp": "2022-03-10T09:48:56+01:00",
"ControllerID": "46:d4:37:71:b4:10",
"DeviceNumberOfEntries": 1,
"MSCSDisallowedStaList": [
"10:20:40:50:60:88",
"10:20:30:50:70:90",
"10:30:40:90:60:90"
],
"SCSDisallowedStaList": [
"11:22:33:50:60:88",
"11:23:34:56:78:99"
],
"SSIDNumberOfEntries": 4,
"SSID": [
{
"SSID": "iopsysWrt-44D43771B410",
"Band": "5"
},
{
"ssid": "iopsysWrt-44D43771B410",
"band": "2.4GHz",
"vid": 1,
"security": "WPA3PSK/WPA2PSK+WPA3PSK"
"SSID": "iopsysWrt-44D43771B410",
"Band": "2.4"
},
{
"ssid": "MAP-44D43771B410-BH-5GHz",
"band": "5GHz",
"vid": 1,
"security": "WPA3PSK"
"SSID": "MAP-44D43771B410-BH-5GHz",
"Band": "5"
},
{
"ssid": "MAP-44D43771B410-BH-2.4GHz",
"band": "2.4GHz",
"vid": 1,
"security": "WPA3PSK"
"SSID": "MAP-44D43771B410-BH-2.4GHz",
"Band": "2.4"
}
],
"num_ap_devices": 1,
"APDeviceList": [
"MultiAPSteeringSummaryStats": {
"NoCandidateAPFailures": 10,
"BlacklistAttempts": 15,
"BlacklistSuccesses": 13,
"BlacklistFailures": 2,
"BTMAttempts": 25,
"BTMSuccesses": 19,
"BTMFailures": 6,
"BTMQueryResponses": 3
},
"DeviceList": [
{
"macaddr": "46:d4:37:71:b4:10",
"manufacturer": "IOPSYS",
"oui": "00:22:07",
"product_class": "AP",
"serialnumber": "12345",
"version": "6.4",
"last_connect_time": "TODO",
"backhaul_type": "TODO",
"backhaul_macaddr": "TODO",
"backhaul_tx_bytes": 0,
"backhaul_rx_bytes": 0,
"backhaul_utilization": 0,
"backhaul_rcpi": 0,
"radar_detections": [
"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": [
],
"num_radios": 2,
"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": [
{
"macaddr": "44:d4:37:71:b4:1f",
"band": 5,
"standard": "ax",
"channel": 36,
"bandwidth": 80,
"channel_ext": 0,
"mcs": 0,
"txpower": 23,
"channels": [
36,
40,
44,
48,
52,
56,
60,
64,
100,
104,
108,
112,
116,
120,
124,
128,
132,
136,
140,
144
"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": [
],
"num_bss": 2,
"APList": [
{
"bssid": "7e:d4:37:71:b4:18",
"ssid": "MAP-44D43771B410-BH-5GHz",
"num_steer_assoc_control": 0,
"num_steer_btm": 0,
"num_steer_btm_query": 0,
"num_stations": 0,
"StationList": [
"BackhaulSta": {
"MACAddress": "44:d4:37:71:be:6f"
},
"ScanCapability": {
"OnBootOnly": "true",
"Impact": 0,
"MinimumInterval": 0,
"OpClassChannelsNumberOfEntries": 0,
"OpClassChannels": [
]
},
{
"bssid": "44:d4:37:71:b4:1f",
"ssid": "iopsysWrt-44D43771B410",
"num_steer_assoc_control": 0,
"num_steer_btm": 0,
"num_steer_btm_query": 0,
"num_stations": 0,
"StationList": [
"CACCapability": {
"CACMethodNumberOfEntries": 0,
"CACMethod": [
]
}
]
},
{
"macaddr": "44:d4:37:71:b4:1e",
"band": 2,
"standard": "ax",
"channel": 6,
"bandwidth": 20,
"channel_ext": 0,
"mcs": 0,
"txpower": 20,
"channels": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13
"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": [
],
"num_bss": 2,
"APList": [
"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",
"num_steer_assoc_control": 0,
"num_steer_btm": 0,
"num_steer_btm_query": 0,
"num_stations": 0,
"StationList": [
"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": [
]
}
],
"UnassociatedSTA": [
],
"MultiAPRadio": {
}
},
{
"ID": "RNQ3cbQe",
"Enabled": "true",
"Noise": 175,
"Utilization": 20,
"Transmit": 56,
"ReceiveSelf": 10,
"ReceiveOther": 128,
"TrafficSeparationCombinedFronthaul": "true",
"TrafficSeparationCombinedBackhaul": "true",
"SteeringPolicy": 0,
"ChannelUtilizationThreshold": 0,
"RCPISteeringThreshold": 0,
"STAReportingRCPIThreshold": 0,
"STAReportingRCPIHysteresisMarginOverride": 0,
"ChannelUtilizationReportingThreshold": 0,
"AssociatedSTATrafficStatsInclusionPolicy": "true",
"AssociatedSTALinkMetricsInclusionPolicy": "true",
"ChipsetVendor": "TODO",
"APMetricsWiFi6": "true",
"CurrentOperatingClassProfileNumberOfEntries": 0,
"UnassociatedSTANumberOfEntries": 1,
"BSSNumberOfEntries": 2,
"ScanResultNumberOfEntries": 0,
"DisAllowedOpClassChannelsNumberOfEntries": 0,
"ScanResult": [
],
"BackhaulSta": {
"MACAddress": "10:20:40:50:60:88"
},
"ScanCapability": {
"OnBootOnly": "true",
"Impact": 0,
"MinimumInterval": 0,
"OpClassChannelsNumberOfEntries": 0,
"OpClassChannels": [
]
},
"CACCapability": {
"CACMethodNumberOfEntries": 0,
"CACMethod": [
]
},
"Capabilities": {
"HTCapabilities": "CA==",
"VHTCapabilities": "AAAAAAAA",
"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": "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",
"num_steer_assoc_control": 0,
"num_steer_btm": 0,
"num_steer_btm_query": 0,
"num_stations": 0,
"StationList": [
"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