$ /usr/bin/setsid /usr/bin/ssh -o PreferredAuthentications=password,publickey -o NumberOfPasswordPrompts=1 -o StrictHostKeyChecking=accept-new -o ConnectTimeout=10 -p 22 root@192.168.1.1 /bin/ubus call wifi.radio.wifi0 status

STDOUT
{
	"radio": "wifi0",
	"phyname": "phy1",
	"macaddr": "00:00:00:00:00:00",
	"firmware": "",
	"vendor_id": "",
	"device_id": "",
	"isup": true,
	"band": "2.4GHz",
	"standard": "802.11",
	"num_iface": 1,
	"iface": [
		{
			"name": "wifi0",
			"mode": "ap"
		}
	],
	"opclass": 0,
	"channel": 9,
	"bandwidth": 20,
	"ccfs0": 9,
	"ccfs1": 0,
	"channel_ext": "none",
	"tx_streams": 2,
	"rx_streams": 2,
	"noise": 0,
	"guard_int": "400ns",
	"maxrate": 0,
	"acs_mode": "unknown",
	"mlo_capable": false,
	"ap_caps": {
		"ht": {
			"caps": "e719",
			"mcs": "ffff0000000000000000000001000000"
		},
		"vht": {
			"caps": "92798933",
			"mcs": "faff0000faff0000"
		},
		"he": {
			"phy_caps": "026040890fc3831c110c00",
			"mac_caps": "0d01189a4010",
			"mcs": "fafffaff0000000000000000",
			"ppe": "00000000000000000000000000000000000000000000000000"
		},
		"eht": {
			"phy_caps": "e00103001876001e00",
			"mac_caps": "b700",
			"mcs": "22020000222200000000000000",
			"ppe": ""
		}
	},
	"sta_caps": {
		"ht": {
			"caps": "e719",
			"mcs": "ffff0000000000000000000001000000"
		},
		"vht": {
			"caps": "92798933",
			"mcs": "faff0000faff0000"
		},
		"he": {
			"phy_caps": "026040890fc3831c110c00",
			"mac_caps": "0d01189a4010",
			"mcs": "fafffaff0000000000000000",
			"ppe": "00000000000000000000000000000000000000000000000000"
		},
		"eht": {
			"phy_caps": "e00103001876001e00",
			"mac_caps": "b700",
			"mcs": "22020000222200000000000000",
			"ppe": ""
		}
	},
	"supp_bands": [
		"2.4GHz"
	],
	"supp_std": [
		"11b",
		"11g",
		"11n",
		"11ax",
		"11be"
	],
	"supp_bw": [
		"20MHz",
		"40MHz"
	],
	"cac_methods": [
		
	],
	"supp_rates": [
		
	],
	"basic_rates": [
		
	],
	"supp_channels": [
		{
			"opclass": 81,
			"bandwidth": 20,
			"txpower": 20,
			"channels": [
				1,
				2,
				3,
				4,
				5,
				6,
				7,
				8,
				9,
				10,
				11,
				12,
				13
			]
		},
		{
			"opclass": 83,
			"bandwidth": 40,
			"txpower": 20,
			"channels": [
				1,
				2,
				3,
				4,
				5,
				6,
				7,
				8,
				9
			]
		},
		{
			"opclass": 84,
			"bandwidth": 40,
			"txpower": 20,
			"channels": [
				5,
				6,
				7,
				8,
				9,
				10,
				11,
				12,
				13
			]
		}
	],
	"txpower_dbm": 0,
	"txpower": 1,
	"dot11h_capable": false,
	"dot11h_enabled": false,
	"regdomain": "GB",
	"beacon_int": 0,
	"dtim_period": 0,
	"preamble": "short",
	"short_retry_limit": 7,
	"long_retry_limit": 4,
	"frag_threshold": -1,
	"rts_threshold": -1,
	"aggr_enabled": false,
	"stats": {
		"tx_bytes": 0,
		"tx_packets": 0,
		"tx_error_packets": 0,
		"tx_dropped_packets": 0,
		"rx_bytes": 0,
		"rx_packets": 0,
		"rx_error_packets": 0,
		"rx_dropped_packets": 0,
		"rx_plcp_error_packets": 0,
		"rx_fcs_error_packets": 0,
		"rx_mac_error_packets": 0,
		"rx_unknown_packets": 0
	},
	"diagnostics": {
		"channel_busy": 0,
		"tx_airtime": 0,
		"rx_airtime": 0,
		"obss_airtime": 0,
		"cca_time": 0,
		"false_cca_count": 0
	},
	"max_akms": 2,
	"ap_akms": [
		
	],
	"sta_akms": [
		
	]
}


STDERR
