linux/drivers/net/wireless/ti/wlcore/ini.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * This file is part of wl1271
 *
 * Copyright (C) 2010 Nokia Corporation
 *
 * Contact: Luciano Coelho <[email protected]>
 */

#ifndef __INI_H__
#define __INI_H__

#define GENERAL_SETTINGS_DRPW_LPD
#define SCRATCH_ENABLE_LPD

#define WL1271_INI_MAX_SMART_REFLEX_PARAM

struct wl1271_ini_general_params {} __packed;

#define WL128X_INI_MAX_SETTINGS_PARAM

struct wl128x_ini_general_params {} __packed;

#define WL1271_INI_RSSI_PROCESS_COMPENS_SIZE

struct wl1271_ini_band_params_2 {} __packed;

#define WL1271_INI_CHANNEL_COUNT_2

struct wl128x_ini_band_params_2 {} __packed;

#define WL1271_INI_RATE_GROUP_COUNT

struct wl1271_ini_fem_params_2 {} __packed;

#define WL128X_INI_RATE_GROUP_COUNT
/* low and high temperatures */
#define WL128X_INI_PD_VS_TEMPERATURE_RANGES

struct wl128x_ini_fem_params_2 {} __packed;

#define WL1271_INI_CHANNEL_COUNT_5
#define WL1271_INI_SUB_BAND_COUNT_5

struct wl1271_ini_band_params_5 {} __packed;

struct wl128x_ini_band_params_5 {} __packed;

struct wl1271_ini_fem_params_5 {} __packed;

struct wl128x_ini_fem_params_5 {} __packed;

/* NVS data structure */
#define WL1271_INI_NVS_SECTION_SIZE

/* We have four FEM module types: 0-RFMD, 1-TQS, 2-SKW, 3-TQS_HP */
#define WL1271_INI_FEM_MODULE_COUNT

/*
 * In NVS we only store two FEM module entries -
 *	  FEM modules 0,2,3 are stored in entry 0
 *	  FEM module 1 is stored in entry 1
 */
#define WL12XX_NVS_FEM_MODULE_COUNT

#define WL12XX_FEM_TO_NVS_ENTRY(ini_fem_module)

#define WL1271_INI_LEGACY_NVS_FILE_SIZE

struct wl1271_nvs_file {} __packed;

struct wl128x_nvs_file {} __packed;
#endif