Lines Matching defs:vif
14 struct ieee80211_vif *vif,
17 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
24 int dtimper = vif->bss_conf.dtim_period ?: 1;
25 int dtimper_msec = dtimper * vif->bss_conf.beacon_int;
75 static ssize_t iwl_dbgfs_pm_params_write(struct ieee80211_vif *vif, char *buf,
78 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
131 iwl_dbgfs_update_pm(mvm, vif, param, val);
142 struct ieee80211_vif *vif = file->private_data;
148 vif->bss_conf.txpower);
157 struct ieee80211_vif *vif = file->private_data;
158 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
164 pos = iwl_mvm_power_mac_dbgfs_read(mvm, vif, buf, bufsz);
173 struct ieee80211_vif *vif = file->private_data;
174 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
187 switch (ieee80211_vif_type_p2p(vif)) {
213 vif->bss_conf.bssid);
226 if (vif->type == NL80211_IFTYPE_STATION &&
240 chanctx_conf = rcu_dereference(vif->bss_conf.chanctx_conf);
253 static void iwl_dbgfs_update_bf(struct ieee80211_vif *vif,
256 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
298 static ssize_t iwl_dbgfs_bf_params_write(struct ieee80211_vif *vif, char *buf,
301 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
385 iwl_dbgfs_update_bf(vif, param, value);
387 ret = iwl_mvm_disable_beacon_filter(mvm, vif);
389 ret = iwl_mvm_enable_beacon_filter(mvm, vif);
399 struct ieee80211_vif *vif = file->private_data;
400 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
412 iwl_mvm_beacon_filter_debugfs_parameters(vif, &cmd);
448 struct ieee80211_vif *vif = file->private_data;
449 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
469 static ssize_t iwl_dbgfs_low_latency_write(struct ieee80211_vif *vif, char *buf,
472 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
484 iwl_mvm_update_low_latency(mvm, vif, value, LOW_LATENCY_DEBUGFS);
491 iwl_dbgfs_low_latency_force_write(struct ieee80211_vif *vif, char *buf,
494 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
508 iwl_mvm_update_low_latency(mvm, vif, false,
510 iwl_mvm_update_low_latency(mvm, vif, false,
513 iwl_mvm_update_low_latency(mvm, vif,
516 iwl_mvm_update_low_latency(mvm, vif, true,
527 struct ieee80211_vif *vif = file->private_data;
528 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
555 struct ieee80211_vif *vif = file->private_data;
556 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
568 static ssize_t iwl_dbgfs_uapsd_misbehaving_write(struct ieee80211_vif *vif,
572 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
583 static ssize_t iwl_dbgfs_rx_phyinfo_write(struct ieee80211_vif *vif, char *buf,
586 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
600 for_each_vif_active_link(vif, link_conf, link_id) {
638 struct ieee80211_vif *vif = file->private_data;
639 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
650 struct ieee80211_vif *vif)
652 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
659 static ssize_t iwl_dbgfs_quota_min_write(struct ieee80211_vif *vif, char *buf,
662 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
692 struct ieee80211_vif *vif = file->private_data;
693 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
702 static ssize_t iwl_dbgfs_max_tx_op_write(struct ieee80211_vif *vif, char *buf,
705 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
725 struct ieee80211_vif *vif = file->private_data;
726 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
738 static ssize_t iwl_dbgfs_int_mlo_scan_write(struct ieee80211_vif *vif,
742 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
747 if (!vif->cfg.assoc || !ieee80211_vif_is_mld(vif))
758 ret = iwl_mvm_int_mlo_scan(mvm, vif);
772 struct ieee80211_vif *vif = file->private_data;
773 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
800 static ssize_t iwl_dbgfs_esr_disable_reason_write(struct ieee80211_vif *vif,
804 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
819 iwl_mvm_block_esr(mvm, vif, reason,
820 iwl_mvm_get_primary_link(vif));
822 iwl_mvm_unblock_esr(mvm, vif, reason);
833 debugfs_create_file(#name, mode, parent, vif, \
851 void iwl_mvm_vif_add_debugfs(struct ieee80211_hw *hw, struct ieee80211_vif *vif)
854 struct dentry *dbgfs_dir = vif->debugfs_dir;
855 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
865 ((vif->type == NL80211_IFTYPE_STATION && !vif->p2p) ||
866 (vif->type == NL80211_IFTYPE_STATION && vif->p2p)))
883 if (vif->type == NL80211_IFTYPE_STATION && !vif->p2p &&
888 void iwl_mvm_vif_dbgfs_add_link(struct iwl_mvm *mvm, struct ieee80211_vif *vif)
890 struct dentry *dbgfs_dir = vif->debugfs_dir;
892 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
918 void iwl_mvm_vif_dbgfs_rm_link(struct iwl_mvm *mvm, struct ieee80211_vif *vif)
920 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
936 static void iwl_mvm_debugfs_add_link_files(struct ieee80211_vif *vif,
944 struct ieee80211_vif *vif,
948 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
957 if (dir == vif->debugfs_dir) {
969 iwl_mvm_debugfs_add_link_files(vif, link_conf, mvm_dir);