iw: print ru-alloc values when dumping stations
PATCH 1/1 iw: print ru-alloc values when dumping stations
In commit 2f74c59cf11e ("iw: add HE support to station dump call") we added most of the HE values when parsing tx bitrates/dumping stations. The ru-alloc value was missing. This patch adds that value.
Signed-off-by John Crispin <[email protected]>
--- station.c | 3 +++ 1 file changed, 3 insertions(+)
station.c +3 -0
@@ -256,6 +256,9 @@ void parse_bitrate(struct nlattr *bitrate_attr, char *buf, int buflen)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 ])); +if (rinfo[NL80211_RATE_INFO_HE_RU_ALLOC ]) + pos +=snprintf (pos, buflen - (pos - buf), +" HE-RU-ALLOC %d" ,nla_get_u8 (rinfo[NL80211_RATE_INFO_HE_RU_ALLOC ])); }static char *get_chain_signal (struct nlattr *attr_list)
Signature · 1 line
2.20.1