linux/net/nfc/nci/ntf.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 *  The NFC Controller Interface is the communication protocol between an
 *  NFC Controller (NFCC) and a Device Host (DH).
 *
 *  Copyright (C) 2014 Marvell International Ltd.
 *  Copyright (C) 2011 Texas Instruments, Inc.
 *
 *  Written by Ilan Elias <[email protected]>
 *
 *  Acknowledgements:
 *  This file is based on hci_event.c, which was written
 *  by Maxim Krasnyansky.
 */

#define pr_fmt(fmt)

#include <linux/types.h>
#include <linux/interrupt.h>
#include <linux/bitops.h>
#include <linux/skbuff.h>

#include "../nfc.h"
#include <net/nfc/nci.h>
#include <net/nfc/nci_core.h>
#include <linux/nfc.h>

/* Handle NCI Notification packets */

static void nci_core_reset_ntf_packet(struct nci_dev *ndev,
				      const struct sk_buff *skb)
{}

static void nci_core_conn_credits_ntf_packet(struct nci_dev *ndev,
					     struct sk_buff *skb)
{}

static void nci_core_generic_error_ntf_packet(struct nci_dev *ndev,
					      const struct sk_buff *skb)
{}

static void nci_core_conn_intf_error_ntf_packet(struct nci_dev *ndev,
						struct sk_buff *skb)
{}

static const __u8 *
nci_extract_rf_params_nfca_passive_poll(struct nci_dev *ndev,
					struct rf_tech_specific_params_nfca_poll *nfca_poll,
					const __u8 *data)
{}

static const __u8 *
nci_extract_rf_params_nfcb_passive_poll(struct nci_dev *ndev,
					struct rf_tech_specific_params_nfcb_poll *nfcb_poll,
					const __u8 *data)
{}

static const __u8 *
nci_extract_rf_params_nfcf_passive_poll(struct nci_dev *ndev,
					struct rf_tech_specific_params_nfcf_poll *nfcf_poll,
					const __u8 *data)
{}

static const __u8 *
nci_extract_rf_params_nfcv_passive_poll(struct nci_dev *ndev,
					struct rf_tech_specific_params_nfcv_poll *nfcv_poll,
					const __u8 *data)
{}

static const __u8 *
nci_extract_rf_params_nfcf_passive_listen(struct nci_dev *ndev,
					  struct rf_tech_specific_params_nfcf_listen *nfcf_listen,
					  const __u8 *data)
{}

static __u32 nci_get_prop_rf_protocol(struct nci_dev *ndev, __u8 rf_protocol)
{}

static int nci_add_new_protocol(struct nci_dev *ndev,
				struct nfc_target *target,
				__u8 rf_protocol,
				__u8 rf_tech_and_mode,
				const void *params)
{}

static void nci_add_new_target(struct nci_dev *ndev,
			       const struct nci_rf_discover_ntf *ntf)
{}

void nci_clear_target_list(struct nci_dev *ndev)
{}

static void nci_rf_discover_ntf_packet(struct nci_dev *ndev,
				       const struct sk_buff *skb)
{}

static int nci_extract_activation_params_iso_dep(struct nci_dev *ndev,
						 struct nci_rf_intf_activated_ntf *ntf,
						 const __u8 *data)
{}

static int nci_extract_activation_params_nfc_dep(struct nci_dev *ndev,
						 struct nci_rf_intf_activated_ntf *ntf,
						 const __u8 *data)
{}

static void nci_target_auto_activated(struct nci_dev *ndev,
				      const struct nci_rf_intf_activated_ntf *ntf)
{}

static int nci_store_general_bytes_nfc_dep(struct nci_dev *ndev,
					   const struct nci_rf_intf_activated_ntf *ntf)
{}

static void nci_rf_intf_activated_ntf_packet(struct nci_dev *ndev,
					     const struct sk_buff *skb)
{}

static void nci_rf_deactivate_ntf_packet(struct nci_dev *ndev,
					 const struct sk_buff *skb)
{}

static void nci_nfcee_discover_ntf_packet(struct nci_dev *ndev,
					  const struct sk_buff *skb)
{}

void nci_ntf_packet(struct nci_dev *ndev, struct sk_buff *skb)
{}