linux/drivers/net/wireless/intel/iwlwifi/fw/api/sf.h

/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
/*
 * Copyright (C) 2012-2014 Intel Corporation
 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
 * Copyright (C) 2016-2017 Intel Deutschland GmbH
 */
#ifndef __iwl_fw_api_sf_h__
#define __iwl_fw_api_sf_h__

/* Smart Fifo state */
enum iwl_sf_state {};

/* Smart Fifo possible scenario */
enum iwl_sf_scenario {};

#define SF_TRANSIENT_STATES_NUMBER
#define SF_NUM_TIMEOUT_TYPES

/* smart FIFO default values */
#define SF_W_MARK_SISO
#define SF_W_MARK_MIMO2
#define SF_W_MARK_MIMO3
#define SF_W_MARK_LEGACY
#define SF_W_MARK_SCAN

/* SF Scenarios timers for default configuration (aligned to 32 uSec) */
#define SF_SINGLE_UNICAST_IDLE_TIMER_DEF
#define SF_SINGLE_UNICAST_AGING_TIMER_DEF
#define SF_AGG_UNICAST_IDLE_TIMER_DEF
#define SF_AGG_UNICAST_AGING_TIMER_DEF
#define SF_MCAST_IDLE_TIMER_DEF
#define SF_MCAST_AGING_TIMER_DEF
#define SF_BA_IDLE_TIMER_DEF
#define SF_BA_AGING_TIMER_DEF
#define SF_TX_RE_IDLE_TIMER_DEF
#define SF_TX_RE_AGING_TIMER_DEF

/* SF Scenarios timers for BSS MAC configuration (aligned to 32 uSec) */
#define SF_SINGLE_UNICAST_IDLE_TIMER
#define SF_SINGLE_UNICAST_AGING_TIMER
#define SF_AGG_UNICAST_IDLE_TIMER
#define SF_AGG_UNICAST_AGING_TIMER
#define SF_MCAST_IDLE_TIMER
#define SF_MCAST_AGING_TIMER
#define SF_BA_IDLE_TIMER
#define SF_BA_AGING_TIMER
#define SF_TX_RE_IDLE_TIMER
#define SF_TX_RE_AGING_TIMER

#define SF_LONG_DELAY_AGING_TIMER

#define SF_CFG_DUMMY_NOTIF_OFF

/**
 * struct iwl_sf_cfg_cmd - Smart Fifo configuration command.
 * @state: smart fifo state, types listed in &enum iwl_sf_state.
 * @watermark: Minimum allowed available free space in RXF for transient state.
 * @long_delay_timeouts: aging and idle timer values for each scenario
 * in long delay state.
 * @full_on_timeouts: timer values for each scenario in full on state.
 */
struct iwl_sf_cfg_cmd {} __packed; /* SF_CFG_API_S_VER_2 */

#endif /* __iwl_fw_api_sf_h__ */