Home
last modified time | relevance | path

Searched refs:nla_data (Results 1 – 17 of 17) 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.cpp125 …memcpy(&stats->mac_addr[0], nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_MAC_ADDR])… in get_wifi_interface_info()
155 … memcpy(&stats->ssid[0], nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_SSID]), len); in get_wifi_interface_info()
164 …memcpy(&stats->bssid[0], nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_BSSID]), len); in get_wifi_interface_info()
173 …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()
183 …memcpy(&stats->country_str[0], nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_COUNTRY… in get_wifi_interface_info()
466 …memcpy((void *)&stats->peer_mac_address[0], nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_PEER_… in get_wifi_peer_info()
497 …for (rateInfo = (struct nlattr *) nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_PEER_INFO_RATE_… in get_wifi_peer_info()
504 …nla_parse(tb2, QCA_WLAN_VENDOR_ATTR_LL_STATS_MAX, (struct nlattr *) nla_data(rateInfo), nla_len(ra… in get_wifi_peer_info()
654 for (wmmInfo = (struct nlattr *) nla_data(tb_vendor[ in get_wifi_iface_stats()
665 (struct nlattr *) nla_data(wmmInfo), in get_wifi_iface_stats()
[all …]
Dnan_ind.cpp1093 …memcpy(&event->peer_disc_mac_addr[0], nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_NDP_PEER_DISCOVERY_M… in getNdpRequest()
1100 …memcpy(&event->app_info.ndp_app_info[0], nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_NDP_APP_INFO]), l… in getNdpRequest()
1135 …memcpy(&event->peer_ndi_mac_addr[0], nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_NDP_NDI_MAC_ADDR]), l… in getNdpConfirm()
1143 …memcpy(&event->app_info.ndp_app_info[0], nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_NDP_APP_INFO]), l… in getNdpConfirm()
1176 (struct nlattr *) nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_NDP_CHANNEL_INFO]), in getNdpConfirm()
1185 (struct nlattr *) nla_data(chInfo), nla_len(chInfo), NULL); in getNdpConfirm()
1223 …memcpy(&event->peer_mac_addr[0], nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_NDP_PEER_DISCOVERY_MAC_AD… in getNdpScheduleUpdate()
1230 (struct nlattr *) nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_NDP_CHANNEL_INFO]), in getNdpScheduleUpdate()
1239 (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()
Dwifi_hal.cpp1103 nla_parse(tb2, CTRL_ATTR_MCAST_GRP_MAX, (nlattr *)nla_data(mcgrp), in handleResponse()
1110 char *grpName = (char *)nla_data(tb2[CTRL_ATTR_MCAST_GRP_NAME]); in handleResponse()
Dnan.cpp1205 mNanVendorEvent = (char *)nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_NAN]); in handleEvent()
Dwifilogger_diag.cpp2578 (struct nlattr *)nla_data(attrs[CLD80211_ATTR_VENDOR_DATA]), in diag_message_handler()
2582 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/broadcom/wlan/bcmdhd/wifi_hal/
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()
366 for (pos = (nlattr *)nla_data(nla), rem = nla_len(nla); \
Dwifi_hal.cpp638 nla_parse(tb2, CTRL_ATTR_MCAST_GRP_MAX, (nlattr *)nla_data(mcgrp), in handleResponse()
644 char *grpName = (char *)nla_data(tb2[CTRL_ATTR_MCAST_GRP_NAME]); in handleResponse()