If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.

0
U

Property:apstats

From BoxMatrix


BoxMatrix >> Shell-Commands >> apstats @ BoxMatrix   -   IRC-Chat   -   Translate: de es fr it nl pl
News Selectors Models Accessories Components Environment Config Commands System Webif Software Develop Lexicon Community Project Media

Startup-Scr Hotplug-Scr BusyBox-Cmds Bash-Cmds AVM-Cmds Chipset-Cmds Linux-Cmds Shared-Libs Kernel-Mods Research

Linux-Command

Goto:   QCA  -  Fusiv  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

This article covers 2 different commands located at the same path.
BoxMatrix has no automatism covering this yet so they will be explained here both.

Both are easy to distinguish, one is a symlink in Fusiv models, the other is an executable for QcaWifi.

QCA

apstats for QCA WLAN chipsets is an executable and no symlink. AP means Access Point here.
The Dependencies cover this command.

Fw 7.39 help:

root@fritz0:/var/mod/root# apstats --help

apstats v0.1: Display Access Point Statistics.

Usage:

apstats [Level] [[-i interface_name] | [-m STA_MAC_Address]] [-R]  

One of four levels can be selected. The levels are as follows (from 
the top to the bottom of the hierarchy): 
Entire Access Point, Radio, VAP and STA. 
The default is Entire Access Point. Information for sub-levels below 
the selected level can be displayed by choosing the -R (recursive) 
option (not applicable for the STA level, where information for a 
single STA is displayed). 

LEVELS:

-a or --aplevel
    Entire Access Point Level (WLAN).
    No Interface or STA MAC needs to be provided.

-r or --radiolevel
    Radio Level.
    Radio Interface Name needs to be provided.

-v or --vaplevel
    VAP Level.
    VAP Interface Name needs to be provided.

-s or --stalevel
    STA Level.
    STA MAC Address needs to be provided.

INTERFACE:

If Radio Level is selected:
-i wifiX or --ifname=wifiX

If VAP Level is selected:
-i <VAP_name> or --ifname=<VAP_name>

STA MAC ADDRESS:

Required if STA Level is selected:
-m xx:xx:xx:xx:xx:xx or --stamacaddr xx:xx:xx:xx:xx:xx

OTHER OPTIONS:
-R or --recursive
    Recursive display
-M Mesh stats

Fusiv

apstats for Fusiv is a symlink to the multi-call binary sysutil.

In the Fusiv an AP is a 400 MHz Xtensa Acceleration Processor. On a 7390 there are 6 of them:

There is also some info about the APs in the old wiki (german).

This command lists the status of each running AP. 7390 fw 6.04 example:

root@fritz:/var/mod/root# apstats

Stats for AP # 1 is :
===================
ETHERNET AP STATS:
rxPkts                    127    txPkts                   148
hostAttempted               0    hostDelivered              0
txDropped                   0

Stats of AP # 2 is  read Failed/Not supported
Stats for AP # 5 is :
===================
BM BUFFER STATS:
AP buffers : Used =       1163	Max =       4081	Failed = 0

GetCluster: Trials 20344 Succeded 20342
BM AP STATS:
numTakenFromInputQ      24664    numPutToOutputQ        21746
numput2IPCQ                 0    numput2APs                 0
numToClassify               0    numFreed2BM                0
PPP0 RX Packets:              0    PPP0 RX Bytes:           0
PPP1 RX Packets:              0    PPP1 RX Bytes:           0

Stats for AP # 7 is :
===================
PERI AP STATS:
rxPkts                      0    rxDropped                  0
numput2APs                  0    numput2Host                0

Excerpt of a strace of this example:

root@fritz:/var/mod/root# strace apstats 2>&1 | grep -e proc -e write

