Lines Matching refs:mvmvif

14 	struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);  in iwl_dbgfs_update_pm()  local
15 struct iwl_dbgfs_pm *dbgfs_pm = &mvmvif->dbgfs_pm; in iwl_dbgfs_update_pm()
75 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_pm_params_write() local
76 struct iwl_mvm *mvm = mvmvif->mvm; in iwl_dbgfs_pm_params_write()
155 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_pm_params_read() local
156 struct iwl_mvm *mvm = mvmvif->mvm; in iwl_dbgfs_pm_params_read()
171 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_mac_params_read() local
172 struct iwl_mvm *mvm = mvmvif->mvm; in iwl_dbgfs_mac_params_read()
182 ap_sta_id = mvmvif->ap_sta_id; in iwl_dbgfs_mac_params_read()
208 mvmvif->id, mvmvif->color); in iwl_dbgfs_mac_params_read()
212 mvm->tcm.result.load[mvmvif->id]); in iwl_dbgfs_mac_params_read()
214 for (i = 0; i < ARRAY_SIZE(mvmvif->queue_params); i++) in iwl_dbgfs_mac_params_read()
217 i, mvmvif->queue_params[i].txop, in iwl_dbgfs_mac_params_read()
218 mvmvif->queue_params[i].cw_min, in iwl_dbgfs_mac_params_read()
219 mvmvif->queue_params[i].cw_max, in iwl_dbgfs_mac_params_read()
220 mvmvif->queue_params[i].aifs, in iwl_dbgfs_mac_params_read()
221 mvmvif->queue_params[i].uapsd); in iwl_dbgfs_mac_params_read()
253 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_update_bf() local
254 struct iwl_dbgfs_bf *dbgfs_bf = &mvmvif->dbgfs_bf; in iwl_dbgfs_update_bf()
298 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_bf_params_write() local
299 struct iwl_mvm *mvm = mvmvif->mvm; in iwl_dbgfs_bf_params_write()
397 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_bf_params_read() local
410 if (mvmvif->bf_data.bf_enabled) in iwl_dbgfs_bf_params_read()
453 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_os_device_timediff_read() local
454 struct iwl_mvm *mvm = mvmvif->mvm; in iwl_dbgfs_os_device_timediff_read()
476 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_low_latency_write() local
477 struct iwl_mvm *mvm = mvmvif->mvm; in iwl_dbgfs_low_latency_write()
498 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_low_latency_force_write() local
499 struct iwl_mvm *mvm = mvmvif->mvm; in iwl_dbgfs_low_latency_force_write()
532 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_low_latency_read() local
544 !!(mvmvif->low_latency & LOW_LATENCY_TRAFFIC), in iwl_dbgfs_low_latency_read()
545 !!(mvmvif->low_latency & LOW_LATENCY_DEBUGFS), in iwl_dbgfs_low_latency_read()
546 !!(mvmvif->low_latency & LOW_LATENCY_VCMD), in iwl_dbgfs_low_latency_read()
547 !!(mvmvif->low_latency & LOW_LATENCY_VIF_TYPE), in iwl_dbgfs_low_latency_read()
548 !!(mvmvif->low_latency & in iwl_dbgfs_low_latency_read()
550 !!(mvmvif->low_latency & LOW_LATENCY_DEBUGFS_FORCE), in iwl_dbgfs_low_latency_read()
551 !!(mvmvif->low_latency_actual)); in iwl_dbgfs_low_latency_read()
560 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_uapsd_misbehaving_read() local
564 len = sprintf(buf, "%pM\n", mvmvif->uapsd_misbehaving_bssid); in iwl_dbgfs_uapsd_misbehaving_read()
572 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_uapsd_misbehaving_write() local
573 struct iwl_mvm *mvm = mvmvif->mvm; in iwl_dbgfs_uapsd_misbehaving_write()
577 ret = mac_pton(buf, mvmvif->uapsd_misbehaving_bssid); in iwl_dbgfs_uapsd_misbehaving_write()
586 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_rx_phyinfo_write() local
587 struct iwl_mvm *mvm = mvmvif->mvm; in iwl_dbgfs_rx_phyinfo_write()
626 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_rx_phyinfo_read() local
631 mvmvif->mvm->dbgfs_rx_phyinfo); in iwl_dbgfs_rx_phyinfo_read()
639 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_quota_check() local
642 if (mvmvif->dbgfs_quota_min) in iwl_dbgfs_quota_check()
649 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_quota_min_write() local
650 struct iwl_mvm *mvm = mvmvif->mvm; in iwl_dbgfs_quota_min_write()
663 mvmvif->dbgfs_quota_min = 0; in iwl_dbgfs_quota_min_write()
667 mvmvif->dbgfs_quota_min = value; in iwl_dbgfs_quota_min_write()
680 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_quota_min_read() local
684 len = scnprintf(buf, sizeof(buf), "%d\n", mvmvif->dbgfs_quota_min); in iwl_dbgfs_quota_min_read()
713 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_vif_dbgfs_register() local
720 if (!dbgfs_dir || mvmvif->dbgfs_dir) in iwl_mvm_vif_dbgfs_register()
723 mvmvif->dbgfs_dir = debugfs_create_dir("iwlmvm", dbgfs_dir); in iwl_mvm_vif_dbgfs_register()
724 if (IS_ERR_OR_NULL(mvmvif->dbgfs_dir)) { in iwl_mvm_vif_dbgfs_register()
733 MVM_DEBUGFS_ADD_FILE_VIF(pm_params, mvmvif->dbgfs_dir, 0600); in iwl_mvm_vif_dbgfs_register()
735 MVM_DEBUGFS_ADD_FILE_VIF(tx_pwr_lmt, mvmvif->dbgfs_dir, 0400); in iwl_mvm_vif_dbgfs_register()
736 MVM_DEBUGFS_ADD_FILE_VIF(mac_params, mvmvif->dbgfs_dir, 0400); in iwl_mvm_vif_dbgfs_register()
737 MVM_DEBUGFS_ADD_FILE_VIF(low_latency, mvmvif->dbgfs_dir, 0600); in iwl_mvm_vif_dbgfs_register()
738 MVM_DEBUGFS_ADD_FILE_VIF(low_latency_force, mvmvif->dbgfs_dir, 0600); in iwl_mvm_vif_dbgfs_register()
739 MVM_DEBUGFS_ADD_FILE_VIF(uapsd_misbehaving, mvmvif->dbgfs_dir, 0600); in iwl_mvm_vif_dbgfs_register()
740 MVM_DEBUGFS_ADD_FILE_VIF(rx_phyinfo, mvmvif->dbgfs_dir, 0600); in iwl_mvm_vif_dbgfs_register()
741 MVM_DEBUGFS_ADD_FILE_VIF(quota_min, mvmvif->dbgfs_dir, 0600); in iwl_mvm_vif_dbgfs_register()
742 MVM_DEBUGFS_ADD_FILE_VIF(os_device_timediff, mvmvif->dbgfs_dir, 0400); in iwl_mvm_vif_dbgfs_register()
745 mvmvif == mvm->bf_allowed_vif) in iwl_mvm_vif_dbgfs_register()
746 MVM_DEBUGFS_ADD_FILE_VIF(bf_params, mvmvif->dbgfs_dir, 0600); in iwl_mvm_vif_dbgfs_register()
757 mvmvif->dbgfs_dir); in iwl_mvm_vif_dbgfs_register()
759 mvmvif->dbgfs_slink = debugfs_create_symlink(dbgfs_dir->d_name.name, in iwl_mvm_vif_dbgfs_register()
765 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_vif_dbgfs_clean() local
767 debugfs_remove(mvmvif->dbgfs_slink); in iwl_mvm_vif_dbgfs_clean()
768 mvmvif->dbgfs_slink = NULL; in iwl_mvm_vif_dbgfs_clean()
770 debugfs_remove_recursive(mvmvif->dbgfs_dir); in iwl_mvm_vif_dbgfs_clean()
771 mvmvif->dbgfs_dir = NULL; in iwl_mvm_vif_dbgfs_clean()