-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hey Hanno,
for starters you could just compile and install "iwinfo", then run it
on your board like this:
iwinfo ath0 info or iwinfo wlan0 info
It should output data similar to this:
- -- 8< --
root@uplink:~# iwinfo wlan1 i
wlan1 ESSID: "xmff-wds"
Access Point: C4:3D:C7:90:AA:DC
Mode: Master Channel: 149 (5.745 GHz)
Tx-Power: 24 dBm Link Quality: 29/70
Signal: -81 dBm Noise: -95 dBm
Bit Rate: 60.0 MBit/s
Encryption: WPA2 PSK (CCMP)
Type: nl80211 HW Mode(s): 802.11an
Hardware: 168C:0029 168C:A094 [Atheros AR9220]
TX power offset: none
Frequency offset: none
Supports VAPs: yes
- -- >8 --
The four hex digits after "Hardware:" are the VendorID, DeviceID,
Subsystem VendorID and Subsystem DeviceID.
Once you found those you can add a line to iwinfo_lib.c, see
https://dev.openwrt.org/browser/trunk/package/iwinfo/src/iwinfo_lib.c#L310 .
~ Jow
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk7cDB0ACgkQdputYINPTPNp/QCfc/YWQiGzH/NaMk+ge3sTdfhD
cNcAoJzVDcbCoN71DUUheY4zRVxtiTVx
=05mw
-----END PGP SIGNATURE-----
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel