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

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

#include <linux/bitfield.h>
#include "wlan_if.h"
#include "wlan.h"
#include "wlan_cfg.h"
#include "netdev.h"

enum cfg_cmd_type {};

static const struct wilc_cfg_byte g_cfg_byte[] =;

static const struct wilc_cfg_hword g_cfg_hword[] =;

static const struct wilc_cfg_word g_cfg_word[] =;

static const struct wilc_cfg_str g_cfg_str[] =;

#define WILC_RESP_MSG_TYPE_CONFIG_REPLY
#define WILC_RESP_MSG_TYPE_STATUS_INFO
#define WILC_RESP_MSG_TYPE_NETWORK_INFO
#define WILC_RESP_MSG_TYPE_SCAN_COMPLETE

/********************************************
 *
 *      Configuration Functions
 *
 ********************************************/

static int wilc_wlan_cfg_set_byte(u8 *frame, u32 offset, u16 id, u8 val8)
{}

static int wilc_wlan_cfg_set_hword(u8 *frame, u32 offset, u16 id, u16 val16)
{}

static int wilc_wlan_cfg_set_word(u8 *frame, u32 offset, u16 id, u32 val32)
{}

static int wilc_wlan_cfg_set_str(u8 *frame, u32 offset, u16 id, u8 *str,
				 u32 size)
{}

static int wilc_wlan_cfg_set_bin(u8 *frame, u32 offset, u16 id, u8 *b, u32 size)
{}

/********************************************
 *
 *      Configuration Response Functions
 *
 ********************************************/

static void wilc_wlan_parse_response_frame(struct wilc *wl, u8 *info, int size)
{}

static void wilc_wlan_parse_info_frame(struct wilc *wl, u8 *info)
{}

/********************************************
 *
 *      Configuration Exported Functions
 *
 ********************************************/

int wilc_wlan_cfg_set_wid(u8 *frame, u32 offset, u16 id, u8 *buf, int size)
{}

int wilc_wlan_cfg_get_wid(u8 *frame, u32 offset, u16 id)
{}

int wilc_wlan_cfg_get_val(struct wilc *wl, u16 wid, u8 *buffer,
			  u32 buffer_size)
{}

void wilc_wlan_cfg_indicate_rx(struct wilc *wilc, u8 *frame, int size,
			       struct wilc_cfg_rsp *rsp)
{}

int wilc_wlan_cfg_init(struct wilc *wl)
{}

void wilc_wlan_cfg_deinit(struct wilc *wl)
{}