Lines Matching refs:tb2
516 struct nlattr *tb2[ QCA_WLAN_VENDOR_ATTR_LL_STATS_MAX+ 1]; in get_wifi_peer_info() local
519 …nla_parse(tb2, QCA_WLAN_VENDOR_ATTR_LL_STATS_MAX, (struct nlattr *) nla_data(rateInfo), nla_len(ra… in get_wifi_peer_info()
520 ret = get_wifi_rate_stat(pRateStats, tb2); in get_wifi_peer_info()
676 struct nlattr *tb2[ QCA_WLAN_VENDOR_ATTR_LL_STATS_MAX+ 1]; in get_wifi_iface_stats() local
679 nla_parse(tb2, QCA_WLAN_VENDOR_ATTR_LL_STATS_MAX, in get_wifi_iface_stats()
682 ret = get_wifi_wmm_ac_stat(pWmmStats, tb2); in get_wifi_iface_stats()
810 struct nlattr *tb2[ QCA_WLAN_VENDOR_ATTR_LL_STATS_MAX+ 1]; in get_wifi_radio_stats() local
812 …nla_parse(tb2, QCA_WLAN_VENDOR_ATTR_LL_STATS_MAX, (struct nlattr *) nla_data(chInfo), nla_len(chIn… in get_wifi_radio_stats()
814 if (!tb2[QCA_WLAN_VENDOR_ATTR_LL_STATS_CHANNEL_INFO_WIDTH]) in get_wifi_radio_stats()
819 …pChStats->channel.width = (wifi_channel_width)nla_get_u32(tb2[QCA_WLAN_VENDOR_ATT… in get_wifi_radio_stats()
821 if (!tb2[QCA_WLAN_VENDOR_ATTR_LL_STATS_CHANNEL_INFO_CENTER_FREQ]) in get_wifi_radio_stats()
826 …pChStats->channel.center_freq = (wifi_channel)nla_get_u32(tb2[QCA_WLAN_VENDOR_ATTR_LL_S… in get_wifi_radio_stats()
828 if (!tb2[QCA_WLAN_VENDOR_ATTR_LL_STATS_CHANNEL_INFO_CENTER_FREQ0]) in get_wifi_radio_stats()
833 …pChStats->channel.center_freq0 = (wifi_channel)nla_get_u32(tb2[QCA_WLAN_VENDOR_ATTR_LL_S… in get_wifi_radio_stats()
835 if (!tb2[QCA_WLAN_VENDOR_ATTR_LL_STATS_CHANNEL_INFO_CENTER_FREQ1]) in get_wifi_radio_stats()
840 …pChStats->channel.center_freq1 = (wifi_channel)nla_get_u32(tb2[QCA_WLAN_VENDOR_ATTR_LL_S… in get_wifi_radio_stats()
842 if (!tb2[QCA_WLAN_VENDOR_ATTR_LL_STATS_CHANNEL_ON_TIME]) in get_wifi_radio_stats()
847 …pChStats->on_time = nla_get_u32(tb2[QCA_WLAN_VENDOR_ATTR_LL_STATS_CHANNEL_ON_TIME]); in get_wifi_radio_stats()
849 if (!tb2[QCA_WLAN_VENDOR_ATTR_LL_STATS_CHANNEL_CCA_BUSY_TIME]) in get_wifi_radio_stats()
854 …pChStats->cca_busy_time = nla_get_u32(tb2[QCA_WLAN_VENDOR_ATTR_LL_STATS_CHANNEL_CCA_BUSY_… in get_wifi_radio_stats()
856 if (tb2[QCA_WLAN_VENDOR_ATTR_LL_STATS_CHANNEL_RX_TIME] && in get_wifi_radio_stats()
857 … nla_get_u32(tb2[QCA_WLAN_VENDOR_ATTR_LL_STATS_CHANNEL_RX_TIME]) <= pChStats->cca_busy_time) in get_wifi_radio_stats()
858 … pChStats->cca_busy_time -= nla_get_u32(tb2[QCA_WLAN_VENDOR_ATTR_LL_STATS_CHANNEL_RX_TIME]); in get_wifi_radio_stats()
1150 struct nlattr *tb2[ in handleResponse() local
1153 nla_parse(tb2, QCA_WLAN_VENDOR_ATTR_LL_STATS_MAX, in handleResponse()
1157 if (!tb2[ in handleResponse()
1166 num_rates += nla_get_u32(tb2[ in handleResponse()
1215 struct nlattr *tb2[ in handleResponse() local
1221 nla_parse(tb2, QCA_WLAN_VENDOR_ATTR_LL_STATS_MAX, in handleResponse()
1224 status = get_wifi_peer_info(pPeerStats, tb2); in handleResponse()