Searched refs:tb2 (Results 1 – 7 of 7) sorted by relevance
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
D | gscan_event_handler.cpp | 236 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 …]
|
D | radio_mode.cpp | 122 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()
|
D | llstats.cpp | 502 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 …]
|
D | nan_ind.cpp | 1185 struct nlattr *tb2[QCA_WLAN_VENDOR_ATTR_NDP_PARAMS_MAX + 1]; in getNdpConfirm() local 1189 nla_parse(tb2, QCA_WLAN_VENDOR_ATTR_NDP_PARAMS_MAX, in getNdpConfirm() 1192 if (!tb2[QCA_WLAN_VENDOR_ATTR_NDP_CHANNEL]) { in getNdpConfirm() 1196 pChInfo->channel = nla_get_u32(tb2[QCA_WLAN_VENDOR_ATTR_NDP_CHANNEL]); in getNdpConfirm() 1199 if (!tb2[QCA_WLAN_VENDOR_ATTR_NDP_CHANNEL_WIDTH]) { in getNdpConfirm() 1203 pChInfo->bandwidth = nla_get_u32(tb2[QCA_WLAN_VENDOR_ATTR_NDP_CHANNEL_WIDTH]); in getNdpConfirm() 1206 if (!tb2[QCA_WLAN_VENDOR_ATTR_NDP_NSS]) { in getNdpConfirm() 1210 pChInfo->nss = nla_get_u32(tb2[QCA_WLAN_VENDOR_ATTR_NDP_NSS]); in getNdpConfirm() 1239 struct nlattr *tb2[QCA_WLAN_VENDOR_ATTR_NDP_PARAMS_MAX + 1]; in getNdpScheduleUpdate() local 1243 nla_parse(tb2, QCA_WLAN_VENDOR_ATTR_NDP_PARAMS_MAX, in getNdpScheduleUpdate() [all …]
|
D | gscan.cpp | 1402 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 …]
|
/hardware/qcom/wlan/cld80211-lib/ |
D | cld80211_lib.c | 210 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/ |
D | wifi_hal.cpp | 893 struct nlattr *tb2[CTRL_ATTR_MCAST_GRP_MAX + 1]; in handleResponse() local 894 nla_parse(tb2, CTRL_ATTR_MCAST_GRP_MAX, (nlattr *)nla_data(mcgrp), in handleResponse() 896 if (!tb2[CTRL_ATTR_MCAST_GRP_NAME] || !tb2[CTRL_ATTR_MCAST_GRP_ID]) { in handleResponse() 900 char *grpName = (char *)nla_data(tb2[CTRL_ATTR_MCAST_GRP_NAME]); in handleResponse() 901 int grpNameLen = nla_len(tb2[CTRL_ATTR_MCAST_GRP_NAME]); in handleResponse() 908 mId = nla_get_u32(tb2[CTRL_ATTR_MCAST_GRP_ID]); in handleResponse()
|