mvm.h (fc612222416ce206e01d7509b013bad41a051d83) mvm.h (df966c93f5a9c060df525272d9c1eb37795a88f5)
1/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
2/*
3 * Copyright (C) 2012-2014, 2018-2024 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
6 */
7#ifndef __IWL_MVM_H__
8#define __IWL_MVM_H__

--- 355 unchanged lines hidden (view full) ---

364 * @IWL_MVM_ESR_EXIT_MISSED_BEACON: exited EMLSR due to missed beacons
365 * @IWL_MVM_ESR_EXIT_LOW_RSSI: link is deactivated/not allowed for EMLSR
366 * due to low RSSI.
367 * @IWL_MVM_ESR_EXIT_COEX: link is deactivated/not allowed for EMLSR
368 * due to BT Coex.
369 * @IWL_MVM_ESR_EXIT_BANDWIDTH: Bandwidths of primary and secondry links
370 * preventing the enablement of EMLSR
371 * @IWL_MVM_ESR_EXIT_CSA: CSA happened, so exit EMLSR
1/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
2/*
3 * Copyright (C) 2012-2014, 2018-2024 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
6 */
7#ifndef __IWL_MVM_H__
8#define __IWL_MVM_H__

--- 355 unchanged lines hidden (view full) ---

364 * @IWL_MVM_ESR_EXIT_MISSED_BEACON: exited EMLSR due to missed beacons
365 * @IWL_MVM_ESR_EXIT_LOW_RSSI: link is deactivated/not allowed for EMLSR
366 * due to low RSSI.
367 * @IWL_MVM_ESR_EXIT_COEX: link is deactivated/not allowed for EMLSR
368 * due to BT Coex.
369 * @IWL_MVM_ESR_EXIT_BANDWIDTH: Bandwidths of primary and secondry links
370 * preventing the enablement of EMLSR
371 * @IWL_MVM_ESR_EXIT_CSA: CSA happened, so exit EMLSR
372 * @IWL_MVM_ESR_EXIT_LINK_USAGE: Exit EMLSR due to low tpt on secondary link
372 */
373enum iwl_mvm_esr_state {
374 IWL_MVM_ESR_BLOCKED_PREVENTION = 0x1,
375 IWL_MVM_ESR_BLOCKED_WOWLAN = 0x2,
376 IWL_MVM_ESR_BLOCKED_TPT = 0x4,
377 IWL_MVM_ESR_BLOCKED_FW = 0x8,
378 IWL_MVM_ESR_BLOCKED_NON_BSS = 0x10,
379 IWL_MVM_ESR_EXIT_MISSED_BEACON = 0x10000,
380 IWL_MVM_ESR_EXIT_LOW_RSSI = 0x20000,
381 IWL_MVM_ESR_EXIT_COEX = 0x40000,
382 IWL_MVM_ESR_EXIT_BANDWIDTH = 0x80000,
383 IWL_MVM_ESR_EXIT_CSA = 0x100000,
373 */
374enum iwl_mvm_esr_state {
375 IWL_MVM_ESR_BLOCKED_PREVENTION = 0x1,
376 IWL_MVM_ESR_BLOCKED_WOWLAN = 0x2,
377 IWL_MVM_ESR_BLOCKED_TPT = 0x4,
378 IWL_MVM_ESR_BLOCKED_FW = 0x8,
379 IWL_MVM_ESR_BLOCKED_NON_BSS = 0x10,
380 IWL_MVM_ESR_EXIT_MISSED_BEACON = 0x10000,
381 IWL_MVM_ESR_EXIT_LOW_RSSI = 0x20000,
382 IWL_MVM_ESR_EXIT_COEX = 0x40000,
383 IWL_MVM_ESR_EXIT_BANDWIDTH = 0x80000,
384 IWL_MVM_ESR_EXIT_CSA = 0x100000,
385 IWL_MVM_ESR_EXIT_LINK_USAGE = 0x200000,
384};
385
386#define IWL_MVM_BLOCK_ESR_REASONS 0xffff
387
388const char *iwl_get_esr_state_string(enum iwl_mvm_esr_state state);
389
390/**
391 * struct iwl_mvm_esr_exit - details of the last exit from EMLSR mode.

--- 2563 unchanged lines hidden ---
386};
387
388#define IWL_MVM_BLOCK_ESR_REASONS 0xffff
389
390const char *iwl_get_esr_state_string(enum iwl_mvm_esr_state state);
391
392/**
393 * struct iwl_mvm_esr_exit - details of the last exit from EMLSR mode.

--- 2563 unchanged lines hidden ---