From 0ee766d9374d285046502c1a7ac3e5e37d5e6aa3 Mon Sep 17 00:00:00 2001 From: Bjørn Mork Date: Mon, 26 Oct 2015 19:56:59 +0100 Subject: mwlwifi: add HT+VHT sta info to debugfs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bjørn Mork --- debugfs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debugfs.c b/debugfs.c index 4f2b877..642597f 100644 --- a/debugfs.c +++ b/debugfs.c @@ -209,6 +209,8 @@ static ssize_t mwl_debugfs_sta_read(struct file *file, char __user *ubuf, } p += sprintf(p, "IV: %08x%04x\n", sta_info->iv32, sta_info->iv16); + p += sprintf(p, "HT (%ssupported) cap: 0x%04x\n", sta->ht_cap.ht_supported ? "" : "un", sta->ht_cap.cap); + p += sprintf(p, "VHT (%ssupported) cap: 0x%08x\n", sta->vht_cap.vht_supported ? "" : "un", sta->vht_cap.cap); p += sprintf(p, "\n"); } spin_unlock_bh(&priv->sta_lock); -- cgit v1.2.3