linux/drivers/net/wireless/ti/wl1251/init.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * This file is part of wl1251
 *
 * Copyright (C) 2009 Nokia Corporation
 */

#ifndef __WL1251_INIT_H__
#define __WL1251_INIT_H__

#include "wl1251.h"

enum {};

/* following are defult values for the IE fields*/
#define CWMIN_BK
#define CWMIN_BE
#define CWMIN_VI
#define CWMIN_VO
#define CWMAX_BK
#define CWMAX_BE
#define CWMAX_VI
#define CWMAX_VO

/* slot number setting to start transmission at PIFS interval */
#define AIFS_PIFS

/*
 * slot number setting to start transmission at DIFS interval - normal DCF
 * access
 */
#define AIFS_DIFS

#define AIFSN_BK
#define AIFSN_BE
#define AIFSN_VI
#define AIFSN_VO
#define TXOP_BK
#define TXOP_BE
#define TXOP_VI
#define TXOP_VO

int wl1251_hw_init_hwenc_config(struct wl1251 *wl);
int wl1251_hw_init_templates_config(struct wl1251 *wl);
int wl1251_hw_init_rx_config(struct wl1251 *wl, u32 config, u32 filter);
int wl1251_hw_init_phy_config(struct wl1251 *wl);
int wl1251_hw_init_beacon_filter(struct wl1251 *wl);
int wl1251_hw_init_pta(struct wl1251 *wl);
int wl1251_hw_init_energy_detection(struct wl1251 *wl);
int wl1251_hw_init_beacon_broadcast(struct wl1251 *wl);
int wl1251_hw_init_power_auth(struct wl1251 *wl);
int wl1251_hw_init_mem_config(struct wl1251 *wl);
int wl1251_hw_init(struct wl1251 *wl);

#endif