Home
last modified time | relevance | path

Searched refs:shdlc (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/net/nfc/hci/
Dllc_shdlc.c137 static struct sk_buff *llc_shdlc_alloc_skb(struct llc_shdlc *shdlc, in llc_shdlc_alloc_skb() argument
142 skb = alloc_skb(shdlc->tx_headroom + SHDLC_LLC_HEAD_ROOM + in llc_shdlc_alloc_skb()
143 shdlc->tx_tailroom + payload_len, GFP_KERNEL); in llc_shdlc_alloc_skb()
145 skb_reserve(skb, shdlc->tx_headroom + SHDLC_LLC_HEAD_ROOM); in llc_shdlc_alloc_skb()
151 static int llc_shdlc_send_s_frame(struct llc_shdlc *shdlc, in llc_shdlc_send_s_frame() argument
159 skb = llc_shdlc_alloc_skb(shdlc, 0); in llc_shdlc_send_s_frame()
165 r = shdlc->xmit_to_drv(shdlc->hdev, skb); in llc_shdlc_send_s_frame()
173 static int llc_shdlc_send_u_frame(struct llc_shdlc *shdlc, in llc_shdlc_send_u_frame() argument
183 r = shdlc->xmit_to_drv(shdlc->hdev, skb); in llc_shdlc_send_u_frame()
194 static void llc_shdlc_reset_t2(struct llc_shdlc *shdlc, int y_nr) in llc_shdlc_reset_t2() argument
[all …]
/linux-4.4.14/Documentation/nfc/
Dnfc-hci.txt147 currently two modules : nop (raw transfert) and shdlc.
179 shdlc is included.
187 the current llc. In case of shdlc, the frame is queued in shdlc rx queue.
190 Only when llc_shdlc is used: handles shdlc rx & tx queues.
203 Workflow executing an HCI command (using shdlc)
223 to the lower layer which happens to be shdlc. It will then start a timer to be
227 handles shdlc framing in and out. It uses the driver xmit to send frames and
273 above. shdlc stores a EREMOTEIO sticky status, which will trigger SMW to
276 - SMW is basically a background thread to handle incoming and outgoing shdlc
277 frames. This thread will also check the shdlc sticky status and report to HCI
[all …]