Home
last modified time | relevance | path

Searched refs:tb2 (Results 1 – 8 of 8) sorted by relevance

/hardware/qcom/wlan/qcwcn/wifi_hal/
Dgscan_event_handler.cpp237 struct nlattr *tb2[QCA_WLAN_VENDOR_ATTR_GSCAN_RESULTS_MAX + 1]; in gscan_parse_hotlist_ap_results() local
238 nla_parse(tb2, QCA_WLAN_VENDOR_ATTR_GSCAN_RESULTS_MAX, in gscan_parse_hotlist_ap_results()
243 tb2[ in gscan_parse_hotlist_ap_results()
253 tb2[ in gscan_parse_hotlist_ap_results()
257 tb2[ in gscan_parse_hotlist_ap_results()
265 len = nla_len(tb2[ in gscan_parse_hotlist_ap_results()
271 tb2[QCA_WLAN_VENDOR_ATTR_GSCAN_RESULTS_SCAN_RESULT_SSID]), len); in gscan_parse_hotlist_ap_results()
273 tb2[ in gscan_parse_hotlist_ap_results()
282 tb2[QCA_WLAN_VENDOR_ATTR_GSCAN_RESULTS_SCAN_RESULT_BSSID]); in gscan_parse_hotlist_ap_results()
287 tb2[QCA_WLAN_VENDOR_ATTR_GSCAN_RESULTS_SCAN_RESULT_BSSID]), len); in gscan_parse_hotlist_ap_results()
[all …]
Dradio_mode.cpp121 struct nlattr *tb2[QCA_WLAN_VENDOR_ATTR_MAC_INFO_MAX+ 1]; in handleEvent() local
122 nla_parse(tb2, QCA_WLAN_VENDOR_ATTR_MAC_INFO_MAX, in handleEvent()
124 if (!tb2[QCA_WLAN_VENDOR_ATTR_MAC_INFO_MAC_ID]) in handleEvent()
130 mode_info.wlan_mac_id = nla_get_u32(tb2[QCA_WLAN_VENDOR_ATTR_MAC_INFO_MAC_ID]); in handleEvent()
133 if (!tb2[QCA_WLAN_VENDOR_ATTR_MAC_INFO_BAND]) in handleEvent()
139 … mode_info.mac_band = (wlan_mac_band) nla_get_u32(tb2[QCA_WLAN_VENDOR_ATTR_MAC_INFO_BAND]); in handleEvent()
142 if (tb2[QCA_WLAN_VENDOR_ATTR_MAC_IFACE_INFO]) in handleEvent()
148 … for (tb_iface = (struct nlattr *) nla_data(tb2[QCA_WLAN_VENDOR_ATTR_MAC_IFACE_INFO]), in handleEvent()
149 rem_info = nla_len(tb2[QCA_WLAN_VENDOR_ATTR_MAC_IFACE_INFO]); in handleEvent()
Dllstats.cpp502 struct nlattr *tb2[ QCA_WLAN_VENDOR_ATTR_LL_STATS_MAX+ 1]; in get_wifi_peer_info() local
505 …nla_parse(tb2, QCA_WLAN_VENDOR_ATTR_LL_STATS_MAX, (struct nlattr *) nla_data(rateInfo), nla_len(ra… in get_wifi_peer_info()
506 ret = get_wifi_rate_stat(pRateStats, tb2); in get_wifi_peer_info()
662 struct nlattr *tb2[ QCA_WLAN_VENDOR_ATTR_LL_STATS_MAX+ 1]; in get_wifi_iface_stats() local
665 nla_parse(tb2, QCA_WLAN_VENDOR_ATTR_LL_STATS_MAX, in get_wifi_iface_stats()
668 ret = get_wifi_wmm_ac_stat(pWmmStats, tb2); in get_wifi_iface_stats()
796 struct nlattr *tb2[ QCA_WLAN_VENDOR_ATTR_LL_STATS_MAX+ 1]; in get_wifi_radio_stats() local
798 …nla_parse(tb2, QCA_WLAN_VENDOR_ATTR_LL_STATS_MAX, (struct nlattr *) nla_data(chInfo), nla_len(chIn… in get_wifi_radio_stats()
800 if (!tb2[QCA_WLAN_VENDOR_ATTR_LL_STATS_CHANNEL_INFO_WIDTH]) in get_wifi_radio_stats()
805 …pChStats->channel.width = (wifi_channel_width)nla_get_u32(tb2[QCA_WLAN_VENDOR_ATT… in get_wifi_radio_stats()
[all …]
Dnan_ind.cpp1180 struct nlattr *tb2[QCA_WLAN_VENDOR_ATTR_NDP_MAX + 1]; in getNdpConfirm() local
1184 nla_parse(tb2, QCA_WLAN_VENDOR_ATTR_NDP_MAX, in getNdpConfirm()
1187 if (!tb2[QCA_WLAN_VENDOR_ATTR_NDP_CHANNEL]) { in getNdpConfirm()
1191 pChInfo->channel = nla_get_u32(tb2[QCA_WLAN_VENDOR_ATTR_NDP_CHANNEL]); in getNdpConfirm()
1194 if (!tb2[QCA_WLAN_VENDOR_ATTR_NDP_CHANNEL_WIDTH]) { in getNdpConfirm()
1198 pChInfo->bandwidth = nla_get_u32(tb2[QCA_WLAN_VENDOR_ATTR_NDP_CHANNEL_WIDTH]); in getNdpConfirm()
1201 if (!tb2[QCA_WLAN_VENDOR_ATTR_NDP_NSS]) { in getNdpConfirm()
1205 pChInfo->nss = nla_get_u32(tb2[QCA_WLAN_VENDOR_ATTR_NDP_NSS]); in getNdpConfirm()
1234 struct nlattr *tb2[QCA_WLAN_VENDOR_ATTR_NDP_MAX + 1]; in getNdpScheduleUpdate() local
1238 nla_parse(tb2, QCA_WLAN_VENDOR_ATTR_NDP_MAX, in getNdpScheduleUpdate()
[all …]
Dgscan.cpp1399 struct nlattr *tb2[QCA_WLAN_VENDOR_ATTR_GSCAN_RESULTS_MAX + 1]; in gscan_get_cached_results() local
1400 nla_parse(tb2, QCA_WLAN_VENDOR_ATTR_GSCAN_RESULTS_MAX, in gscan_get_cached_results()
1405 tb2[ in gscan_get_cached_results()
1415 tb2[ in gscan_get_cached_results()
1420 tb2[ in gscan_get_cached_results()
1430 tb2[QCA_WLAN_VENDOR_ATTR_GSCAN_CACHED_RESULTS_FLAGS]); in gscan_get_cached_results()
1432 if (!tb2[QCA_WLAN_VENDOR_ATTR_GSCAN_RESULTS_BUCKETS_SCANNED]) in gscan_get_cached_results()
1438 tb2[QCA_WLAN_VENDOR_ATTR_GSCAN_RESULTS_BUCKETS_SCANNED]); in gscan_get_cached_results()
1442 tb2[ in gscan_get_cached_results()
1452 tb2[QCA_WLAN_VENDOR_ATTR_GSCAN_RESULTS_NUM_RESULTS_AVAILABLE]); in gscan_get_cached_results()
[all …]
Dwifi_hal.cpp1034 struct nlattr *tb2[CTRL_ATTR_MCAST_GRP_MAX + 1]; in handleResponse() local
1035 nla_parse(tb2, CTRL_ATTR_MCAST_GRP_MAX, (nlattr *)nla_data(mcgrp), in handleResponse()
1037 if (!tb2[CTRL_ATTR_MCAST_GRP_NAME] || !tb2[CTRL_ATTR_MCAST_GRP_ID]) in handleResponse()
1042 char *grpName = (char *)nla_data(tb2[CTRL_ATTR_MCAST_GRP_NAME]); in handleResponse()
1043 int grpNameLen = nla_len(tb2[CTRL_ATTR_MCAST_GRP_NAME]); in handleResponse()
1050 mId = nla_get_u32(tb2[CTRL_ATTR_MCAST_GRP_ID]); in handleResponse()
/hardware/qcom/wlan/cld80211-lib/
Dcld80211_lib.c210 struct nlattr *tb2[CTRL_ATTR_MCAST_GRP_MAX + 1]; in family_handler() local
211 nla_parse(tb2, CTRL_ATTR_MCAST_GRP_MAX, nla_data(mcgrp), in family_handler()
214 if (!tb2[CTRL_ATTR_MCAST_GRP_NAME] || in family_handler()
215 !tb2[CTRL_ATTR_MCAST_GRP_ID] || in family_handler()
216 strncmp(nla_data(tb2[CTRL_ATTR_MCAST_GRP_NAME]), in family_handler()
218 nla_len(tb2[CTRL_ATTR_MCAST_GRP_NAME])) != 0) in family_handler()
220 res->id = nla_get_u32(tb2[CTRL_ATTR_MCAST_GRP_ID]); in family_handler()
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dwifi_hal.cpp634 struct nlattr *tb2[CTRL_ATTR_MCAST_GRP_MAX + 1]; in handleResponse() local
635 nla_parse(tb2, CTRL_ATTR_MCAST_GRP_MAX, (nlattr *)nla_data(mcgrp), in handleResponse()
637 if (!tb2[CTRL_ATTR_MCAST_GRP_NAME] || !tb2[CTRL_ATTR_MCAST_GRP_ID]) { in handleResponse()
641 char *grpName = (char *)nla_data(tb2[CTRL_ATTR_MCAST_GRP_NAME]); in handleResponse()
642 int grpNameLen = nla_len(tb2[CTRL_ATTR_MCAST_GRP_NAME]); in handleResponse()
649 mId = nla_get_u32(tb2[CTRL_ATTR_MCAST_GRP_ID]); in handleResponse()