diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2012-03-04 19:03:42 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-03-06 15:16:22 -0500 |
commit | d094afa155273e03b82981ea818d39c7a2dfba86 (patch) | |
tree | 85aafb65a5612c9d30fb68118a18948e22178f68 /net/nfc/llcp/llcp.h | |
parent | 0767a7fa87ff18f6a11e3de954c5386a45b9d96e (diff) |
NFC: Send LLCP RR frames to acknowledge received I frames
In order to acknowledge an I frame, we have to either queue pending local
I frames or queue a receiver ready frame.
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/nfc/llcp/llcp.h')
-rw-r--r-- | net/nfc/llcp/llcp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/nfc/llcp/llcp.h b/net/nfc/llcp/llcp.h index 36d8572c8beb..054c64ffdaa7 100644 --- a/net/nfc/llcp/llcp.h +++ b/net/nfc/llcp/llcp.h | |||
@@ -165,7 +165,7 @@ u8 nfc_llcp_get_sdp_ssap(struct nfc_llcp_local *local, | |||
165 | struct nfc_llcp_sock *sock); | 165 | struct nfc_llcp_sock *sock); |
166 | u8 nfc_llcp_get_local_ssap(struct nfc_llcp_local *local); | 166 | u8 nfc_llcp_get_local_ssap(struct nfc_llcp_local *local); |
167 | void nfc_llcp_put_ssap(struct nfc_llcp_local *local, u8 ssap); | 167 | void nfc_llcp_put_ssap(struct nfc_llcp_local *local, u8 ssap); |
168 | void nfc_llcp_queue_i_frames(struct nfc_llcp_sock *sock); | 168 | int nfc_llcp_queue_i_frames(struct nfc_llcp_sock *sock); |
169 | 169 | ||
170 | /* Sock API */ | 170 | /* Sock API */ |
171 | struct sock *nfc_llcp_sock_alloc(struct socket *sock, int type, gfp_t gfp); | 171 | struct sock *nfc_llcp_sock_alloc(struct socket *sock, int type, gfp_t gfp); |
@@ -190,6 +190,7 @@ int nfc_llcp_send_dm(struct nfc_llcp_local *local, u8 ssap, u8 dsap, u8 reason); | |||
190 | int nfc_llcp_send_disconnect(struct nfc_llcp_sock *sock); | 190 | int nfc_llcp_send_disconnect(struct nfc_llcp_sock *sock); |
191 | int nfc_llcp_send_i_frame(struct nfc_llcp_sock *sock, | 191 | int nfc_llcp_send_i_frame(struct nfc_llcp_sock *sock, |
192 | struct msghdr *msg, size_t len); | 192 | struct msghdr *msg, size_t len); |
193 | int nfc_llcp_send_rr(struct nfc_llcp_sock *sock); | ||
193 | 194 | ||
194 | /* Socket API */ | 195 | /* Socket API */ |
195 | int __init nfc_llcp_sock_init(void); | 196 | int __init nfc_llcp_sock_init(void); |