NFC: nci: Add management for NCI state for machine rf_deactivate_ntf
authorChristophe Ricard <christophe.ricard@gmail.com>
Tue, 2 Dec 2014 20:27:48 +0000 (21:27 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 2 Dec 2014 21:47:07 +0000 (22:47 +0100)
commit4391590c4038d506a806503f66b9b2521a771e9e
tree826bd04907beea5f5ac1146f4d43c0566f091d80
parent98ff416f97c53b727d6a52f4d2b29bdf4775ac69
NFC: nci: Add management for NCI state for machine rf_deactivate_ntf

A notification for rf deaction can be IDLE_MODE, SLEEP_MODE,
SLEEP_AF_MODE and DISCOVERY. According to each type and the NCI
state machine is different (see figure 10 RF Communication State
Machine in NCI specification)

Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/nci/ntf.c