With this diff, if management frames contain information about the load
of the BSS, tcpdump displays it. Tested in the calgary hackroom:
6 stations, 10% utilization, admission capacity 732us/s
Only so few people on 5GHz? ;)
The meaning of 'adminission capacity' is a bit cryptic.
It helps STAs select a good AP when roaming.
--- print-802_11.c.orig Fri Jul 17 00:27:24 2015
+++ print-802_11.c Fri Jul 17 00:26:24 2015
@@ -470,6 +470,14 @@
case IEEE80211_ELEMID_POWER_CONSTRAINT:
printf(", power constraint %udB", data[0]);
break;
+ case IEEE80211_ELEMID_QBSS_LOAD:
+ ELEM_CHECK(5);
+ printf(", %u stations, %d%% utilization, "
+ "admission capacity %uus/s",
+ (data[0] | data[1] << 8),
+ (data[2] * 100) / 255,
+ (data[3] | data[4] << 8) / 32);
+ break;
case IEEE80211_ELEMID_VENDOR:
printf(", vendor");
if (vflag)