The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/dev/iwlwifi/fw/api/rfi.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
    2 /*
    3  * Copyright (C) 2020-2021 Intel Corporation
    4  */
    5 #ifndef __iwl_fw_api_rfi_h__
    6 #define __iwl_fw_api_rfi_h__
    7 
    8 #define IWL_RFI_LUT_ENTRY_CHANNELS_NUM 15
    9 #define IWL_RFI_LUT_SIZE 24
   10 #define IWL_RFI_LUT_INSTALLED_SIZE 4
   11 
   12 /**
   13  * struct iwl_rfi_lut_entry - an entry in the RFI frequency LUT.
   14  *
   15  * @freq: frequency
   16  * @channels: channels that can be interfered at frequency freq (at most 15)
   17  * @bands: the corresponding bands
   18  */
   19 struct iwl_rfi_lut_entry {
   20         __le16 freq;
   21         u8 channels[IWL_RFI_LUT_ENTRY_CHANNELS_NUM];
   22         u8 bands[IWL_RFI_LUT_ENTRY_CHANNELS_NUM];
   23 } __packed;
   24 
   25 /**
   26  * struct iwl_rfi_config_cmd - RFI configuration table
   27  *
   28  * @entry: a table can have 24 frequency/channel mappings
   29  * @oem: specifies if this is the default table or set by OEM
   30  */
   31 struct iwl_rfi_config_cmd {
   32         struct iwl_rfi_lut_entry table[IWL_RFI_LUT_SIZE];
   33         u8 oem;
   34         u8 reserved[3];
   35 } __packed; /* RFI_CONFIG_CMD_API_S_VER_1 */
   36 
   37 /**
   38  * iwl_rfi_freq_table_status - status of the frequency table query
   39  * @RFI_FREQ_TABLE_OK: can be used
   40  * @RFI_FREQ_TABLE_DVFS_NOT_READY: DVFS is not ready yet, should try later
   41  * @RFI_FREQ_TABLE_DISABLED: the feature is disabled in FW
   42  */
   43 enum iwl_rfi_freq_table_status {
   44         RFI_FREQ_TABLE_OK,
   45         RFI_FREQ_TABLE_DVFS_NOT_READY,
   46         RFI_FREQ_TABLE_DISABLED,
   47 };
   48 
   49 /**
   50  * struct iwl_rfi_freq_table_resp_cmd - get the rfi freq table used by FW
   51  *
   52  * @table: table used by FW
   53  * @status: see &iwl_rfi_freq_table_status
   54  */
   55 struct iwl_rfi_freq_table_resp_cmd {
   56         struct iwl_rfi_lut_entry table[IWL_RFI_LUT_INSTALLED_SIZE];
   57         __le32 status;
   58 } __packed; /* RFI_CONFIG_CMD_API_S_VER_1 */
   59 
   60 /**
   61  * struct iwl_rfi_deactivate_notif - notifcation that FW disaled RFIm
   62  *
   63  * @reason: used only for a log message
   64  */
   65 struct iwl_rfi_deactivate_notif {
   66         __le32 reason;
   67 } __packed; /* RFI_DEACTIVATE_NTF_S_VER_1 */
   68 #endif /* __iwl_fw_api_rfi_h__ */

Cache object: e4563afe4c09d275fe189a6be133664a


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.