open("/proc/sysutil/utilfile", O_RDWR)  = 3
write(3, "5 ", 2)                       = 2
write(1, " Stats for AP # 1 is :\r\n ======="..., 976 Stats for AP # 1 is :  

Dependencies

Daily updated index of all dependencies of this command. Last update: 2024-04-19 07:32 GMT.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.

Relation Typ Object Mod Firmware Info Origin
Symlink to cmd sysutil 4 4.76 - 6.32 Multi-call binary providing 26 Fusiv diagnostic and maintenance tools. Fusiv
Depends on lib ld.so 41 7.01 - 7.58 Dynamic linker / loader Linux
Depends on lib libbsd.so 40 7.04 - 7.62 BSD functions lacking on GNU systems BSD
Depends on lib libc.so 73 6.52 - 7.90 Standard C library Linux
Depends on lib libgcc_s.so 2 6.83 - 6.110 GCC low-level runtime library Linux
Depends on lib libnl-3.so 15 7.19 - 7.90 Netlink-Sockets Core API Linux
Depends on lib libnl-genl-3.so 15 7.19 - 7.90 Netlink-Sockets Generic Netlink API Linux
Depends on lib libpthread.so 4 7.28 - 7.62 POSIX threading library Linux
Depends on lib libqca_nl80211_wrapper.so 15 7.19 - 7.90 Wrapper to the cfg80211 and nl80211 APIs. QcaWifi
Depends on lib libqca_tools.so 15 7.19 - 7.90 Helper functions for QcaWifi tools. QcaWifi
Depends on lib libwlanstats.so 54 6.98 - 7.90 TODO Linux
11 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2024-04-19 05:14 GMT.
Showing all models using this command. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom) label in the Model column shows which CPU is meant for models with multiple Linux instances.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.

