get_wireless_link_quality
Diagnose PtP/PtMP wireless link quality per peer, returning signal strength, signal-to-noise, and CCQ before and after RF changes to verify if they helped.
Instructions
PtP/PtMP link-quality diagnosis: the same registration-table data
wireless_registrations reads, normalized per peer into interface,
mac_address, signal_strength, signal_to_noise, tx_ccq,
rx_ccq, tx_rate, rx_rate, distance, uptime (see
formatting.normalize_wireless_registration).
This is the read to run before AND after set_wireless_channel/
set_wireless_tx_power/set_wireless_tuning to judge whether an RF
change actually helped - CCQ (Client Connection Quality) and
signal-to-noise are the two numbers that matter most for a PtP link;
tx_rate/rx_rate dropping right after a channel/power change is
expected for a few seconds while rates re-adapt, not a failure (see
set_wireless_tx_power's docstring).
Optional interface filters to peers associated on that one local
interface (validated for shape like every other interface_name
parameter in this package).
Field availability genuinely differs by generation: ROS7's newer
/interface/wifi/registration-table does not publish
signal-to-noise/tx-ccq/rx-ccq/distance at all (per MikroTik's
own docs) - those fields come back None rather than fabricated.
/interface/wireless (confirmed against real hardware today - see
docs/api-notes-wireless-rf.md) publishes all of them. Empty list
(not an error) for a device with no wireless radio, same convention
as wireless_registrations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| interface | No | ||
| device_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |