mirror of
https://github.com/Telecominfraproject/wlan-docs.git
synced 2025-11-08 06:33:15 +00:00
499 lines
15 KiB
Markdown
499 lines
15 KiB
Markdown
# State
|
|
|
|
## State
|
|
|
|
```json
|
|
{
|
|
"system": {
|
|
"id": 1637414624750592500,
|
|
"host": "https://owgw-owgw:17002"
|
|
},
|
|
"payload": {
|
|
"serial": "50987100327b",
|
|
"state": {
|
|
"interfaces": [
|
|
{
|
|
"clients": [
|
|
{
|
|
"ipv6_addresses": [
|
|
"fe80:0:0:0:6f0:21ff:fe76:cab6"
|
|
],
|
|
"mac": "04:f0:21:76:ca:b6",
|
|
"ports": [
|
|
"wlan0"
|
|
]
|
|
},
|
|
{
|
|
"ipv4_addresses": [
|
|
"172.16.0.1"
|
|
],
|
|
"ipv6_addresses": [
|
|
"fe80:0:0:0:9e69:b4ff:fe60:e5f4"
|
|
],
|
|
"mac": "9c:69:b4:60:e5:f4",
|
|
"ports": [
|
|
"eth0"
|
|
]
|
|
}
|
|
],
|
|
"counters": {
|
|
"collisions": 0,
|
|
"multicast": 37,
|
|
"rx_bytes": 195056,
|
|
"rx_dropped": 0,
|
|
"rx_errors": 0,
|
|
"rx_packets": 1061,
|
|
"tx_bytes": 367918,
|
|
"tx_dropped": 0,
|
|
"tx_errors": 0,
|
|
"tx_packets": 1102
|
|
},
|
|
"dns_servers": [
|
|
"8.8.8.8"
|
|
],
|
|
"ipv4": {
|
|
"addresses": [
|
|
"172.16.56.202/16"
|
|
],
|
|
"dhcp_server": "172.16.0.1",
|
|
"leasetime": 600
|
|
},
|
|
"location": "/interfaces/0",
|
|
"name": "up0v0",
|
|
"ssids": [
|
|
{
|
|
"associations": [
|
|
{
|
|
"ack_signal": 0,
|
|
"ack_signal_avg": 0,
|
|
"bssid": "50:98:71:00:32:7a",
|
|
"connected": 769,
|
|
"inactive": 13,
|
|
"rssi": -49,
|
|
"rx_bytes": 7385,
|
|
"rx_duration": 9828,
|
|
"rx_packets": 56,
|
|
"rx_rate": {
|
|
"bitrate": 6000,
|
|
"chwidth": 20
|
|
},
|
|
"station": "04:f0:21:76:ca:b6",
|
|
"tid_stats": [
|
|
{
|
|
"rx_msdu": 21,
|
|
"tx_msdu": 19,
|
|
"tx_msdu_failed": 0,
|
|
"tx_msdu_retries": 0,
|
|
"txq_stats": {
|
|
"backlog_bytes": 0,
|
|
"backlog_packets": 0,
|
|
"collisions": 0,
|
|
"drops": 0,
|
|
"ecn_marks": 0,
|
|
"flows": 19,
|
|
"overlimit": 0,
|
|
"tx_bytes": 5549,
|
|
"tx_packets": 19
|
|
}
|
|
},
|
|
{
|
|
"rx_msdu": 0,
|
|
"tx_msdu": 0,
|
|
"tx_msdu_failed": 0,
|
|
"tx_msdu_retries": 0,
|
|
"txq_stats": {
|
|
"backlog_bytes": 0,
|
|
"backlog_packets": 0,
|
|
"collisions": 0,
|
|
"drops": 0,
|
|
"ecn_marks": 0,
|
|
"flows": 0,
|
|
"overlimit": 0,
|
|
"tx_bytes": 0,
|
|
"tx_packets": 0
|
|
}
|
|
},
|
|
{
|
|
"rx_msdu": 0,
|
|
"tx_msdu": 0,
|
|
"tx_msdu_failed": 0,
|
|
"tx_msdu_retries": 0,
|
|
"txq_stats": {
|
|
"backlog_bytes": 0,
|
|
"backlog_packets": 0,
|
|
"collisions": 0,
|
|
"drops": 0,
|
|
"ecn_marks": 0,
|
|
"flows": 0,
|
|
"overlimit": 0,
|
|
"tx_bytes": 0,
|
|
"tx_packets": 0
|
|
}
|
|
},
|
|
{
|
|
"rx_msdu": 0,
|
|
"tx_msdu": 0,
|
|
"tx_msdu_failed": 0,
|
|
"tx_msdu_retries": 0,
|
|
"txq_stats": {
|
|
"backlog_bytes": 0,
|
|
"backlog_packets": 0,
|
|
"collisions": 0,
|
|
"drops": 0,
|
|
"ecn_marks": 0,
|
|
"flows": 0,
|
|
"overlimit": 0,
|
|
"tx_bytes": 0,
|
|
"tx_packets": 0
|
|
}
|
|
},
|
|
{
|
|
"rx_msdu": 0,
|
|
"tx_msdu": 0,
|
|
"tx_msdu_failed": 0,
|
|
"tx_msdu_retries": 0,
|
|
"txq_stats": {
|
|
"backlog_bytes": 0,
|
|
"backlog_packets": 0,
|
|
"collisions": 0,
|
|
"drops": 0,
|
|
"ecn_marks": 0,
|
|
"flows": 0,
|
|
"overlimit": 0,
|
|
"tx_bytes": 0,
|
|
"tx_packets": 0
|
|
}
|
|
},
|
|
{
|
|
"rx_msdu": 0,
|
|
"tx_msdu": 0,
|
|
"tx_msdu_failed": 0,
|
|
"tx_msdu_retries": 0,
|
|
"txq_stats": {
|
|
"backlog_bytes": 0,
|
|
"backlog_packets": 0,
|
|
"collisions": 0,
|
|
"drops": 0,
|
|
"ecn_marks": 0,
|
|
"flows": 0,
|
|
"overlimit": 0,
|
|
"tx_bytes": 0,
|
|
"tx_packets": 0
|
|
}
|
|
},
|
|
{
|
|
"rx_msdu": 12,
|
|
"tx_msdu": 0,
|
|
"tx_msdu_failed": 0,
|
|
"tx_msdu_retries": 0,
|
|
"txq_stats": {
|
|
"backlog_bytes": 0,
|
|
"backlog_packets": 0,
|
|
"collisions": 0,
|
|
"drops": 0,
|
|
"ecn_marks": 0,
|
|
"flows": 0,
|
|
"overlimit": 0,
|
|
"tx_bytes": 0,
|
|
"tx_packets": 0
|
|
}
|
|
},
|
|
{
|
|
"rx_msdu": 0,
|
|
"tx_msdu": 0,
|
|
"tx_msdu_failed": 0,
|
|
"tx_msdu_retries": 0,
|
|
"txq_stats": {
|
|
"backlog_bytes": 0,
|
|
"backlog_packets": 0,
|
|
"collisions": 0,
|
|
"drops": 0,
|
|
"ecn_marks": 0,
|
|
"flows": 0,
|
|
"overlimit": 0,
|
|
"tx_bytes": 0,
|
|
"tx_packets": 0
|
|
}
|
|
},
|
|
{
|
|
"rx_msdu": 0,
|
|
"tx_msdu": 0,
|
|
"tx_msdu_failed": 0,
|
|
"tx_msdu_retries": 0,
|
|
"txq_stats": {
|
|
"backlog_bytes": 0,
|
|
"backlog_packets": 0,
|
|
"collisions": 0,
|
|
"drops": 0,
|
|
"ecn_marks": 0,
|
|
"flows": 0,
|
|
"overlimit": 0,
|
|
"tx_bytes": 0,
|
|
"tx_packets": 0
|
|
}
|
|
},
|
|
{
|
|
"rx_msdu": 0,
|
|
"tx_msdu": 0,
|
|
"tx_msdu_failed": 0,
|
|
"tx_msdu_retries": 0,
|
|
"txq_stats": {
|
|
"backlog_bytes": 0,
|
|
"backlog_packets": 0,
|
|
"collisions": 0,
|
|
"drops": 0,
|
|
"ecn_marks": 0,
|
|
"flows": 0,
|
|
"overlimit": 0,
|
|
"tx_bytes": 0,
|
|
"tx_packets": 0
|
|
}
|
|
},
|
|
{
|
|
"rx_msdu": 0,
|
|
"tx_msdu": 0,
|
|
"tx_msdu_failed": 0,
|
|
"tx_msdu_retries": 0,
|
|
"txq_stats": {
|
|
"backlog_bytes": 0,
|
|
"backlog_packets": 0,
|
|
"collisions": 0,
|
|
"drops": 0,
|
|
"ecn_marks": 0,
|
|
"flows": 0,
|
|
"overlimit": 0,
|
|
"tx_bytes": 0,
|
|
"tx_packets": 0
|
|
}
|
|
},
|
|
{
|
|
"rx_msdu": 0,
|
|
"tx_msdu": 0,
|
|
"tx_msdu_failed": 0,
|
|
"tx_msdu_retries": 0,
|
|
"txq_stats": {
|
|
"backlog_bytes": 0,
|
|
"backlog_packets": 0,
|
|
"collisions": 0,
|
|
"drops": 0,
|
|
"ecn_marks": 0,
|
|
"flows": 0,
|
|
"overlimit": 0,
|
|
"tx_bytes": 0,
|
|
"tx_packets": 0
|
|
}
|
|
},
|
|
{
|
|
"rx_msdu": 0,
|
|
"tx_msdu": 0,
|
|
"tx_msdu_failed": 0,
|
|
"tx_msdu_retries": 0,
|
|
"txq_stats": {
|
|
"backlog_bytes": 0,
|
|
"backlog_packets": 0,
|
|
"collisions": 0,
|
|
"drops": 0,
|
|
"ecn_marks": 0,
|
|
"flows": 0,
|
|
"overlimit": 0,
|
|
"tx_bytes": 0,
|
|
"tx_packets": 0
|
|
}
|
|
},
|
|
{
|
|
"rx_msdu": 0,
|
|
"tx_msdu": 0,
|
|
"tx_msdu_failed": 0,
|
|
"tx_msdu_retries": 0,
|
|
"txq_stats": {
|
|
"backlog_bytes": 0,
|
|
"backlog_packets": 0,
|
|
"collisions": 0,
|
|
"drops": 0,
|
|
"ecn_marks": 0,
|
|
"flows": 0,
|
|
"overlimit": 0,
|
|
"tx_bytes": 0,
|
|
"tx_packets": 0
|
|
}
|
|
},
|
|
{
|
|
"rx_msdu": 0,
|
|
"tx_msdu": 0,
|
|
"tx_msdu_failed": 0,
|
|
"tx_msdu_retries": 0,
|
|
"txq_stats": {
|
|
"backlog_bytes": 0,
|
|
"backlog_packets": 0,
|
|
"collisions": 0,
|
|
"drops": 0,
|
|
"ecn_marks": 0,
|
|
"flows": 0,
|
|
"overlimit": 0,
|
|
"tx_bytes": 0,
|
|
"tx_packets": 0
|
|
}
|
|
},
|
|
{
|
|
"rx_msdu": 0,
|
|
"tx_msdu": 0,
|
|
"tx_msdu_failed": 0,
|
|
"tx_msdu_retries": 0,
|
|
"txq_stats": {
|
|
"backlog_bytes": 0,
|
|
"backlog_packets": 0,
|
|
"collisions": 0,
|
|
"drops": 0,
|
|
"ecn_marks": 0,
|
|
"flows": 0,
|
|
"overlimit": 0,
|
|
"tx_bytes": 0,
|
|
"tx_packets": 0
|
|
}
|
|
},
|
|
{
|
|
"rx_msdu": 0,
|
|
"tx_msdu": 4,
|
|
"tx_msdu_failed": 0,
|
|
"tx_msdu_retries": 0
|
|
}
|
|
],
|
|
"tx_bytes": 5798,
|
|
"tx_duration": 8121,
|
|
"tx_failed": 0,
|
|
"tx_packets": 23,
|
|
"tx_rate": {
|
|
"bitrate": 180000,
|
|
"chwidth": 40,
|
|
"ht": true,
|
|
"mcs": 12,
|
|
"sgi": true
|
|
},
|
|
"tx_retries": 0
|
|
}
|
|
],
|
|
"bssid": "50:98:71:00:32:7a",
|
|
"iface": "wlan0",
|
|
"location": "/interfaces/0/ssids/0",
|
|
"mode": "ap",
|
|
"phy": "platform/soc/a000000.wifi",
|
|
"radio": {
|
|
"$ref": "#/radios/0"
|
|
},
|
|
"ssid": "tls_ssid_wpa2"
|
|
},
|
|
{
|
|
"bssid": "50:98:71:00:32:79",
|
|
"iface": "wlan1",
|
|
"location": "/interfaces/0/ssids/0",
|
|
"mode": "ap",
|
|
"phy": "platform/soc/a800000.wifi",
|
|
"radio": {
|
|
"$ref": "#/radios/1"
|
|
},
|
|
"ssid": "tls_ssid_wpa2"
|
|
}
|
|
],
|
|
"uptime": 5592
|
|
},
|
|
{
|
|
"counters": {
|
|
"collisions": 0,
|
|
"multicast": 0,
|
|
"rx_bytes": 0,
|
|
"rx_dropped": 0,
|
|
"rx_errors": 0,
|
|
"rx_packets": 0,
|
|
"tx_bytes": 0,
|
|
"tx_dropped": 0,
|
|
"tx_errors": 0,
|
|
"tx_packets": 0
|
|
},
|
|
"ipv4": {
|
|
"addresses": [
|
|
"192.168.1.1/16"
|
|
]
|
|
},
|
|
"location": "/interfaces/1",
|
|
"name": "down1v0",
|
|
"uptime": 2115
|
|
}
|
|
],
|
|
"link-state": {
|
|
"downstream": {
|
|
"eth1": {
|
|
"carrier": 0
|
|
}
|
|
},
|
|
"upstream": {
|
|
"eth0": {
|
|
"carrier": 1,
|
|
"duplex": "full",
|
|
"speed": 1000
|
|
}
|
|
}
|
|
},
|
|
"lldp-peers": {
|
|
"downstream": {},
|
|
"upstream": {
|
|
"eth0": [
|
|
{
|
|
"capability": [
|
|
"Bridge",
|
|
"Router",
|
|
"Wlan"
|
|
],
|
|
"description": "OpenWrt 21.02-SNAPSHOT @ 00c115194c15",
|
|
"mac": "00:c1:15:19:4c:15",
|
|
"name": "CIG WF194C",
|
|
"port": "eth0"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"radios": [
|
|
{
|
|
"active_ms": 1250435,
|
|
"busy_ms": 92944,
|
|
"channel": 6,
|
|
"channel_width": "40",
|
|
"noise": -99,
|
|
"phy": "platform/soc/a000000.wifi",
|
|
"receive_ms": 44474,
|
|
"transmit_ms": 3831,
|
|
"tx_power": 30
|
|
},
|
|
{
|
|
"active_ms": 1248675,
|
|
"busy_ms": 7493,
|
|
"channel": 100,
|
|
"channel_width": "80",
|
|
"noise": -108,
|
|
"phy": "platform/soc/a800000.wifi",
|
|
"receive_ms": 3991,
|
|
"transmit_ms": 4124,
|
|
"tx_power": 24
|
|
}
|
|
],
|
|
"unit": {
|
|
"load": [
|
|
0.103517,
|
|
0.098634,
|
|
0.107424
|
|
],
|
|
"localtime": 1657201798,
|
|
"memory": {
|
|
"buffered": 6983680,
|
|
"cached": 19980288,
|
|
"free": 141684736,
|
|
"total": 254537728
|
|
},
|
|
"uptime": 5748
|
|
},
|
|
"version": 1
|
|
},
|
|
"uuid": 1657200535
|
|
}
|
|
}
|
|
```
|