linux/drivers/nfc/st21nfca/vendor_cmds.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Proprietary commands extension for STMicroelectronics NFC Chip
 *
 * Copyright (C) 2014-2015  STMicroelectronics SAS. All rights reserved.
 */

#include <net/genetlink.h>
#include <linux/module.h>
#include <linux/nfc.h>
#include <net/nfc/hci.h>
#include <net/nfc/llc.h>

#include "st21nfca.h"

#define ST21NFCA_HCI_DM_GETDATA
#define ST21NFCA_HCI_DM_PUTDATA
#define ST21NFCA_HCI_DM_LOAD
#define ST21NFCA_HCI_DM_GETINFO
#define ST21NFCA_HCI_DM_UPDATE_AID
#define ST21NFCA_HCI_DM_RESET

#define ST21NFCA_HCI_DM_FIELD_GENERATOR

#define ST21NFCA_FACTORY_MODE_ON
#define ST21NFCA_FACTORY_MODE_OFF

#define ST21NFCA_EVT_POST_DATA

struct get_param_data {} __packed;

static int st21nfca_factory_mode(struct nfc_dev *dev, void *data,
			       size_t data_len)
{}

static int st21nfca_hci_clear_all_pipes(struct nfc_dev *dev, void *data,
				      size_t data_len)
{}

static int st21nfca_hci_dm_put_data(struct nfc_dev *dev, void *data,
				  size_t data_len)
{}

static int st21nfca_hci_dm_update_aid(struct nfc_dev *dev, void *data,
				    size_t data_len)
{}

static int st21nfca_hci_dm_get_info(struct nfc_dev *dev, void *data,
				    size_t data_len)
{}

static int st21nfca_hci_dm_get_data(struct nfc_dev *dev, void *data,
				    size_t data_len)
{}

static int st21nfca_hci_dm_load(struct nfc_dev *dev, void *data,
				size_t data_len)
{}

static int st21nfca_hci_dm_reset(struct nfc_dev *dev, void *data,
				 size_t data_len)
{}

static int st21nfca_hci_get_param(struct nfc_dev *dev, void *data,
				  size_t data_len)
{}

static int st21nfca_hci_dm_field_generator(struct nfc_dev *dev, void *data,
					   size_t data_len)
{}

int st21nfca_hci_loopback_event_received(struct nfc_hci_dev *hdev, u8 event,
					 struct sk_buff *skb)
{}
EXPORT_SYMBOL();

static int st21nfca_hci_loopback(struct nfc_dev *dev, void *data,
				 size_t data_len)
{}

static const struct nfc_vendor_cmd st21nfca_vendor_cmds[] =;

int st21nfca_vendor_cmds_init(struct nfc_hci_dev *hdev)
{}
EXPORT_SYMBOL();