Lines Matching refs:vif
69 struct ieee80211_vif *vif, in iwl_dbgfs_update_pm() argument
72 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_update_pm()
79 int dtimper = vif->bss_conf.dtim_period ?: 1; in iwl_dbgfs_update_pm()
80 int dtimper_msec = dtimper * vif->bss_conf.beacon_int; in iwl_dbgfs_update_pm()
130 static ssize_t iwl_dbgfs_pm_params_write(struct ieee80211_vif *vif, char *buf, in iwl_dbgfs_pm_params_write() argument
133 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_pm_params_write()
186 iwl_dbgfs_update_pm(mvm, vif, param, val); in iwl_dbgfs_pm_params_write()
197 struct ieee80211_vif *vif = file->private_data; in iwl_dbgfs_pm_params_read() local
198 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_pm_params_read()
204 pos = iwl_mvm_power_mac_dbgfs_read(mvm, vif, buf, bufsz); in iwl_dbgfs_pm_params_read()
213 struct ieee80211_vif *vif = file->private_data; in iwl_dbgfs_mac_params_read() local
214 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_mac_params_read()
227 switch (ieee80211_vif_type_p2p(vif)) { in iwl_dbgfs_mac_params_read()
253 vif->bss_conf.bssid); in iwl_dbgfs_mac_params_read()
264 if (vif->type == NL80211_IFTYPE_STATION && in iwl_dbgfs_mac_params_read()
281 chanctx_conf = rcu_dereference(vif->chanctx_conf); in iwl_dbgfs_mac_params_read()
294 static void iwl_dbgfs_update_bf(struct ieee80211_vif *vif, in iwl_dbgfs_update_bf() argument
297 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_update_bf()
339 static ssize_t iwl_dbgfs_bf_params_write(struct ieee80211_vif *vif, char *buf, in iwl_dbgfs_bf_params_write() argument
342 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_bf_params_write()
426 iwl_dbgfs_update_bf(vif, param, value); in iwl_dbgfs_bf_params_write()
428 ret = iwl_mvm_disable_beacon_filter(mvm, vif, 0); in iwl_dbgfs_bf_params_write()
430 ret = iwl_mvm_enable_beacon_filter(mvm, vif, 0); in iwl_dbgfs_bf_params_write()
440 struct ieee80211_vif *vif = file->private_data; in iwl_dbgfs_bf_params_read() local
441 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_bf_params_read()
453 iwl_mvm_beacon_filter_debugfs_parameters(vif, &cmd); in iwl_dbgfs_bf_params_read()
485 static ssize_t iwl_dbgfs_low_latency_write(struct ieee80211_vif *vif, char *buf, in iwl_dbgfs_low_latency_write() argument
488 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_low_latency_write()
500 iwl_mvm_update_low_latency(mvm, vif, value); in iwl_dbgfs_low_latency_write()
510 struct ieee80211_vif *vif = file->private_data; in iwl_dbgfs_low_latency_read() local
511 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_low_latency_read()
524 struct ieee80211_vif *vif = file->private_data; in iwl_dbgfs_uapsd_misbehaving_read() local
525 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_uapsd_misbehaving_read()
533 static ssize_t iwl_dbgfs_uapsd_misbehaving_write(struct ieee80211_vif *vif, in iwl_dbgfs_uapsd_misbehaving_write() argument
537 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_uapsd_misbehaving_write()
548 static ssize_t iwl_dbgfs_rx_phyinfo_write(struct ieee80211_vif *vif, char *buf, in iwl_dbgfs_rx_phyinfo_write() argument
551 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_rx_phyinfo_write()
565 chanctx_conf = rcu_dereference(vif->chanctx_conf); in iwl_dbgfs_rx_phyinfo_write()
590 struct ieee80211_vif *vif = file->private_data; in iwl_dbgfs_rx_phyinfo_read() local
591 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_rx_phyinfo_read()
604 if (!debugfs_create_file(#name, mode, parent, vif, \
616 void iwl_mvm_vif_dbgfs_register(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_vif_dbgfs_register() argument
618 struct dentry *dbgfs_dir = vif->debugfs_dir; in iwl_mvm_vif_dbgfs_register()
619 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_vif_dbgfs_register()
638 ((vif->type == NL80211_IFTYPE_STATION && !vif->p2p) || in iwl_mvm_vif_dbgfs_register()
639 (vif->type == NL80211_IFTYPE_STATION && vif->p2p && in iwl_mvm_vif_dbgfs_register()
652 if (vif->type == NL80211_IFTYPE_STATION && !vif->p2p && in iwl_mvm_vif_dbgfs_register()
680 void iwl_mvm_vif_dbgfs_clean(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_vif_dbgfs_clean() argument
682 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_vif_dbgfs_clean()