Model Firmware Path Size
FRITZ!Box 3490 (main) 6.98 - 7.30 /sbin 37.8k - 47.6k
FRITZ!Box 3490 (scrpn) 6.98 - 7.30 /sbin 37.8k - 47.6k
FRITZ!Box 4020 7.39 /sbin 42.8k - 49.5k
FRITZ!Box 4040 6.52 - 7.57 /sbin 37.5k - 49.5k
FRITZ!Box 4050 7.57 /sbin 61.9k
FRITZ!Box 4060 7.26 - 7.57 /sbin 49.5k - 61.9k
FRITZ!Box 5490 (main) 6.98 - 7.29 /sbin 37.8k - 47.6k
FRITZ!Box 5490 (scrpn) 6.98 - 7.29 /sbin 37.8k - 47.6k
FRITZ!Box 5491 (main) 6.98 - 7.29 /sbin 37.8k - 47.6k
FRITZ!Box 5491 (scrpn) 6.98 - 7.29 /sbin 37.8k - 47.6k
FRITZ!Box 5530 Fiber (main) 7.39 /sbin 49.5k
FRITZ!Box 5590 Fiber (arm) 7.27 - 7.90 /sbin 49.5k - 71.1k
FRITZ!Box 5690 Pro (arm) 7.59 /sbin 71.3k
FRITZ!Box 6430 Cable (arm) 7.01 - 7.57 /sbin 45.3k - 49.5k
FRITZ!Box 6430 Cable (atom) 7.01 - 7.29 /sbin 45.3k - 49.0k
FRITZ!Box 6490 Cable (arm) 7.00 - 7.57 /sbin 45.3k - 53.3k
FRITZ!Box 6490 Cable (atom) 7.00 - 7.51 /sbin 45.3k - 53.3k
FRITZ!Box 6590 Cable (arm) 6.83 - 7.57 /sbin 36.3k - 53.3k
FRITZ!Box 6590 Cable (atom) 6.83 - 7.51 /sbin 36.3k - 53.3k
FRITZ!Box 6591 Cable (arm) 7.04 - 7.57 /sbin 45.4k - 68.5k
FRITZ!Box 6591 Cable (atom) 7.04 - 7.57 /sbin 45.4k - 68.5k
FRITZ!Box 6660 Cable (arm) 7.39 - 7.57 /sbin 49.5k
FRITZ!Box 6670 Cable (arm) 7.57 - 7.62 /sbin 49.5k - 72.0k
FRITZ!Box 6670 Cable (atom) 7.61 - 7.62 /sbin 72.0k
FRITZ!Box 6690 Cable (arm) 7.28 - 7.57 /sbin 49.5k - 67.4k
FRITZ!Box 6690 Cable (atom) 7.28 - 7.57 /sbin 64.9k - 67.4k
FRITZ!Box 6820 LTE v1 6.98 - 7.51 /sbin 37.8k - 49.5k
FRITZ!Box 6820 LTE v2 6.98 - 7.51 /sbin 37.8k - 49.5k
FRITZ!Box 6820 LTE v3 7.19 - 7.57 /sbin 37.8k - 49.1k
FRITZ!Box 6840 LTE 7.39 /sbin 49.5k
FRITZ!Box 6850 LTE 7.21 - 7.58 /sbin 37.5k - 49.5k
FRITZ!Box 6850 5G 7.24 - 7.51 /sbin 37.5k - 49.5k
FRITZ!Box 6890 LTE 6.84 - 7.51 /sbin 40.4k - 55.2k
FRITZ!Box 6890 LTE v1 6.84 - 7.51 /sbin 40.4k - 55.2k
FRITZ!Box 6890 LTE v2 6.84 - 7.51 /sbin 40.4k - 55.2k
FRITZ!Box 7272 7.39 /sbin 49.5k
FRITZ!Box Fon WLAN 7340 4.83 - 5.05 /sbin Link
FRITZ!Box 7362 SL 6.98 - 7.14 /sbin 42.8k - 47.6k
FRITZ!Box 7369 6.30 - 6.32 /sbin Link
FRITZ!Box Fon WLAN 7390 4.81 - 5.22 /sbin Link
FRITZ!Box 7430 6.98 - 7.39 /sbin 37.8k - 49.5k
FRITZ!Box 7490 (main) 6.98 - 7.57 /sbin 37.8k - 49.5k
FRITZ!Box 7490 (scrpn) 6.98 - 7.51 /sbin 37.8k - 49.2k
FRITZ!Box 7510 7.30 - 7.57 /sbin 61.9k - 62.4k
FRITZ!Box 7520 6.98 - 7.51 /sbin 37.5k - 49.5k
FRITZ!Box 7520 v2 (arm) 7.30 - 7.57 /sbin 37.5k - 49.5k
FRITZ!Box 7530 6.98 - 7.56 /sbin 37.5k - 49.5k
FRITZ!Box 7530 AX 7.39 /sbin 49.5k
FRITZ!Box 7560 6.98 - 7.39 /sbin 41.7k - 51.3k
FRITZ!Box 7580 6.53 - 7.30 /sbin 40.4k - 55.2k
FRITZ!Box 7583 7.01 - 7.57 /sbin 41.7k - 55.2k
FRITZ!Box 7583 VDSL 7.19 - 7.31 /sbin 41.7k - 55.2k
FRITZ!Box 7590 6.83 - 7.90 /sbin 40.4k - 55.3k
FRITZ!Box 7590 AX 7.39 /sbin 49.5k
FRITZ!Box 7690 7.59 /sbin 71.2k
FRITZ!Smart Gateway 7.39 - 7.59 /sbin 61.9k - 62.0k
FRITZ!WLAN Repeater 310 A 6.98 - 7.16 /sbin 42.8k - 47.6k
FRITZ!WLAN Repeater 310 B 6.98 - 7.16 /sbin 42.8k - 47.6k
FRITZ!WLAN Repeater 450E 6.98 - 7.15 /sbin 42.8k - 47.6k
FRITZ!Repeater 600 7.11 - 7.58 /sbin 37.8k - 49.5k
FRITZ!Repeater 600 v2 7.19 - 7.58 /sbin 37.8k - 49.1k
FRITZ!WLAN Repeater 1160 6.98 - 7.15 /sbin 42.8k - 47.6k
FRITZ!Repeater 1200 7.11 - 7.58 /sbin 37.5k - 49.5k
FRITZ!Repeater 1200 AX 7.27 - 7.57 /sbin 61.9k - 62.4k
FRITZ!WLAN Repeater 1750E 6.98 - 7.39 /sbin 37.8k - 49.5k
FRITZ!Repeater 2400 7.12 - 7.58 /sbin 37.8k - 49.5k
FRITZ!Repeater 3000 6.98 - 7.58 /sbin 37.5k - 49.5k
FRITZ!Repeater 3000 AX 7.39 - 7.57 /sbin 49.5k - 61.9k
FRITZ!Repeater 6000 7.19 - 7.57 /sbin 54.1k - 61.9k
FRITZ!WLAN Repeater DVB-C 6.98 - 7.03 /sbin 42.8k
FRITZ!Powerline 540E 6.98 - 7.15 /sbin 42.8k - 47.6k
FRITZ!Powerline 546E 6.98 - 7.15 /sbin 42.8k - 47.6k
FRITZ!Powerline 1240 AX 7.51 - 7.57 /sbin 61.9k
FRITZ!Powerline 1240E 7.16 /sbin 42.8k - 47.6k
FRITZ!Powerline 1260E 6.90 - 7.57 /sbin 37.5k - 49.5k
FRITZ!Powerline 1260 7.27 - 7.57 /sbin 37.5k
Speedport W 722V 4.76 - 4.79 /sbin Link
77 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-04-19 07:32 GMT.

Firmware Symbol
7.01 - 7.90 apstats_config_init
7.01 - 7.90 apstats_config_populate
6.53 - 7.90 main
7.11 - 7.90 nodelevel_display_extended_stats
7.01 - 7.90 sys_ifnames_add
7.01 - 7.90 sys_ifnames_deinit
7.01 - 7.90 sys_ifnames_extend
7.01 - 7.90 sys_ifnames_init
8 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.