<def f='src/src/sys/dev/pci/if_iwmreg.h' l='5075' ll='5099'/>
<size>104</size>
<doc f='src/src/sys/dev/pci/if_iwmreg.h' l='5035'>/**
 * struct iwm_mvm_add_sta_cmd_v5 - Add/modify a station in the fw&apos;s sta table.
 * ( IWM_REPLY_ADD_STA = 0x18 )
 * @add_modify: 1: modify existing, 0: add new station
 * @unicast_tx_key_id: unicast tx key id. Relevant only when unicast key sent
 * @multicast_tx_key_id: multicast tx key id. Relevant only when multicast key
 *	sent
 * @mac_id_n_color: the Mac context this station belongs to
 * @addr[ETHER_ADDR_LEN]: station&apos;s MAC address
 * @sta_id: index of station in uCode&apos;s station table
 * @modify_mask: IWM_STA_MODIFY_*, selects which parameters to modify vs. leave
 *	alone. 1 - modify, 0 - don&apos;t change.
 * @key: look at %iwm_mvm_keyinfo
 * @station_flags: look at %iwm_sta_flags
 * @station_flags_msk: what of %station_flags have changed
 * @tid_disable_tx: is tid BIT(tid) enabled for Tx. Clear BIT(x) to enable
 *	AMPDU for tid x. Set %IWM_STA_MODIFY_TID_DISABLE_TX to change this field.
 * @add_immediate_ba_tid: tid for which to add block-ack support (Rx)
 *	Set %IWM_STA_MODIFY_ADD_BA_TID to use this field, and also set
 *	add_immediate_ba_ssn.
 * @remove_immediate_ba_tid: tid for which to remove block-ack support (Rx)
 *	Set %IWM_STA_MODIFY_REMOVE_BA_TID to use this field
 * @add_immediate_ba_ssn: ssn for the Rx block-ack session. Used together with
 *	add_immediate_ba_tid.
 * @sleep_tx_count: number of packets to transmit to station even though it is
 *	asleep. Used to synchronise PS-poll and u-APSD responses while ucode
 *	keeps track of STA sleep state.
 * @sleep_state_flags: Look at %iwm_sta_sleep_flag.
 * @assoc_id: assoc_id to be sent in VHT PLCP (9-bit), for grp use 0, for AP
 *	mac-addr.
 * @beamform_flags: beam forming controls
 * @tfd_queue_msk: tfd queues used by this station
 *
 * The device contains an internal table of per-station information, with info
 * on security keys, aggregation parameters, and Tx rates for initial Tx
 * attempt and any retries (set by IWM_REPLY_TX_LINK_QUALITY_CMD).
 *
 * ADD_STA sets up the table entry for one station, either creating a new
 * entry, or modifying a pre-existing one.
 */</doc>
<mbr r='iwm_mvm_add_sta_cmd_v5::add_modify' o='0' t='__uint8_t'/>
<mbr r='iwm_mvm_add_sta_cmd_v5::unicast_tx_key_id' o='8' t='__uint8_t'/>
<mbr r='iwm_mvm_add_sta_cmd_v5::multicast_tx_key_id' o='16' t='__uint8_t'/>
<mbr r='iwm_mvm_add_sta_cmd_v5::reserved1' o='24' t='__uint8_t'/>
<mbr r='iwm_mvm_add_sta_cmd_v5::mac_id_n_color' o='32' t='__uint32_t'/>
<mbr r='iwm_mvm_add_sta_cmd_v5::addr' o='64' t='__uint8_t [6]'/>
<mbr r='iwm_mvm_add_sta_cmd_v5::reserved2' o='112' t='__uint16_t'/>
<mbr r='iwm_mvm_add_sta_cmd_v5::sta_id' o='128' t='__uint8_t'/>
<mbr r='iwm_mvm_add_sta_cmd_v5::modify_mask' o='136' t='__uint8_t'/>
<mbr r='iwm_mvm_add_sta_cmd_v5::reserved3' o='144' t='__uint16_t'/>
<mbr r='iwm_mvm_add_sta_cmd_v5::key' o='160' t='struct iwm_mvm_keyinfo'/>
<mbr r='iwm_mvm_add_sta_cmd_v5::station_flags' o='608' t='__uint32_t'/>
<mbr r='iwm_mvm_add_sta_cmd_v5::station_flags_msk' o='640' t='__uint32_t'/>
<mbr r='iwm_mvm_add_sta_cmd_v5::tid_disable_tx' o='672' t='__uint16_t'/>
<mbr r='iwm_mvm_add_sta_cmd_v5::reserved4' o='688' t='__uint16_t'/>
<mbr r='iwm_mvm_add_sta_cmd_v5::add_immediate_ba_tid' o='704' t='__uint8_t'/>
<mbr r='iwm_mvm_add_sta_cmd_v5::remove_immediate_ba_tid' o='712' t='__uint8_t'/>
<mbr r='iwm_mvm_add_sta_cmd_v5::add_immediate_ba_ssn' o='720' t='__uint16_t'/>
<mbr r='iwm_mvm_add_sta_cmd_v5::sleep_tx_count' o='736' t='__uint16_t'/>
<mbr r='iwm_mvm_add_sta_cmd_v5::sleep_state_flags' o='752' t='__uint16_t'/>
<mbr r='iwm_mvm_add_sta_cmd_v5::assoc_id' o='768' t='__uint16_t'/>
<mbr r='iwm_mvm_add_sta_cmd_v5::beamform_flags' o='784' t='__uint16_t'/>
<mbr r='iwm_mvm_add_sta_cmd_v5::tfd_queue_msk' o='800' t='__uint32_t'/>
