pskey.1 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. .TH pskey 1 "Mar 2014" "plc-utils-2.1.6" "Qualcomm Atheros Powerline Toolkit"
  2. .SH NAME
  3. pskey - Print prescaler key
  4. .SH SYNOPSIS
  5. .BR pskey
  6. .RI [ options ]
  7. .IR file
  8. .RI [ file ]
  9. .RI [ ... ]
  10. .RI [> stdout ]
  11. .SH DESCRIPTION
  12. Read the prescaler section of a \fB.pib\fR file and print the SHA256 digest (key) on stdout.
  13. The digest acts as a finger-print of the prescalers stored within and may be used to compare prescalers and detect changes.
  14. Only the prescaler section is read.
  15. The rest of the PIB is ignored.
  16. .PP
  17. This program is part of the Qualcomm Atheros Powerline Toolkit.
  18. See the \fBAMP\fR man page for an overview and installation instructions.
  19. .SH OPTIONS
  20. .TP
  21. .RB - q
  22. Enable quiet mode.
  23. This suppresses the filename after prescaler keys on output.
  24. .TP
  25. .RB - v
  26. Verbose mode.
  27. This option has no effect at present.
  28. None.
  29. .SH ARGUMENTS
  30. .TP
  31. .IR file
  32. The name of an Atheros Parameter Information Block (\fBPIB\fR) file.
  33. This file is not modified.
  34. By convention, PIB files have a \fB.pib\fR extenstion but this program does not enforce that convention but invalid PIB files will be rejected on input.
  35. .SH DISCLAIMER
  36. PIB file structure and content is proprietary to Qualcomm Atheros, Ocala FL USA.
  37. Consequently, public information is not available.
  38. Qualcomm Atheros reserves the right to modify PIB file structure or content in future firmware releases without any obligation to notify or compensate users of this program.
  39. .SH EXAMPLES
  40. This example prints the SHA256 digest for the prescaler section in file \fBv3.3.4.pib\fR.
  41. The digest uniquely identifies that particular prescaler set.
  42. PIB files with the same prescaler digest contain the same prescaler set.
  43. .PP
  44. # pskey v3.3.4.pib
  45. AF26B02BB5044BE70986A5C2F5705671213D63A7827928C240D131E940EF4FC4 v3.3.4.pib
  46. .PP
  47. The next example is the same as before but does not print the input filename after the key.
  48. .PP
  49. # pskey v3.3.4.pib -q
  50. AF26B02BB5044BE70986A5C2F5705671213D63A7827928C240D131E940EF4FC4
  51. .PP
  52. The next example does the same for all \fB.pib\fR files in the current folder.
  53. Observe that several files have the same fingerprint and so contain identical prescaler sets.
  54. Prescalers are designed to satisfy EMI requirements for various applications and world regions.
  55. It is critical that the correct prescalers are used.
  56. .PP
  57. # pskey *.pib
  58. AF26B02BB5044BE70986A5C2F5705671213D63A7827928C240D131E940EF4FC4 2008-06-25.pib
  59. AF26B02BB5044BE70986A5C2F5705671213D63A7827928C240D131E940EF4FC4 v2.0.4.pib
  60. AF26B02BB5044BE70986A5C2F5705671213D63A7827928C240D131E940EF4FC4 v3.0.1.pib
  61. 9D6F711B81BEAE3DE9182ECC264C47DDD187264A2B89A162C54F3C1FDD5CE240 v3.0.4.pib
  62. AF26B02BB5044BE70986A5C2F5705671213D63A7827928C240D131E940EF4FC4 v3.0.5.pib
  63. 9D6F711B81BEAE3DE9182ECC264C47DDD187264A2B89A162C54F3C1FDD5CE240 v3.1.0.pib
  64. 9D6F711B81BEAE3DE9182ECC264C47DDD187264A2B89A162C54F3C1FDD5CE240 v3.1.3.pib
  65. 9D6F711B81BEAE3DE9182ECC264C47DDD187264A2B89A162C54F3C1FDD5CE240 v3.1.4.pib
  66. AF26B02BB5044BE70986A5C2F5705671213D63A7827928C240D131E940EF4FC4 v3.1.6.pib
  67. 9D6F711B81BEAE3DE9182ECC264C47DDD187264A2B89A162C54F3C1FDD5CE240 v3.1.7.pib
  68. AF26B02BB5044BE70986A5C2F5705671213D63A7827928C240D131E940EF4FC4 v3.1.8.pib
  69. AF26B02BB5044BE70986A5C2F5705671213D63A7827928C240D131E940EF4FC4 v3.1.9.pib
  70. 9D6F711B81BEAE3DE9182ECC264C47DDD187264A2B89A162C54F3C1FDD5CE240 v3.2.0.pib
  71. AF26B02BB5044BE70986A5C2F5705671213D63A7827928C240D131E940EF4FC4 v3.3.0.pib
  72. AF26B02BB5044BE70986A5C2F5705671213D63A7827928C240D131E940EF4FC4 v3.3.1.pib
  73. AF26B02BB5044BE70986A5C2F5705671213D63A7827928C240D131E940EF4FC4 v3.3.2.pib
  74. 980444623A8B8E76121E5014B054D9D1306C06C4D7FD7E2E158D13C9B24CFDE1 v3.3.4-1.pib
  75. AF26B02BB5044BE70986A5C2F5705671213D63A7827928C240D131E940EF4FC4 v3.3.4-2.pib
  76. 649C3B280E20A78994D11048C6E2ABEB6BA5DBCBBE3BA2BDD3BA3C3CFF8EF7E4 v3.3.4-RC9.pib
  77. AF26B02BB5044BE70986A5C2F5705671213D63A7827928C240D131E940EF4FC4 v3.3.4.pib
  78. .PP
  79. The next example does the same as the previous one but sorts on the digest in order to group files by their prescaler sets.
  80. This highlights the fact that we have four different prescaler sets in the group and two files are apparently different from the others.
  81. The \fBsort\fR program is a Linux utility and may not be available on some systems.
  82. .PP
  83. # pskey *.pib | sort
  84. 649C3B280E20A78994D11048C6E2ABEB6BA5DBCBBE3BA2BDD3BA3C3CFF8EF7E4 v3.3.4-RC9.pib
  85. 980444623A8B8E76121E5014B054D9D1306C06C4D7FD7E2E158D13C9B24CFDE1 v3.3.4-1.pib
  86. 9D6F711B81BEAE3DE9182ECC264C47DDD187264A2B89A162C54F3C1FDD5CE240 v3.0.4.pib
  87. 9D6F711B81BEAE3DE9182ECC264C47DDD187264A2B89A162C54F3C1FDD5CE240 v3.1.0.pib
  88. 9D6F711B81BEAE3DE9182ECC264C47DDD187264A2B89A162C54F3C1FDD5CE240 v3.1.3.pib
  89. 9D6F711B81BEAE3DE9182ECC264C47DDD187264A2B89A162C54F3C1FDD5CE240 v3.1.4.pib
  90. 9D6F711B81BEAE3DE9182ECC264C47DDD187264A2B89A162C54F3C1FDD5CE240 v3.1.7.pib
  91. 9D6F711B81BEAE3DE9182ECC264C47DDD187264A2B89A162C54F3C1FDD5CE240 v3.2.0.pib
  92. AF26B02BB5044BE70986A5C2F5705671213D63A7827928C240D131E940EF4FC4 2008-06-25.pib
  93. AF26B02BB5044BE70986A5C2F5705671213D63A7827928C240D131E940EF4FC4 v2.0.4.pib
  94. AF26B02BB5044BE70986A5C2F5705671213D63A7827928C240D131E940EF4FC4 v3.0.1.pib
  95. AF26B02BB5044BE70986A5C2F5705671213D63A7827928C240D131E940EF4FC4 v3.0.5.pib
  96. AF26B02BB5044BE70986A5C2F5705671213D63A7827928C240D131E940EF4FC4 v3.1.6.pib
  97. AF26B02BB5044BE70986A5C2F5705671213D63A7827928C240D131E940EF4FC4 v3.1.8.pib
  98. AF26B02BB5044BE70986A5C2F5705671213D63A7827928C240D131E940EF4FC4 v3.1.9.pib
  99. AF26B02BB5044BE70986A5C2F5705671213D63A7827928C240D131E940EF4FC4 v3.3.0.pib
  100. AF26B02BB5044BE70986A5C2F5705671213D63A7827928C240D131E940EF4FC4 v3.3.1.pib
  101. AF26B02BB5044BE70986A5C2F5705671213D63A7827928C240D131E940EF4FC4 v3.3.2.pib
  102. AF26B02BB5044BE70986A5C2F5705671213D63A7827928C240D131E940EF4FC4 v3.3.4-2.pib
  103. AF26B02BB5044BE70986A5C2F5705671213D63A7827928C240D131E940EF4FC4 v3.3.4.pib
  104. .SH DISCLAIMER
  105. PIB file structure and content is proprietary to Qualcomm Atheros, Ocala FL USA.
  106. Consequently, public information is not available.
  107. Qualcomm Atheros reserves the right to modify PIB file structure or content in future firmware releases without any obligation to notify or compensate users of this program.
  108. .SH SEE ALSO
  109. .BR psgraph ( 7),
  110. .BR psin ( 1 ),
  111. .BR psout ( 1 )
  112. .SH CREDITS
  113. Charles Maier <cmaier@qca.qualcomm.com>