---
# System prepended metadata

title: AP-UP testing

---

[TOC]
# AP-UP testing 
Testing scripts can be found in [https://github.com/javierbrk/libremesh-testing ](https://github.com/libremesh/lime-packages/pull/1134 )

Info about ap-up can be found here [https://github.com/libremesh/lime-packages/pull/1134 ](https://github.com/libremesh/lime-packages/pull/1134)


To use the scripts you must create a folder with a file named "local_config.py". This file can be create from "test_config.py"
Then in the folder run python ../netperf.py 



**TLDR:measurements with ap-up enabled were not able to reach more than 8Mb/s**

# Test environment 1 (montenet)
## hw 
PC - eth - LR1(meta) - radio1 (1.2 km) - LR1(si) 

### Ipv6 addresses 
:::spoiler IPs fe80:
	IPv6 meta: fe80::aa40:41ff:fe1c:849e
	
	Ipv6 si:   fe80::a840:41ff:fe22:5516
::: 
    

## chanel spectrum analisis from meta to si
![image](https://hackmd.io/_uploads/rkQjLwhHyx.png)


Changed the firmware to use an apup kernel compatible and performed tests without ap-up

## netperf throughput per chanel
Changed the firmware to use an apup kernel compatible and performed tests without ap-up

### without ap-up (using 80211s)
![image](https://hackmd.io/_uploads/ryGjju2S1x.png)
![imagen](https://hackmd.io/_uploads/rktufJ591l.png)

### with ap-up 
After configuring ap-up we were not able to run the script but a single test in a single channel. 
Links were up but the daemnon didnot add the new interfaces to the mesh networks until “wifi”, after the channels have been changed and the link has been established. Only then it recognizes new peers.  This prevents the netperfs.py script from working normally.

:::spoiler 
```
root@meta:~# vim /etc/config/wireless 
root@meta:~# wifi
root@meta:~# ping si
PING si.thisnode.info (10.14.72.246) 56(84) bytes of data.
^C
--- si.thisnode.info ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2079ms

root@meta:~# wifi
root@meta:~# limed
^C^C
root@meta:~# ping si
PING si.thisnode.info (10.14.72.246) 56(84) bytes of data.
From meta (10.14.40.246) icmp_seq=1 Destination Host Unreachable
From meta (10.14.40.246) icmp_seq=2 Destination Host Unreachable
From meta (10.14.40.246) icmp_seq=3 Destination Host Unreachable
From meta (10.14.40.246) icmp_seq=4 Destination Host Unreachable
From meta (10.14.40.246) icmp_seq=5 Destination Host Unreachable
ps |gFrom meta (10.14.40.246) icmp_seq=6 Destination Host Unreachable
From meta (10.14.40.246) icmp_seq=7 Destination Host Unreachable
From meta (10.14.40.246) icmp_seq=8 Destination Host Unreachable
rep limeFrom meta (10.14.40.246) icmp_seq=9 Destination Host Unreachable
From meta (10.14.40.246) icmp_seq=10 Destination Host Unreachable
From meta (10.14.40.246) icmp_seq=11 Destination Host Unreachable
d
^C
--- si.thisnode.info ping statistics ---
13 packets transmitted, 0 received, +11 errors, 100% packet loss, time 12466ms
pipe 3
root@meta:~# ps |grep limed
 5436 root      1400 S    grep limed
30480 root      4932 S    {limed} /usr/bin/lua /usr/bin/limed
root@meta:~# kill -9 30480
root@meta:~# kill -9 30480
ash: can't kill pid 30480: No such process
root@meta:~# ps |grep limed
 5984 root      1400 S    grep limed
root@meta:~# limed&
root@meta:~# wifi
root@meta:~# Subscribing:       hostapd.wlan1-apup
peerSubscriber: apup-newpeer    wlan1-peer1
network add_dynamic
                proto    =      static
                name     =      lm_net_lm_net_wlan1_peer1_static
                netmask  =      255.255.255.255
                ipaddr   =      10.14.40.246
                ifname   =      wlan1-peer1
                auto     =      1
lime.network.runProtocols(wlan1-peer1, ...)
lime.proto.batadv.runOnDevice(wlan1-peer1, ...)
lime.network.createVlan(wlan1-peer1, ...)
                vid      =      30
                type     =      8021ad
                name     =      wlan1-peer1_30
                ifname   =      wlan1-peer1
network add_dynamic
                proto    =      static
                name     =      lm_net_lm_net_wlan1_peer1_30_static
                netmask  =      255.255.255.255
                ipaddr   =      10.14.40.246
                ifname   =      wlan1-peer1_30
                auto     =      1
lime.proto.babeld.runOnDevice(wlan1-peer1, ...)
lime.network.createVlan(wlan1-peer1, ...)
                vid      =      17
                type     =      8021ad
                name     =      wlan1-peer1_17
                ifname   =      wlan1-peer1
network add_dynamic
                proto    =      static
                name     =      lm_net_lm_net_wlan1_peer1_17_static
                netmask  =      255.255.255.255
                ipaddr   =      10.14.40.246
                ifname   =      wlan1-peer1_17
                auto     =      1
Subscribing:    hostapd.wlan1-apup
peerSubscriber: apup-newpeer    wlan1-peer1
network add_dynamic
                proto    =      static
                name     =      lm_net_lm_net_wlan1_peer1_static
                netmask  =      255.255.255.255
                ipaddr   =      10.14.40.246
                ifname   =      wlan1-peer1
                auto     =      1
ip: SIOCGIFFLAGS: No such device
ip: can't find device 'wlan1-peer1'
lime.network.runProtocols(wlan1-peer1, ...)
lime.proto.batadv.runOnDevice(wlan1-peer1, ...)
lime.network.createVlan(wlan1-peer1, ...)
                vid      =      30
                type     =      8021ad
                name     =      wlan1-peer1_30
                ifname   =      wlan1-peer1
ip: can't find device 'wlan1-peer1'
network add_dynamic
                proto    =      static
                name     =      lm_net_lm_net_wlan1_peer1_30_static
                netmask  =      255.255.255.255
                ipaddr   =      10.14.40.246
                ifname   =      wlan1-peer1_30
                auto     =      1
ip: SIOCGIFFLAGS: No such device
ip: can't find device 'wlan1-peer1_30'
Error - interface does not exist: wlan1-peer1_30
lime.proto.babeld.runOnDevice(wlan1-peer1, ...)
lime.network.createVlan(wlan1-peer1, ...)
                vid      =      17
                type     =      8021ad
                name     =      wlan1-peer1_17
                ifname   =      wlan1-peer1
ip: can't find device 'wlan1-peer1'
network add_dynamic
                proto    =      static
                name     =      lm_net_lm_net_wlan1_peer1_17_static
                netmask  =      255.255.255.255
                ipaddr   =      10.14.40.246
                ifname   =      wlan1-peer1_17
                auto     =      1
ip: SIOCGIFFLAGS: No such device
ip: can't find device 'wlan1-peer1_17'
peerSubscriber: apup-newpeer    wlan1-peer1
network add_dynamic
                proto    =      static
                name     =      lm_net_lm_net_wlan1_peer1_static
                netmask  =      255.255.255.255
                ipaddr   =      10.14.40.246
                ifname   =      wlan1-peer1
                auto     =      1
lime.network.runProtocols(wlan1-peer1, ...)
lime.proto.batadv.runOnDevice(wlan1-peer1, ...)
lime.network.createVlan(wlan1-peer1, ...)
                vid      =      30
                type     =      8021ad
                name     =      wlan1-peer1_30
                ifname   =      wlan1-peer1
network add_dynamic
                proto    =      static
                name     =      lm_net_lm_net_wlan1_peer1_30_static
                netmask  =      255.255.255.255
                ipaddr   =      10.14.40.246
                ifname   =      wlan1-peer1_30
                auto     =      1
lime.proto.babeld.runOnDevice(wlan1-peer1, ...)
lime.network.createVlan(wlan1-peer1, ...)
                vid      =      17
                type     =      8021ad
                name     =      wlan1-peer1_17
                ifname   =      wlan1-peer1
network add_dynamic
                proto    =      static
                name     =      lm_net_lm_net_wlan1_peer1_17_static
                netmask  =      255.255.255.255
                ipaddr   =      10.14.40.246
                ifname   =      wlan1-peer1_17
                auto     =      1
^C

root@meta:~# 
root@meta:~# ping si
PING si.thisnode.info (10.14.72.246) 56(84) bytes of data.
64 bytes from si.thisnode.info (10.14.72.246): icmp_seq=1 ttl=64 time=4.11 ms
64 bytes from si.thisnode.info (10.14.72.246): icmp_seq=2 ttl=64 time=4.44 ms
64 bytes from si.thisnode.info (10.14.72.246): icmp_seq=3 ttl=64 time=3.67 ms
64 bytes from si.thisnode.info (10.14.72.246): icmp_seq=4 ttl=64 time=2.44 ms
64 bytes from si.thisnode.info (10.14.72.246): icmp_seq=5 ttl=64 time=3.91 ms
^C
--- si.thisnode.info ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4005ms
rtt min/avg/max/mdev = 2.436/3.714/4.441/0.687 ms
root@meta:~# 

```

:::

root@meta:~# netperf -cC -D1 -H si -l 60
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0) port 0 AF_INET to si.thisnode.info (10.) port 0 AF_INET : demo

| Recv Size| Send Size | Send Size| Utilization Time | **Service Demand Throughput**| Socket local | Socket remote | Message local| Elapsed remote| Send bytes| Recv bytes| Send bytes| Recvsecs |
| ---- | ---- | ---- | ----------- |:--------------:| ------ | ------ | ------- | ------- | ---- | ---- | ---- | ---- |
| 131072 | 16384 | 16384 |   60.28    |  **3.12**  | 26.94  |  23.25 |   708.268 | 611.114 |


| **Utilización Local** | **Utilización Remota** | **Demanda Local** | **Demanda Remota** |
|------|--------|---------|-----------------|
| 26.94% | 23.25% | 708.268 µs/KB | 611.114 µs/KB | 


Performing the test from the connected pc, the result increaced in about a megabit... performance issue ? ... we noted that hostapd and netperf were top users of cpu power. 


Ath9k  Atheros AR9300 Rev:4



    
# Test environment 2 (lab)
## hw 
PC - eth - LR1(LiMe-LiMe-224ad6) - radio2 (1 m) - LR1(LiMe-224ad6) 

## chanel spectrum analisis from Lime-1f73aa to LiMe-224ad6
Changed the firmware to use an apup kernel compatible and performed tests without ap-up

## netperf throughput per chanel
Changed the firmware to use an apup kernel compatible and performed tests with and without ap-up

### without ap-up (using 80211s)
![netperf](https://hackmd.io/_uploads/ByQJKf5cyl.png)

### with ap-up 
After configuring ap-up we were able to change chanels and limed behaved as expected rising interfaces. This didn't happen in thest environment 1.
    
![postapup](https://hackmd.io/_uploads/B1a1cG99yg.png)


## Manual testing using 2.4Band
### test without AP-uP
```bash=
root@LiMe-224ad6:~# ping fe80::aa40:41ff:fe1f:73a8%wlan0-mesh
PING fe80::aa40:41ff:fe1f:73a8%wlan0-mesh (fe80::aa40:41ff:fe1f:73a8%wlan0-mesh) 56 data bytes
64 bytes from fe80::aa40:41ff:fe1f:73a8%wlan0-mesh: icmp_seq=1 ttl=64 time=2.30 ms
64 bytes from fe80::aa40:41ff:fe1f:73a8%wlan0-mesh: icmp_seq=2 ttl=64 time=2.76 ms
64 bytes from fe80::aa40:41ff:fe1f:73a8%wlan0-mesh: icmp_seq=3 ttl=64 time=4.78 ms
64 bytes from fe80::aa40:41ff:fe1f:73a8%wlan0-mesh: icmp_seq=4 ttl=64 time=3.25 ms
^C
--- fe80::aa40:41ff:fe1f:73a8%wlan0-mesh ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 2.303/3.272/4.784/0.934 ms
root@LiMe-224ad6:~# netperf fe80::aa40:41ff:fe1f:73a8%wlan0-mesh
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0) port 0 AF_INET to localhost (127) port 0 AF_INET : demo
Recv   Send    Send                          
Socket Socket  Message  Elapsed              
Size   Size    Size     Time     Throughput  
bytes  bytes   bytes    secs.    10^6bits/sec  

131072  16384  16384    10.00     397.41   
root@LiMe-224ad6:~# netperf3 fe80::aa40:41ff:fe1f:73a8%wlan0-mesh
-ash: netperf3: not found
root@LiMe-224ad6:~# netperf fe80::aa40:41ff:fe1f:73a8%wlan0-mesh
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0) port 0 AF_INET to localhost (127) port 0 AF_INET : demo
Recv   Send    Send                          
Socket Socket  Message  Elapsed              
Size   Size    Size     Time     Throughput  
bytes  bytes   bytes    secs.    10^6bits/sec  

131072  16384  16384    10.00     346.60   
root@LiMe-224ad6:~# netperf -cC -D1 -H fe80::aa40:41ff:fe1f:73a8%wlan0-mesh -l 10
MIGRATED TCP STREAM TEST from ::0 (::) port 0 AF_INET6 to fe80::aa40:41ff:fe1f:73a8%wlan0-mesh () port 0 AF_INET6 : demo
Interim result:   19.81 10^6bits/s over 4.063 seconds ending at 0.1734475250
Interim result:   22.90 10^6bits/s over 1.065 seconds ending at 0.1734475251
Interim result:   21.50 10^6bits/s over 1.067 seconds ending at 0.1734475252
Interim result:   16.40 10^6bits/s over 1.311 seconds ending at 0.1734475253
Interim result:   21.85 10^6bits/s over 1.032 seconds ending at 0.1734475254
Interim result:   18.47 10^6bits/s over 1.185 seconds ending at 0.1734475255
Interim result:   13.22 10^6bits/s over 0.278 seconds ending at 0.1734475256
Recv   Send    Send                          Utilization       Service Demand
Socket Socket  Message  Elapsed              Send     Recv     Send    Recv
Size   Size    Size     Time     Throughput  local    remote   local   remote
bytes  bytes   bytes    secs.    10^6bits/s  % S      % S      us/KB   us/KB

131072  16384  16384    10.21        19.34   25.44    40.88    107.832  173.284 
root@LiMe-224ad6:~# netperf -cC -D1 -H fe80::aa40:41ff:fe1f:73a8%wlan0-mesh -l 10
MIGRATED TCP STREAM TEST from ::0 (::) port 0 AF_INET6 to fe80::aa40:41ff:fe1f:73a8%wlan0-mesh () port 0 AF_INET6 : demo
Interim result:   20.03 10^6bits/s over 3.835 seconds ending at 0.1734475269
Interim result:   18.87 10^6bits/s over 1.063 seconds ending at 0.1734475270
Interim result:   14.73 10^6bits/s over 1.281 seconds ending at 0.1734475271
Interim result:   23.50 10^6bits/s over 1.054 seconds ending at 0.1734475272
Interim result:   13.76 10^6bits/s over 1.714 seconds ending at 0.1734475274
Interim result:   21.80 10^6bits/s over 1.052 seconds ending at 0.1734475275
Recv   Send    Send                          Utilization       Service Demand
Socket Socket  Message  Elapsed              Send     Recv     Send    Recv
Size   Size    Size     Time     Throughput  local    remote   local   remote
bytes  bytes   bytes    secs.    10^6bits/s  % S      % S      us/KB   us/KB

131072  16384  16384    10.51        17.80   13.99    30.35    64.393  139.736 
root@LiMe-224ad6:~# iwinfo wlan0-mesh assoclist
A8:40:41:1F:73:A8  -17 dBm / -83 dBm (SNR 66)  60 ms ago
	RX: 57.8 MBit/s, MCS 11, 20MHz                 32016 Pkts.
	TX: 130.0 MBit/s, MCS 14, 20MHz                38354 Pkts.
	expected throughput: 25.5 MBit/s

root@LiMe-224ad6:~# netperf -cC -D1 -H fe80::aa40:41ff:fe1f:73a8%wlan0-mesh -l 10
MIGRATED TCP STREAM TEST from ::0 (::) port 0 AF_INET6 to fe80::aa40:41ff:fe1f:73a8%wlan0-mesh () port 0 AF_INET6 : demo
Interim result:   19.09 10^6bits/s over 1.002 seconds ending at 0.1734475295
Interim result:   18.27 10^6bits/s over 1.048 seconds ending at 0.1734475296
Interim result:   20.46 10^6bits/s over 1.051 seconds ending at 0.1734475297
Interim result:   18.53 10^6bits/s over 1.104 seconds ending at 0.1734475298
Interim result:   19.17 10^6bits/s over 1.033 seconds ending at 0.1734475299
Interim result:   18.67 10^6bits/s over 1.025 seconds ending at 0.1734475300
Interim result:   16.91 10^6bits/s over 1.108 seconds ending at 0.1734475301
Interim result:   16.48 10^6bits/s over 1.082 seconds ending at 0.1734475302
Interim result:   19.14 10^6bits/s over 1.178 seconds ending at 0.1734475303
Interim result:   14.15 10^6bits/s over 0.371 seconds ending at 0.1734475304
Recv   Send    Send                          Utilization       Service Demand
Socket Socket  Message  Elapsed              Send     Recv     Send    Recv
Size   Size    Size     Time     Throughput  local    remote   local   remote
bytes  bytes   bytes    secs.    10^6bits/s  % S      % S      us/KB   us/KB

131072  16384  16384    10.15        18.07   25.91    41.32    117.466  187.326 
root@LiMe-224ad6:~# netperf -cC -D1 -H fe80::aa40:41ff:fe1f:73a8%wlan0-mesh -l 10
MIGRATED TCP STREAM TEST from ::0 (::) port 0 AF_INET6 to fe80::aa40:41ff:fe1f:73a8%wlan0-mesh () port 0 AF_INET6 : demo
^[[AInterim result:   21.28 10^6bits/s over 1.688 seconds ending at 0.1734475307
Interim result:   19.12 10^6bits/s over 1.110 seconds ending at 0.1734475308
Interim result:   15.52 10^6bits/s over 1.233 seconds ending at 0.1734475309
Interim result:   16.02 10^6bits/s over 1.047 seconds ending at 0.1734475310
Interim result:   20.60 10^6bits/s over 1.069 seconds ending at 0.1734475311
Interim result:   18.84 10^6bits/s over 1.092 seconds ending at 0.1734475312
Interim result:   17.36 10^6bits/s over 1.087 seconds ending at 0.1734475313
Interim result:   15.66 10^6bits/s over 1.105 seconds ending at 0.1734475314
Interim result:   17.07 10^6bits/s over 0.568 seconds ending at 0.1734475315
Recv   Send    Send                          Utilization       Service Demand
Socket Socket  Message  Elapsed              Send     Recv     Send    Recv
Size   Size    Size     Time     Throughput  local    remote   local   remote
bytes  bytes   bytes    secs.    10^6bits/s  % S      % S      us/KB   us/KB

131072  16384  16384    10.28        17.66   30.64    47.08    142.127  218.353 
root@LiMe-224ad6:~# iwinfo wlan0-mesh assoclist
A8:40:41:1F:73:A8  -17 dBm / -83 dBm (SNR 66)  80 ms ago
	RX: 43.3 MBit/s, MCS 10, 20MHz                 45766 Pkts.
	TX: 130.0 MBit/s, MCS 14, 20MHz                70009 Pkts.
	expected throughput: 32.7 MBit/s


```

```bash=

# for i in $(seq 1 10); do
>     echo "Iteration $i"
>     iwinfo
>     iwinfo wlan0-mesh a
>     netperf -cC -D1 -H fe80::aa40:41ff:fe1f:73a8%wlan0-mesh | awk '{print $5}' | grep -E '^[0-9]+(\.[0-9]+)?$' | awk '{print "Throughput:", $1}'
>     iwinfo wlan0-mesh a
>     echo "--------------------------------------"
>     sleep 1  # Optional: add a short delay between iterations
> done
Iteration 1
wlan0-mesh ESSID: "LiMe"
          Access Point: A8:40:41:22:4A:D4
          Mode: Mesh Point  Channel: 11 (2.462 GHz)  HT Mode: HT20
          Center Channel 1: 11 2: unknown
          Tx-Power: 26 dBm  Link Quality: 70/70
          Signal: -18 dBm  Noise: -82 dBm
          Bit Rate: 28.9 MBit/s
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11b/g/n
          Hardware: embedded [Qualcomm Atheros QCA9550]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

A8:40:41:1F:73:A8  -17 dBm / -82 dBm (SNR 65)  40 ms ago
	RX: 14.4 MBit/s, MCS 8, 20MHz                   4404 Pkts.
	TX: 28.9 MBit/s, MCS 3, 20MHz                   1096 Pkts.
	expected throughput: 19.1 MBit/s

Throughput: 19.73
A8:40:41:1F:73:A8  -18 dBm / -81 dBm (SNR 63)  20 ms ago
	RX: 52.0 MBit/s, MCS 11, 20MHz                 12488 Pkts.
	TX: 43.3 MBit/s, MCS 10, 20MHz                 18247 Pkts.
	expected throughput: 33.0 MBit/s

--------------------------------------
Iteration 2
wlan0-mesh ESSID: "LiMe"
          Access Point: A8:40:41:22:4A:D4
          Mode: Mesh Point  Channel: 11 (2.462 GHz)  HT Mode: HT20
          Center Channel 1: 11 2: unknown
          Tx-Power: 26 dBm  Link Quality: 70/70
          Signal: -15 dBm  Noise: -81 dBm
          Bit Rate: 52.0 MBit/s
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11b/g/n
          Hardware: embedded [Qualcomm Atheros QCA9550]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

A8:40:41:1F:73:A8  -15 dBm / -81 dBm (SNR 66)  60 ms ago
	RX: 57.8 MBit/s, MCS 11, 20MHz                 12526 Pkts.
	TX: 52.0 MBit/s, MCS 5, 20MHz                  18256 Pkts.
	expected throughput: 24.5 MBit/s

Throughput: 20.66
A8:40:41:1F:73:A8  -15 dBm / -81 dBm (SNR 66)  10 ms ago
	RX: 78.0 MBit/s, MCS 12, 20MHz                 20342 Pkts.
	TX: 43.3 MBit/s, MCS 10, 20MHz                 36236 Pkts.
	expected throughput: 34.5 MBit/s

--------------------------------------
Iteration 3
wlan0-mesh ESSID: "LiMe"
          Access Point: A8:40:41:22:4A:D4
          Mode: Mesh Point  Channel: 11 (2.462 GHz)  HT Mode: HT20
          Center Channel 1: 11 2: unknown
          Tx-Power: 26 dBm  Link Quality: 70/70
          Signal: -17 dBm  Noise: -81 dBm
          Bit Rate: 43.3 MBit/s
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11b/g/n
          Hardware: embedded [Qualcomm Atheros QCA9550]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

A8:40:41:1F:73:A8  -17 dBm / -81 dBm (SNR 64)  80 ms ago
	RX: 78.0 MBit/s, MCS 12, 20MHz                 20366 Pkts.
	TX: 43.3 MBit/s, MCS 10, 20MHz                 36236 Pkts.
	expected throughput: 34.5 MBit/s

Throughput: 19.28
A8:40:41:1F:73:A8  -17 dBm / -81 dBm (SNR 64)  10 ms ago
	RX: 72.2 MBit/s, MCS 7, 20MHz                  28853 Pkts.
	TX: 104.0 MBit/s, MCS 13, 20MHz                53387 Pkts.
	expected throughput: 36.2 MBit/s

--------------------------------------
Iteration 4
wlan0-mesh ESSID: "LiMe"
          Access Point: A8:40:41:22:4A:D4
          Mode: Mesh Point  Channel: 11 (2.462 GHz)  HT Mode: HT20
          Center Channel 1: 11 2: unknown
          Tx-Power: 26 dBm  Link Quality: 70/70
          Signal: -17 dBm  Noise: -81 dBm
          Bit Rate: 104.0 MBit/s
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11b/g/n
          Hardware: embedded [Qualcomm Atheros QCA9550]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

A8:40:41:1F:73:A8  -17 dBm / -81 dBm (SNR 64)  10 ms ago
	RX: 72.2 MBit/s, MCS 7, 20MHz                  28877 Pkts.
	TX: 104.0 MBit/s, MCS 13, 20MHz                53387 Pkts.
	expected throughput: 36.2 MBit/s

Throughput: 20.82
A8:40:41:1F:73:A8  -16 dBm / -81 dBm (SNR 65)  30 ms ago
	RX: 78.0 MBit/s, MCS 12, 20MHz                 37835 Pkts.
	TX: 43.3 MBit/s, MCS 10, 20MHz                 71559 Pkts.
	expected throughput: 34.1 MBit/s

--------------------------------------
Iteration 5
wlan0-mesh ESSID: "LiMe"
          Access Point: A8:40:41:22:4A:D4
          Mode: Mesh Point  Channel: 11 (2.462 GHz)  HT Mode: HT20
          Center Channel 1: 11 2: unknown
          Tx-Power: 26 dBm  Link Quality: 70/70
          Signal: -16 dBm  Noise: -81 dBm
          Bit Rate: 39.0 MBit/s
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11b/g/n
          Hardware: embedded [Qualcomm Atheros QCA9550]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

A8:40:41:1F:73:A8  -17 dBm / -81 dBm (SNR 64)  50 ms ago
	RX: 78.0 MBit/s, MCS 12, 20MHz                 37879 Pkts.
	TX: 39.0 MBit/s, MCS 10, 20MHz                 71581 Pkts.
	expected throughput: 30.8 MBit/s

Throughput: 19.90
A8:40:41:1F:73:A8  -15 dBm / -81 dBm (SNR 66)  20 ms ago
	RX: 86.7 MBit/s, MCS 12, 20MHz                 46462 Pkts.
	TX: 43.3 MBit/s, MCS 10, 20MHz                 88921 Pkts.
	expected throughput: 33.8 MBit/s

--------------------------------------
Iteration 6
wlan0-mesh ESSID: "LiMe"
          Access Point: A8:40:41:22:4A:D4
          Mode: Mesh Point  Channel: 11 (2.462 GHz)  HT Mode: HT20
          Center Channel 1: 11 2: unknown
          Tx-Power: 26 dBm  Link Quality: 70/70
          Signal: -16 dBm  Noise: -81 dBm
          Bit Rate: 43.3 MBit/s
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11b/g/n
          Hardware: embedded [Qualcomm Atheros QCA9550]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

A8:40:41:1F:73:A8  -16 dBm / -81 dBm (SNR 65)  70 ms ago
	RX: 86.7 MBit/s, MCS 12, 20MHz                 46486 Pkts.
	TX: 43.3 MBit/s, MCS 10, 20MHz                 88921 Pkts.
	expected throughput: 33.8 MBit/s

Throughput: 19.48
A8:40:41:1F:73:A8  -17 dBm / -81 dBm (SNR 64)  0 ms ago
	RX: 130.0 MBit/s, MCS 15, 20MHz                54722 Pkts.
	TX: 43.3 MBit/s, MCS 10, 20MHz                105989 Pkts.
	expected throughput: 34.5 MBit/s

--------------------------------------
Iteration 7
wlan0-mesh ESSID: "LiMe"
          Access Point: A8:40:41:22:4A:D4
          Mode: Mesh Point  Channel: 11 (2.462 GHz)  HT Mode: HT20
          Center Channel 1: 11 2: unknown
          Tx-Power: 26 dBm  Link Quality: 70/70
          Signal: -17 dBm  Noise: -81 dBm
          Bit Rate: 43.3 MBit/s
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11b/g/n
          Hardware: embedded [Qualcomm Atheros QCA9550]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

A8:40:41:1F:73:A8  -17 dBm / -81 dBm (SNR 64)  90 ms ago
	RX: 130.0 MBit/s, MCS 15, 20MHz                54743 Pkts.
	TX: 43.3 MBit/s, MCS 10, 20MHz                105989 Pkts.
	expected throughput: 34.5 MBit/s

Throughput: 20.33
A8:40:41:1F:73:A8  -18 dBm / -81 dBm (SNR 63)  10 ms ago
	RX: 144.4 MBit/s, MCS 15, 20MHz                63570 Pkts.
	TX: 43.3 MBit/s, MCS 10, 20MHz                123715 Pkts.
	expected throughput: 34.5 MBit/s

--------------------------------------
Iteration 8
wlan0-mesh ESSID: "LiMe"
          Access Point: A8:40:41:22:4A:D4
          Mode: Mesh Point  Channel: 11 (2.462 GHz)  HT Mode: HT20
          Center Channel 1: 11 2: unknown
          Tx-Power: 26 dBm  Link Quality: 70/70
          Signal: -18 dBm  Noise: -81 dBm
          Bit Rate: 52.0 MBit/s
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11b/g/n
          Hardware: embedded [Qualcomm Atheros QCA9550]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

A8:40:41:1F:73:A8  -17 dBm / -81 dBm (SNR 64)  10 ms ago
	RX: 43.3 MBit/s, MCS 10, 20MHz                 63653 Pkts.
	TX: 43.3 MBit/s, MCS 10, 20MHz                123766 Pkts.
	expected throughput: 25.5 MBit/s

Throughput: 20.51
A8:40:41:1F:73:A8  -15 dBm / -81 dBm (SNR 66)  0 ms ago
	RX: 39.0 MBit/s, MCS 4, 20MHz                  72548 Pkts.
	TX: 65.0 MBit/s, MCS 7, 20MHz                 141811 Pkts.
	expected throughput: 33.8 MBit/s

--------------------------------------
Iteration 9
wlan0-mesh ESSID: "LiMe"
          Access Point: A8:40:41:22:4A:D4
          Mode: Mesh Point  Channel: 11 (2.462 GHz)  HT Mode: HT20
          Center Channel 1: 11 2: unknown
          Tx-Power: 26 dBm  Link Quality: 70/70
          Signal: -18 dBm  Noise: -81 dBm
          Bit Rate: 43.3 MBit/s
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11b/g/n
          Hardware: embedded [Qualcomm Atheros QCA9550]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

A8:40:41:1F:73:A8  -17 dBm / -81 dBm (SNR 64)  10 ms ago
	RX: 39.0 MBit/s, MCS 4, 20MHz                  72584 Pkts.
	TX: 43.3 MBit/s, MCS 10, 20MHz                141825 Pkts.
	expected throughput: 32.7 MBit/s

Throughput: 19.74
A8:40:41:1F:73:A8  -15 dBm / -81 dBm (SNR 66)  10 ms ago
	RX: 57.8 MBit/s, MCS 11, 20MHz                 80916 Pkts.
	TX: 43.3 MBit/s, MCS 10, 20MHz                158955 Pkts.
	expected throughput: 34.5 MBit/s

--------------------------------------
Iteration 10
wlan0-mesh ESSID: "LiMe"
          Access Point: A8:40:41:22:4A:D4
          Mode: Mesh Point  Channel: 11 (2.462 GHz)  HT Mode: HT20
          Center Channel 1: 11 2: unknown
          Tx-Power: 26 dBm  Link Quality: 70/70
          Signal: -17 dBm  Noise: -81 dBm
          Bit Rate: 104.0 MBit/s
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11b/g/n
          Hardware: embedded [Qualcomm Atheros QCA9550]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

A8:40:41:1F:73:A8  -17 dBm / -81 dBm (SNR 64)  20 ms ago
	RX: 144.4 MBit/s, MCS 15, 20MHz                80957 Pkts.
	TX: 57.8 MBit/s, MCS 11, 20MHz                158963 Pkts.
	expected throughput: 38.2 MBit/s

Throughput: 19.91
A8:40:41:1F:73:A8  -17 dBm / -81 dBm (SNR 64)  10 ms ago
	RX: 65.0 MBit/s, MCS 7, 20MHz                  89800 Pkts.
	TX: 43.3 MBit/s, MCS 10, 20MHz                176592 Pkts.
	expected throughput: 34.5 MBit/s



```


### test with AP-uP
```bash=
root@LiMe-224ad6:~#  iwinfo wlan0-peer1 a && netperf -cC -D1 -H fe80::aa40:41ff:fe1f:73a8%wlan0-peer1 &&  iwinfo wlan0-peer1 a
A8:40:41:1F:73:A8  -17 dBm / -82 dBm (SNR 65)  330 ms ago
	RX: 43.3 MBit/s, MCS 10, 20MHz                 41339 Pkts.
	TX: 52.0 MBit/s, MCS 5, 20MHz                  71381 Pkts.
	expected throughput: 25.5 MBit/s

MIGRATED TCP STREAM TEST from ::0 (::) port 0 AF_INET6 to fe80::aa40:41ff:fe1f:73a8%wlan0-peer1 () port 0 AF_INET6 : demo
Interim result:    9.16 10^6bits/s over 1.059 seconds ending at 0.1734477135
Interim result:    7.77 10^6bits/s over 1.180 seconds ending at 0.1734477136
Interim result:    6.35 10^6bits/s over 1.239 seconds ending at 0.1734477137
Interim result:   10.12 10^6bits/s over 1.075 seconds ending at 0.1734477138
Interim result:    8.66 10^6bits/s over 1.165 seconds ending at 0.1734477139
Interim result:    7.76 10^6bits/s over 1.115 seconds ending at 0.1734477141
Interim result:    6.87 10^6bits/s over 1.144 seconds ending at 0.1734477142
Interim result:    8.50 10^6bits/s over 1.017 seconds ending at 0.1734477143
Interim result:    8.60 10^6bits/s over 1.005 seconds ending at 0.1734477144
Recv   Send    Send                          Utilization       Service Demand
Socket Socket  Message  Elapsed              Send     Recv     Send    Recv
Size   Size    Size     Time     Throughput  local    remote   local   remote
bytes  bytes   bytes    secs.    10^6bits/s  % S      % S      us/KB   us/KB

131072  16384  16384    10.24         7.98   12.61    28.97    129.704  297.934 
A8:40:41:1F:73:A8  -16 dBm / -82 dBm (SNR 66)  10 ms ago
	RX: 86.7 MBit/s, MCS 12, 20MHz                 45235 Pkts.
	TX: 43.3 MBit/s, MCS 10, 20MHz                 78572 Pkts.
	expected throughput: 25.5 MBit/s

root@LiMe-224ad6:~#  iwinfo wlan0-peer1 a && netperf -cC -D1 -H fe80::aa40:41ff:fe1f:73a8%wlan0-peer1 &&  iwinfo wlan0-peer1 a
A8:40:41:1F:73:A8  -17 dBm / -82 dBm (SNR 65)  350 ms ago
	RX: 65.0 MBit/s, MCS 6, 20MHz                  45328 Pkts.
	TX: 58.5 MBit/s, MCS 6, 20MHz                  78639 Pkts.
	expected throughput: 25.5 MBit/s

MIGRATED TCP STREAM TEST from ::0 (::) port 0 AF_INET6 to fe80::aa40:41ff:fe1f:73a8%wlan0-peer1 () port 0 AF_INET6 : demo
Interim result:    7.09 10^6bits/s over 1.035 seconds ending at 0.1734477149
Interim result:   10.32 10^6bits/s over 1.029 seconds ending at 0.1734477150
Interim result:    8.09 10^6bits/s over 1.264 seconds ending at 0.1734477151
Interim result:   10.43 10^6bits/s over 1.056 seconds ending at 0.1734477152
Interim result:    8.69 10^6bits/s over 1.191 seconds ending at 0.1734477153
Interim result:   11.26 10^6bits/s over 1.141 seconds ending at 0.1734477154
Interim result:    9.00 10^6bits/s over 1.253 seconds ending at 0.1734477156
Interim result:    8.14 10^6bits/s over 1.094 seconds ending at 0.1734477157
Interim result:    9.50 10^6bits/s over 0.938 seconds ending at 0.1734477158
Recv   Send    Send                          Utilization       Service Demand
Socket Socket  Message  Elapsed              Send     Recv     Send    Recv
Size   Size    Size     Time     Throughput  local    remote   local   remote
bytes  bytes   bytes    secs.    10^6bits/s  % S      % S      us/KB   us/KB

131072  16384  16384    10.23         8.94   21.99    18.87    201.541  172.878 
A8:40:41:1F:73:A8  -15 dBm / -82 dBm (SNR 67)  10 ms ago
	RX: 43.3 MBit/s, MCS 10, 20MHz                 49724 Pkts.
	TX: 43.3 MBit/s, MCS 10, 20MHz                 86720 Pkts.
	expected throughput: 24.8 MBit/s

# for i in $(seq 1 10); do
>     echo "Iteration $i"
>     iwinfo
>     iwinfo wlan0-peer1 a
>     netperf -cC -D1 -H fe80::aa40:41ff:fe1f:73a8%wlan0-peer1 | awk '{print $5}' | grep -E '^[0-9]+(\.[0-9]+)?$' | awk '{print "Throughput:", $1}'
>     iwinfo wlan0-peer1 a
>     echo "--------------------------------------"
>     sleep 1  # Optional: add a short delay between iterations
> done
Iteration 1
wlan0-apup ESSID: "LibreMesh.org"
          Access Point: A8:40:41:22:4A:D4
          Mode: Master  Channel: 11 (2.462 GHz)  HT Mode: HT20
          Center Channel 1: 11 2: unknown
          Tx-Power: 26 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -81 dBm
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11b/g/n
          Hardware: embedded [Qualcomm Atheros QCA9550]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

wlan0-peer1 ESSID: unknown
          Access Point: A8:40:41:22:4A:D4
          Mode: Master (VLAN)  Channel: 11 (2.462 GHz)  HT Mode: HT20
          Center Channel 1: 11 2: unknown
          Tx-Power: 26 dBm  Link Quality: 70/70
          Signal: -17 dBm  Noise: -81 dBm
          Bit Rate: 115.6 MBit/s
          Encryption: unknown
          Type: nl80211  HW Mode(s): 802.11b/g/n
          Hardware: embedded [Qualcomm Atheros QCA9550]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

A8:40:41:1F:73:A8  -17 dBm / -81 dBm (SNR 64)  290 ms ago
	RX: 52.0 MBit/s, MCS 5, 20MHz                 169891 Pkts.
	TX: 115.6 MBit/s, MCS 13, 20MHz               275323 Pkts.
	expected throughput: 25.5 MBit/s

Throughput: 11.95
A8:40:41:1F:73:A8  -16 dBm / -81 dBm (SNR 65)  40 ms ago
	RX: 115.6 MBit/s, MCS 13, 20MHz               175544 Pkts.
	TX: 43.3 MBit/s, MCS 10, 20MHz                286081 Pkts.
	expected throughput: 25.5 MBit/s

--------------------------------------
Iteration 2
wlan0-apup ESSID: "LibreMesh.org"
          Access Point: A8:40:41:22:4A:D4
          Mode: Master  Channel: 11 (2.462 GHz)  HT Mode: HT20
          Center Channel 1: 11 2: unknown
          Tx-Power: 26 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -81 dBm
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11b/g/n
          Hardware: embedded [Qualcomm Atheros QCA9550]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

wlan0-peer1 ESSID: unknown
          Access Point: A8:40:41:22:4A:D4
          Mode: Master (VLAN)  Channel: 11 (2.462 GHz)  HT Mode: HT20
          Center Channel 1: 11 2: unknown
          Tx-Power: 26 dBm  Link Quality: 70/70
          Signal: -16 dBm  Noise: -81 dBm
          Bit Rate: 43.3 MBit/s
          Encryption: unknown
          Type: nl80211  HW Mode(s): 802.11b/g/n
          Hardware: embedded [Qualcomm Atheros QCA9550]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

A8:40:41:1F:73:A8  -17 dBm / -81 dBm (SNR 64)  680 ms ago
	RX: 78.0 MBit/s, MCS 12, 20MHz                175576 Pkts.
	TX: 43.3 MBit/s, MCS 10, 20MHz                286107 Pkts.
	expected throughput: 25.3 MBit/s

Throughput: 11.19
A8:40:41:1F:73:A8  -15 dBm / -81 dBm (SNR 66)  20 ms ago
	RX: 86.7 MBit/s, MCS 12, 20MHz                181051 Pkts.
	TX: 43.3 MBit/s, MCS 10, 20MHz                296259 Pkts.
	expected throughput: 24.2 MBit/s

--------------------------------------
Iteration 3
wlan0-apup ESSID: "LibreMesh.org"
          Access Point: A8:40:41:22:4A:D4
          Mode: Master  Channel: 11 (2.462 GHz)  HT Mode: HT20
          Center Channel 1: 11 2: unknown
          Tx-Power: 26 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -81 dBm
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11b/g/n
          Hardware: embedded [Qualcomm Atheros QCA9550]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

wlan0-peer1 ESSID: unknown
          Access Point: A8:40:41:22:4A:D4
          Mode: Master (VLAN)  Channel: 11 (2.462 GHz)  HT Mode: HT20
          Center Channel 1: 11 2: unknown
          Tx-Power: 26 dBm  Link Quality: 70/70
          Signal: -17 dBm  Noise: -81 dBm
          Bit Rate: 43.3 MBit/s
          Encryption: unknown
          Type: nl80211  HW Mode(s): 802.11b/g/n
          Hardware: embedded [Qualcomm Atheros QCA9550]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

A8:40:41:1F:73:A8  -17 dBm / -81 dBm (SNR 64)  80 ms ago
	RX: 65.0 MBit/s, MCS 6, 20MHz                 181077 Pkts.
	TX: 43.3 MBit/s, MCS 10, 20MHz                296271 Pkts.
	expected throughput: 25.1 MBit/s

Throughput: 11.86
A8:40:41:1F:73:A8  -17 dBm / -81 dBm (SNR 64)  20 ms ago
	RX: 65.0 MBit/s, MCS 7, 20MHz                 186781 Pkts.
	TX: 43.3 MBit/s, MCS 10, 20MHz                306952 Pkts.
	expected throughput: 24.7 MBit/s

--------------------------------------
Iteration 4
wlan0-apup ESSID: "LibreMesh.org"
          Access Point: A8:40:41:22:4A:D4
          Mode: Master  Channel: 11 (2.462 GHz)  HT Mode: HT20
          Center Channel 1: 11 2: unknown
          Tx-Power: 26 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -81 dBm
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11b/g/n
          Hardware: embedded [Qualcomm Atheros QCA9550]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

wlan0-peer1 ESSID: unknown
          Access Point: A8:40:41:22:4A:D4
          Mode: Master (VLAN)  Channel: 11 (2.462 GHz)  HT Mode: HT20
          Center Channel 1: 11 2: unknown
          Tx-Power: 26 dBm  Link Quality: 70/70
          Signal: -17 dBm  Noise: -81 dBm
          Bit Rate: 58.5 MBit/s
          Encryption: unknown
          Type: nl80211  HW Mode(s): 802.11b/g/n
          Hardware: embedded [Qualcomm Atheros QCA9550]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

A8:40:41:1F:73:A8  -17 dBm / -81 dBm (SNR 64)  30 ms ago
	RX: 65.0 MBit/s, MCS 7, 20MHz                 186796 Pkts.
	TX: 52.0 MBit/s, MCS 5, 20MHz                 306955 Pkts.
	expected throughput: 24.1 MBit/s

Throughput: 11.84
A8:40:41:1F:73:A8  -15 dBm / -81 dBm (SNR 66)  10 ms ago
	RX: 57.8 MBit/s, MCS 11, 20MHz                192475 Pkts.
	TX: 43.3 MBit/s, MCS 10, 20MHz                317842 Pkts.
	expected throughput: 25.5 MBit/s

--------------------------------------
Iteration 5
wlan0-apup ESSID: "LibreMesh.org"
          Access Point: A8:40:41:22:4A:D4
          Mode: Master  Channel: 11 (2.462 GHz)  HT Mode: HT20
          Center Channel 1: 11 2: unknown
          Tx-Power: 26 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -81 dBm
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11b/g/n
          Hardware: embedded [Qualcomm Atheros QCA9550]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

wlan0-peer1 ESSID: unknown
          Access Point: A8:40:41:22:4A:D4
          Mode: Master (VLAN)  Channel: 11 (2.462 GHz)  HT Mode: HT20
          Center Channel 1: 11 2: unknown
          Tx-Power: 26 dBm  Link Quality: 70/70
          Signal: -17 dBm  Noise: -81 dBm
          Bit Rate: 57.8 MBit/s
          Encryption: unknown
          Type: nl80211  HW Mode(s): 802.11b/g/n
          Hardware: embedded [Qualcomm Atheros QCA9550]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

A8:40:41:1F:73:A8  -17 dBm / -81 dBm (SNR 64)  30 ms ago
	RX: 43.3 MBit/s, MCS 10, 20MHz                192489 Pkts.
	TX: 57.8 MBit/s, MCS 5, 20MHz                 317844 Pkts.
	expected throughput: 25.5 MBit/s

Throughput: 11.88
A8:40:41:1F:73:A8  -15 dBm / -81 dBm (SNR 66)  10 ms ago
	RX: 43.3 MBit/s, MCS 4, 20MHz                 198241 Pkts.
	TX: 43.3 MBit/s, MCS 10, 20MHz                328637 Pkts.
	expected throughput: 25.5 MBit/s

--------------------------------------
Iteration 6
wlan0-apup ESSID: "LibreMesh.org"
          Access Point: A8:40:41:22:4A:D4
          Mode: Master  Channel: 11 (2.462 GHz)  HT Mode: HT20
          Center Channel 1: 11 2: unknown
          Tx-Power: 26 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -81 dBm
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11b/g/n
          Hardware: embedded [Qualcomm Atheros QCA9550]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

wlan0-peer1 ESSID: unknown
          Access Point: A8:40:41:22:4A:D4
          Mode: Master (VLAN)  Channel: 11 (2.462 GHz)  HT Mode: HT20
          Center Channel 1: 11 2: unknown
          Tx-Power: 26 dBm  Link Quality: 70/70
          Signal: -16 dBm  Noise: -81 dBm
          Bit Rate: 52.0 MBit/s
          Encryption: unknown
          Type: nl80211  HW Mode(s): 802.11b/g/n
          Hardware: embedded [Qualcomm Atheros QCA9550]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

A8:40:41:1F:73:A8  -17 dBm / -81 dBm (SNR 64)  380 ms ago
	RX: 57.8 MBit/s, MCS 5, 20MHz                 198258 Pkts.
	TX: 52.0 MBit/s, MCS 11, 20MHz                328641 Pkts.
	expected throughput: 25.5 MBit/s

Throughput: 12.04
A8:40:41:1F:73:A8  -18 dBm / -81 dBm (SNR 63)  10 ms ago
	RX: 72.2 MBit/s, MCS 7, 20MHz                 204021 Pkts.
	TX: 39.0 MBit/s, MCS 10, 20MHz                339464 Pkts.
	expected throughput: 23.8 MBit/s

--------------------------------------
Iteration 7
wlan0-apup ESSID: "LibreMesh.org"
          Access Point: A8:40:41:22:4A:D4
          Mode: Master  Channel: 11 (2.462 GHz)  HT Mode: HT20
          Center Channel 1: 11 2: unknown
          Tx-Power: 26 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -81 dBm
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11b/g/n
          Hardware: embedded [Qualcomm Atheros QCA9550]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

wlan0-peer1 ESSID: unknown
          Access Point: A8:40:41:22:4A:D4
          Mode: Master (VLAN)  Channel: 11 (2.462 GHz)  HT Mode: HT20
          Center Channel 1: 11 2: unknown
          Tx-Power: 26 dBm  Link Quality: 70/70
          Signal: -18 dBm  Noise: -81 dBm
          Bit Rate: 78.0 MBit/s
          Encryption: unknown
          Type: nl80211  HW Mode(s): 802.11b/g/n
          Hardware: embedded [Qualcomm Atheros QCA9550]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

A8:40:41:1F:73:A8  -18 dBm / -81 dBm (SNR 63)  50 ms ago
	RX: 130.0 MBit/s, MCS 14, 20MHz               204035 Pkts.
	TX: 78.0 MBit/s, MCS 12, 20MHz                339466 Pkts.
	expected throughput: 25.5 MBit/s

Throughput: 10.77
A8:40:41:1F:73:A8  -15 dBm / -80 dBm (SNR 65)  0 ms ago
	RX: 65.0 MBit/s, MCS 7, 20MHz                 209669 Pkts.
	TX: 43.3 MBit/s, MCS 10, 20MHz                349850 Pkts.
	expected throughput: 25.5 MBit/s

--------------------------------------
Iteration 8
wlan0-apup ESSID: "LibreMesh.org"
          Access Point: A8:40:41:22:4A:D4
          Mode: Master  Channel: 11 (2.462 GHz)  HT Mode: HT20
          Center Channel 1: 11 2: unknown
          Tx-Power: 26 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -80 dBm
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11b/g/n
          Hardware: embedded [Qualcomm Atheros QCA9550]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

wlan0-peer1 ESSID: unknown
          Access Point: A8:40:41:22:4A:D4
          Mode: Master (VLAN)  Channel: 11 (2.462 GHz)  HT Mode: HT20
          Center Channel 1: 11 2: unknown
          Tx-Power: 26 dBm  Link Quality: 70/70
          Signal: -14 dBm  Noise: -80 dBm
          Bit Rate: 57.8 MBit/s
          Encryption: unknown
          Type: nl80211  HW Mode(s): 802.11b/g/n
          Hardware: embedded [Qualcomm Atheros QCA9550]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

A8:40:41:1F:73:A8  -13 dBm / -80 dBm (SNR 67)  20 ms ago
	RX: 78.0 MBit/s, MCS 12, 20MHz                209692 Pkts.
	TX: 57.8 MBit/s, MCS 5, 20MHz                 349862 Pkts.
	expected throughput: 25.5 MBit/s

Throughput: 11.11
A8:40:41:1F:73:A8  -15 dBm / -80 dBm (SNR 65)  10 ms ago
	RX: 65.0 MBit/s, MCS 7, 20MHz                 214971 Pkts.
	TX: 43.3 MBit/s, MCS 10, 20MHz                359802 Pkts.
	expected throughput: 25.5 MBit/s

--------------------------------------
Iteration 9
wlan0-apup ESSID: "LibreMesh.org"
          Access Point: A8:40:41:22:4A:D4
          Mode: Master  Channel: 11 (2.462 GHz)  HT Mode: HT20
          Center Channel 1: 11 2: unknown
          Tx-Power: 26 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -80 dBm
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11b/g/n
          Hardware: embedded [Qualcomm Atheros QCA9550]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

wlan0-peer1 ESSID: unknown
          Access Point: A8:40:41:22:4A:D4
          Mode: Master (VLAN)  Channel: 11 (2.462 GHz)  HT Mode: HT20
          Center Channel 1: 11 2: unknown
          Tx-Power: 26 dBm  Link Quality: 70/70
          Signal: -13 dBm  Noise: -80 dBm
          Bit Rate: 43.3 MBit/s
          Encryption: unknown
          Type: nl80211  HW Mode(s): 802.11b/g/n
          Hardware: embedded [Qualcomm Atheros QCA9550]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

A8:40:41:1F:73:A8  -14 dBm / -80 dBm (SNR 66)  30 ms ago
	RX: 86.7 MBit/s, MCS 12, 20MHz                214993 Pkts.
	TX: 72.2 MBit/s, MCS 7, 20MHz                 359811 Pkts.
	expected throughput: 30.8 MBit/s

Throughput: 10.72
A8:40:41:1F:73:A8  -15 dBm / -80 dBm (SNR 65)  10 ms ago
	RX: 117.0 MBit/s, MCS 14, 20MHz               220294 Pkts.
	TX: 52.0 MBit/s, MCS 5, 20MHz                 369609 Pkts.
	expected throughput: 25.2 MBit/s

--------------------------------------
Iteration 10
wlan0-apup ESSID: "LibreMesh.org"
          Access Point: A8:40:41:22:4A:D4
          Mode: Master  Channel: 11 (2.462 GHz)  HT Mode: HT20
          Center Channel 1: 11 2: unknown
          Tx-Power: 26 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -80 dBm
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11b/g/n
          Hardware: embedded [Qualcomm Atheros QCA9550]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

wlan0-peer1 ESSID: unknown
          Access Point: A8:40:41:22:4A:D4
          Mode: Master (VLAN)  Channel: 11 (2.462 GHz)  HT Mode: HT20
          Center Channel 1: 11 2: unknown
          Tx-Power: 26 dBm  Link Quality: 70/70
          Signal: -14 dBm  Noise: -80 dBm
          Bit Rate: 39.0 MBit/s
          Encryption: unknown
          Type: nl80211  HW Mode(s): 802.11b/g/n
          Hardware: embedded [Qualcomm Atheros QCA9550]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

A8:40:41:1F:73:A8  -15 dBm / -80 dBm (SNR 65)  190 ms ago
	RX: 104.0 MBit/s, MCS 13, 20MHz               220308 Pkts.
	TX: 39.0 MBit/s, MCS 4, 20MHz                 369612 Pkts.
	expected throughput: 25.5 MBit/s

Throughput: 11.08
A8:40:41:1F:73:A8  -14 dBm / -82 dBm (SNR 68)  20 ms ago
	RX: 43.3 MBit/s, MCS 4, 20MHz                 225604 Pkts.
	TX: 43.3 MBit/s, MCS 10, 20MHz                379611 Pkts.
	expected throughput: 25.5 MBit/s

--------------------------------------

```

# Test environment 3 (lab+lr2)
## hw 
PC - eth - LR2(LiMe-103ced) - radio1 (1m) - LR2(LiMe_10194f) 
the same radios that lr1 has.

TLDR;;
Without ap-up:throughput ranging from ~86 to ~97 Mbps
with ap-up:throughput ranging from ~7 to ~8.5 Mbps
90% reduction in throughput

Expected vs. Actual Throughput:
Without ap-up: Expected throughput ~190-230 Mbps, actual ~90 Mbps (achieving ~40-45% of expected)
with ap-up: Expected throughput ~56-60 Mbps, actual ~7-8 Mbps (achieving only ~12-14% of expected)
The second configuration is significantly underperforming relative to its expected capability

## without ap-up (using 80211s)

Throughput: 95.07
Throughput: 97.11
Throughput: 86.53
Throughput: 93.25
Throughput: 89.76
Throughput: 94.28
Throughput: 87.93
Throughput: 91.40
Throughput: 96.31
Throughput: 94.30

```bash
Iteration 1 fe80::ac40:41ff:fe1c:8452%wlan5-mesh 
wlan5-ap  ESSID: "LibreMesh.org"
          Access Point: A8:40:41:1C:84:35
          Mode: Master  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: 51/70
          Signal: -59 dBm  Noise: -95 dBm
          Bit Rate: 150.0 MBit/s
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

wlan5-apname ESSID: "LibreMesh.org/LiMe-103ced"
          Access Point: AA:40:41:1C:84:35
          Mode: Master  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -95 dBm
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

wlan5-mesh ESSID: "LiMe"
          Access Point: AE:40:41:1C:84:35
          Mode: Mesh Point  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: 70/70
          Signal: -38 dBm  Noise: -95 dBm
          Bit Rate: 300.0 MBit/s
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

AE:40:41:1C:84:52  -38 dBm / -95 dBm (SNR 57)  80 ms ago
	RX: 300.0 MBit/s, MCS 15, 40MHz               336789 Pkts.
	TX: 300.0 MBit/s, MCS 15, 40MHz               832531 Pkts.
	expected throughput: 60.0 MBit/s

Throughput: 95.07
AE:40:41:1C:84:52  -49 dBm / -95 dBm (SNR 46)  20 ms ago
	RX: 300.0 MBit/s, MCS 15, 40MHz               359599 Pkts.
	TX: 300.0 MBit/s, MCS 15, 40MHz               914705 Pkts.
	expected throughput: 231.8 MBit/s

--------------------------------------
Iteration 2 fe80::ac40:41ff:fe1c:8452%wlan5-mesh 
wlan5-ap  ESSID: "LibreMesh.org"
          Access Point: A8:40:41:1C:84:35
          Mode: Master  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: 51/70
          Signal: -59 dBm  Noise: -95 dBm
          Bit Rate: 150.0 MBit/s
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

wlan5-apname ESSID: "LibreMesh.org/LiMe-103ced"
          Access Point: AA:40:41:1C:84:35
          Mode: Master  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -95 dBm
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

wlan5-mesh ESSID: "LiMe"
          Access Point: AE:40:41:1C:84:35
          Mode: Mesh Point  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: 70/70
          Signal: -39 dBm  Noise: -95 dBm
          Bit Rate: 300.0 MBit/s
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

AE:40:41:1C:84:52  -38 dBm / -95 dBm (SNR 57)  70 ms ago
	RX: 300.0 MBit/s, MCS 15, 40MHz               359625 Pkts.
	TX: 300.0 MBit/s, MCS 15, 40MHz               914705 Pkts.
	expected throughput: 231.8 MBit/s

Throughput: 97.11
AE:40:41:1C:84:52  -48 dBm / -95 dBm (SNR 47)  10 ms ago
	RX: 270.0 MBit/s, MCS 15, 40MHz               386058 Pkts.
	TX: 300.0 MBit/s, MCS 15, 40MHz               998908 Pkts.
	expected throughput: 209.7 MBit/s

--------------------------------------
Iteration 3 fe80::ac40:41ff:fe1c:8452%wlan5-mesh 
wlan5-ap  ESSID: "LibreMesh.org"
          Access Point: A8:40:41:1C:84:35
          Mode: Master  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: 60/70
          Signal: -50 dBm  Noise: -95 dBm
          Bit Rate: 150.0 MBit/s
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

wlan5-apname ESSID: "LibreMesh.org/LiMe-103ced"
          Access Point: AA:40:41:1C:84:35
          Mode: Master  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -95 dBm
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

wlan5-mesh ESSID: "LiMe"
          Access Point: AE:40:41:1C:84:35
          Mode: Mesh Point  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: 70/70
          Signal: -38 dBm  Noise: -95 dBm
          Bit Rate: 300.0 MBit/s
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

AE:40:41:1C:84:52  -39 dBm / -95 dBm (SNR 56)  0 ms ago
	RX: 270.0 MBit/s, MCS 15, 40MHz               386086 Pkts.
	TX: 300.0 MBit/s, MCS 15, 40MHz               998908 Pkts.
	expected throughput: 209.7 MBit/s

Throughput: 86.53
AE:40:41:1C:84:52  -47 dBm / -95 dBm (SNR 48)  20 ms ago
	RX: 270.0 MBit/s, MCS 15, 40MHz               414422 Pkts.
	TX: 270.0 MBit/s, MCS 15, 40MHz              1073538 Pkts.
	expected throughput: 230.8 MBit/s

--------------------------------------
Iteration 4 fe80::ac40:41ff:fe1c:8452%wlan5-mesh 
wlan5-ap  ESSID: "LibreMesh.org"
          Access Point: A8:40:41:1C:84:35
          Mode: Master  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: 59/70
          Signal: -51 dBm  Noise: -95 dBm
          Bit Rate: 150.0 MBit/s
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

wlan5-apname ESSID: "LibreMesh.org/LiMe-103ced"
          Access Point: AA:40:41:1C:84:35
          Mode: Master  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -95 dBm
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

wlan5-mesh ESSID: "LiMe"
          Access Point: AE:40:41:1C:84:35
          Mode: Mesh Point  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: 70/70
          Signal: -38 dBm  Noise: -95 dBm
          Bit Rate: 300.0 MBit/s
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

AE:40:41:1C:84:52  -38 dBm / -95 dBm (SNR 57)  60 ms ago
	RX: 300.0 MBit/s, MCS 15, 40MHz               414464 Pkts.
	TX: 300.0 MBit/s, MCS 15, 40MHz              1073553 Pkts.
	expected throughput: 222.4 MBit/s

Throughput: 93.25
AE:40:41:1C:84:52  -49 dBm / -95 dBm (SNR 46)  10 ms ago
	RX: 300.0 MBit/s, MCS 15, 40MHz               443203 Pkts.
	TX: 300.0 MBit/s, MCS 15, 40MHz              1154154 Pkts.
	expected throughput: 199.6 MBit/s

--------------------------------------
Iteration 5 fe80::ac40:41ff:fe1c:8452%wlan5-mesh 
wlan5-ap  ESSID: "LibreMesh.org"
          Access Point: A8:40:41:1C:84:35
          Mode: Master  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: 60/70
          Signal: -50 dBm  Noise: -95 dBm
          Bit Rate: 150.0 MBit/s
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

wlan5-apname ESSID: "LibreMesh.org/LiMe-103ced"
          Access Point: AA:40:41:1C:84:35
          Mode: Master  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -95 dBm
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

wlan5-mesh ESSID: "LiMe"
          Access Point: AE:40:41:1C:84:35
          Mode: Mesh Point  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: 70/70
          Signal: -38 dBm  Noise: -95 dBm
          Bit Rate: 300.0 MBit/s
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

AE:40:41:1C:84:52  -38 dBm / -95 dBm (SNR 57)  70 ms ago
	RX: 300.0 MBit/s, MCS 15, 40MHz               443228 Pkts.
	TX: 300.0 MBit/s, MCS 15, 40MHz              1154154 Pkts.
	expected throughput: 199.6 MBit/s

Throughput: 89.76
AE:40:41:1C:84:52  -46 dBm / -95 dBm (SNR 49)  10 ms ago
	RX: 300.0 MBit/s, MCS 15, 40MHz               458808 Pkts.
	TX: 270.0 MBit/s, MCS 15, 40MHz              1231968 Pkts.
	expected throughput: 198.6 MBit/s

--------------------------------------
Iteration 6 fe80::ac40:41ff:fe1c:8452%wlan5-mesh 
wlan5-ap  ESSID: "LibreMesh.org"
          Access Point: A8:40:41:1C:84:35
          Mode: Master  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: 60/70
          Signal: -50 dBm  Noise: -95 dBm
          Bit Rate: 150.0 MBit/s
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

wlan5-apname ESSID: "LibreMesh.org/LiMe-103ced"
          Access Point: AA:40:41:1C:84:35
          Mode: Master  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -95 dBm
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

wlan5-mesh ESSID: "LiMe"
          Access Point: AE:40:41:1C:84:35
          Mode: Mesh Point  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: 70/70
          Signal: -37 dBm  Noise: -95 dBm
          Bit Rate: 300.0 MBit/s
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

AE:40:41:1C:84:52  -37 dBm / -95 dBm (SNR 58)  0 ms ago
	RX: 300.0 MBit/s, MCS 15, 40MHz               458841 Pkts.
	TX: 300.0 MBit/s, MCS 15, 40MHz              1231972 Pkts.
	expected throughput: 196.0 MBit/s

Throughput: 94.28
AE:40:41:1C:84:52  -48 dBm / -95 dBm (SNR 47)  10 ms ago
	RX: 300.0 MBit/s, MCS 15, 40MHz               474350 Pkts.
	TX: 300.0 MBit/s, MCS 15, 40MHz              1313529 Pkts.
	expected throughput: 210.6 MBit/s

--------------------------------------
Iteration 7 fe80::ac40:41ff:fe1c:8452%wlan5-mesh 
wlan5-ap  ESSID: "LibreMesh.org"
          Access Point: A8:40:41:1C:84:35
          Mode: Master  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: 61/70
          Signal: -49 dBm  Noise: -95 dBm
          Bit Rate: 150.0 MBit/s
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

wlan5-apname ESSID: "LibreMesh.org/LiMe-103ced"
          Access Point: AA:40:41:1C:84:35
          Mode: Master  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -95 dBm
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

wlan5-mesh ESSID: "LiMe"
          Access Point: AE:40:41:1C:84:35
          Mode: Mesh Point  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: 70/70
          Signal: -38 dBm  Noise: -95 dBm
          Bit Rate: 300.0 MBit/s
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

AE:40:41:1C:84:52  -38 dBm / -95 dBm (SNR 57)  10 ms ago
	RX: 300.0 MBit/s, MCS 15, 40MHz               474379 Pkts.
	TX: 300.0 MBit/s, MCS 15, 40MHz              1313531 Pkts.
	expected throughput: 204.8 MBit/s

Throughput: 87.93
AE:40:41:1C:84:52  -45 dBm / -95 dBm (SNR 50)  0 ms ago
	RX: 300.0 MBit/s, MCS 15, 40MHz               498771 Pkts.
	TX: 270.0 MBit/s, MCS 15, 40MHz              1389721 Pkts.
	expected throughput: 207.4 MBit/s

--------------------------------------
Iteration 8 fe80::ac40:41ff:fe1c:8452%wlan5-mesh 
wlan5-ap  ESSID: "LibreMesh.org"
          Access Point: A8:40:41:1C:84:35
          Mode: Master  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: 61/70
          Signal: -49 dBm  Noise: -95 dBm
          Bit Rate: 150.0 MBit/s
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

wlan5-apname ESSID: "LibreMesh.org/LiMe-103ced"
          Access Point: AA:40:41:1C:84:35
          Mode: Master  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -95 dBm
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

wlan5-mesh ESSID: "LiMe"
          Access Point: AE:40:41:1C:84:35
          Mode: Mesh Point  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: 70/70
          Signal: -36 dBm  Noise: -95 dBm
          Bit Rate: 300.0 MBit/s
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

AE:40:41:1C:84:52  -36 dBm / -95 dBm (SNR 59)  40 ms ago
	RX: 300.0 MBit/s, MCS 15, 40MHz               498842 Pkts.
	TX: 300.0 MBit/s, MCS 15, 40MHz              1389762 Pkts.
	expected throughput: 190.6 MBit/s

Throughput: 91.40
AE:40:41:1C:84:52  -45 dBm / -95 dBm (SNR 50)  10 ms ago
	RX: 270.0 MBit/s, MCS 14, 40MHz               519140 Pkts.
	TX: 243.0 MBit/s, MCS 14, 40MHz              1469349 Pkts.
	expected throughput: 187.8 MBit/s

--------------------------------------
Iteration 9 fe80::ac40:41ff:fe1c:8452%wlan5-mesh 
wlan5-ap  ESSID: "LibreMesh.org"
          Access Point: A8:40:41:1C:84:35
          Mode: Master  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: 53/70
          Signal: -57 dBm  Noise: -95 dBm
          Bit Rate: 150.0 MBit/s
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

wlan5-apname ESSID: "LibreMesh.org/LiMe-103ced"
          Access Point: AA:40:41:1C:84:35
          Mode: Master  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -95 dBm
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

wlan5-mesh ESSID: "LiMe"
          Access Point: AE:40:41:1C:84:35
          Mode: Mesh Point  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: 70/70
          Signal: -36 dBm  Noise: -95 dBm
          Bit Rate: 243.0 MBit/s
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

AE:40:41:1C:84:52  -36 dBm / -95 dBm (SNR 59)  0 ms ago
	RX: 270.0 MBit/s, MCS 14, 40MHz               519168 Pkts.
	TX: 243.0 MBit/s, MCS 14, 40MHz              1469349 Pkts.
	expected throughput: 187.8 MBit/s

Throughput: 96.31
AE:40:41:1C:84:52  -45 dBm / -95 dBm (SNR 50)  10 ms ago
	RX: 300.0 MBit/s, MCS 15, 40MHz               534923 Pkts.
	TX: 270.0 MBit/s, MCS 15, 40MHz              1552343 Pkts.
	expected throughput: 210.5 MBit/s

--------------------------------------
Iteration 10 fe80::ac40:41ff:fe1c:8452%wlan5-mesh 
wlan5-ap  ESSID: "LibreMesh.org"
          Access Point: A8:40:41:1C:84:35
          Mode: Master  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: 53/70
          Signal: -57 dBm  Noise: -95 dBm
          Bit Rate: 150.0 MBit/s
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

wlan5-apname ESSID: "LibreMesh.org/LiMe-103ced"
          Access Point: AA:40:41:1C:84:35
          Mode: Master  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -95 dBm
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

wlan5-mesh ESSID: "LiMe"
          Access Point: AE:40:41:1C:84:35
          Mode: Mesh Point  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: 70/70
          Signal: -37 dBm  Noise: -95 dBm
          Bit Rate: 270.0 MBit/s
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

AE:40:41:1C:84:52  -37 dBm / -95 dBm (SNR 58)  80 ms ago
	RX: 300.0 MBit/s, MCS 15, 40MHz               534948 Pkts.
	TX: 270.0 MBit/s, MCS 15, 40MHz              1552343 Pkts.
	expected throughput: 210.5 MBit/s

Throughput: 94.30
AE:40:41:1C:84:52  -48 dBm / -95 dBm (SNR 47)  10 ms ago
	RX: 300.0 MBit/s, MCS 15, 40MHz               561052 Pkts.
	TX: 270.0 MBit/s, MCS 14, 40MHz              1634276 Pkts.
	expected throughput: 208.1 MBit/s

--------------------------------------
```
## with ap-up (first run)

```
root@LiMe-103ced:~# /tmp/test.sh
Iteration 1 fe80::aa40:41ff:fe1c:8452%wlan5-peer1 
wlan5-apup ESSID: "LibreMesh.org"
          Access Point: A8:40:41:1C:84:35
          Mode: Master  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -94 dBm
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

wlan5-peer1 ESSID: unknown
          Access Point: A8:40:41:1C:84:35
          Mode: Master (VLAN)  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: 70/70
          Signal: -36 dBm  Noise: -94 dBm
          Bit Rate: 300.0 MBit/s
          Encryption: unknown
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

A8:40:41:1C:84:52  -36 dBm / -94 dBm (SNR 58)  90390 ms ago
	RX: 300.0 MBit/s, MCS 15, 40MHz                10364 Pkts.
	TX: 300.0 MBit/s, MCS 15, 40MHz                 3724 Pkts.
	expected throughput: 60.0 MBit/s

Throughput: 8.07
A8:40:41:1C:84:52  -47 dBm / -94 dBm (SNR 47)  10 ms ago
	RX: 300.0 MBit/s, MCS 15, 40MHz                14525 Pkts.
	TX: 270.0 MBit/s, MCS 14, 40MHz                11177 Pkts.
	expected throughput: 58.5 MBit/s

--------------------------------------
Iteration 2 fe80::aa40:41ff:fe1c:8452%wlan5-peer1 
wlan5-apup ESSID: "LibreMesh.org"
          Access Point: A8:40:41:1C:84:35
          Mode: Master  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -94 dBm
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

wlan5-peer1 ESSID: unknown
          Access Point: A8:40:41:1C:84:35
          Mode: Master (VLAN)  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: 70/70
          Signal: -36 dBm  Noise: -94 dBm
          Bit Rate: 270.0 MBit/s
          Encryption: unknown
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

A8:40:41:1C:84:52  -36 dBm / -94 dBm (SNR 58)  1160 ms ago
	RX: 300.0 MBit/s, MCS 15, 40MHz                14536 Pkts.
	TX: 270.0 MBit/s, MCS 14, 40MHz                11177 Pkts.
	expected throughput: 58.5 MBit/s

Throughput: 7.35
A8:40:41:1C:84:52  -46 dBm / -94 dBm (SNR 48)  10 ms ago
	RX: 300.0 MBit/s, MCS 15, 40MHz                18263 Pkts.
	TX: 300.0 MBit/s, MCS 15, 40MHz                17830 Pkts.
	expected throughput: 60.0 MBit/s

--------------------------------------
Iteration 3 fe80::aa40:41ff:fe1c:8452%wlan5-peer1 
wlan5-apup ESSID: "LibreMesh.org"
          Access Point: A8:40:41:1C:84:35
          Mode: Master  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -94 dBm
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

wlan5-peer1 ESSID: unknown
          Access Point: A8:40:41:1C:84:35
          Mode: Master (VLAN)  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: 70/70
          Signal: -36 dBm  Noise: -94 dBm
          Bit Rate: 300.0 MBit/s
          Encryption: unknown
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

A8:40:41:1C:84:52  -36 dBm / -94 dBm (SNR 58)  1160 ms ago
	RX: 300.0 MBit/s, MCS 15, 40MHz                18275 Pkts.
	TX: 300.0 MBit/s, MCS 15, 40MHz                17830 Pkts.
	expected throughput: 60.0 MBit/s

Throughput: 7.20
A8:40:41:1C:84:52  -46 dBm / -94 dBm (SNR 48)  10 ms ago
	RX: 300.0 MBit/s, MCS 15, 40MHz                21942 Pkts.
	TX: 270.0 MBit/s, MCS 14, 40MHz                24359 Pkts.
	expected throughput: 58.5 MBit/s

--------------------------------------
Iteration 4 fe80::aa40:41ff:fe1c:8452%wlan5-peer1 
wlan5-apup ESSID: "LibreMesh.org"
          Access Point: A8:40:41:1C:84:35
          Mode: Master  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -94 dBm
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

wlan5-peer1 ESSID: unknown
          Access Point: A8:40:41:1C:84:35
          Mode: Master (VLAN)  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: 70/70
          Signal: -36 dBm  Noise: -94 dBm
          Bit Rate: 270.0 MBit/s
          Encryption: unknown
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

A8:40:41:1C:84:52  -36 dBm / -94 dBm (SNR 58)  1160 ms ago
	RX: 300.0 MBit/s, MCS 15, 40MHz                21954 Pkts.
	TX: 270.0 MBit/s, MCS 14, 40MHz                24359 Pkts.
	expected throughput: 58.5 MBit/s

Throughput: 7.06
A8:40:41:1C:84:52  -45 dBm / -94 dBm (SNR 49)  10 ms ago
	RX: 300.0 MBit/s, MCS 15, 40MHz                25539 Pkts.
	TX: 300.0 MBit/s, MCS 15, 40MHz                30879 Pkts.
	expected throughput: 60.0 MBit/s

--------------------------------------
Iteration 5 fe80::aa40:41ff:fe1c:8452%wlan5-peer1 
wlan5-apup ESSID: "LibreMesh.org"
          Access Point: A8:40:41:1C:84:35
          Mode: Master  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -94 dBm
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

wlan5-peer1 ESSID: unknown
          Access Point: A8:40:41:1C:84:35
          Mode: Master (VLAN)  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: 70/70
          Signal: -36 dBm  Noise: -94 dBm
          Bit Rate: 300.0 MBit/s
          Encryption: unknown
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

A8:40:41:1C:84:52  -37 dBm / -94 dBm (SNR 57)  1170 ms ago
	RX: 300.0 MBit/s, MCS 15, 40MHz                25551 Pkts.
	TX: 300.0 MBit/s, MCS 15, 40MHz                30879 Pkts.
	expected throughput: 60.0 MBit/s

Throughput: 8.54
A8:40:41:1C:84:52  -45 dBm / -94 dBm (SNR 49)  10 ms ago
	RX: 300.0 MBit/s, MCS 15, 40MHz                29738 Pkts.
	TX: 300.0 MBit/s, MCS 15, 40MHz                38573 Pkts.
	expected throughput: 60.0 MBit/s

--------------------------------------
Iteration 6 fe80::aa40:41ff:fe1c:8452%wlan5-peer1 
wlan5-apup ESSID: "LibreMesh.org"
          Access Point: A8:40:41:1C:84:35
          Mode: Master  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -94 dBm
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

wlan5-peer1 ESSID: unknown
          Access Point: A8:40:41:1C:84:35
          Mode: Master (VLAN)  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: 70/70
          Signal: -36 dBm  Noise: -94 dBm
          Bit Rate: 300.0 MBit/s
          Encryption: unknown
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

A8:40:41:1C:84:52  -36 dBm / -94 dBm (SNR 58)  1160 ms ago
	RX: 300.0 MBit/s, MCS 15, 40MHz                29749 Pkts.
	TX: 300.0 MBit/s, MCS 15, 40MHz                38573 Pkts.
	expected throughput: 60.0 MBit/s

Throughput: 7.35
A8:40:41:1C:84:52  -45 dBm / -94 dBm (SNR 49)  10 ms ago
	RX: 300.0 MBit/s, MCS 15, 40MHz                33459 Pkts.
	TX: 300.0 MBit/s, MCS 15, 40MHz                45188 Pkts.
	expected throughput: 60.0 MBit/s

--------------------------------------
Iteration 7 fe80::aa40:41ff:fe1c:8452%wlan5-peer1 
wlan5-apup ESSID: "LibreMesh.org"
          Access Point: A8:40:41:1C:84:35
          Mode: Master  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -94 dBm
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

wlan5-peer1 ESSID: unknown
          Access Point: A8:40:41:1C:84:35
          Mode: Master (VLAN)  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: 70/70
          Signal: -36 dBm  Noise: -94 dBm
          Bit Rate: 300.0 MBit/s
          Encryption: unknown
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

A8:40:41:1C:84:52  -36 dBm / -94 dBm (SNR 58)  1160 ms ago
	RX: 300.0 MBit/s, MCS 15, 40MHz                33470 Pkts.
	TX: 300.0 MBit/s, MCS 15, 40MHz                45188 Pkts.
	expected throughput: 60.0 MBit/s

Throughput: 7.71
A8:40:41:1C:84:52  -44 dBm / -94 dBm (SNR 50)  10 ms ago
	RX: 300.0 MBit/s, MCS 15, 40MHz                37437 Pkts.
	TX: 300.0 MBit/s, MCS 15, 40MHz                52129 Pkts.
	expected throughput: 60.0 MBit/s

--------------------------------------
Iteration 8 fe80::aa40:41ff:fe1c:8452%wlan5-peer1 
wlan5-apup ESSID: "LibreMesh.org"
          Access Point: A8:40:41:1C:84:35
          Mode: Master  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -94 dBm
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

wlan5-peer1 ESSID: unknown
          Access Point: A8:40:41:1C:84:35
          Mode: Master (VLAN)  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: 70/70
          Signal: -35 dBm  Noise: -94 dBm
          Bit Rate: 300.0 MBit/s
          Encryption: unknown
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

A8:40:41:1C:84:52  -35 dBm / -94 dBm (SNR 59)  1170 ms ago
	RX: 300.0 MBit/s, MCS 15, 40MHz                37448 Pkts.
	TX: 300.0 MBit/s, MCS 15, 40MHz                52129 Pkts.
	expected throughput: 60.0 MBit/s

Throughput: 7.33
A8:40:41:1C:84:52  -46 dBm / -94 dBm (SNR 48)  10 ms ago
	RX: 300.0 MBit/s, MCS 15, 40MHz                41131 Pkts.
	TX: 240.0 MBit/s, MCS 13, 40MHz                58740 Pkts.
	expected throughput: 56.9 MBit/s

--------------------------------------
Iteration 9 fe80::aa40:41ff:fe1c:8452%wlan5-peer1 
wlan5-apup ESSID: "LibreMesh.org"
          Access Point: A8:40:41:1C:84:35
          Mode: Master  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -94 dBm
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

wlan5-peer1 ESSID: unknown
          Access Point: A8:40:41:1C:84:35
          Mode: Master (VLAN)  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: 70/70
          Signal: -36 dBm  Noise: -94 dBm
          Bit Rate: 240.0 MBit/s
          Encryption: unknown
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

A8:40:41:1C:84:52  -36 dBm / -94 dBm (SNR 58)  1170 ms ago
	RX: 300.0 MBit/s, MCS 15, 40MHz                41142 Pkts.
	TX: 240.0 MBit/s, MCS 13, 40MHz                58740 Pkts.
	expected throughput: 56.9 MBit/s

Throughput: 7.89
A8:40:41:1C:84:52  -44 dBm / -94 dBm (SNR 50)  10 ms ago
	RX: 300.0 MBit/s, MCS 15, 40MHz                45061 Pkts.
	TX: 270.0 MBit/s, MCS 15, 40MHz                65894 Pkts.
	expected throughput: 58.6 MBit/s

--------------------------------------
Iteration 10 fe80::aa40:41ff:fe1c:8452%wlan5-peer1 
wlan5-apup ESSID: "LibreMesh.org"
          Access Point: A8:40:41:1C:84:35
          Mode: Master  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -94 dBm
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

wlan5-peer1 ESSID: unknown
          Access Point: A8:40:41:1C:84:35
          Mode: Master (VLAN)  Channel: 157 (5.785 GHz)  HT Mode: HT40
          Center Channel 1: 159 2: unknown
          Tx-Power: 27 dBm  Link Quality: 70/70
          Signal: -36 dBm  Noise: -94 dBm
          Bit Rate: 270.0 MBit/s
          Encryption: unknown
          Type: nl80211  HW Mode(s): 802.11a/n
          Hardware: 168C:0033 168C:0205 [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

A8:40:41:1C:84:52  -36 dBm / -94 dBm (SNR 58)  1160 ms ago
	RX: 300.0 MBit/s, MCS 15, 40MHz                45072 Pkts.
	TX: 270.0 MBit/s, MCS 15, 40MHz                65894 Pkts.
	expected throughput: 58.6 MBit/s

Throughput: 8.41
A8:40:41:1C:84:52  -46 dBm / -94 dBm (SNR 48)  10 ms ago
	RX: 300.0 MBit/s, MCS 15, 40MHz                49150 Pkts.
	TX: 300.0 MBit/s, MCS 15, 40MHz                73512 Pkts.
	expected throughput: 60.0 MBit/s

--------------------------------------

```
## with ap-up (seccond run)
´´´
 

´´´
# Firmware upgrade 
## safe-upgrade upgrade
Usage: safe-upgrade upgrade [-n] [--disable-reboot-safety] [--force]
       [--no-reboot] [--preserve-archive <preserve_archive>]
       [--reboot-safety-timeout <reboot_safety_timeout>] [-h]
       <firmware>

Error: missing argument 'firmware'
root@LiMe-1f73aa:~# 

       
:::spoiler
```lua
root@si:~# safe-upgrade upgrade -n --no-reboot /tmp/librerouteros_snapshot_r0_0d21cc8_ath79_generic_librerouter_librerouter.bin 
Not preserving config.
List of files that are being preserved:
        etc/init.d/safe_upgrade_auto_reboot
        etc/rc.d/S11safe_upgrade_auto_reboot
        etc/safe_upgrade_auto_reboot_confirm_timeout_s
erasing partition 2
Unlocking fw2 ...
Erasing fw2 ...
writing partition 2
Unlocking fw2 ...

Writing from /tmp/librerouteros_snapshot_r0_0d21cc8_ath79_generic_librerouter_librerouter.bin to fw2 ...     
Appending jffs2 data from /tmp/sysupgrade.tgz to fw2..
    
DEBUG: seting key:boot_2
DEBUG: value:set bootargs console=ttyS0,115200 board=LIBREROUTERV1 mtdparts=spi0.0:256k(u-boot),64k(u-boot-env),7936k(fw1),7936k(firmware),128k(res),64k(ART); echo booting part 2; bootm ${fw_addr};
DEBUG: seting key:testing_part
DEBUG: value:2
root@si:~# fw_setenv boot_2 "set bootargs console=ttyS0,115200 board=LIBREROUTERV1 mtdparts=spi0.0:256k(u-boot),64k(u-boot-env),7936k(fw1),7936k(firmware),128k(res),64k(art); echo booting part 2; bootm \${fw_addr};"
root@si:~# 
```
:::
    
### APuP Firmware Update  
```bash
cd /usr/sbin
wget https://raw.githubusercontent.com/libremesh/lime-packages/refs/heads/master/packages/safe-upgrade/files/usr/sbin/safe-upgrade
```
`safe-upgrade upgrade -n --no-reboot /tmp/lr2.sysupgrade`

```
fw_printevn
```
`fw_setenv testing_part 2`
----
	
