15 Dec, 2011
5 commits
-
This patch is an initial implementation for the NFC Logical Link Control
protocol. It's also known as NFC peer to peer mode.
This is a basic implementation as it lacks SDP (services Discovery
Protocol), frames aggregation support, and frame rejecion parsing.
Follow up patches will implement those missing features.
This code has been tested against a Nexus S phone implementing LLCP 1.0.Signed-off-by: Samuel Ortiz
Signed-off-by: John W. Linville -
Without an API for setting and getting the local and remote general bytes,
drivers won't be able to properly establish a DEP link.
This API also allows them to propagate the remote general bytes they get
from the DEP link establishment up to the LLCP layer.Signed-off-by: Samuel Ortiz
Signed-off-by: John W. Linville -
NFC-DEP (Data Exchange Protocol) is an NFC MAC layer.
This command allows to enable and disable the DEP link on to which e.g.
LLCP can run.Signed-off-by: Samuel Ortiz
Signed-off-by: John W. Linville -
This is a factorization of the current rawsock tx skb allocation routine,
as it will be used by the LLCP code.
We also rename nfc_alloc_skb to nfc_alloc_recv_skb for consistency sake.Signed-off-by: Samuel Ortiz
Signed-off-by: John W. Linville -
Signed-off-by: Samuel Ortiz
Signed-off-by: John W. Linville
01 Dec, 2011
3 commits
-
All uses have been removed, so killing what's not necessary.
Signed-off-by: Joe Perches
Signed-off-by: John W. Linville -
Using the standard debugging mechanisms is better than
subsystem specific ones when the subsystem doesn't use
a specific struct.Coalesce long formats.
Signed-off-by: Joe Perches
Signed-off-by: John W. Linville -
Using the normal logging styles is preferred over
subsystem specific styles when the subsystem does
not take a specific struct.Convert nfc_ specific messages to pr_
Add newlines to uses.Signed-off-by: Joe Perches
Signed-off-by: John W. Linville
21 Sep, 2011
1 commit
-
Add 2 new nfc control operations:
dev_up to turn on the nfc device
dev_down to turn off the nfc deviceSigned-off-by: Ilan Elias
Signed-off-by: John W. Linville
25 Aug, 2011
1 commit
-
We can have the NFC core layer allocating the tx head and tail
room for the drivers and avoid 1 or more SKBs copy on write on
the Tx path.Signed-off-by: Samuel Ortiz
Signed-off-by: John W. Linville
06 Jul, 2011
4 commits
-
This socket protocol is used to perform data exchange with NFC
targets.Signed-off-by: Lauro Ramos Venancio
Signed-off-by: Aloisio Almeida Jr
Signed-off-by: Samuel Ortiz
Signed-off-by: John W. Linville -
Signed-off-by: Lauro Ramos Venancio
Signed-off-by: Aloisio Almeida Jr
Signed-off-by: John W. Linville -
The NFC generic netlink interface exports the NFC control operations
to the user space.Signed-off-by: Lauro Ramos Venancio
Signed-off-by: Aloisio Almeida Jr
Signed-off-by: Samuel Ortiz
Reviewed-by: Johannes Berg
Signed-off-by: John W. Linville -
The NFC subsystem core is responsible for providing the device driver
interface. It is also responsible for providing an interface to the control
operations and data exchange.Signed-off-by: Lauro Ramos Venancio
Signed-off-by: Aloisio Almeida Jr
Signed-off-by: Samuel Ortiz
Signed-off-by: John W. Linville