pub struct RadioAdapterReport {
pub iface: String,
pub mac: Option<String>,
pub usb_path: Option<String>,
pub driver: String,
pub role: AdapterRole,
pub antenna: Option<String>,
pub tx_active: bool,
pub rssi_dbm: Vec<i32>,
pub packets: u64,
pub lost: u64,
pub fec_rec: Option<u64>,
pub verified: bool,
}Expand description
One adapter’s identity, role and receive counters.
Fields§
§iface: String§mac: Option<String>The adapter’s MAC address, None when it could not be read.
usb_path: Option<String>The USB device path (1-1.2), None when the adapter is not USB-backed.
driver: String§role: AdapterRole§antenna: Option<String>The operator’s antenna label from config, None when unset.
tx_active: boolTrue for the adapter carrying the transmit lanes.
rssi_dbm: Vec<i32>Average RSSI per receive chain over the last stats interval, in chain order. Empty when the adapter received nothing in that interval.
packets: u64Frames this adapter received since the receive chain started.
lost: u64Frames this adapter missed since the receive chain started. An estimate with more than one receive adapter: the decoder’s frame total minus what this adapter’s chains counted, where the per-antenna counts include FEC parity frames and the decoder’s lost count is data-only. Exact (the decoder’s own count) with a single receive adapter.
fec_rec: Option<u64>FEC recoveries for this adapter: the decoder’s count with a single
receive adapter. The decoder reports one combined count, so this is
None (null) whenever more than one adapter receives.
verified: boolMonitor mode was set and read back on this adapter.