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.cpp236 struct nlattr *tb2[QCA_WLAN_VENDOR_ATTR_GSCAN_RESULTS_MAX + 1]; in gscan_parse_hotlist_ap_results() local
237 nla_parse(tb2, QCA_WLAN_VENDOR_ATTR_GSCAN_RESULTS_MAX, in gscan_parse_hotlist_ap_results()
242 tb2[ in gscan_parse_hotlist_ap_results()
252 tb2[ in gscan_parse_hotlist_ap_results()
256 tb2[ in gscan_parse_hotlist_ap_results()
264 len = nla_len(tb2[ in gscan_parse_hotlist_ap_results()
270 tb2[QCA_WLAN_VENDOR_ATTR_GSCAN_RESULTS_SCAN_RESULT_SSID]), len); in gscan_parse_hotlist_ap_results()
272 tb2[ in gscan_parse_hotlist_ap_results()
281 tb2[QCA_WLAN_VENDOR_ATTR_GSCAN_RESULTS_SCAN_RESULT_BSSID]); in gscan_parse_hotlist_ap_results()
286 tb2[QCA_WLAN_VENDOR_ATTR_GSCAN_RESULTS_SCAN_RESULT_BSSID]), len); in gscan_parse_hotlist_ap_results()
[all …]
Dradio_mode.cpp122 struct nlattr *tb2[QCA_WLAN_VENDOR_ATTR_MAC_INFO_MAX+ 1]; in handleEvent() local
123 nla_parse(tb2, QCA_WLAN_VENDOR_ATTR_MAC_INFO_MAX, in handleEvent()
125 if (!tb2[QCA_WLAN_VENDOR_ATTR_MAC_INFO_MAC_ID]) in handleEvent()
131 mode_info.wlan_mac_id = nla_get_u32(tb2[QCA_WLAN_VENDOR_ATTR_MAC_INFO_MAC_ID]); in handleEvent()
134 if (!tb2[QCA_WLAN_VENDOR_ATTR_MAC_INFO_BAND]) in handleEvent()
140 … mode_info.mac_band = (wlan_mac_band) nla_get_u32(tb2[QCA_WLAN_VENDOR_ATTR_MAC_INFO_BAND]); in handleEvent()
143 if (tb2[QCA_WLAN_VENDOR_ATTR_MAC_IFACE_INFO]) in handleEvent()
149 … for (tb_iface = (struct nlattr *) nla_data(tb2[QCA_WLAN_VENDOR_ATTR_MAC_IFACE_INFO]), in handleEvent()
150 rem_info = nla_len(tb2[QCA_WLAN_VENDOR_ATTR_MAC_IFACE_INFO]); in handleEvent()
Dllstats.cpp501 struct nlattr *tb2[ QCA_WLAN_VENDOR_ATTR_LL_STATS_MAX+ 1]; in get_wifi_peer_info() local
504 …nla_parse(tb2, QCA_WLAN_VENDOR_ATTR_LL_STATS_MAX, (struct nlattr *) nla_data(rateInfo), nla_len(ra… in get_wifi_peer_info()
505 ret = get_wifi_rate_stat(pRateStats, tb2); in get_wifi_peer_info()
661 struct nlattr *tb2[ QCA_WLAN_VENDOR_ATTR_LL_STATS_MAX+ 1]; in get_wifi_iface_stats() local
664 nla_parse(tb2, QCA_WLAN_VENDOR_ATTR_LL_STATS_MAX, in get_wifi_iface_stats()
667 ret = get_wifi_wmm_ac_stat(pWmmStats, tb2); in get_wifi_iface_stats()
795 struct nlattr *tb2[ QCA_WLAN_VENDOR_ATTR_LL_STATS_MAX+ 1]; in get_wifi_radio_stats() local
797 …nla_parse(tb2, QCA_WLAN_VENDOR_ATTR_LL_STATS_MAX, (struct nlattr *) nla_data(chInfo), nla_len(chIn… in get_wifi_radio_stats()
799 if (!tb2[QCA_WLAN_VENDOR_ATTR_LL_STATS_CHANNEL_INFO_WIDTH]) in get_wifi_radio_stats()
804 …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_PARAMS_MAX + 1]; in getNdpConfirm() local
1184 nla_parse(tb2, QCA_WLAN_VENDOR_ATTR_NDP_PARAMS_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_PARAMS_MAX + 1]; in getNdpScheduleUpdate() local
1238 nla_parse(tb2, QCA_WLAN_VENDOR_ATTR_NDP_PARAMS_MAX, in getNdpScheduleUpdate()
[all …]
Dgscan.cpp1402 struct nlattr *tb2[QCA_WLAN_VENDOR_ATTR_GSCAN_RESULTS_MAX + 1]; in gscan_get_cached_results() local
1403 nla_parse(tb2, QCA_WLAN_VENDOR_ATTR_GSCAN_RESULTS_MAX, in gscan_get_cached_results()
1408 tb2[ in gscan_get_cached_results()
1418 tb2[ in gscan_get_cached_results()
1423 tb2[ in gscan_get_cached_results()
1433 tb2[QCA_WLAN_VENDOR_ATTR_GSCAN_CACHED_RESULTS_FLAGS]); in gscan_get_cached_results()
1435 if (!tb2[QCA_WLAN_VENDOR_ATTR_GSCAN_RESULTS_BUCKETS_SCANNED]) in gscan_get_cached_results()
1441 tb2[QCA_WLAN_VENDOR_ATTR_GSCAN_RESULTS_BUCKETS_SCANNED]); in gscan_get_cached_results()
1445 tb2[ in gscan_get_cached_results()
1455 tb2[QCA_WLAN_VENDOR_ATTR_GSCAN_RESULTS_NUM_RESULTS_AVAILABLE]); in gscan_get_cached_results()
[all …]
Dwifi_hal.cpp1707 struct nlattr *tb2[CTRL_ATTR_MCAST_GRP_MAX + 1]; in handleResponse() local
1708 nla_parse(tb2, CTRL_ATTR_MCAST_GRP_MAX, (nlattr *)nla_data(mcgrp), in handleResponse()
1710 if (!tb2[CTRL_ATTR_MCAST_GRP_NAME] || !tb2[CTRL_ATTR_MCAST_GRP_ID]) in handleResponse()
1715 char *grpName = (char *)nla_data(tb2[CTRL_ATTR_MCAST_GRP_NAME]); in handleResponse()
1716 int grpNameLen = nla_len(tb2[CTRL_ATTR_MCAST_GRP_NAME]); in handleResponse()
1723 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.cpp637 struct nlattr *tb2[CTRL_ATTR_MCAST_GRP_MAX + 1]; in handleResponse() local
638 nla_parse(tb2, CTRL_ATTR_MCAST_GRP_MAX, (nlattr *)nla_data(mcgrp), in handleResponse()
640 if (!tb2[CTRL_ATTR_MCAST_GRP_NAME] || !tb2[CTRL_ATTR_MCAST_GRP_ID]) { in handleResponse()
644 char *grpName = (char *)nla_data(tb2[CTRL_ATTR_MCAST_GRP_NAME]); in handleResponse()
645 int grpNameLen = nla_len(tb2[CTRL_ATTR_MCAST_GRP_NAME]); in handleResponse()
652 mId = nla_get_u32(tb2[CTRL_ATTR_MCAST_GRP_ID]); in handleResponse()