Skip to content

Commit 86ad827

Browse files
committed
param_dump: include pregenerated keys list
1 parent d37947c commit 86ad827

File tree

2 files changed

+3717
-40
lines changed

2 files changed

+3717
-40
lines changed

obi2xx/param_dump.c

-38
Original file line numberDiff line numberDiff line change
@@ -405,44 +405,6 @@ void addHashIndexed(Map* m, const char* fmt, int i)
405405
}
406406

407407
void map_init() {
408-
//hidden or non-backup params
409-
int i;
410-
for (i = 1; i <= 9; ++i) {
411-
addHashIndexed(&m, "VoiceService.1.VoiceProfile.%d.GVSIP", i);
412-
addHashIndexed(&m, "VoiceService.1.VoiceProfile.1.Line.%d.X_GApiRefreshToken", i);
413-
addHashIndexed(&m, "VoiceService.1.VoiceProfile.1.Line.%d.X_GApiAccessToken", i);
414-
addHashIndexed(&m, "VoiceService.1.VoiceProfile.1.Line.%d.X_GApiInitAccessToken", i);
415-
addHashIndexed(&m, "VoiceService.1.VoiceProfile.1.Line.%d.X_GoogleClientInfo", i);
416-
}
417-
418-
addHash(&m, "X_DeviceManagement.License.LicenseURL");
419-
420-
addHash(&m, "SystemInfo.DisableBT");
421-
addHash(&m, "SystemInfo.DisableFXO");
422-
addHash(&m, "SystemInfo.DisableFXS1");
423-
addHash(&m, "SystemInfo.DisableFXS2");
424-
addHash(&m, "SystemInfo.DisableGVProv");
425-
addHash(&m, "SystemInfo.DisableRouterCfg");
426-
addHash(&m, "SystemInfo.SkypeDisable");
427-
addHash(&m, "SystemInfo.X_GVAutoSetting");
428-
429-
addHash(&m, "VoiceService.1.X_OBP.Forbidden");
430-
addHash(&m, "VoiceService.1.X_OBP.BasicLicense");
431-
addHash(&m, "VoiceService.1.X_OBP.NoLicense");
432-
addHash(&m, "VoiceService.1.X_OBP.License");
433-
434-
for (i = 0; i < 8; ++i) {
435-
addHashIndexed(&m, "X_DeviceManagement.Provisioning.SPRM%d", i);
436-
addHashIndexed(&m, "X_DeviceManagement.ITSPProvisioning.SPRM%d", i);
437-
}
438-
439-
for (i = 4; i <=31; ++i) {
440-
addHashIndexed(&m, "X_DeviceManagement.X_UserDefinedMacro.%d.Value", i);
441-
addHashIndexed(&m, "X_DeviceManagement.X_UserDefinedMacro.%d.ExpandIn", i);
442-
addHashIndexed(&m, "X_DeviceManagement.X_UserDefinedMacro.%d.SyntaxCheckResult", i);
443-
}
444-
445-
//params in backup
446408
#include "param_dump_keys.h"
447409
};
448410

0 commit comments

Comments
 (0)