Lines Matching defs:add_sta_cmd
135 struct iwl_mvm_add_sta_cmd add_sta_cmd = {
149 add_sta_cmd.station_type = mvm_sta->sta_type;
152 memcpy(&add_sta_cmd.addr, sta->addr, ETH_ALEN);
155 add_sta_cmd.tfd_queue_msk =
159 add_sta_cmd.modify_mask |= STA_MODIFY_QUEUES;
168 add_sta_cmd.station_flags |= cpu_to_le32(STA_FLG_FAT_EN_160MHZ);
171 add_sta_cmd.station_flags |= cpu_to_le32(STA_FLG_FAT_EN_80MHZ);
174 add_sta_cmd.station_flags |= cpu_to_le32(STA_FLG_FAT_EN_40MHZ);
178 add_sta_cmd.station_flags |=
185 add_sta_cmd.station_flags |= cpu_to_le32(STA_FLG_MIMO_EN_SISO);
188 add_sta_cmd.station_flags |= cpu_to_le32(STA_FLG_MIMO_EN_MIMO2);
191 add_sta_cmd.station_flags |= cpu_to_le32(STA_FLG_MIMO_EN_MIMO3);
202 add_sta_cmd.station_flags &= ~cpu_to_le32(STA_FLG_MIMO_EN_MSK);
203 add_sta_cmd.station_flags |= cpu_to_le32(STA_FLG_MIMO_EN_SISO);
206 add_sta_cmd.station_flags |= cpu_to_le32(STA_FLG_RTS_MIMO_PROT);
215 add_sta_cmd.station_flags_msk |=
222 add_sta_cmd.station_flags |=
224 add_sta_cmd.station_flags |=
228 add_sta_cmd.assoc_id = cpu_to_le16(sta->aid);
231 add_sta_cmd.modify_mask |= STA_MODIFY_UAPSD_ACS;
232 add_sta_cmd.uapsd_acs = iwl_mvm_get_sta_uapsd_acs(sta);
233 add_sta_cmd.sp_length = sta->max_sp ? sta->max_sp * 2 : 128;
239 &add_sta_cmd, &status);