Lines Matching +full:legacy +full:- +full:mode

1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * Copyright(c) 2003 - 2014, 2023 Intel Corporation. All rights reserved.
12 #include "iwl-config.h"
49 IWL_RATE_COUNT_LEGACY = IWL_RATE_COUNT - 1, /* Excluding 60M */
67 IWL_RATE_INVM_INDEX_TABLE = IWL_RATE_INVM_INDEX - 1,
92 /* uCode API values for legacy bit rates, both OFDM and CCK */
111 /* uCode API values for OFDM high-throughput (HT) bit rates */
159 #define IWL_RATES_MASK ((1 << IWL_RATE_COUNT) - 1)
161 #define IWL_INVALID_VALUE -1
163 #define IWL_MIN_RSSI_VAL -100
167 * searching for a new modulation mode */
183 /* possible actions when in legacy mode */
192 /* possible actions when in siso mode */
202 /* possible actions when in mimo mode */
212 /* possible actions when in mimo3 mode */
231 #define LQ_SIZE 2 /* 2 mode tables: "Active" and "Search" */
233 /* load per tid defines for A-MPDU activation */
241 #define TID_MAX_TIME_DIFF ((TID_QUEUE_MAX_SIZE - 1) * TID_QUEUE_CELL_SPACING)
242 #define TIME_WRAP_AROUND(x, y) (((y) > (x)) ? (y) - (x) : (0-(x)) + (y))
248 LQ_G, /* legacy types */
250 LQ_SISO, /* high-throughput types */
273 * struct iwl_rate_scale_data -- tx success history for one rate
278 s32 success_ratio; /* per-cent * 128 */
285 * struct iwl_scale_tbl_info -- tx params and success history for all rates
296 u8 action; /* change modulation; IWL_[LEGACY/SISO/MIMO]_SWITCH_* */
315 * struct iwl_lq_sta -- driver's rate scaling private structure
320 u8 active_tbl; /* index of active table, range 0-1 */
321 u8 enable_counter; /* indicates HT mode */
322 u8 stay_in_tbl; /* 1: disallow, 0: allow search for new mode */
323 u8 search_better_tbl; /* 1: currently trying alternate mode */
326 /* The following determine when to search for a new mode */
333 u64 flush_timer; /* time staying in mode before new search */
335 u8 action_counter; /* # mode-switch actions tried */
383 * iwl_rate_control_register - Register the rate control algorithm callbacks
395 * iwl_rate_control_unregister - Unregister the rate control callbacks