2 * Copyright (C) 2014 STMicroelectronics SAS. All rights reserved.
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License,
6 * version 2, as published by the Free Software Foundation.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
13 * You should have received a copy of the GNU General Public License
14 * along with this program; if not, see <http://www.gnu.org/licenses/>.
17 #ifndef __ST21NFCA_DEP_H
18 #define __ST21NFCA_DEP_H
20 #include <linux/skbuff.h>
21 #include <linux/workqueue.h>
23 struct st21nfca_dep_info
{
24 struct sk_buff
*tx_pending
;
25 struct work_struct tx_work
;
35 int st21nfca_dep_event_received(struct nfc_hci_dev
*hdev
,
36 u8 event
, struct sk_buff
*skb
);
37 int st21nfca_tm_send_dep_res(struct nfc_hci_dev
*hdev
, struct sk_buff
*skb
);
39 int st21nfca_im_send_atr_req(struct nfc_hci_dev
*hdev
, u8
*gb
, size_t gb_len
);
40 int st21nfca_im_send_dep_req(struct nfc_hci_dev
*hdev
, struct sk_buff
*skb
);
41 void st21nfca_dep_init(struct nfc_hci_dev
*hdev
);
42 void st21nfca_dep_deinit(struct nfc_hci_dev
*hdev
);
43 #endif /* __ST21NFCA_DEP_H */