Lines Matching refs:sinfo
117 struct nlattr *sinfo[NL80211_STA_INFO_MAX + 1];
146 if (nla_parse_nested(sinfo, NL80211_STA_INFO_MAX,
153 if (sinfo[NL80211_STA_INFO_RX_BYTES] && sinfo[NL80211_STA_INFO_RX_PACKETS])
155 nla_get_u32(sinfo[NL80211_STA_INFO_RX_BYTES]),
156 nla_get_u32(sinfo[NL80211_STA_INFO_RX_PACKETS]));
157 if (sinfo[NL80211_STA_INFO_TX_BYTES] && sinfo[NL80211_STA_INFO_TX_PACKETS])
159 nla_get_u32(sinfo[NL80211_STA_INFO_TX_BYTES]),
160 nla_get_u32(sinfo[NL80211_STA_INFO_TX_PACKETS]));
161 if (sinfo[NL80211_STA_INFO_SIGNAL])
163 (int8_t)nla_get_u8(sinfo[NL80211_STA_INFO_SIGNAL]));
165 if (sinfo[NL80211_STA_INFO_TX_BITRATE]) {
168 parse_bitrate(sinfo[NL80211_STA_INFO_TX_BITRATE], buf, sizeof(buf));
172 if (sinfo[NL80211_STA_INFO_BSS_PARAM]) {
174 sinfo[NL80211_STA_INFO_BSS_PARAM],