mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-01-08 15:52:32 +01:00
netdev: parse SIGNAL_AVG when building diagnostics object
This commit is contained in:
parent
fb0a1fba2a
commit
5033b5a24d
@ -452,6 +452,14 @@ static bool netdev_parse_sta_info(struct l_genl_attr *attr,
|
||||
info->cur_rssi = *(const int8_t *) data;
|
||||
info->have_cur_rssi = true;
|
||||
|
||||
break;
|
||||
case NL80211_STA_INFO_SIGNAL_AVG:
|
||||
if (len != 1)
|
||||
return false;
|
||||
|
||||
info->avg_rssi = *(const int8_t *) data;
|
||||
info->have_avg_rssi = true;
|
||||
|
||||
break;
|
||||
case NL80211_STA_INFO_RX_BITRATE:
|
||||
if (!l_genl_attr_recurse(attr, &nested))
|
||||
|
Loading…
Reference in New Issue
Block a user