summaryrefslogtreecommitdiffstats
path: root/net/nfc/llcp/llcp.h
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2013-02-22 10:53:25 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2013-03-10 22:20:05 +0100
commit26fd76cab2e61cedc5c25f7151fb31b57ddc53c7 (patch)
tree7958aad8711d1d7eaacb6aa2e4f9c0aae7a2da87 /net/nfc/llcp/llcp.h
parentNFC: llcp: Rename socket rw and miu fields (diff)
downloadlinux-26fd76cab2e61cedc5c25f7151fb31b57ddc53c7.tar.xz
linux-26fd76cab2e61cedc5c25f7151fb31b57ddc53c7.zip
NFC: llcp: Implement socket options
Some LLCP services (e.g. the validation ones) require some control over the LLCP link parameters like the receive window (RW) or the MIU extension (MIUX). This can only be done through socket options. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'net/nfc/llcp/llcp.h')
-rw-r--r--net/nfc/llcp/llcp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/nfc/llcp/llcp.h b/net/nfc/llcp/llcp.h
index 32cec81939e6..5f117adac2e5 100644
--- a/net/nfc/llcp/llcp.h
+++ b/net/nfc/llcp/llcp.h
@@ -104,6 +104,9 @@ struct nfc_llcp_sock {
u8 dsap;
char *service_name;
size_t service_name_len;
+ u8 rw;
+ u16 miux;
+
/* Remote link parameters */
u8 remote_rw;