mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 12:35:52 +02:00
wifi: iwlwifi: api: link context action in kernel-doc
This is clearer in kernel-doc than spelling out the prefix. It also lets us generate better tracing data. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Gregory Greenman <gregory.greenman@intel.com> Link: https://lore.kernel.org/r/20230601171633.e11ece794f60.I9874c7b0437071a2620d68ca5a16efed60da07a9@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
4c8d5c8d07
commit
59505471a1
|
|
@ -1,6 +1,6 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
|
||||
/*
|
||||
* Copyright (C) 2012-2014, 2020 Intel Corporation
|
||||
* Copyright (C) 2012-2014, 2020, 2022 Intel Corporation
|
||||
* Copyright (C) 2013-2015 Intel Mobile Communications GmbH
|
||||
* Copyright (C) 2016-2017 Intel Deutschland GmbH
|
||||
*/
|
||||
|
|
@ -18,7 +18,7 @@
|
|||
* ( BINDING_CONTEXT_CMD = 0x2b )
|
||||
* @id_and_color: ID and color of the relevant Binding,
|
||||
* &enum iwl_ctxt_id_and_color
|
||||
* @action: action to perform, one of FW_CTXT_ACTION_*
|
||||
* @action: action to perform, see &enum iwl_ctxt_action
|
||||
* @macs: array of MAC id and colors which belong to the binding,
|
||||
* &enum iwl_ctxt_id_and_color
|
||||
* @phy: PHY id and color which belongs to the binding,
|
||||
|
|
@ -38,7 +38,7 @@ struct iwl_binding_cmd_v1 {
|
|||
* ( BINDING_CONTEXT_CMD = 0x2b )
|
||||
* @id_and_color: ID and color of the relevant Binding,
|
||||
* &enum iwl_ctxt_id_and_color
|
||||
* @action: action to perform, one of FW_CTXT_ACTION_*
|
||||
* @action: action to perform, see &enum iwl_ctxt_action
|
||||
* @macs: array of MAC id and colors which belong to the binding
|
||||
* &enum iwl_ctxt_id_and_color
|
||||
* @phy: PHY id and color which belongs to the binding
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
|
||||
/*
|
||||
* Copyright (C) 2012-2014 Intel Corporation
|
||||
* Copyright (C) 2012-2014, 2022 Intel Corporation
|
||||
* Copyright (C) 2013-2015 Intel Mobile Communications GmbH
|
||||
* Copyright (C) 2016-2017 Intel Deutschland GmbH
|
||||
*/
|
||||
|
|
@ -26,13 +26,18 @@ enum iwl_ctxt_id_and_color {
|
|||
#define FW_CMD_ID_AND_COLOR(_id, _color) (((_id) << FW_CTXT_ID_POS) |\
|
||||
((_color) << FW_CTXT_COLOR_POS))
|
||||
|
||||
/* Possible actions on PHYs, MACs and Bindings */
|
||||
/**
|
||||
* enum iwl_ctxt_action - Posssible actions on PHYs, MACs, Bindings and other
|
||||
* @FW_CTXT_ACTION_INVALID: unused, invalid action
|
||||
* @FW_CTXT_ACTION_ADD: add the context
|
||||
* @FW_CTXT_ACTION_MODIFY: modify the context
|
||||
* @FW_CTXT_ACTION_REMOVE: remove the context
|
||||
*/
|
||||
enum iwl_ctxt_action {
|
||||
FW_CTXT_ACTION_STUB = 0,
|
||||
FW_CTXT_ACTION_INVALID = 0,
|
||||
FW_CTXT_ACTION_ADD,
|
||||
FW_CTXT_ACTION_MODIFY,
|
||||
FW_CTXT_ACTION_REMOVE,
|
||||
FW_CTXT_ACTION_NUM
|
||||
}; /* COMMON_CONTEXT_ACTION_API_E_VER_1 */
|
||||
|
||||
#endif /* __iwl_fw_api_context_h__ */
|
||||
|
|
|
|||
|
|
@ -193,7 +193,7 @@ struct iwl_cancel_channel_switch_cmd {
|
|||
* struct iwl_chan_switch_te_cmd - Channel Switch Time Event command
|
||||
*
|
||||
* @mac_id: MAC ID for channel switch
|
||||
* @action: action to perform, one of FW_CTXT_ACTION_*
|
||||
* @action: action to perform, see &enum iwl_ctxt_action
|
||||
* @tsf: beacon tsf
|
||||
* @cs_count: channel switch count from CSA/eCSA IE
|
||||
* @cs_delayed_bcn_count: if set to N (!= 0) GO/AP can delay N beacon intervals
|
||||
|
|
@ -296,7 +296,7 @@ enum iwl_mac_config_filter_flags {
|
|||
* ( MAC_CONTEXT_CONFIG_CMD = 0x8 )
|
||||
*
|
||||
* @id_and_color: ID and color of the MAC
|
||||
* @action: action to perform, one of FW_CTXT_ACTION_*
|
||||
* @action: action to perform, see &enum iwl_ctxt_action
|
||||
* @mac_type: one of &enum iwl_mac_types
|
||||
* @local_mld_addr: mld address
|
||||
* @reserved_for_local_mld_addr: reserved
|
||||
|
|
@ -423,7 +423,7 @@ enum iwl_link_ctx_flags {
|
|||
* in MLD API
|
||||
* ( LINK_CONFIG_CMD =0x9 )
|
||||
*
|
||||
* @action: action to perform, one of FW_CTXT_ACTION_*
|
||||
* @action: action to perform, see &enum iwl_ctxt_action
|
||||
* @link_id: the id of the link that this cmd configures
|
||||
* @mac_id: interface ID. Relevant only if action is FW_CTXT_ACTION_ADD
|
||||
* @phy_id: PHY index. Can be changed only if the link was inactive
|
||||
|
|
|
|||
|
|
@ -295,7 +295,7 @@ struct iwl_ac_qos {
|
|||
* struct iwl_mac_ctx_cmd - command structure to configure MAC contexts
|
||||
* ( MAC_CONTEXT_CMD = 0x28 )
|
||||
* @id_and_color: ID and color of the MAC
|
||||
* @action: action to perform, one of FW_CTXT_ACTION_*
|
||||
* @action: action to perform, see &enum iwl_ctxt_action
|
||||
* @mac_type: one of &enum iwl_mac_types
|
||||
* @tsf_id: TSF HW timer, one of &enum iwl_tsf_id
|
||||
* @node_addr: MAC address
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
|
||||
/*
|
||||
* Copyright (C) 2012-2014, 2018, 2020-2021 Intel Corporation
|
||||
* Copyright (C) 2012-2014, 2018, 2020-2022 Intel Corporation
|
||||
* Copyright (C) 2013-2015 Intel Mobile Communications GmbH
|
||||
* Copyright (C) 2016-2017 Intel Deutschland GmbH
|
||||
*/
|
||||
|
|
@ -116,7 +116,7 @@ struct iwl_phy_context_cmd_tail {
|
|||
* struct iwl_phy_context_cmd - config of the PHY context
|
||||
* ( PHY_CONTEXT_CMD = 0x8 )
|
||||
* @id_and_color: ID and color of the relevant Binding
|
||||
* @action: action to perform, one of FW_CTXT_ACTION_*
|
||||
* @action: action to perform, see &enum iwl_ctxt_action
|
||||
* @apply_time: 0 means immediate apply and context switch.
|
||||
* other value means apply new params after X usecs
|
||||
* @tx_param_color: ???
|
||||
|
|
@ -138,7 +138,7 @@ struct iwl_phy_context_cmd_v1 {
|
|||
* struct iwl_phy_context_cmd - config of the PHY context
|
||||
* ( PHY_CONTEXT_CMD = 0x8 )
|
||||
* @id_and_color: ID and color of the relevant Binding
|
||||
* @action: action to perform, one of FW_CTXT_ACTION_*
|
||||
* @action: action to perform, see &enum iwl_ctxt_action
|
||||
* @lmac_id: the lmac id the phy context belongs to
|
||||
* @ci: channel info
|
||||
* @rxchain_info: ???
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
|
||||
/*
|
||||
* Copyright (C) 2012-2014, 2018-2020 Intel Corporation
|
||||
* Copyright (C) 2012-2014, 2018-2020, 2022 Intel Corporation
|
||||
* Copyright (C) 2013-2015 Intel Mobile Communications GmbH
|
||||
* Copyright (C) 2016-2017 Intel Deutschland GmbH
|
||||
*/
|
||||
|
|
@ -292,7 +292,7 @@ struct iwl_hs20_roc_req_tail {
|
|||
* ( HOT_SPOT_CMD 0x53 )
|
||||
*
|
||||
* @id_and_color: ID and color of the MAC
|
||||
* @action: action to perform, one of FW_CTXT_ACTION_*
|
||||
* @action: action to perform, see &enum iwl_ctxt_action
|
||||
* @event_unique_id: If the action FW_CTXT_ACTION_REMOVE then the
|
||||
* event_unique_id should be the id of the time event assigned by ucode.
|
||||
* Otherwise ignore the event_unique_id.
|
||||
|
|
@ -377,7 +377,8 @@ enum iwl_mvm_session_prot_conf_id {
|
|||
* struct iwl_mvm_session_prot_cmd - configure a session protection
|
||||
* @id_and_color: the id and color of the mac for which this session protection
|
||||
* is sent
|
||||
* @action: can be either FW_CTXT_ACTION_ADD or FW_CTXT_ACTION_REMOVE
|
||||
* @action: can be either FW_CTXT_ACTION_ADD or FW_CTXT_ACTION_REMOVE,
|
||||
* see &enum iwl_ctxt_action
|
||||
* @conf_id: see &enum iwl_mvm_session_prot_conf_id
|
||||
* @duration_tu: the duration of the whole protection in TUs.
|
||||
* @repetition_count: not used
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user