aboutsummaryrefslogtreecommitdiffstats
path: root/package/iwinfo/src/iwinfo_lib.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-08-15 16:25:38 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-08-15 16:25:38 +0000
commit3c8e9938c60191c5df03d974f1ce7722a6f71510 (patch)
tree9705fc83b6bc133ab08fefa46d94813c62b2f9fc /package/iwinfo/src/iwinfo_lib.c
parent8ff90336c85fe30d9bb686b2fa99206cea71ee71 (diff)
downloadupstream-3c8e9938c60191c5df03d974f1ce7722a6f71510.tar.gz
upstream-3c8e9938c60191c5df03d974f1ce7722a6f71510.tar.bz2
upstream-3c8e9938c60191c5df03d974f1ce7722a6f71510.zip
iwinfo: add hw info support for Rt3xxx SoCs
This takes the device_id and subsystem_id from the EEPROM, I'll add the info for other Rt3xxx chips in the next days. [jow: minor whitespace changes] Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33199 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/iwinfo/src/iwinfo_lib.c')
-rw-r--r--package/iwinfo/src/iwinfo_lib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/iwinfo/src/iwinfo_lib.c b/package/iwinfo/src/iwinfo_lib.c
index b2fc6aa3b7..5ca0a45107 100644
--- a/package/iwinfo/src/iwinfo_lib.c
+++ b/package/iwinfo/src/iwinfo_lib.c
@@ -314,6 +314,7 @@ const struct iwinfo_iso3166_label IWINFO_ISO3166_NAMES[] = {
const char VENDOR_UBNT[] = "Ubiquiti";
const char VENDOR_ATH[] = "Atheros";
+const char VENDOR_RALINK[] = "RaLink";
const struct iwinfo_hardware_entry IWINFO_HARDWARE_ENTRIES[] = {
/* { vendor, model, vendorid, deviceid, subsys vendorid, subsys deviceid, poweroff, freqoff } */
@@ -368,6 +369,7 @@ const struct iwinfo_hardware_entry IWINFO_HARDWARE_ENTRIES[] = {
{ VENDOR_ATH, "AR9220", 0x168c, 0x0029, 0x168c, 0xa094, 0, 0 },
{ VENDOR_ATH, "AR9223", 0x168c, 0x0029, 0x168c, 0xa095, 0, 0 },
{ VENDOR_ATH, "AR9285", 0x168c, 0x002b, 0x168c, 0xa091, 0, 0 },
+ { VENDOR_RALINK, "Rt3352", 0x1814, 0x3352, 0x1814, 0x000c, 0, 0 },
#endif
{ NULL }
};