Signed-off-by: Shashidhar Lakkavalli <[email protected]>
Signed-off-by: John Crispin <[email protected]>
---
 station.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/station.c b/station.c
index 0454f87..aaad079 100644
--- a/station.c
+++ b/station.c
@@ -243,6 +243,18 @@ void parse_bitrate(struct nlattr *bitrate_attr, char *buf, 
int buflen)
        if (rinfo[NL80211_RATE_INFO_VHT_NSS])
                pos += snprintf(pos, buflen - (pos - buf),
                                " VHT-NSS %d", 
nla_get_u8(rinfo[NL80211_RATE_INFO_VHT_NSS]));
+       if (rinfo[NL80211_RATE_INFO_HE_MCS])
+               pos += snprintf(pos, buflen - (pos - buf),
+                               " HE-MCS %d", 
nla_get_u8(rinfo[NL80211_RATE_INFO_HE_MCS]));
+       if (rinfo[NL80211_RATE_INFO_HE_NSS])
+               pos += snprintf(pos, buflen - (pos - buf),
+                               " HE-NSS %d", 
nla_get_u8(rinfo[NL80211_RATE_INFO_HE_NSS]));
+       if (rinfo[NL80211_RATE_INFO_HE_GI])
+               pos += snprintf(pos, buflen - (pos - buf),
+                               " HE-GI %d", 
nla_get_u8(rinfo[NL80211_RATE_INFO_HE_GI]));
+       if (rinfo[NL80211_RATE_INFO_HE_DCM])
+               pos += snprintf(pos, buflen - (pos - buf),
+                               " HE-DCM %d", 
nla_get_u8(rinfo[NL80211_RATE_INFO_HE_DCM]));
 }
 
 static char *get_chain_signal(struct nlattr *attr_list)
-- 
2.20.1

Reply via email to