Paul Keith | 59ba89e | 2017-02-07 12:30:45 -0600 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2017 The LineageOS Project |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
| 17 | #ifndef SAMSUNG_MACLOADER_H |
| 18 | #define SAMSUNG_MACLOADER_H |
| 19 | |
| 20 | /* |
| 21 | * Board specific nodes |
| 22 | * |
| 23 | * If your kernel exposes these controls in another place, you can either |
| 24 | * symlink to the locations given here, or override this header in your |
| 25 | * device tree. |
| 26 | */ |
| 27 | |
| 28 | /* NVRAM calibration, NULL if calibration unneeded */ |
Paul Keith | df4a1d6 | 2017-02-07 21:06:56 -0600 | [diff] [blame] | 29 | #define WIFI_DRIVER_NVRAM_PATH "/system/etc/wifi/nvram_net.txt" |
Paul Keith | 59ba89e | 2017-02-07 12:30:45 -0600 | [diff] [blame] | 30 | |
| 31 | /* NVRAM calibration parameters */ |
Martin Bouchet | 3ac2971 | 2017-02-15 08:30:52 -0600 | [diff] [blame] | 32 | #define WIFI_DRIVER_NVRAM_PATH_PARAM "/sys/module/dhd/parameters/nvram_path" |
Paul Keith | 59ba89e | 2017-02-07 12:30:45 -0600 | [diff] [blame] | 33 | |
| 34 | /* Physical address (MAC) */ |
| 35 | #define MACADDR_PATH "/efs/wifi/.mac.info" |
| 36 | |
| 37 | /* Consumer identification number (CID) */ |
| 38 | #define CID_PATH "/data/.cid.info" |
| 39 | |
| 40 | #endif // SAMSUNG_MACLOADER_H |