Lines Matching defs:mvmvif
95 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
130 !test_bit(mvmvif->tsf_id, data->available_tsf_ids))
141 data->preferred_tsf = mvmvif->tsf_id;
159 !test_bit(mvmvif->tsf_id, data->available_tsf_ids))
170 data->preferred_tsf = mvmvif->tsf_id;
191 __clear_bit(mvmvif->tsf_id, data->available_tsf_ids);
193 if (data->preferred_tsf == mvmvif->tsf_id)
221 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
238 __clear_bit(mvmvif->id, data->available_mac_ids);
247 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
261 mvmvif->tsf_id = data.preferred_tsf;
262 else if (!test_bit(mvmvif->tsf_id, data.available_tsf_ids))
263 mvmvif->tsf_id = find_first_bit(data.available_tsf_ids,
270 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
337 mvmvif->id = find_first_bit(data.available_mac_ids,
339 if (mvmvif->id == NUM_MAC_INDEX_DRIVER) {
346 mvmvif->tsf_id = data.preferred_tsf;
348 mvmvif->tsf_id = find_first_bit(data.available_tsf_ids,
350 if (mvmvif->tsf_id == NUM_TSF_IDS) {
356 mvmvif->color = 0;
358 INIT_LIST_HEAD(&mvmvif->time_event_data.list);
359 mvmvif->time_event_data.id = TE_MAX;
402 mvmvif->bcast_sta.sta_id = IWL_MVM_STATION_COUNT;
403 mvmvif->ap_sta_id = IWL_MVM_STATION_COUNT;
406 mvmvif->smps_requests[i] = IEEE80211_SMPS_AUTOMATIC;
411 memset(mvmvif, 0, sizeof(struct iwl_mvm_vif));
592 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
600 cmd->id_and_color = cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->id,
601 mvmvif->color));
627 cmd->tsf_id = cpu_to_le32(mvmvif->tsf_id);
657 cpu_to_le16(mvmvif->queue_params[i].cw_min);
659 cpu_to_le16(mvmvif->queue_params[i].cw_max);
661 cpu_to_le16(mvmvif->queue_params[i].txop * 32);
662 cmd->ac[txf].aifsn = mvmvif->queue_params[i].aifs;
807 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
823 cmd.ibss.beacon_template = cpu_to_le32(mvmvif->id);
835 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
838 mvmvif->ap_ibss_active)
903 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
920 beacon_cmd.template_id = cpu_to_le32((u32)mvmvif->id);
925 beacon_cmd.tx.sta_id = mvmvif->bcast_sta.sta_id;
1018 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
1053 mvmvif->ap_beacon_time = data.beacon_device_ts +
1057 mvmvif->ap_beacon_time =
1063 ctxt_ap->beacon_time = cpu_to_le32(mvmvif->ap_beacon_time);
1067 ctxt_ap->beacon_template = cpu_to_le32(mvmvif->id);
1158 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
1161 if (WARN_ONCE(mvmvif->uploaded, "Adding active MAC %pM/%d\n",
1173 mvmvif->uploaded = true;
1180 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
1182 if (WARN_ONCE(!mvmvif->uploaded, "Changing inactive MAC %pM/%d\n",
1192 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
1196 if (WARN_ONCE(!mvmvif->uploaded, "Removing inactive MAC %pM/%d\n",
1202 cmd.id_and_color = cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->id,
1203 mvmvif->color));
1213 mvmvif->uploaded = false;
1224 struct iwl_mvm_vif *mvmvif =
1232 !iwl_mvm_te_scheduled(&mvmvif->time_event_data) && gp2) {
1243 } else if (!iwl_mvm_te_scheduled(&mvmvif->time_event_data)) {
1291 struct iwl_mvm_vif *mvmvif =
1307 iwl_mvm_modify_all_sta_disable_tx(mvm, mvmvif, false);
1319 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
1321 if (mvmvif->id != (u16)le32_to_cpu(missed_beacons->mac_id))