Home
last modified time | relevance | path

Searched refs:nla_data (Results 1 – 16 of 16) sorted by relevance

/hardware/qcom/wlan/qcwcn/wifi_hal/
Dgscan_event_handler.cpp228 for (scanResultsInfo = (struct nlattr *) nla_data(tb_vendor[ in gscan_parse_hotlist_ap_results()
238 (struct nlattr *) nla_data(scanResultsInfo), in gscan_parse_hotlist_ap_results()
269 nla_data( in gscan_parse_hotlist_ap_results()
285 nla_data( in gscan_parse_hotlist_ap_results()
363 for (scanResultsInfo = (struct nlattr *) nla_data(tb_vendor[ in gscan_get_significant_change_results()
372 (struct nlattr *) nla_data(scanResultsInfo), in gscan_get_significant_change_results()
390 nla_data( in gscan_get_significant_change_results()
434 nla_data( in gscan_get_significant_change_results()
471 for (scanResultsInfo = (struct nlattr *) nla_data(tb_vendor[ in gscan_parse_hotlist_ssid_results()
481 (struct nlattr *) nla_data(scanResultsInfo), in gscan_parse_hotlist_ssid_results()
[all …]
Dcpp_bindings.h101 return mAttributes[attribute] ? nla_data(mAttributes[attribute]) : NULL; in get_data()
113 pos = (struct nlattr *)nla_data(attr); in nl_iterator()
141 return nla_data(pos); in get_data()
245 return *(u8 *) nla_data(nla); in get_u8()
249 return *(u16 *) nla_data(nla); in get_u16()
253 return *(u32 *) nla_data(nla); in get_u32()
257 return *(u64 *) nla_data(nla); in get_u64()
262 return *(s8 *) nla_data(nla); in get_s8()
267 return *(s16 *) nla_data(nla); in get_s16()
271 return *(s32 *) nla_data(nla); in get_s32()
[all …]
Dradio_mode.cpp118 … for (modeInfo = (struct nlattr *) nla_data(mtb_vendor[QCA_WLAN_VENDOR_ATTR_MAC_INFO]), in handleEvent()
124 (struct nlattr *) nla_data(modeInfo), nla_len(modeInfo), NULL); in handleEvent()
149 … for (tb_iface = (struct nlattr *) nla_data(tb2[QCA_WLAN_VENDOR_ATTR_MAC_IFACE_INFO]), in handleEvent()
157 … (struct nlattr *) nla_data(tb_iface), nla_len(tb_iface), NULL); in handleEvent()
Dllstats.cpp126 …memcpy(&stats->mac_addr[0], nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_MAC_ADDR])… in get_wifi_interface_info()
156 … memcpy(&stats->ssid[0], nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_SSID]), len); in get_wifi_interface_info()
165 …memcpy(&stats->bssid[0], nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_BSSID]), len); in get_wifi_interface_info()
174 …memcpy(&stats->ap_country_str[0], nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_AP_C… in get_wifi_interface_info()
184 …memcpy(&stats->country_str[0], nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_COUNTRY… in get_wifi_interface_info()
467 …memcpy((void *)&stats->peer_mac_address[0], nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_PEER_… in get_wifi_peer_info()
498 …for (rateInfo = (struct nlattr *) nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_PEER_INFO_RATE_… in get_wifi_peer_info()
505 …nla_parse(tb2, QCA_WLAN_VENDOR_ATTR_LL_STATS_MAX, (struct nlattr *) nla_data(rateInfo), nla_len(ra… in get_wifi_peer_info()
655 for (wmmInfo = (struct nlattr *) nla_data(tb_vendor[ in get_wifi_iface_stats()
666 (struct nlattr *) nla_data(wmmInfo), in get_wifi_iface_stats()
[all …]
Dnan_ind.cpp1098 …memcpy(&event->peer_disc_mac_addr[0], nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_NDP_PEER_DISCOVERY_M… in getNdpRequest()
1105 …memcpy(&event->app_info.ndp_app_info[0], nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_NDP_APP_INFO]), l… in getNdpRequest()
1140 …memcpy(&event->peer_ndi_mac_addr[0], nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_NDP_NDI_MAC_ADDR]), l… in getNdpConfirm()
1148 …memcpy(&event->app_info.ndp_app_info[0], nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_NDP_APP_INFO]), l… in getNdpConfirm()
1181 (struct nlattr *) nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_NDP_CHANNEL_INFO]), in getNdpConfirm()
1190 (struct nlattr *) nla_data(chInfo), nla_len(chInfo), NULL); in getNdpConfirm()
1228 …memcpy(&event->peer_mac_addr[0], nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_NDP_PEER_DISCOVERY_MAC_AD… in getNdpScheduleUpdate()
1235 (struct nlattr *) nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_NDP_CHANNEL_INFO]), in getNdpScheduleUpdate()
1244 (struct nlattr *) nla_data(chInfo), nla_len(chInfo), NULL); in getNdpScheduleUpdate()
Difaceeventhandler.cpp116 memcpy(&code[0], (char *) nla_data(tb[NL80211_ATTR_REG_ALPHA2]), 2); in handleEvent()
262 memcpy(mDriverFeatures.flags, nla_data(attr), len); in handleResponse()
369 nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_PACKET_FILTER_PROGRAM]), in handleResponse()
Dcpp_bindings.cpp764 mVendorData = (char *)nla_data(tb[NL80211_ATTR_VENDOR_DATA]); in handleResponse()
791 mVendorData = (char *)nla_data(tb[NL80211_ATTR_VENDOR_DATA]); in handleEvent()
976 memcpy(addr, (u8 *)nla_data(tb_vendor[attribute]), in get_mac_addr()
Dgscan.cpp1395 for (scanResultsInfo = (struct nlattr *) nla_data(tb_vendor[ in gscan_get_cached_results()
1404 (struct nlattr *) nla_data(scanResultsInfo), in gscan_get_cached_results()
1485 for (wifiScanResultsInfo = (struct nlattr *) nla_data(tb2[ in gscan_get_cached_results()
1494 (struct nlattr *) nla_data(wifiScanResultsInfo), in gscan_get_cached_results()
1528 nla_data( in gscan_get_cached_results()
1549 nla_data( in gscan_get_cached_results()
Dwifilogger.cpp1047 memcpy(mVersion, nla_data(tb_vendor[version]), len); in handleResponse()
1187 nla_data(tbVendor[ in handleResponse()
1215 nla_data(tbVendor[ in handleResponse()
Dtdls.cpp121 (u8 *)nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_TDLS_MAC_ADDR]), in handleEvent()
Dnan.cpp1205 mNanVendorEvent = (char *)nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_NAN]); in handleEvent()
Dwifilogger_diag.cpp2593 (struct nlattr *)nla_data(attrs[CLD80211_ATTR_VENDOR_DATA]), in diag_message_handler()
2597 clh = (tAniCLDHdr *)nla_data(tb_vendor[CLD80211_ATTR_DATA]); in diag_message_handler()
/hardware/qcom/wlan/cld80211-lib/
Dcld80211_lib.c211 nla_parse(tb2, CTRL_ATTR_MCAST_GRP_MAX, nla_data(mcgrp), in family_handler()
216 strncmp(nla_data(tb2[CTRL_ATTR_MCAST_GRP_NAME]), in family_handler()
299 struct nlattr **nla_data, int pid) in cld80211_msg_alloc() argument
303 if (!ctx || !nla_data) { in cld80211_msg_alloc()
317 *nla_data = nla_nest_start(nlmsg, CLD80211_ATTR_VENDOR_DATA); in cld80211_msg_alloc()
318 if (!nla_data) in cld80211_msg_alloc()
Dcld80211_lib.h89 struct nlattr **nla_data, int pid);
/hardware/google/pixel/thermal/utils/
Dthermal_watcher.cpp128 nla_parse(tb_mcgrp, CTRL_ATTR_MCAST_GRP_MAX, reinterpret_cast<nlattr *>(nla_data(mcgrp)), in nlFamilyHandle()
134 if (strncmp(reinterpret_cast<char *>(nla_data(tb_mcgrp[CTRL_ATTR_MCAST_GRP_NAME])), in nlFamilyHandle()
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dwifi_hal.cpp894 nla_parse(tb2, CTRL_ATTR_MCAST_GRP_MAX, (nlattr *)nla_data(mcgrp), in handleResponse()
900 char *grpName = (char *)nla_data(tb2[CTRL_ATTR_MCAST_GRP_NAME]); in handleResponse()