From 2fccbdf3da79961370fdeb0e1ec01356c0bdf50e Mon Sep 17 00:00:00 2001 From: Liam Alford Date: Thu, 21 Nov 2013 13:55:42 +0000 Subject: [PATCH] Added more MAC's for murata. After finding some i9300 devices who's MAC addresses were missing from the list, i searched for all murata MAC's and thought it wise to add them. Change-Id: I9e0db81cf2b1809b37b1660a4763db82699dd452 --- macloader/macloader.cpp | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/macloader/macloader.cpp b/macloader/macloader.cpp index fb796d9..313de60 100644 --- a/macloader/macloader.cpp +++ b/macloader/macloader.cpp @@ -61,15 +61,28 @@ int main() { return -1; } - /* murata */ - if (strncasecmp(mac_addr_half, "00:37:6d", 9) == 0 || - strncasecmp(mac_addr_half, "88:30:8a", 9) == 0 || + /* murata + ref: http://hwaddress.com/?q=ACT */ + if (strncasecmp(mac_addr_half, "00:0e:6d", 9) == 0 || + strncasecmp(mac_addr_half, "00:13:e0", 9) == 0 || + strncasecmp(mac_addr_half, "00:21:e8", 9) == 0 || + strncasecmp(mac_addr_half, "00:26:e8", 9) == 0 || + strncasecmp(mac_addr_half, "00:37:6d", 9) == 0 || + strncasecmp(mac_addr_half, "00:60:57", 9) == 0 || + strncasecmp(mac_addr_half, "04:46:65", 9) == 0 || + strncasecmp(mac_addr_half, "10:5f:06", 9) == 0 || + strncasecmp(mac_addr_half, "10:a5:D0", 9) == 0 || + strncasecmp(mac_addr_half, "1c:99:4c", 9) == 0 || + strncasecmp(mac_addr_half, "14:7d:c5", 9) == 0 || strncasecmp(mac_addr_half, "20:02:af", 9) == 0 || - strncasecmp(mac_addr_half, "5c:f8:a1", 9) == 0 || strncasecmp(mac_addr_half, "40:f3:08", 9) == 0 || - strncasecmp(mac_addr_half, "f0:27:65", 9) == 0 || - strncasecmp(mac_addr_half, "1c:99:4c", 9) == 0 || - strncasecmp(mac_addr_half, "60:21:c0", 9) == 0) { + strncasecmp(mac_addr_half, "44:a7:cf", 9) == 0 || + strncasecmp(mac_addr_half, "5c:da:d4", 9) == 0 || + strncasecmp(mac_addr_half, "5c:f8:a1", 9) == 0 || + strncasecmp(mac_addr_half, "78:4B:87", 9) == 0 || + strncasecmp(mac_addr_half, "60:21:c0", 9) == 0 || + strncasecmp(mac_addr_half, "88:30:8a", 9) == 0 || + strncasecmp(mac_addr_half, "f0:27:65", 9) == 0) { type = MURATA; } -- 2.20.1