xref: /aosp_15_r20/external/autotest/client/site_tests/network_WiFiTxRx/txinfo (revision 9c5db1993ded3edbeafc8092d69fe5de2ee02df7)
1#!/bin/sh
2
3# this script is to be installed in /www/cgi-bin on the OpenWRT
4# test AP as per the DOC section of the control file
5
6echo "Content-Type: text-plain"
7echo "Status: 200 Ok"
8echo
9
10iwconfig 2>/dev/null | grep '^[a-z]' | \
11while read IF DATA;
12do
13    iwinfo $IF assoclist 2>/dev/null | grep -i '^[0-9a-f]\{2\}:';
14done;
15
16echo --;
17