Lines Matching refs:add_sta_cmd
132 struct iwl_mvm_add_sta_cmd add_sta_cmd = { in iwl_mvm_sta_send_to_fw() local
146 add_sta_cmd.station_type = mvm_sta->sta_type; in iwl_mvm_sta_send_to_fw()
149 memcpy(&add_sta_cmd.addr, sta->addr, ETH_ALEN); in iwl_mvm_sta_send_to_fw()
152 add_sta_cmd.tfd_queue_msk = in iwl_mvm_sta_send_to_fw()
156 add_sta_cmd.modify_mask |= STA_MODIFY_QUEUES; in iwl_mvm_sta_send_to_fw()
165 add_sta_cmd.station_flags |= cpu_to_le32(STA_FLG_FAT_EN_160MHZ); in iwl_mvm_sta_send_to_fw()
168 add_sta_cmd.station_flags |= cpu_to_le32(STA_FLG_FAT_EN_80MHZ); in iwl_mvm_sta_send_to_fw()
171 add_sta_cmd.station_flags |= cpu_to_le32(STA_FLG_FAT_EN_40MHZ); in iwl_mvm_sta_send_to_fw()
175 add_sta_cmd.station_flags |= in iwl_mvm_sta_send_to_fw()
182 add_sta_cmd.station_flags |= cpu_to_le32(STA_FLG_MIMO_EN_SISO); in iwl_mvm_sta_send_to_fw()
185 add_sta_cmd.station_flags |= cpu_to_le32(STA_FLG_MIMO_EN_MIMO2); in iwl_mvm_sta_send_to_fw()
188 add_sta_cmd.station_flags |= cpu_to_le32(STA_FLG_MIMO_EN_MIMO3); in iwl_mvm_sta_send_to_fw()
199 add_sta_cmd.station_flags &= ~cpu_to_le32(STA_FLG_MIMO_EN_MSK); in iwl_mvm_sta_send_to_fw()
200 add_sta_cmd.station_flags |= cpu_to_le32(STA_FLG_MIMO_EN_SISO); in iwl_mvm_sta_send_to_fw()
203 add_sta_cmd.station_flags |= cpu_to_le32(STA_FLG_RTS_MIMO_PROT); in iwl_mvm_sta_send_to_fw()
212 add_sta_cmd.station_flags_msk |= in iwl_mvm_sta_send_to_fw()
219 add_sta_cmd.station_flags |= in iwl_mvm_sta_send_to_fw()
221 add_sta_cmd.station_flags |= in iwl_mvm_sta_send_to_fw()
225 add_sta_cmd.assoc_id = cpu_to_le16(sta->aid); in iwl_mvm_sta_send_to_fw()
228 add_sta_cmd.modify_mask |= STA_MODIFY_UAPSD_ACS; in iwl_mvm_sta_send_to_fw()
229 add_sta_cmd.uapsd_acs = iwl_mvm_get_sta_uapsd_acs(sta); in iwl_mvm_sta_send_to_fw()
230 add_sta_cmd.sp_length = sta->max_sp ? sta->max_sp * 2 : 128; in iwl_mvm_sta_send_to_fw()
236 &add_sta_cmd, &status); in iwl_mvm_sta_send_to_fw()