linux/drivers/net/wireless/microchip/wilc1000/netdev.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (c) 2012 - 2018 Microchip Technology Inc., and its subsidiaries.
 * All rights reserved.
 */

#include <linux/irq.h>
#include <linux/kthread.h>
#include <linux/firmware.h>
#include <linux/netdevice.h>
#include <linux/inetdevice.h>

#include "cfg80211.h"
#include "wlan_cfg.h"

#define WILC_MULTICAST_TABLE_SIZE
#define WILC_MAX_FW_VERSION_STR_SIZE

/* latest API version supported */
#define WILC1000_API_VER

#define WILC1000_FW_PREFIX
#define __WILC1000_FW(api)
#define WILC1000_FW(api)

static irqreturn_t isr_uh_routine(int irq, void *user_data)
{}

static irqreturn_t isr_bh_routine(int irq, void *userdata)
{}

static int init_irq(struct net_device *dev)
{}

static void deinit_irq(struct net_device *dev)
{}

void wilc_mac_indicate(struct wilc *wilc)
{}

static struct net_device *get_if_handler(struct wilc *wilc, u8 *mac_header)
{}

void wilc_wlan_set_bssid(struct net_device *wilc_netdev, const u8 *bssid,
			 u8 mode)
{}

int wilc_wlan_get_num_conn_ifcs(struct wilc *wilc)
{}

static void wilc_wake_tx_queues(struct wilc *wl)
{}

static int wilc_txq_task(void *vp)
{}

static int wilc_wlan_get_firmware(struct net_device *dev)
{}

static int wilc_start_firmware(struct net_device *dev)
{}

static int wilc1000_firmware_download(struct net_device *dev)
{}

static int wilc_init_fw_config(struct net_device *dev, struct wilc_vif *vif)
{}

static void wlan_deinitialize_threads(struct net_device *dev)
{}

static void wilc_wlan_deinitialize(struct net_device *dev)
{}

static int wlan_initialize_threads(struct net_device *dev)
{}

static int wilc_wlan_initialize(struct net_device *dev, struct wilc_vif *vif)
{}

static int mac_init_fn(struct net_device *ndev)
{}

static int wilc_mac_open(struct net_device *ndev)
{}

static struct net_device_stats *mac_stats(struct net_device *dev)
{}

static int wilc_set_mac_addr(struct net_device *dev, void *p)
{}

static void wilc_set_multicast_list(struct net_device *dev)
{}

static void wilc_tx_complete(void *priv, int status)
{}

netdev_tx_t wilc_mac_xmit(struct sk_buff *skb, struct net_device *ndev)
{}

static int wilc_mac_close(struct net_device *ndev)
{}

void wilc_frmw_to_host(struct wilc *wilc, u8 *buff, u32 size,
		       u32 pkt_offset)
{}

void wilc_wfi_mgmt_rx(struct wilc *wilc, u8 *buff, u32 size, bool is_auth)
{}

static const struct net_device_ops wilc_netdev_ops =;

void wilc_netdev_cleanup(struct wilc *wilc)
{}
EXPORT_SYMBOL_GPL();

static u8 wilc_get_available_idx(struct wilc *wl)
{}

struct wilc_vif *wilc_netdev_ifc_init(struct wilc *wl, const char *name,
				      int vif_type, enum nl80211_iftype type,
				      bool rtnl_locked)
{}
EXPORT_SYMBOL_GPL();

MODULE_DESCRIPTION();
MODULE_LICENSE();
MODULE_FIRMWARE();