{
  "date": "2026-11-16",
  "build": "first tests: main 3d1f387; from H13 on: working tree with the keep-awake change (sha256 25d8349731587040...)",
  "devices": {
    "controller": "T2 G1TK7EY000506 (root, backhaul AP wmbh0 on wifi2, hand-provisioned runtime BSS)",
    "agent": "T2 G1TK7EY00023A (leaf, backhaul station wmbhsta0 on wifi2, created and kept by wmeshd)"
  },
  "link": "6 GHz channel 129 (6595 MHz), 160 MHz, 802.11be EHT, WPA3-SAE with PMF, about -41 to -49 dBm, receive PHY rate up to 6435 Mbit/s",
  "control_path": "the 6 GHz backhaul itself (10.98.98.0/30 on the radio link), after a runtime firewall rule for the control port on each device; the first tests of the day ran over the management VPN",
  "timing_note": "polled every 50 ms on the agent; seconds are counted from the moment the link was seen down",
  "results": [
    {
      "case": "H1",
      "title": "controller verifies the agent and shows its radios and the measured backhaul link",
      "pass": true,
      "measured": "5 radios with band and channel, backhaul radio ch 129 / 160 MHz flagged, link -49 dBm, 0 heals"
    },
    {
      "case": "H5",
      "title": "AP deauthenticates the leaf station: link back, then traffic back",
      "pass": true,
      "link_back_s": [
        0.41,
        0.4,
        0.4,
        0.41,
        0.36
      ],
      "traffic_back_s": [
        1.47,
        1.47,
        1.47,
        0.43,
        0.38
      ]
    },
    {
      "case": "H7",
      "title": "station interface destroyed: daemon rebuilds and re-associates it",
      "pass": true,
      "link_back_s": [
        1.37,
        1.8,
        2.83,
        2.95,
        2.87,
        1.93
      ]
    },
    {
      "case": "H9",
      "title": "agent daemon restarts: link kept, new boot verified",
      "pass": true,
      "measured": "0 of 70 pings lost in each of 3 trials; new boot verified each time"
    },
    {
      "case": "H10",
      "title": "control plane over the radio link: Query, Report and Ack cross the backhaul",
      "pass": true,
      "measured": "agent verified and reporting at the controller with the VPN path unused"
    },
    {
      "case": "H11",
      "title": "iperf3 across the backhaul, endpoints on the routers themselves, 10 s each",
      "pass": true,
      "tcp_mbit_s": {
        "agent_to_controller_1_stream": 1362,
        "controller_to_agent_1_stream": 1268,
        "agent_to_controller_4_streams": 1366,
        "controller_to_agent_4_streams": 1663,
        "agent_to_controller_8_streams": 1425
      },
      "tcp_retransmits": 0,
      "udp": {
        "offered_mbit_s": 1000,
        "delivered_mbit_s": 463,
        "loss_percent": 0.11,
        "jitter_ms": 0.017,
        "note": "sender-limited: one iperf3 thread on the router"
      },
      "note": "receiver CPU about 60% on the controller; the routers' CPUs, not the radio (PHY rate up to 6435 Mbit/s), bound these figures",
      "ping": "20/20, 1.5-5.2 ms"
    },
    {
      "case": "H12",
      "title": "retries, failures, drops and errors across the backhaul (vendor apstats and interface counters, deltas per run)",
      "pass": true,
      "runs": {
        "tcp_x4_20s_agent_to_controller": {
          "mbit_s": 1330,
          "sender_msdu": 2295639,
          "retried_percent": 0.65,
          "tx_failed": 0,
          "tx_dropped": 0,
          "rx_errors": 0,
          "crypto_errors": 0,
          "phy_crc_errors": 0
        },
        "tcp_x4_20s_controller_to_agent": {
          "mbit_s": 1600,
          "sender_msdu": 2765367,
          "retried_percent": 0.55,
          "tx_failed": 0,
          "tx_dropped": 0,
          "rx_errors": 0,
          "crypto_errors": 0,
          "phy_crc_errors": 0
        },
        "ping_100_idle": {
          "loss_percent": 0,
          "rtt_ms": "1.5/2.7/4.2",
          "note": "retried share is high (15-33%) on a few hundred frames: rate control probing after idle, no failures"
        }
      },
      "rate": "EHT MCS 11 (1024-QAM 5/6), 4 streams, 160 MHz for >99% of frames; per-chain SNR 31-39 dB, one chain 7-8 dB weaker",
      "note": "every frame was delivered: 0 failed, 0 dropped, 0 errors at the radio and MAC. Retries are link-layer retransmissions that succeeded. The agent's station interface counted 16, 15 and 56 received frames dropped at the netdev in the three runs; cause not yet identified."
    },
    {
      "case": "H13",
      "title": "latency from controller to agent, before and after keeping the backhaul station awake",
      "pass": true,
      "before_ms": {
        "min": 1.7,
        "avg": 56.2,
        "max": 114.5,
        "note": "sawtooth of 16-114 ms: the vendor power-save mode (cfg80211tool get_powersave = 3) made the AP buffer frames until the next beacon, although nl80211 reported power save off"
      },
      "after_ms": {
        "min": 1.7,
        "avg": 2.0,
        "max": 2.9,
        "pings": 50,
        "lost": 0
      },
      "fix": "wmeshd now turns power save off on the backhaul station whenever it forms or adopts the link (standard nl80211 command plus the platform's own tool); verified after a daemon restart and after an interface rebuild"
    },
    {
      "case": "H14",
      "title": "iperf3 series with the station kept awake, 20 s per run, radio counters read before and after each run",
      "pass": true,
      "runs": [
        {
          "run": "tcp_1_up",
          "direction": "23A -> 506",
          "proto": "TCP",
          "streams": 1,
          "seconds": 20,
          "mbit_s": 1334,
          "tcp_retransmits": 0,
          "cpu_percent": {
            "agent": 5,
            "controller": 59
          },
          "sender_radio": {
            "msdu": 2304004,
            "retried": 47564,
            "retried_percent": 2.06,
            "retried_more_than_once": 4984,
            "failed": 0,
            "dropped": 0
          },
          "receiver_radio": {
            "rx_errors": 0,
            "crypto_errors": 0,
            "phy_crc_errors": 0,
            "netdev_rx_errors": 0,
            "netdev_rx_dropped": 0
          }
        },
        {
          "run": "tcp_1_down",
          "direction": "506 -> 23A",
          "proto": "TCP",
          "streams": 1,
          "seconds": 20,
          "mbit_s": 1273,
          "tcp_retransmits": 0,
          "cpu_percent": {
            "agent": 41,
            "controller": 6
          },
          "sender_radio": {
            "msdu": 2198486,
            "retried": 87887,
            "retried_percent": 4.0,
            "retried_more_than_once": 8470,
            "failed": 0,
            "dropped": 0
          },
          "receiver_radio": {
            "rx_errors": 0,
            "crypto_errors": 0,
            "phy_crc_errors": 0,
            "netdev_rx_errors": 0,
            "netdev_rx_dropped": 0
          }
        },
        {
          "run": "tcp_4_up",
          "direction": "23A -> 506",
          "proto": "TCP",
          "streams": 4,
          "seconds": 20,
          "mbit_s": 1329,
          "tcp_retransmits": 0,
          "cpu_percent": {
            "agent": 4,
            "controller": 62
          },
          "sender_radio": {
            "msdu": 2300456,
            "retried": 61595,
            "retried_percent": 2.68,
            "retried_more_than_once": 6651,
            "failed": 0,
            "dropped": 0
          },
          "receiver_radio": {
            "rx_errors": 0,
            "crypto_errors": 0,
            "phy_crc_errors": 0,
            "netdev_rx_errors": 3,
            "netdev_rx_dropped": 0
          }
        },
        {
          "run": "tcp_4_down",
          "direction": "506 -> 23A",
          "proto": "TCP",
          "streams": 4,
          "seconds": 20,
          "mbit_s": 1483,
          "tcp_retransmits": 0,
          "cpu_percent": {
            "agent": 46,
            "controller": 5
          },
          "sender_radio": {
            "msdu": 2563957,
            "retried": 115657,
            "retried_percent": 4.51,
            "retried_more_than_once": 10991,
            "failed": 0,
            "dropped": 0
          },
          "receiver_radio": {
            "rx_errors": 0,
            "crypto_errors": 0,
            "phy_crc_errors": 0,
            "netdev_rx_errors": 0,
            "netdev_rx_dropped": 0
          }
        },
        {
          "run": "tcp_8_up",
          "direction": "23A -> 506",
          "proto": "TCP",
          "streams": 8,
          "seconds": 20,
          "mbit_s": 1416,
          "tcp_retransmits": 0,
          "cpu_percent": {
            "agent": 5,
            "controller": 64
          },
          "sender_radio": {
            "msdu": 2457161,
            "retried": 52093,
            "retried_percent": 2.12,
            "retried_more_than_once": 5028,
            "failed": 0,
            "dropped": 0
          },
          "receiver_radio": {
            "rx_errors": 0,
            "crypto_errors": 0,
            "phy_crc_errors": 0,
            "netdev_rx_errors": 0,
            "netdev_rx_dropped": 0
          }
        },
        {
          "run": "tcp_8_down",
          "direction": "506 -> 23A",
          "proto": "TCP",
          "streams": 8,
          "seconds": 20,
          "mbit_s": 1568,
          "tcp_retransmits": 0,
          "cpu_percent": {
            "agent": 47,
            "controller": 6
          },
          "sender_radio": {
            "msdu": 2713209,
            "retried": 127862,
            "retried_percent": 4.71,
            "retried_more_than_once": 10651,
            "failed": 0,
            "dropped": 0
          },
          "receiver_radio": {
            "rx_errors": 0,
            "crypto_errors": 0,
            "phy_crc_errors": 0,
            "netdev_rx_errors": 0,
            "netdev_rx_dropped": 0
          }
        },
        {
          "run": "udp_4x400_up",
          "direction": "23A -> 506",
          "proto": "UDP",
          "streams": 4,
          "seconds": 20,
          "offered_mbit_s": 1600,
          "mbit_s": 1286,
          "udp_loss_percent": 0.029,
          "jitter_ms": 0.041,
          "cpu_percent": {
            "agent": 75,
            "controller": 42
          },
          "sender_radio": {
            "msdu": 2221830,
            "retried": 46089,
            "retried_percent": 2.07,
            "retried_more_than_once": 3639,
            "failed": 0,
            "dropped": 0
          },
          "receiver_radio": {
            "rx_errors": 0,
            "crypto_errors": 0,
            "phy_crc_errors": 0,
            "netdev_rx_errors": 101,
            "netdev_rx_dropped": 0
          }
        }
      ],
      "radio": {
        "channel": "129 (6595 MHz), 160 MHz, centre 6665 MHz",
        "mode": "802.11be EHT, 4 spatial streams each way",
        "tx_power_dbm": 22,
        "noise_floor_dbm": -92,
        "rate": "EHT MCS 11 (1024-QAM 5/6) for about 90% of frames, MCS 10 for most of the rest, MCS 12-13 rarely; average PHY rate 4804 Mbit/s",
        "agent_ack_rssi_dbm_per_chain_before": [
          -53,
          -61,
          -53,
          -55
        ],
        "agent_ack_snr_db_per_chain_before": [
          39,
          31,
          39,
          37
        ],
        "agent_ack_rssi_dbm_per_chain_after": [
          -57,
          -66,
          -58,
          -57
        ],
        "agent_ack_snr_db_per_chain_after": [
          35,
          26,
          34,
          35
        ]
      },
      "note": "no TCP retransmits, no failed or dropped frames and no radio, CRC or crypto errors in any run; link-layer retries were 2.1-2.7% of frames agent to controller and 4.0-4.7% controller to agent, higher than the 0.6% measured earlier in the day while the signal was 4-5 dB stronger. Throughput is bounded by the routers' CPUs (59-64% on the receiving controller). The reverse UDP run was not completed: the agent's firewall rejects unsolicited traffic on the backhaul interface, the run hung, and the site became unreachable for about ten minutes; cause not established."
    }
  ],
  "not_run": [
    "root AP restart and supplicant kill (would touch the production hostapd and supplicant)",
    "bridged four-address backhaul and the wired/wireless loop with RSTP",
    "UDP controller to agent (see H14 note)"
  ],
  "config_integrity": "/etc/config/wireless checksum unchanged on both devices before and after"
}
