linux/net/wireless/lib80211.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * lib80211 -- common bits for IEEE802.11 drivers
 *
 * Copyright(c) 2008 John W. Linville <[email protected]>
 *
 * Portions copied from old ieee80211 component, w/ original copyright
 * notices below:
 *
 * Host AP crypto routines
 *
 * Copyright (c) 2002-2003, Jouni Malinen <[email protected]>
 * Portions Copyright (C) 2004, Intel Corporation <[email protected]>
 *
 */

#define pr_fmt(fmt)

#include <linux/module.h>
#include <linux/ctype.h>
#include <linux/ieee80211.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/string.h>

#include <net/lib80211.h>

#define DRV_DESCRIPTION

MODULE_DESCRIPTION();
MODULE_AUTHOR();
MODULE_LICENSE();

struct lib80211_crypto_alg {};

static LIST_HEAD(lib80211_crypto_algs);
static DEFINE_SPINLOCK(lib80211_crypto_lock);

static void lib80211_crypt_deinit_entries(struct lib80211_crypt_info *info,
					  int force);
static void lib80211_crypt_quiescing(struct lib80211_crypt_info *info);
static void lib80211_crypt_deinit_handler(struct timer_list *t);

int lib80211_crypt_info_init(struct lib80211_crypt_info *info, char *name,
				spinlock_t *lock)
{}
EXPORT_SYMBOL();

void lib80211_crypt_info_free(struct lib80211_crypt_info *info)
{}
EXPORT_SYMBOL();

static void lib80211_crypt_deinit_entries(struct lib80211_crypt_info *info,
					  int force)
{}

/* After this, crypt_deinit_list won't accept new members */
static void lib80211_crypt_quiescing(struct lib80211_crypt_info *info)
{}

static void lib80211_crypt_deinit_handler(struct timer_list *t)
{}

void lib80211_crypt_delayed_deinit(struct lib80211_crypt_info *info,
				    struct lib80211_crypt_data **crypt)
{}
EXPORT_SYMBOL();

int lib80211_register_crypto_ops(struct lib80211_crypto_ops *ops)
{}
EXPORT_SYMBOL();

int lib80211_unregister_crypto_ops(struct lib80211_crypto_ops *ops)
{}
EXPORT_SYMBOL();

struct lib80211_crypto_ops *lib80211_get_crypto_ops(const char *name)
{}
EXPORT_SYMBOL();

static void *lib80211_crypt_null_init(int keyidx)
{}

static void lib80211_crypt_null_deinit(void *priv)
{}

static struct lib80211_crypto_ops lib80211_crypt_null =;

static int __init lib80211_init(void)
{}

static void __exit lib80211_exit(void)
{}

module_init();
module_exit(lib80211_exit);