iwlwifi: mvm: update d0i3 debugfs
authorJohannes Berg <johannes.berg@intel.com>
Fri, 12 Sep 2014 08:28:01 +0000 (10:28 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 14 Sep 2014 09:59:47 +0000 (12:59 +0300)
A lot of the newer d0i3 ref additions weren't added to the
debugfs file, fix that and add a comment to remember to do
it in the future.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/debugfs.c
drivers/net/wireless/iwlwifi/mvm/mvm.h

index 85eb847c749d39e92b490bd392e6983be14f0f19..95eb9a5ef6938d550a3aba351438961cf7197916 100644 (file)
@@ -1259,6 +1259,18 @@ static ssize_t iwl_dbgfs_d0i3_refs_read(struct file *file,
        PRINT_MVM_REF(IWL_MVM_REF_P2P_CLIENT);
        PRINT_MVM_REF(IWL_MVM_REF_AP_IBSS);
        PRINT_MVM_REF(IWL_MVM_REF_USER);
+       PRINT_MVM_REF(IWL_MVM_REF_TX);
+       PRINT_MVM_REF(IWL_MVM_REF_TX_AGG);
+       PRINT_MVM_REF(IWL_MVM_REF_ADD_IF);
+       PRINT_MVM_REF(IWL_MVM_REF_START_AP);
+       PRINT_MVM_REF(IWL_MVM_REF_BSS_CHANGED);
+       PRINT_MVM_REF(IWL_MVM_REF_PREPARE_TX);
+       PRINT_MVM_REF(IWL_MVM_REF_PROTECT_TDLS);
+       PRINT_MVM_REF(IWL_MVM_REF_CHECK_CTKILL);
+       PRINT_MVM_REF(IWL_MVM_REF_PRPH_READ);
+       PRINT_MVM_REF(IWL_MVM_REF_PRPH_WRITE);
+       PRINT_MVM_REF(IWL_MVM_REF_NMI);
+       PRINT_MVM_REF(IWL_MVM_REF_TM_CMD);
        PRINT_MVM_REF(IWL_MVM_REF_EXIT_WORK);
 
        return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
index f05b7d7bcae323d4cf0762ab9dbbd8024b533072..4b1db9a3e65c3ad7c7355bbd1cc6ccd26a0572e9 100644 (file)
@@ -274,6 +274,8 @@ enum iwl_mvm_ref_type {
        IWL_MVM_REF_TM_CMD,
        IWL_MVM_REF_EXIT_WORK,
 
+       /* update debugfs.c when changing this */
+
        IWL_MVM_REF_COUNT,
 };