Lines Matching refs:mvm

68 static void iwl_dbgfs_update_pm(struct iwl_mvm *mvm,  in iwl_dbgfs_update_pm()  argument
82 IWL_DEBUG_POWER(mvm, "debugfs: set keep_alive= %d sec\n", val); in iwl_dbgfs_update_pm()
84 IWL_WARN(mvm, in iwl_dbgfs_update_pm()
91 IWL_DEBUG_POWER(mvm, "skip_over_dtim %s\n", in iwl_dbgfs_update_pm()
96 IWL_DEBUG_POWER(mvm, "skip_dtim_periods=%d\n", val); in iwl_dbgfs_update_pm()
100 IWL_DEBUG_POWER(mvm, "rx_data_timeout=%d\n", val); in iwl_dbgfs_update_pm()
104 IWL_DEBUG_POWER(mvm, "tx_data_timeout=%d\n", val); in iwl_dbgfs_update_pm()
108 IWL_DEBUG_POWER(mvm, "lprx %s\n", val ? "enabled" : "disabled"); in iwl_dbgfs_update_pm()
112 IWL_DEBUG_POWER(mvm, "lprx_rssi_threshold=%d\n", val); in iwl_dbgfs_update_pm()
116 IWL_DEBUG_POWER(mvm, "snooze_enable=%d\n", val); in iwl_dbgfs_update_pm()
120 IWL_DEBUG_POWER(mvm, "uapsd_misbehaving_enable=%d\n", val); in iwl_dbgfs_update_pm()
124 IWL_DEBUG_POWER(mvm, "use_ps_poll=%d\n", val); in iwl_dbgfs_update_pm()
134 struct iwl_mvm *mvm = mvmvif->mvm; in iwl_dbgfs_pm_params_write() local
185 mutex_lock(&mvm->mutex); in iwl_dbgfs_pm_params_write()
186 iwl_dbgfs_update_pm(mvm, vif, param, val); in iwl_dbgfs_pm_params_write()
187 ret = iwl_mvm_power_update_mac(mvm); in iwl_dbgfs_pm_params_write()
188 mutex_unlock(&mvm->mutex); in iwl_dbgfs_pm_params_write()
199 struct iwl_mvm *mvm = mvmvif->mvm; in iwl_dbgfs_pm_params_read() local
204 pos = iwl_mvm_power_mac_dbgfs_read(mvm, vif, buf, bufsz); in iwl_dbgfs_pm_params_read()
215 struct iwl_mvm *mvm = mvmvif->mvm; in iwl_dbgfs_mac_params_read() local
223 mutex_lock(&mvm->mutex); in iwl_dbgfs_mac_params_read()
268 sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[ap_sta_id], in iwl_dbgfs_mac_params_read()
269 lockdep_is_held(&mvm->mutex)); in iwl_dbgfs_mac_params_read()
289 mutex_unlock(&mvm->mutex); in iwl_dbgfs_mac_params_read()
343 struct iwl_mvm *mvm = mvmvif->mvm; in iwl_dbgfs_bf_params_write() local
425 mutex_lock(&mvm->mutex); 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()
431 mutex_unlock(&mvm->mutex); in iwl_dbgfs_bf_params_write()
489 struct iwl_mvm *mvm = mvmvif->mvm; in iwl_dbgfs_low_latency_write() local
499 mutex_lock(&mvm->mutex); in iwl_dbgfs_low_latency_write()
500 iwl_mvm_update_low_latency(mvm, vif, value); in iwl_dbgfs_low_latency_write()
501 mutex_unlock(&mvm->mutex); in iwl_dbgfs_low_latency_write()
538 struct iwl_mvm *mvm = mvmvif->mvm; in iwl_dbgfs_uapsd_misbehaving_write() local
541 mutex_lock(&mvm->mutex); in iwl_dbgfs_uapsd_misbehaving_write()
543 mutex_unlock(&mvm->mutex); in iwl_dbgfs_uapsd_misbehaving_write()
552 struct iwl_mvm *mvm = mvmvif->mvm; in iwl_dbgfs_rx_phyinfo_write() local
562 mutex_lock(&mvm->mutex); in iwl_dbgfs_rx_phyinfo_write()
569 mutex_unlock(&mvm->mutex); in iwl_dbgfs_rx_phyinfo_write()
573 phy_ctxt = &mvm->phy_ctxts[*(u16 *)chanctx_conf->drv_priv]; in iwl_dbgfs_rx_phyinfo_write()
576 mvm->dbgfs_rx_phyinfo = value; in iwl_dbgfs_rx_phyinfo_write()
578 ret = iwl_mvm_phy_ctxt_changed(mvm, phy_ctxt, &chanctx_conf->min_def, in iwl_dbgfs_rx_phyinfo_write()
581 mutex_unlock(&mvm->mutex); in iwl_dbgfs_rx_phyinfo_write()
594 snprintf(buf, sizeof(buf), "0x%04x\n", mvmvif->mvm->dbgfs_rx_phyinfo); in iwl_dbgfs_rx_phyinfo_read()
616 void iwl_mvm_vif_dbgfs_register(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_vif_dbgfs_register() argument
632 IWL_ERR(mvm, "Failed to create debugfs directory under %s\n", in iwl_mvm_vif_dbgfs_register()
640 mvm->fw->ucode_capa.flags & IWL_UCODE_TLV_FLAGS_BSS_P2P_PS_DCM))) in iwl_mvm_vif_dbgfs_register()
653 mvmvif == mvm->bf_allowed_vif) in iwl_mvm_vif_dbgfs_register()
671 mvm->debugfs_dir, buf); in iwl_mvm_vif_dbgfs_register()
673 IWL_ERR(mvm, "Can't create debugfs symbolic link under %s\n", in iwl_mvm_vif_dbgfs_register()
677 IWL_ERR(mvm, "Can't create debugfs entity\n"); 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