ivanmeler
5b915c8fca
Add anpother semco oui mapping
...
Change-Id: Ie6d58fe13af35716a406feb262e6e18954c26c36
2019-02-13 20:46:41 +01:00
ivanmeler
2b9386fb26
macloader: Add 3 more semco mac ranges
...
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
2019-02-03 11:26:57 +01:00
ivanmeler
28016cc0e6
Add unlisted SEMCO3RD mac address
...
Confirmed with https://www.wireshark.org/tools/oui-lookup.html
08:C5:E1 SamsungE Samsung Electro-Mechanics(Thailand)
Change-Id: Ief2ec0a19c554aeb4266a64cd58aec56baf9cfe5
2019-01-31 13:03:18 +01:00
ivanmeler
89502e50ec
macloader: Add mac addresses observed on new revisions of Galaxy S7
...
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
2019-01-28 13:16:06 +01:00
ivanmeler
083245a0b9
macloader: Add new mac addresses for semcosh and and murata
...
Observed on new s7 models
Change-Id: Ic2d2068d6e7ba4f1dedb1e3fd83c9a5797523d86
2018-11-27 12:03:25 +01:00
ivanmeler
acec2d157f
Adding WiFi MAC address for new S7 devices
...
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)
2018-10-20 15:52:57 +02:00
Paul Keith
c51a095618
macloader: Correct classification of f0:25:b7
...
* CIS table says 33 33, which is semco not semco3rd
Change-Id: I944df6b13a8c1294ef47016d15f13f79c5ed5f7d
2018-08-01 21:45:36 +02:00
Vahempio
e483571e5d
MAC: add new Murata range
...
New herolte OUI observed: 1c:70:22
Checked on hwaddress.com
Change-Id: I4a2c15e315b46af81f815114cf85f0d1cced87f3
(cherry picked from commit ba6c738c2f39fc1011ae5f61067f84b1bf430111)
2018-07-01 13:39:34 +02:00
micky387
cf411e7bf0
macloader: load nvram_net.txt from /vendor
...
Change-Id: I688f42059459c400834cac0b4c8933ef216827a5
2018-06-30 16:51:38 +02:00
ivanmeler
5e6355bc8c
Add missing murata and semco3rd mac addresses
...
Users found this on few herolte/hero2lte revisions
Change-Id: I2cda3a3b39c951c1215622ae1b55483fbbfc94a8
2018-06-28 19:37:53 +10:00
Davis Mosenkovs
8b4ba0d6b6
Added new Murata MAC range
...
OUI a0:c9:a0 was observed on hero devices bought in December 2017
Change-Id: I0a2404780b1b5b017bb89468d235a2174a245989
(cherry picked from commit 939c81d0e0581a08b896636ce0f1d5bb96946dc9)
2018-01-29 01:01:07 +00:00
Davis Mosenkovs
2fa73d6973
Added another new Murata MAC range
...
Another herolte user observed OUI 8c:45:00
Change-Id: I7eaf4fef29c6dbc6a962de0ff745c9703f65fcfc
(cherry picked from commit 70d3e3166f748e96f72c1c96aa2971f4981e9981)
2018-01-29 00:57:57 +00:00
Kevin F. Haggerty
523971c63b
macloader: Stop allowing G and O write perms to the cidfile
...
* 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
2017-12-28 09:09:41 -07:00
Diego Wilson
ea125c30ea
macloader: Move device dependent modules to /vendor
...
Change-Id: I184ec79c8fc4d6047146b84bcc935aef129fc7f4
2017-12-25 23:51:32 -07:00
Andrea Arcangeli
a322ea2bdd
macloader: Drop semcove case and enum
...
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
2017-07-26 18:02:32 -06:00
Martin Bouchet
3ac2971b52
macloader: Fix default NVRAM param path
...
* Not sure why this was ever the default path
Change-Id: I3ae7ab2a4fc0c84d78b8eba1ec8a132f5be531e9
Signed-off-by: Paul Keith <javelinanddart@aidenswann.com>
2017-02-17 11:38:13 +00:00
Martin Bouchet
8794541f19
macloader: Add one more SEMCO3RD half address
...
reference here:
http://hwaddress.com/company/samsung-electro-mechanicsthailand-2
Change-Id: Iee368306bf9387b743fb77aa8d83d73c70c51f3e
2017-02-16 04:46:59 +00:00
Sean hoyt
e3800acf0e
Add another semco mac address
...
Needed for n1a3g
Change-Id: I420ddcd860351a0de0841ec5071fa0fcbd745822
2017-02-14 17:33:07 +00:00
Christopher N. Hesse
afec0fd5ca
macloader: Rework mac address half classification
...
* 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
2017-02-10 20:29:26 +00:00
Christopher N. Hesse
c7dd07ab9b
macloader: Add another SEMCO mac address half
...
http://hwaddress.com/?q=d8%3Ac4%3Ae9
Change-Id: I80c7be6cb61d8eea1be72118104b1cd2397d48a1
2017-02-09 18:44:07 +00:00
Paul Keith
df4a1d6c77
macloader: Add default NVRAM calibration path
...
* 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>
2017-02-09 18:41:40 +00:00
Paul Keith
59ba89e0d0
macloader: Allow overriding non-standard paths
...
* Follow the rest of the hals
Change-Id: Ib3bf92b3e975d96586802a1473c589fc9536ad40
Signed-off-by: Paul Keith <javelinanddart@aidenswann.com>
2017-02-09 18:41:18 +00:00
Paul Keith
6e35157bd6
macloader: Decapitalize wisol MAC addresses
...
* These should be lowercase, otherwise detection will fail
Change-Id: Ibdc446a8f9c58bc9b17b8e9c6cfd5f4894f7ecff
Signed-off-by: Paul Keith <javelinanddart@aidenswann.com>
2017-02-07 15:17:17 -06:00
Fevax
e9b45af8b2
Added new murata, semco and wisol addresses
...
(needed by exynos8890 - bcm4359)
Change-Id: Ie890d8b1370650a81b52a6c1b2c5cf5cd896b500
2017-01-25 15:03:54 -03:00
RGIB
a7a0ecde63
macloader : add n5120 murata MAC address
...
Change-Id: I617eba4abfe9ad2088aaeb740e4deccce439c569
2016-12-11 06:12:14 -08:00
RGIB
1bf77699ec
macloader : add n5110 murata MAC address
...
Change-Id: Ie7f71f4e678eb69b7d1942f5ee31127b2091715a
2016-12-10 02:41:35 -08:00
Kevin F. Haggerty
1d09298e09
macloader: Yet another SEMCO3RD OUI
...
* OUI types verified by comparing dump of CIS against VID table
in kernel source
Change-Id: I3bf4d778c88445da6e47854b8bd90d1d7433d337
2016-11-30 05:38:41 -07:00
Kevin F. Haggerty
b21592339a
macloader: Add even more OUIs
...
* OUI types verified by comparing dump of CIS against VID table
in kernel source
* Added: 84:38:38, fc:db:b3
Change-Id: I2909d03be8cf7227ce008e981106705866571898
2016-11-06 12:45:26 -07:00
Kevin F. Haggerty
d4ee359c8d
macloader: Add additional OUIs
...
* 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
2016-10-27 11:36:46 -07:00
Cal Archer
ae50788ed7
macloader: add another semco3rd OUI for klte (SM-G900F)
...
Change-Id: I669a4cab0fba92c4ac5d4bd1c496634d06aa4a40
(cherry picked from commit c2104657697740a9bee31dc03bf0c5134ff93e6c)
2016-10-17 04:34:33 -07:00
RGIB
02302a7eef
macloader: add n5100 murata wifi address
...
Change-Id: I8296825f3d17bfdaccfa990d45598652ab40faaa
2016-03-11 15:59:30 +01:00
Christopher N. Hesse
438a27e268
macloader: Add another SEMCO mac address half
...
Order existing SEMCO values while we're at it.
Change-Id: I2b5c8a3e458cbcf41ea78eb953117a6779db2cc0
2016-03-01 09:09:48 -08:00
Caio Schnepper
02c9c719ad
macloader: include errno.h
...
Fix build
Change-Id: Ib60f66ddc2065bc92cd32e507ae9f3a5023f54c2
2015-10-10 02:14:28 -03:00
Andreas Schneider
3ff947b8d3
macloader: Add support to set nvram calibration file.
...
Change-Id: I0eb99ad6084eb8cd4452a91b13dd75384785f5a8
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit e283a09f99d0cbad2cf8b903ffe2da1c3e44663e)
2015-02-16 21:59:25 +00:00
Andreas Schneider
ca1a0eea09
macloader: Fix log output and return value.
...
Change-Id: Ic306ffd3bffc274406b9c11513a7ae2794578d16
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-01-27 14:44:27 -08:00
Andreas Schneider
c7212d0365
macloader: Use a variable for device type.
...
Change-Id: Ice29862ad6aaa15b07d6341893b0b8f1c65152e6
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-01-27 14:44:04 -08:00
Andreas Schneider
3a73bd3f2e
macloader: Close file when we don't need it anymore.
...
Change-Id: Ib539b45ed45f1dcfc9eea0475adb9c50d17011b5
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-01-27 14:42:03 -08:00
Andreas Schneider
7558b9dda2
macloader: Use fchown() to change owner of the cidfile.
...
Change-Id: Ia99c0ae414366d91b6d0112f50b00630749ea570
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-01-27 14:41:51 -08:00
Andreas Schneider
7f517d761b
macloader: Use fchmod() to change permissions.
...
Change-Id: I18bca9b022dba24403867b022af9d858aad72bc4
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-01-27 14:41:41 -08:00
Andreas Schneider
2b601794d7
macloader: Fix build warning with LOG defines.
...
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>
2015-01-27 14:41:20 -08:00
Andreas Schneider
60f13f21c2
macloader: Make macloader a C file.
...
Change-Id: I6bd4a324cc5a596f2900027615b83f73736d12e0
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-01-27 14:41:08 -08:00
Christopher N. Hesse
0ed5670246
macloader: Add SEMCO for BCM43569
...
Values were read out from a Galaxy Note N910C (Exynos) running stock KK.
Change-Id: I3ce4bd360633642c423482070d18af035f50d8d9
2015-01-26 10:21:33 -08:00
Andreas Schneider
f3ba720f70
macloader: Add SEMCO3RD and WISOL for BCM4354.
...
Change-Id: I165f10d339acaa700f3e4e4b6f4576fda1da09a5
2015-01-03 19:29:28 +01:00
MarcKe
d973a7b153
macloader: add new murata vendor ID
...
Change-Id: If5968a040e9e8969985f0f307eb4a8a44486d94d
2014-12-30 17:58:54 +01:00
MarcKe
a81d58b35e
macloader: add semcosh mac address
...
Change-Id: I510291c32c76140c5b37eb87a00600e8b4c034c0
macloader: add new semcosh mac addresses
Change-Id: I879e224a32acadde09762f5101a776869ee56f67
2014-12-26 18:53:42 +01:00
JustArchi
300ecd3b0b
samsung: Correct macloader values
...
Detect is done on lower-case, so these records didn't work previously at all
Change-Id: I9a58e89679ed8aeeb194fde60cb90576aac79388
2014-09-28 23:55:36 +02:00
Liam Alford
2fccbdf3da
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
2014-01-04 10:39:41 -06:00
golcheck
5b41817b96
add 1c:99:4c as murata mac
...
Change-Id: I0e60940524f7e4ef652cdb2a625507d1f983b6dc
2014-01-02 21:28:07 +00:00
Dan Pasanen
708e7c7a15
macloader: add f0:27:65 as a murata mac
...
Change-Id: I895dc26a71253b31a2ee8ae27feeb5feb673a9bf
2013-10-17 22:23:07 -05:00
XpLoDWilD
731cd20c21
macloader: Add one more MAC prefix to murata
...
Change-Id: Ib00ca46608a834a6a5f1e2fe996d56ec98d1ffab
2013-08-18 20:55:38 +02:00