summaryrefslogtreecommitdiff
path: root/utils/nwztools/scsitools/para_noise.c (follow)
Commit message (Collapse)AuthorAge
* scsi_tools: add support for nvp readingAmaury Pouly2012-11-03
There is a vendor specific command to read the NVP of the device, including the KAS. The trick is that the data is randomly scrambled using a so-called para_noise array of random values. There seems to be a problem when retrieving large entries (>1000 bytes typically) which causes sg_pt do behave strangely. Change-Id: Iefa6140df78ab9c7dcf7ac34cb1170979123ecd7