summaryrefslogtreecommitdiffstats
path: root/macloader
Commit message (Collapse)AuthorAgeFilesLines
* Add anpother semco oui mappingivanmeler2019-02-131-0/+1
| | | | Change-Id: Ie6d58fe13af35716a406feb262e6e18954c26c36
* macloader: Add 3 more semco mac rangesivanmeler2019-02-031-1/+4
| | | | | | | | | Confirmed with https://www.wireshark.org/tools/oui-lookup.html 48:13:7E SamsungE Samsung Electronics Co.,Ltd E8:3A:12 SamsungE Samsung Electronics Co.,Ltd F8:E6:1A SamsungE Samsung Electronics Co.,Ltd Change-Id: Ic7225951cee415d68a917031d5f969f45a9cc7ec
* Add unlisted SEMCO3RD mac addressivanmeler2019-01-311-0/+1
| | | | | | | | Confirmed with https://www.wireshark.org/tools/oui-lookup.html 08:C5:E1 SamsungE Samsung Electro-Mechanics(Thailand) Change-Id: Ief2ec0a19c554aeb4266a64cd58aec56baf9cfe5
* macloader: Add mac addresses observed on new revisions of Galaxy S7ivanmeler2019-01-281-0/+4
| | | | | | | | | | verified on https://www.wireshark.org/tools/oui-lookup.html 10: 98:C3 MurataMa Murata Manufacturing Co., Ltd. 24: 18:1D SamsungE Samsung Electro-Mechanics(Thailand) 30: 07:4D SamsungE Samsung Electro-Mechanics(Thailand) 94: 76:B7 SamsungE Samsung Electronics Co.,Ltd Change-Id: I3e3aebfca89b68fcb188ff955efdb1b8d32d16af
* macloader: Add new mac addresses for semcosh and and murataivanmeler2018-11-271-0/+2
| | | | | | Observed on new s7 models Change-Id: Ic2d2068d6e7ba4f1dedb1e3fd83c9a5797523d86
* Adding WiFi MAC address for new S7 devicesivanmeler2018-10-201-0/+1
| | | | | | | | | Some new S7 devices are sold with cc:c0:79 MAC Address. Adding this address in file macaddr_mappings.h is required in order to load proper drivers. Without it, the WiFi does not work properly : signal is weak Change-Id: I9845f8739cf3e5a4caea9eeb989576877d088731 (cherry picked from commit f66c95bcae5f4a0453b5c5f035f02e476145667b)
* macloader: Correct classification of f0:25:b7Paul Keith2018-08-011-2/+2
| | | | | | * CIS table says 33 33, which is semco not semco3rd Change-Id: I944df6b13a8c1294ef47016d15f13f79c5ed5f7d
* MAC: add new Murata rangeVahempio2018-07-011-0/+1
| | | | | | | | New herolte OUI observed: 1c:70:22 Checked on hwaddress.com Change-Id: I4a2c15e315b46af81f815114cf85f0d1cced87f3 (cherry picked from commit ba6c738c2f39fc1011ae5f61067f84b1bf430111)
* macloader: load nvram_net.txt from /vendormicky3872018-06-301-1/+1
| | | | Change-Id: I688f42059459c400834cac0b4c8933ef216827a5
* Add missing murata and semco3rd mac addressesivanmeler2018-06-281-0/+2
| | | | | | Users found this on few herolte/hero2lte revisions Change-Id: I2cda3a3b39c951c1215622ae1b55483fbbfc94a8
* Added new Murata MAC rangeDavis Mosenkovs2018-01-291-1/+2
| | | | | | | OUI a0:c9:a0 was observed on hero devices bought in December 2017 Change-Id: I0a2404780b1b5b017bb89468d235a2174a245989 (cherry picked from commit 939c81d0e0581a08b896636ce0f1d5bb96946dc9)
* Added another new Murata MAC rangeDavis Mosenkovs2018-01-291-0/+1
| | | | | | | Another herolte user observed OUI 8c:45:00 Change-Id: I7eaf4fef29c6dbc6a962de0ff745c9703f65fcfc (cherry picked from commit 70d3e3166f748e96f72c1c96aa2971f4981e9981)
* macloader: Stop allowing G and O write perms to the cidfileKevin F. Haggerty2017-12-281-1/+1
| | | | | | | * Only macloader should ever write to this, but others (e.g, libbt-vendor.so) read from it. 0644 is more than enough. Change-Id: I3d2fb3dfec1ba81c9c382ed18c93114e641df4a0
* macloader: Move device dependent modules to /vendorDiego Wilson2017-12-251-0/+1
| | | | Change-Id: I184ec79c8fc4d6047146b84bcc935aef129fc7f4
* macloader: Drop semcove case and enumAndrea Arcangeli2017-07-262-4/+0
| | | | | | | | The all_ranges structure has one entry less than MAX_TYPES because semcove type is not defined there, but there's no check for NULL and if the mac isn't found it segfaults. Change-Id: Ie218ea0a82b03992085db0f2d1cfc7079e7415a0
* macloader: Fix default NVRAM param pathMartin Bouchet2017-02-171-1/+1
| | | | | | | * Not sure why this was ever the default path Change-Id: I3ae7ab2a4fc0c84d78b8eba1ec8a132f5be531e9 Signed-off-by: Paul Keith <javelinanddart@aidenswann.com>
* macloader: Add one more SEMCO3RD half addressMartin Bouchet2017-02-161-0/+1
| | | | | | | reference here: http://hwaddress.com/company/samsung-electro-mechanicsthailand-2 Change-Id: Iee368306bf9387b743fb77aa8d83d73c70c51f3e
* Add another semco mac addressSean hoyt2017-02-141-0/+1
| | | | | | Needed for n1a3g Change-Id: I420ddcd860351a0de0841ec5071fa0fcbd745822
* macloader: Rework mac address half classificationChristopher N. Hesse2017-02-102-175/+281
| | | | | | | | | | * Don't return in the middle of a function, set the return code and jump to the exit point instead. * Close file pointers properly. * Unify error code returns (macloader will always exit with -1 on error now). Change-Id: I32ac8ea85fcbabed45550a4d176ac999eff9f9e9
* macloader: Add another SEMCO mac address halfChristopher N. Hesse2017-02-091-1/+2
| | | | | | http://hwaddress.com/?q=d8%3Ac4%3Ae9 Change-Id: I80c7be6cb61d8eea1be72118104b1cd2397d48a1
* macloader: Add default NVRAM calibration pathPaul Keith2017-02-091-1/+1
| | | | | | | | * This also causes NVMRAM calibration to be on by default * Most devices should be using this, so don't make them override Change-Id: Ied6e8f4ebd131ae992814bf83c9e7bb379ca9d79 Signed-off-by: Paul Keith <javelinanddart@aidenswann.com>
* macloader: Allow overriding non-standard pathsPaul Keith2017-02-093-18/+44
| | | | | | | * Follow the rest of the hals Change-Id: Ib3bf92b3e975d96586802a1473c589fc9536ad40 Signed-off-by: Paul Keith <javelinanddart@aidenswann.com>
* macloader: Decapitalize wisol MAC addressesPaul Keith2017-02-071-2/+2
| | | | | | | * These should be lowercase, otherwise detection will fail Change-Id: Ibdc446a8f9c58bc9b17b8e9c6cfd5f4894f7ecff Signed-off-by: Paul Keith <javelinanddart@aidenswann.com>
* Added new murata, semco and wisol addressesFevax2017-01-251-6/+29
| | | | | | (needed by exynos8890 - bcm4359) Change-Id: Ie890d8b1370650a81b52a6c1b2c5cf5cd896b500
* macloader : add n5120 murata MAC addressRGIB2016-12-111-0/+1
| | | | Change-Id: I617eba4abfe9ad2088aaeb740e4deccce439c569
* macloader : add n5110 murata MAC addressRGIB2016-12-101-1/+2
| | | | Change-Id: Ie7f71f4e678eb69b7d1942f5ee31127b2091715a
* macloader: Yet another SEMCO3RD OUIKevin F. Haggerty2016-11-301-0/+1
| | | | | | | * OUI types verified by comparing dump of CIS against VID table in kernel source Change-Id: I3bf4d778c88445da6e47854b8bd90d1d7433d337
* macloader: Add even more OUIsKevin F. Haggerty2016-11-061-2/+4
| | | | | | | | * OUI types verified by comparing dump of CIS against VID table in kernel source * Added: 84:38:38, fc:db:b3 Change-Id: I2909d03be8cf7227ce008e981106705866571898
* macloader: Add additional OUIsKevin F. Haggerty2016-10-271-2/+4
| | | | | | | | * Fix c0:bd:d1 while we are at it * All OUI types verified by comparing dump of CIS against VID table in kernel source Change-Id: I7858d8c03a176b9b37798bf0112f4b460ff2c9de
* macloader: add another semco3rd OUI for klte (SM-G900F)Cal Archer2016-10-171-1/+2
| | | | | Change-Id: I669a4cab0fba92c4ac5d4bd1c496634d06aa4a40 (cherry picked from commit c2104657697740a9bee31dc03bf0c5134ff93e6c)
* macloader: add n5100 murata wifi addressstable/cm-13.0-ZNH0ERGIB2016-03-111-0/+1
| | | | Change-Id: I8296825f3d17bfdaccfa990d45598652ab40faaa
* macloader: Add another SEMCO mac address halfChristopher N. Hesse2016-03-011-2/+3
| | | | | | Order existing SEMCO values while we're at it. Change-Id: I2b5c8a3e458cbcf41ea78eb953117a6779db2cc0
* macloader: include errno.hCaio Schnepper2015-10-101-0/+1
| | | | | | Fix build Change-Id: Ib60f66ddc2065bc92cd32e507ae9f3a5023f54c2
* macloader: Add support to set nvram calibration file.Andreas Schneider2015-02-162-0/+103
| | | | | | Change-Id: I0eb99ad6084eb8cd4452a91b13dd75384785f5a8 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit e283a09f99d0cbad2cf8b903ffe2da1c3e44663e)
* macloader: Fix log output and return value.Andreas Schneider2015-01-271-2/+1
| | | | | Change-Id: Ic306ffd3bffc274406b9c11513a7ae2794578d16 Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* macloader: Use a variable for device type.Andreas Schneider2015-01-271-22/+15
| | | | | Change-Id: Ice29862ad6aaa15b07d6341893b0b8f1c65152e6 Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* macloader: Close file when we don't need it anymore.Andreas Schneider2015-01-271-1/+1
| | | | | Change-Id: Ib539b45ed45f1dcfc9eea0475adb9c50d17011b5 Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* macloader: Use fchown() to change owner of the cidfile.Andreas Schneider2015-01-271-7/+19
| | | | | Change-Id: Ia99c0ae414366d91b6d0112f50b00630749ea570 Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* macloader: Use fchmod() to change permissions.Andreas Schneider2015-01-271-10/+12
| | | | | Change-Id: I18bca9b022dba24403867b022af9d858aad72bc4 Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* macloader: Fix build warning with LOG defines.Andreas Schneider2015-01-271-3/+3
| | | | | | | | They need to be set before log.h is included or we will get redefiniton warnings. Change-Id: I87e971d32139a807998468e6a781e1f39dd7a8e5 Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* macloader: Make macloader a C file.Andreas Schneider2015-01-272-1/+1
| | | | | Change-Id: I6bd4a324cc5a596f2900027615b83f73736d12e0 Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* macloader: Add SEMCO for BCM43569Christopher N. Hesse2015-01-261-0/+12
| | | | | | Values were read out from a Galaxy Note N910C (Exynos) running stock KK. Change-Id: I3ce4bd360633642c423482070d18af035f50d8d9
* macloader: Add SEMCO3RD and WISOL for BCM4354.Andreas Schneider2015-01-031-1/+21
| | | | Change-Id: I165f10d339acaa700f3e4e4b6f4576fda1da09a5
* macloader: add new murata vendor IDMarcKe2014-12-301-1/+2
| | | | Change-Id: If5968a040e9e8969985f0f307eb4a8a44486d94d
* macloader: add semcosh mac addressMarcKe2014-12-261-1/+5
| | | | | | | | Change-Id: I510291c32c76140c5b37eb87a00600e8b4c034c0 macloader: add new semcosh mac addresses Change-Id: I879e224a32acadde09762f5101a776869ee56f67
* samsung: Correct macloader valuesJustArchi2014-09-281-2/+2
| | | | | | Detect is done on lower-case, so these records didn't work previously at all Change-Id: I9a58e89679ed8aeeb194fde60cb90576aac79388
* Added more MAC's for murata.Liam Alford2014-01-041-7/+20
| | | | | | 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
* add 1c:99:4c as murata macgolcheck2014-01-021-0/+1
| | | | Change-Id: I0e60940524f7e4ef652cdb2a625507d1f983b6dc
* macloader: add f0:27:65 as a murata macDan Pasanen2013-10-171-0/+1
| | | | Change-Id: I895dc26a71253b31a2ee8ae27feeb5feb673a9bf
* macloader: Add one more MAC prefix to murataXpLoDWilD2013-08-181-0/+1
| | | | Change-Id: Ib00ca46608a834a6a5f1e2fe996d56ec98d1ffab