summaryrefslogtreecommitdiffstats
path: root/net/nfc/llcp.h
diff options
context:
space:
mode:
authorMark A. Greer <mgreer@animalcreek.com>2014-09-23 16:38:07 -0700
committerSamuel Ortiz <sameo@linux.intel.com>2014-11-28 12:38:47 +0100
commit485fdc9bb6f81d68aa30b399b9bc33cf27d65ba4 (patch)
tree0c57a081a707ef1768dab3fe9094707e263cd32f /net/nfc/llcp.h
parent3e6b0de8053ae724931799f1b5d4f009b9fc4b44 (diff)
downloadblackbird-op-linux-485fdc9bb6f81d68aa30b399b9bc33cf27d65ba4.tar.gz
blackbird-op-linux-485fdc9bb6f81d68aa30b399b9bc33cf27d65ba4.zip
NFC: digital: Enforce NFC-DEP PNI sequencing
NFC-DEP DEP_REQ and DEP_RES exchanges using 'I' and 'ACK/NACK' PDUs have a sequence number called the Packet Number Information (PNI). The PNI is incremented (modulo 4) after every DEP_REQ/ DEP_RES pair and should be verified by the digital layer code. That verification isn't always done, though, so add code to make sure that it is done. Reviewed-by: Thierry Escande <thierry.escande@linux.intel.com> Tested-by: Thierry Escande <thierry.escande@linux.intel.com> Signed-off-by: Mark A. Greer <mgreer@animalcreek.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'net/nfc/llcp.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud