Lines Matching refs:add_sta_cmd
59 struct iwl_mvm_add_sta_cmd add_sta_cmd = { in iwl_mvm_sta_send_to_fw() local
73 add_sta_cmd.station_type = mvm_sta->sta_type; in iwl_mvm_sta_send_to_fw()
76 memcpy(&add_sta_cmd.addr, sta->addr, ETH_ALEN); in iwl_mvm_sta_send_to_fw()
79 add_sta_cmd.tfd_queue_msk = in iwl_mvm_sta_send_to_fw()
83 add_sta_cmd.modify_mask |= STA_MODIFY_QUEUES; in iwl_mvm_sta_send_to_fw()
92 add_sta_cmd.station_flags |= cpu_to_le32(STA_FLG_FAT_EN_160MHZ); in iwl_mvm_sta_send_to_fw()
95 add_sta_cmd.station_flags |= cpu_to_le32(STA_FLG_FAT_EN_80MHZ); in iwl_mvm_sta_send_to_fw()
98 add_sta_cmd.station_flags |= cpu_to_le32(STA_FLG_FAT_EN_40MHZ); in iwl_mvm_sta_send_to_fw()
102 add_sta_cmd.station_flags |= in iwl_mvm_sta_send_to_fw()
109 add_sta_cmd.station_flags |= cpu_to_le32(STA_FLG_MIMO_EN_SISO); in iwl_mvm_sta_send_to_fw()
112 add_sta_cmd.station_flags |= cpu_to_le32(STA_FLG_MIMO_EN_MIMO2); in iwl_mvm_sta_send_to_fw()
115 add_sta_cmd.station_flags |= cpu_to_le32(STA_FLG_MIMO_EN_MIMO3); in iwl_mvm_sta_send_to_fw()
126 add_sta_cmd.station_flags &= ~cpu_to_le32(STA_FLG_MIMO_EN_MSK); in iwl_mvm_sta_send_to_fw()
127 add_sta_cmd.station_flags |= cpu_to_le32(STA_FLG_MIMO_EN_SISO); in iwl_mvm_sta_send_to_fw()
130 add_sta_cmd.station_flags |= cpu_to_le32(STA_FLG_RTS_MIMO_PROT); in iwl_mvm_sta_send_to_fw()
138 add_sta_cmd.station_flags_msk |= in iwl_mvm_sta_send_to_fw()
146 add_sta_cmd.station_flags_msk |= in iwl_mvm_sta_send_to_fw()
180 add_sta_cmd.station_flags |= in iwl_mvm_sta_send_to_fw()
182 add_sta_cmd.station_flags |= in iwl_mvm_sta_send_to_fw()
185 add_sta_cmd.assoc_id = cpu_to_le16(sta->aid); in iwl_mvm_sta_send_to_fw()
188 add_sta_cmd.modify_mask |= STA_MODIFY_UAPSD_ACS; in iwl_mvm_sta_send_to_fw()
191 add_sta_cmd.uapsd_acs |= BIT(AC_BK); in iwl_mvm_sta_send_to_fw()
193 add_sta_cmd.uapsd_acs |= BIT(AC_BE); in iwl_mvm_sta_send_to_fw()
195 add_sta_cmd.uapsd_acs |= BIT(AC_VI); in iwl_mvm_sta_send_to_fw()
197 add_sta_cmd.uapsd_acs |= BIT(AC_VO); in iwl_mvm_sta_send_to_fw()
198 add_sta_cmd.uapsd_acs |= add_sta_cmd.uapsd_acs << 4; in iwl_mvm_sta_send_to_fw()
199 add_sta_cmd.sp_length = sta->max_sp ? sta->max_sp * 2 : 128; in iwl_mvm_sta_send_to_fw()
205 &add_sta_cmd, &status); in iwl_mvm_sta_send_to_fw()