/hardware/qcom/wlan/legacy/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 …]
|
D | wifi_hal.cpp | 2250 struct nlattr *tb2[CTRL_ATTR_MCAST_GRP_MAX + 1]; in handleResponse() local 2251 nla_parse(tb2, CTRL_ATTR_MCAST_GRP_MAX, (nlattr *)nla_data(mcgrp), in handleResponse() 2253 if (!tb2[CTRL_ATTR_MCAST_GRP_NAME] || !tb2[CTRL_ATTR_MCAST_GRP_ID]) in handleResponse() 2258 char *grpName = (char *)nla_data(tb2[CTRL_ATTR_MCAST_GRP_NAME]); in handleResponse() 2259 int grpNameLen = nla_len(tb2[CTRL_ATTR_MCAST_GRP_NAME]); in handleResponse() 2266 mId = nla_get_u32(tb2[CTRL_ATTR_MCAST_GRP_ID]); in handleResponse()
|
/hardware/qcom/wlan/wcn6740/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 | wifihal_vendor.cpp | 285 struct nlattr *tb2[QCA_ATTR_NUD_DATA_STATS_MAX + 1]; in GetPktInfo() local 286 nla_parse(tb2, QCA_ATTR_NUD_DATA_STATS_MAX, in GetPktInfo() 291 if (tb2[QCA_ATTR_NUD_STATS_PKT_TYPE]) in GetPktInfo() 293 pktstats.pkt_Type = nla_get_u32(tb2[QCA_ATTR_NUD_STATS_PKT_TYPE]); in GetPktInfo() 296 if (tb2[QCA_ATTR_NUD_STATS_PKT_DNS_DOMAIN_NAME]) in GetPktInfo() 298 pktstats.domain_name = nla_get_string(tb2[QCA_ATTR_NUD_STATS_PKT_DNS_DOMAIN_NAME]); in GetPktInfo() 301 if (tb2[QCA_ATTR_NUD_STATS_PKT_SRC_PORT]) in GetPktInfo() 303 pktstats.src_port = nla_get_u32(tb2[QCA_ATTR_NUD_STATS_PKT_SRC_PORT]); in GetPktInfo() 306 if (tb2[QCA_ATTR_NUD_STATS_PKT_DEST_PORT]) in GetPktInfo() 308 pktstats.dst_port = nla_get_u32(tb2[QCA_ATTR_NUD_STATS_PKT_DEST_PORT]); in GetPktInfo() [all …]
|
D | radio_mode.cpp | 170 struct nlattr *tb2[QCA_WLAN_VENDOR_ATTR_MAC_INFO_MAX+ 1]; in handleEvent() local 171 nla_parse(tb2, QCA_WLAN_VENDOR_ATTR_MAC_INFO_MAX, in handleEvent() 173 if (!tb2[QCA_WLAN_VENDOR_ATTR_MAC_INFO_MAC_ID]) in handleEvent() 180 mode_info.wlan_mac_id = nla_get_u32(tb2[QCA_WLAN_VENDOR_ATTR_MAC_INFO_MAC_ID]); in handleEvent() 183 if (!tb2[QCA_WLAN_VENDOR_ATTR_MAC_INFO_BAND]) in handleEvent() 190 … mode_info.mac_band = (wlan_mac_band) nla_get_u32(tb2[QCA_WLAN_VENDOR_ATTR_MAC_INFO_BAND]); in handleEvent() 193 if (tb2[QCA_WLAN_VENDOR_ATTR_MAC_IFACE_INFO]) in handleEvent() 199 … for (tb_iface = (struct nlattr *) nla_data(tb2[QCA_WLAN_VENDOR_ATTR_MAC_IFACE_INFO]), in handleEvent() 200 rem_info = nla_len(tb2[QCA_WLAN_VENDOR_ATTR_MAC_IFACE_INFO]); in handleEvent()
|
D | llstats.cpp | 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() [all …]
|
D | nan_ind.cpp | 1256 struct nlattr *tb2[QCA_WLAN_VENDOR_ATTR_NDP_PARAMS_MAX + 1]; in getNdpConfirm() local 1260 nla_parse(tb2, QCA_WLAN_VENDOR_ATTR_NDP_PARAMS_MAX, in getNdpConfirm() 1263 if (!tb2[QCA_WLAN_VENDOR_ATTR_NDP_CHANNEL]) { in getNdpConfirm() 1267 pChInfo->channel = nla_get_u32(tb2[QCA_WLAN_VENDOR_ATTR_NDP_CHANNEL]); in getNdpConfirm() 1270 if (!tb2[QCA_WLAN_VENDOR_ATTR_NDP_CHANNEL_WIDTH]) { in getNdpConfirm() 1274 pChInfo->bandwidth = nla_get_u32(tb2[QCA_WLAN_VENDOR_ATTR_NDP_CHANNEL_WIDTH]); in getNdpConfirm() 1277 if (!tb2[QCA_WLAN_VENDOR_ATTR_NDP_NSS]) { in getNdpConfirm() 1281 pChInfo->nss = nla_get_u32(tb2[QCA_WLAN_VENDOR_ATTR_NDP_NSS]); in getNdpConfirm() 1310 struct nlattr *tb2[QCA_WLAN_VENDOR_ATTR_NDP_PARAMS_MAX + 1]; in getNdpScheduleUpdate() local 1314 nla_parse(tb2, QCA_WLAN_VENDOR_ATTR_NDP_PARAMS_MAX, in getNdpScheduleUpdate() [all …]
|
D | gscan.cpp | 1439 struct nlattr *tb2[QCA_WLAN_VENDOR_ATTR_GSCAN_RESULTS_MAX + 1]; in gscan_get_cached_results() local 1440 nla_parse(tb2, QCA_WLAN_VENDOR_ATTR_GSCAN_RESULTS_MAX, in gscan_get_cached_results() 1445 tb2[ in gscan_get_cached_results() 1455 tb2[ in gscan_get_cached_results() 1460 tb2[ in gscan_get_cached_results() 1470 tb2[QCA_WLAN_VENDOR_ATTR_GSCAN_CACHED_RESULTS_FLAGS]); in gscan_get_cached_results() 1472 if (!tb2[QCA_WLAN_VENDOR_ATTR_GSCAN_RESULTS_BUCKETS_SCANNED]) in gscan_get_cached_results() 1478 tb2[QCA_WLAN_VENDOR_ATTR_GSCAN_RESULTS_BUCKETS_SCANNED]); in gscan_get_cached_results() 1482 tb2[ in gscan_get_cached_results() 1492 tb2[QCA_WLAN_VENDOR_ATTR_GSCAN_RESULTS_NUM_RESULTS_AVAILABLE]); in gscan_get_cached_results() [all …]
|
D | wifi_hal.cpp | 2347 struct nlattr *tb2[CTRL_ATTR_MCAST_GRP_MAX + 1]; in handleResponse() local 2348 nla_parse(tb2, CTRL_ATTR_MCAST_GRP_MAX, (nlattr *)nla_data(mcgrp), in handleResponse() 2350 if (!tb2[CTRL_ATTR_MCAST_GRP_NAME] || !tb2[CTRL_ATTR_MCAST_GRP_ID]) in handleResponse() 2355 char *grpName = (char *)nla_data(tb2[CTRL_ATTR_MCAST_GRP_NAME]); in handleResponse() 2356 int grpNameLen = nla_len(tb2[CTRL_ATTR_MCAST_GRP_NAME]); in handleResponse() 2363 mId = nla_get_u32(tb2[CTRL_ATTR_MCAST_GRP_ID]); in handleResponse()
|
/hardware/qcom/wlan/wcn6740/qcwcn/wpa_supplicant_8_lib/ |
D | driver_cmd_nl80211.c | 522 struct nlattr *tb2[NL80211_SURVEY_INFO_MAX + 1]; in parse_station_info() local 524 nla_parse(tb2, NL80211_SURVEY_INFO_MAX, in parse_station_info() 527 if (tb2[NL80211_SURVEY_INFO_FREQUENCY]) { in parse_station_info() 529 nla_get_u32(tb2[NL80211_SURVEY_INFO_FREQUENCY]); in parse_station_info() 534 if (tb2[NL80211_SURVEY_INFO_NOISE]) { in parse_station_info() 536 nla_get_u8(tb2[NL80211_SURVEY_INFO_NOISE]); in parse_station_info() 546 struct nlattr *tb2[NL80211_STA_INFO_MAX + 1]; in parse_station_info() local 548 nla_parse(tb2, NL80211_STA_INFO_MAX, in parse_station_info() 551 if (tb2[NL80211_STA_INFO_SIGNAL]) { in parse_station_info() 553 nla_get_u8(tb2[NL80211_STA_INFO_SIGNAL]); in parse_station_info() [all …]
|
/hardware/qcom/wlan/legacy/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/qcom/wlan/wcn6740/cld80211-lib/ |
D | cld80211_lib.c | 221 struct nlattr *tb2[CTRL_ATTR_MCAST_GRP_MAX + 1]; in family_handler() local 222 nla_parse(tb2, CTRL_ATTR_MCAST_GRP_MAX, nla_data(mcgrp), in family_handler() 225 if (!tb2[CTRL_ATTR_MCAST_GRP_NAME] || in family_handler() 226 !tb2[CTRL_ATTR_MCAST_GRP_ID] || in family_handler() 227 strncmp(nla_data(tb2[CTRL_ATTR_MCAST_GRP_NAME]), in family_handler() 229 nla_len(tb2[CTRL_ATTR_MCAST_GRP_NAME])) != 0) in family_handler() 231 res->id = nla_get_u32(tb2[CTRL_ATTR_MCAST_GRP_ID]); in family_handler()
|
/hardware/synaptics/wlan/synadhd/wifi_hal/ |
D | wifi_hal.cpp | 905 struct nlattr *tb2[CTRL_ATTR_MCAST_GRP_MAX + 1]; in handleResponse() local 906 nla_parse(tb2, CTRL_ATTR_MCAST_GRP_MAX, (nlattr *)nla_data(mcgrp), in handleResponse() 908 if (!tb2[CTRL_ATTR_MCAST_GRP_NAME] || !tb2[CTRL_ATTR_MCAST_GRP_ID]) { in handleResponse() 912 char *grpName = (char *)nla_data(tb2[CTRL_ATTR_MCAST_GRP_NAME]); in handleResponse() 913 int grpNameLen = nla_len(tb2[CTRL_ATTR_MCAST_GRP_NAME]); in handleResponse() 920 mId = nla_get_u32(tb2[CTRL_ATTR_MCAST_GRP_ID]); in handleResponse()
|
/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
D | wifi_hal.cpp | 945 struct nlattr *tb2[CTRL_ATTR_MCAST_GRP_MAX + 1]; in handleResponse() local 946 nla_parse(tb2, CTRL_ATTR_MCAST_GRP_MAX, (nlattr *)nla_data(mcgrp), in handleResponse() 948 if (!tb2[CTRL_ATTR_MCAST_GRP_NAME] || !tb2[CTRL_ATTR_MCAST_GRP_ID]) { in handleResponse() 952 char *grpName = (char *)nla_data(tb2[CTRL_ATTR_MCAST_GRP_NAME]); in handleResponse() 953 int grpNameLen = nla_len(tb2[CTRL_ATTR_MCAST_GRP_NAME]); in handleResponse() 960 mId = nla_get_u32(tb2[CTRL_ATTR_MCAST_GRP_ID]); in handleResponse()
|