diff --git a/fixtures/userdata/LiteBeam5AC_ap-ptp_30mhz.json b/fixtures/userdata/LiteBeam5AC_ap-ptp_30mhz.json new file mode 100644 index 0000000..b9d01e4 --- /dev/null +++ b/fixtures/userdata/LiteBeam5AC_ap-ptp_30mhz.json @@ -0,0 +1,596 @@ +{ + "chain_names": [ + { + "number": 1, + "name": "Chain 0" + }, + { + "number": 2, + "name": "Chain 1" + } + ], + "host": { + "hostname": "Radio US", + "device_id": "234bc140764d0b490bdf9b2ad1ffa3e2", + "uptime": 397932, + "power_time": 2533716, + "time": "2025-08-01 23:22:06", + "timestamp": 1743869568, + "fwversion": "v8.7.18", + "devmodel": "LiteBeam 5AC", + "netrole": "bridge", + "loadavg": 0.000000, + "totalram": 63447040, + "freeram": 15421440, + "temperature": 0, + "cpuload": 6.930693, + "height": null + }, + "genuine": "/images/genuine.png", + "services": { + "dhcpc": false, + "dhcpd": false, + "dhcp6d_stateful": false, + "pppoe": false, + "airview": 2 + }, + "firewall": { + "iptables": false, + "ebtables": false, + "ip6tables": false, + "eb6tables": false + }, + "portfw": false, + "wireless": { + "essid": "WirelessABC", + "mode": "ap-ptp", + "ieeemode": "11ACVHT20", + "band": 2, + "compat_11n": 0, + "hide_essid": 0, + "apmac": "68:D7:9A:9A:08:BB", + "antenna_gain": 23, + "frequency": 5500, + "center1_freq": 5500, + "dfs": 1, + "distance": 3450, + "security": "WPA2", + "noisef": -86, + "txpower": 5, + "aprepeater": false, + "rstatus": 5, + "chanbw": 30, + "rx_chainmask": 3, + "tx_chainmask": 3, + "nol_state": 0, + "nol_timeout": 0, + "cac_state": 0, + "cac_timeout": 0, + "rx_idx": 4, + "rx_nss": 2, + "tx_idx": 7, + "tx_nss": 2, + "throughput": { + "tx": 2828, + "rx": 2090 + }, + "service": { + "time": 2533556, + "link": 2523782 + }, + "polling": { + "cb_capacity": 61620, + "dl_capacity": 46800, + "ul_capacity": 76440, + "use": 145, + "tx_use": 102, + "rx_use": 43, + "atpc_status": 0, + "fixed_frame": false, + "gps_sync": false, + "ff_cap_rep": false + }, + "count": 1, + "sta": [ + { + "mac": "68:D7:9A:98:FB:FF", + "lastip": "127.0.0.22", + "signal": -65, + "rssi": 31, + "noisefloor": -86, + "chainrssi": [ + 29, + 26, + 0 + ], + "tx_idx": 7, + "rx_idx": 4, + "tx_nss": 2, + "rx_nss": 2, + "tx_latency": 0, + "distance": 3450, + "tx_packets": 0, + "tx_lretries": 0, + "tx_sretries": 0, + "uptime": 397528, + "dl_signal_expect": -48, + "ul_signal_expect": -48, + "cb_capacity_expect": 234000, + "dl_capacity_expect": 234000, + "ul_capacity_expect": 234000, + "dl_rate_expect": 8, + "ul_rate_expect": 8, + "dl_linkscore": 20, + "ul_linkscore": 32, + "dl_avg_linkscore": 28, + "ul_avg_linkscore": 29, + "tx_ratedata": [ + 347, + 4, + 268, + 2688070, + 18593316, + 40516321, + 40030980, + 29548622, + 1844801, + 0 + ], + "stats": { + "rx_bytes": 94860298097, + "rx_packets": 223721474, + "rx_pps": 457, + "tx_bytes": 415006567972, + "tx_packets": 334739986, + "tx_pps": 0 + }, + "airmax": { + "actual_priority": 0, + "beam": 0, + "desired_priority": 0, + "cb_capacity": 61620, + "dl_capacity": 46800, + "ul_capacity": 76440, + "atpc_status": 0, + "rx": { + "usage": 43, + "cinr": 24, + "evm": [ + [ + 23, + 23, + 19, + 26, + 24, + 25, + 22, + 24, + 26, + 24, + 25, + 23, + 25, + 25, + 20, + 25, + 18, + 24, + 24, + 22, + 15, + 19, + 25, + 25, + 25, + 24, + 24, + 25, + 21, + 24, + 22, + 24, + 23, + 17, + 24, + 22, + 25, + 23, + 21, + 23, + 24, + 24, + 25, + 26, + 19, + 24, + 23, + 24, + 20, + 23, + 19, + 22, + 21, + 19, + 24, + 19, + 26, + 24, + 20, + 25, + 24, + 24, + 22, + 19 + ], + [ + 32, + 31, + 30, + 32, + 31, + 32, + 32, + 31, + 32, + 32, + 31, + 31, + 31, + 31, + 32, + 31, + 32, + 31, + 31, + 32, + 31, + 31, + 32, + 31, + 32, + 31, + 31, + 31, + 31, + 32, + 31, + 32, + 31, + 31, + 30, + 31, + 32, + 31, + 31, + 31, + 31, + 32, + 32, + 31, + 31, + 31, + 32, + 30, + 32, + 30, + 30, + 34, + 32, + 32, + 32, + 31, + 30, + 31, + 32, + 32, + 31, + 31, + 30, + 32 + ] + ] + }, + "tx": { + "usage": 102, + "cinr": 24, + "evm": [ + [ + 24, + 23, + 26, + 25, + 22, + 25, + 24, + 24, + 21, + 24, + 21, + 20, + 23, + 22, + 26, + 24, + 25, + 23, + 24, + 25, + 24, + 23, + 23, + 21, + 23, + 22, + 25, + 25, + 25, + 25, + 25, + 27, + 24, + 24, + 24, + 24, + 24, + 24, + 26, + 22, + 26, + 25, + 24, + 21, + 28, + 23, + 24, + 25, + 22, + 25, + 24, + 26, + 24, + 24, + 25, + 22, + 23, + 26, + 24, + 26, + 24, + 24, + 24, + 24 + ], + [ + 27, + 28, + 26, + 28, + 28, + 27, + 29, + 28, + 27, + 28, + 28, + 26, + 28, + 28, + 28, + 27, + 28, + 28, + 28, + 28, + 28, + 28, + 28, + 27, + 28, + 27, + 28, + 26, + 28, + 28, + 28, + 28, + 28, + 28, + 28, + 28, + 28, + 29, + 27, + 28, + 28, + 27, + 28, + 28, + 28, + 28, + 29, + 28, + 28, + 28, + 28, + 28, + 28, + 28, + 29, + 28, + 28, + 29, + 28, + 29, + 29, + 28, + 28, + 28 + ] + ] + } + }, + "last_disc": 3, + "remote": { + "age": 3, + "device_id": "1b02df52e99054e2aea5913c64a9e40b", + "hostname": "Harmonia_8a", + "platform": "LiteBeam 5AC", + "version": "WA.ar934x.v8.7.11.46972.220614.0420", + "time": "2022-06-23 14:38:19", + "cpuload": 28.000000, + "temperature": 0, + "totalram": 63447040, + "freeram": 19419136, + "netrole": "bridge", + "mode": "sta-ptp", + "sys_id": "0xe7f9", + "tx_throughput": 1999, + "rx_throughput": 1544, + "uptime": 814705, + "power_time": 814704, + "compat_11n": 0, + "signal": -66, + "rssi": 30, + "noisefloor": -86, + "tx_power": 5, + "distance": 3450, + "rx_chainmask": 3, + "chainrssi": [ + 28, + 26, + 0 + ], + "tx_ratedata": [ + 449, + 457, + 56156, + 4457894, + 41998687, + 46488147, + 26703941, + 9383016, + 374225, + 0 + ], + "tx_bytes": 200106558157, + "rx_bytes": 781442852107, + "antenna_gain": 23, + "cable_loss": 0, + "height": null, + "ethlist": [ + { + "ifname": "eth0", + "enabled": true, + "plugged": true, + "duplex": true, + "speed": 1000, + "snr": [ + 30, + 30, + 30, + 30 + ], + "cable_len": 18 + } + ], + "ipaddr": [ + "127.0.0.22" + ], + "ip6addr": [ + "fe80::6ad7:9aff:fe98:fbf6" + ], + "oob": false, + "unms": { + "status": 0 + }, + "airview": 2, + "service": { + "time": 814550, + "link": 813917 + } + } + } + ], + "sta_disconnected": [] + }, + "interfaces": [ + { + "ifname": "eth0", + "hwaddr": "68:D7:9A:9B:08:BB", + "enabled": true, + "mtu": 1500, + "status": { + "plugged": true, + "tx_bytes": 94834640142, + "rx_bytes": 399854099219, + "tx_packets": 223685886, + "rx_packets": 334563496, + "tx_errors": 0, + "rx_errors": 15, + "tx_dropped": 2, + "rx_dropped": 0, + "ipaddr": "0.0.0.0", + "speed": 1000, + "duplex": true, + "snr": [ + 30, + 29, + 29, + 30 + ], + "cable_len": 0 + } + }, + { + "ifname": "ath0", + "hwaddr": "68:D7:9A:9A:08:BB", + "enabled": true, + "mtu": 1500, + "status": { + "plugged": false, + "tx_bytes": 415006569088, + "rx_bytes": 94860301341, + "tx_packets": 334739996, + "rx_packets": 223721493, + "tx_errors": 0, + "rx_errors": 0, + "tx_dropped": 602, + "rx_dropped": 0, + "ipaddr": "0.0.0.0", + "speed": 0, + "duplex": false + } + }, + { + "ifname": "br0", + "hwaddr": "68:D7:9A:9A:08:BB", + "enabled": true, + "mtu": 1500, + "status": { + "plugged": true, + "tx_bytes": 123962304, + "rx_bytes": 204703530, + "tx_packets": 340168, + "rx_packets": 1251301, + "tx_errors": 0, + "rx_errors": 0, + "tx_dropped": 0, + "rx_dropped": 0, + "ipaddr": "127.0.0.21", + "ip6addr": [ + { + "addr": "fe80::6ad7:9aff:fe9a:8bb", + "plen": 64 + } + ], + "speed": 0, + "duplex": false + } + } + ], + "provmode": {}, + "ntpclient": {}, + "unms": { + "status": 0 + } +} \ No newline at end of file diff --git a/fixtures/userdata/LiteBeam5AC_sta-ptp_30mhz.json b/fixtures/userdata/LiteBeam5AC_sta-ptp_30mhz.json new file mode 100644 index 0000000..dc1a59d --- /dev/null +++ b/fixtures/userdata/LiteBeam5AC_sta-ptp_30mhz.json @@ -0,0 +1,595 @@ +{ + "chain_names": [ + { + "number": 1, + "name": "Chain 0" + }, + { + "number": 2, + "name": "Chain 1" + } + ], + "host": { + "hostname": "Harmonia_8a", + "device_id": "1b02df52e99054e2aea5913c64a9e40b", + "uptime": 814515, + "power_time": 814514, + "time": "2022-06-23 14:35:09", + "timestamp": 2432500405, + "fwversion": "v8.7.11", + "devmodel": "LiteBeam 5AC", + "netrole": "bridge", + "loadavg": 0.097656, + "totalram": 63447040, + "freeram": 19419136, + "temperature": 0, + "cpuload": 18.181818, + "height": null + }, + "genuine": "/images/genuine.png", + "services": { + "dhcpc": false, + "dhcpd": false, + "dhcp6d_stateful": false, + "pppoe": false, + "airview": 2 + }, + "firewall": { + "iptables": false, + "ebtables": false, + "ip6tables": false, + "eb6tables": false + }, + "portfw": false, + "wireless": { + "essid": "WirelessABC", + "mode": "sta-ptp", + "ieeemode": "11ACVHT20", + "band": 2, + "compat_11n": 0, + "hide_essid": 0, + "apmac": "68:D7:9A:9A:08:BB", + "antenna_gain": 23, + "frequency": 5500, + "center1_freq": 5500, + "dfs": 1, + "distance": 3450, + "security": "WPA2", + "noisef": -87, + "txpower": 5, + "aprepeater": false, + "rstatus": 5, + "chanbw": 30, + "rx_chainmask": 3, + "tx_chainmask": 3, + "nol_state": 0, + "nol_timeout": 0, + "cac_state": 0, + "cac_timeout": 0, + "rx_idx": 4, + "rx_nss": 2, + "tx_idx": 4, + "tx_nss": 2, + "throughput": { + "tx": 2280, + "rx": 2945 + }, + "service": { + "time": 814360, + "link": 813727 + }, + "polling": { + "cb_capacity": 51480, + "dl_capacity": 51480, + "ul_capacity": 51480, + "use": 124, + "tx_use": 50, + "rx_use": 74, + "atpc_status": 0, + "fixed_frame": false, + "gps_sync": false, + "ff_cap_rep": false + }, + "count": 1, + "sta": [ + { + "mac": "68:D7:9A:9A:08:BB", + "lastip": "127.0.0.21", + "signal": -65, + "rssi": 31, + "noisefloor": -87, + "chainrssi": [ + 29, + 27, + 0 + ], + "tx_idx": 4, + "rx_idx": 4, + "tx_nss": 2, + "rx_nss": 2, + "tx_latency": 0, + "distance": 3450, + "tx_packets": 0, + "tx_lretries": 0, + "tx_sretries": 0, + "uptime": 397336, + "dl_signal_expect": -48, + "ul_signal_expect": -48, + "cb_capacity_expect": 234000, + "dl_capacity_expect": 234000, + "ul_capacity_expect": 234000, + "dl_rate_expect": 8, + "ul_rate_expect": 8, + "dl_linkscore": 22, + "ul_linkscore": 22, + "dl_avg_linkscore": 31, + "ul_avg_linkscore": 27, + "tx_ratedata": [ + 449, + 457, + 56156, + 4457598, + 41983446, + 46468112, + 26691756, + 9379483, + 374131, + 0 + ], + "stats": { + "rx_bytes": 404523351435, + "rx_packets": 334644572, + "rx_pps": 474, + "tx_bytes": 102078121976, + "tx_packets": 223674991, + "tx_pps": 0 + }, + "airmax": { + "actual_priority": 0, + "beam": 0, + "desired_priority": 0, + "cb_capacity": 51480, + "dl_capacity": 51480, + "ul_capacity": 51480, + "atpc_status": 0, + "rx": { + "usage": 74, + "cinr": 24, + "evm": [ + [ + 21, + 20, + 23, + 22, + 26, + 24, + 25, + 23, + 24, + 25, + 24, + 23, + 23, + 21, + 23, + 22, + 25, + 25, + 25, + 25, + 25, + 27, + 24, + 24, + 24, + 24, + 24, + 24, + 26, + 22, + 26, + 25, + 24, + 21, + 28, + 23, + 24, + 25, + 22, + 25, + 24, + 26, + 24, + 24, + 25, + 22, + 23, + 26, + 24, + 26, + 24, + 24, + 24, + 24, + 25, + 27, + 24, + 23, + 24, + 23, + 22, + 25, + 25, + 24 + ], + [ + 28, + 26, + 28, + 28, + 28, + 27, + 28, + 28, + 28, + 28, + 28, + 28, + 28, + 27, + 28, + 27, + 28, + 26, + 28, + 28, + 28, + 28, + 28, + 28, + 28, + 28, + 28, + 29, + 27, + 28, + 28, + 27, + 28, + 28, + 28, + 28, + 29, + 28, + 28, + 28, + 28, + 28, + 28, + 28, + 29, + 28, + 28, + 29, + 28, + 29, + 29, + 28, + 28, + 28, + 29, + 28, + 28, + 28, + 28, + 28, + 28, + 28, + 29, + 28 + ] + ] + }, + "tx": { + "usage": 50, + "cinr": 24, + "evm": [ + [ + 26, + 24, + 23, + 22, + 21, + 25, + 20, + 22, + 21, + 24, + 24, + 18, + 26, + 20, + 23, + 23, + 19, + 26, + 24, + 25, + 22, + 24, + 26, + 24, + 25, + 23, + 25, + 25, + 20, + 25, + 18, + 24, + 24, + 22, + 15, + 19, + 25, + 25, + 25, + 24, + 24, + 25, + 21, + 24, + 22, + 24, + 23, + 17, + 24, + 22, + 25, + 23, + 21, + 23, + 24, + 24, + 25, + 26, + 19, + 24, + 23, + 24, + 20, + 23 + ], + [ + 31, + 30, + 31, + 31, + 32, + 30, + 31, + 32, + 31, + 32, + 32, + 32, + 31, + 32, + 32, + 31, + 30, + 32, + 31, + 32, + 32, + 31, + 32, + 32, + 31, + 31, + 31, + 31, + 32, + 31, + 32, + 31, + 31, + 32, + 31, + 31, + 32, + 31, + 32, + 31, + 31, + 31, + 31, + 32, + 31, + 32, + 31, + 31, + 30, + 31, + 32, + 31, + 31, + 31, + 31, + 32, + 32, + 31, + 31, + 31, + 32, + 30, + 32, + 30 + ] + ] + } + }, + "last_disc": 3, + "remote": { + "device_id": "234bc140764d0b490bdf9b2ad1ffa3e2", + "hostname": "Radio US", + "platform": "LiteBeam 5AC", + "version": "WA.ar934x.v8.7.18.48247.250728.0850", + "time": "2025-08-01 23:18:53", + "cpuload": 34.000000, + "temperature": 0, + "totalram": 63447040, + "freeram": 15532032, + "netrole": "bridge", + "mode": "ap-ptp", + "sys_id": "0xe7f9", + "tx_throughput": 4487, + "rx_throughput": 1998, + "uptime": 397739, + "power_time": 2533523, + "compat_11n": 0, + "signal": -65, + "rssi": 31, + "noisefloor": -87, + "tx_power": 5, + "distance": 3450, + "rx_chainmask": 3, + "chainrssi": [ + 29, + 26, + 0 + ], + "tx_ratedata": [ + 347, + 4, + 268, + 2687656, + 18589199, + 40501030, + 40011343, + 29533420, + 1843661, + 0 + ], + "tx_bytes": 414935015745, + "rx_bytes": 94812304027, + "antenna_gain": 23, + "cable_loss": 0, + "height": null, + "ethlist": [ + { + "ifname": "eth0", + "enabled": true, + "plugged": true, + "duplex": true, + "speed": 1000, + "snr": [ + 30, + 30, + 30, + 30 + ], + "cable_len": 0 + } + ], + "ipaddr": [ + "127.0.0.21" + ], + "ip6addr": [ + "fe80::6ad7:9aff:fe9a:8be" + ], + "oob": false, + "unms": { + "status": 0 + }, + "airview": 2, + "service": { + "time": 2533363, + "link": 2523589 + } + } + } + ], + "sta_disconnected": [] + }, + "interfaces": [ + { + "ifname": "eth0", + "hwaddr": "68:D7:9A:99:FB:FF", + "enabled": true, + "mtu": 1500, + "status": { + "plugged": true, + "tx_bytes": 781260861753, + "rx_bytes": 179325389971, + "tx_packets": 660871486, + "rx_packets": 445118454, + "tx_errors": 0, + "rx_errors": 34, + "tx_dropped": 113, + "rx_dropped": 0, + "ipaddr": "0.0.0.0", + "speed": 1000, + "duplex": true, + "snr": [ + 30, + 30, + 30, + 30 + ], + "cable_len": 18 + } + }, + { + "ifname": "ath0", + "hwaddr": "68:D7:9A:98:FB:FF", + "enabled": true, + "mtu": 1500, + "status": { + "plugged": false, + "tx_bytes": 200056885272, + "rx_bytes": 781375273555, + "tx_packets": 445387026, + "rx_packets": 661046339, + "tx_errors": 0, + "rx_errors": 0, + "tx_dropped": 46, + "rx_dropped": 0, + "ipaddr": "0.0.0.0", + "speed": 0, + "duplex": false + } + }, + { + "ifname": "br0", + "hwaddr": "68:D7:9A:98:FB:FF", + "enabled": true, + "mtu": 1500, + "status": { + "plugged": true, + "tx_bytes": 221427065, + "rx_bytes": 424139192, + "tx_packets": 627285, + "rx_packets": 2684028, + "tx_errors": 0, + "rx_errors": 0, + "tx_dropped": 0, + "rx_dropped": 0, + "ipaddr": "127.0.0.22", + "ip6addr": [ + { + "addr": "fe80::6ad7:9aff:fe98:fbff", + "plen": 64 + } + ], + "speed": 0, + "duplex": false + } + } + ], + "provmode": {}, + "ntpclient": {}, + "unms": { + "status": 0 + } +} \ No newline at end of file