Home
last modified time | relevance | path

Searched refs:tb_vendor (Results 1 – 13 of 13) sorted by relevance

/hardware/qcom/wlan/qcwcn/wifi_hal/
Dllstats.cpp110 struct nlattr **tb_vendor) in get_wifi_interface_info() argument
115 if (!tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_MODE]) in get_wifi_interface_info()
120 …stats->mode = (wifi_interface_mode)nla_get_u32(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_… in get_wifi_interface_info()
123 if (!tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_MAC_ADDR]) in get_wifi_interface_info()
128 len = nla_len(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_MAC_ADDR]); in get_wifi_interface_info()
130 …memcpy(&stats->mac_addr[0], nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_MAC_ADDR])… in get_wifi_interface_info()
132 if (!tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_STATE]) in get_wifi_interface_info()
137 …stats->state = (wifi_connection_state)nla_get_u32(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_IN… in get_wifi_interface_info()
139 if (!tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_ROAMING]) in get_wifi_interface_info()
144 …stats->roaming = (wifi_roam_state)nla_get_u32(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_R… in get_wifi_interface_info()
[all …]
Dtdls.cpp108 struct nlattr *tb_vendor[QCA_WLAN_VENDOR_ATTR_TDLS_STATE_MAX in handleEvent() local
116 nla_parse(tb_vendor, QCA_WLAN_VENDOR_ATTR_TDLS_STATE_MAX, in handleEvent()
121 if (!tb_vendor[QCA_WLAN_VENDOR_ATTR_TDLS_MAC_ADDR]) in handleEvent()
128 (u8 *)nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_TDLS_MAC_ADDR]), in handleEvent()
129 nla_len(tb_vendor[QCA_WLAN_VENDOR_ATTR_TDLS_MAC_ADDR])); in handleEvent()
133 if (!tb_vendor[QCA_WLAN_VENDOR_ATTR_TDLS_STATE]) in handleEvent()
140 get_u32(tb_vendor[QCA_WLAN_VENDOR_ATTR_TDLS_STATE]); in handleEvent()
143 if (!tb_vendor[QCA_WLAN_VENDOR_ATTR_TDLS_REASON]) in handleEvent()
150 get_s32(tb_vendor[QCA_WLAN_VENDOR_ATTR_TDLS_REASON]); in handleEvent()
153 if (!tb_vendor[QCA_WLAN_VENDOR_ATTR_TDLS_CHANNEL]) in handleEvent()
[all …]
Difaceeventhandler.cpp235 struct nlattr *tb_vendor[QCA_WLAN_VENDOR_ATTR_FEATURE_SET_MAX + 1]; in handleResponse() local
236 nla_parse(tb_vendor, QCA_WLAN_VENDOR_ATTR_FEATURE_SET_MAX, in handleResponse()
240 if (!tb_vendor[QCA_WLAN_VENDOR_ATTR_FEATURE_SET]) in handleResponse()
245 mSet = nla_get_u32(tb_vendor[QCA_WLAN_VENDOR_ATTR_FEATURE_SET]); in handleResponse()
252 struct nlattr *tb_vendor[ in handleResponse() local
254 nla_parse(tb_vendor, in handleResponse()
258 if (tb_vendor[ in handleResponse()
262 tb_vendor[ in handleResponse()
273 tb_vendor[ in handleResponse()
276 tb_vendor[ in handleResponse()
Drssi_monitor.cpp106 struct nlattr *tb_vendor[QCA_WLAN_VENDOR_ATTR_RSSI_MONITORING_MAX in handleEvent() local
108 nla_parse(tb_vendor, QCA_WLAN_VENDOR_ATTR_RSSI_MONITORING_MAX, in handleEvent()
116 if (!tb_vendor[ in handleEvent()
125 tb_vendor[QCA_WLAN_VENDOR_ATTR_RSSI_MONITORING_REQUEST_ID] in handleEvent()
135 ret = get_mac_addr(tb_vendor, in handleEvent()
143 if (!tb_vendor[QCA_WLAN_VENDOR_ATTR_RSSI_MONITORING_CUR_RSSI]) in handleEvent()
149 rssi = get_s8(tb_vendor[ in handleEvent()
Dgscan_event_handler.h81 struct nlattr **tb_vendor);
86 struct nlattr **tb_vendor);
88 struct nlattr **tb_vendor);
Dwifilogger.cpp835 struct nlattr *tb_vendor[QCA_WLAN_VENDOR_ATTR_WIFI_INFO_GET_MAX + 1]; in handleResponse() local
837 nla_parse(tb_vendor, QCA_WLAN_VENDOR_ATTR_WIFI_INFO_GET_MAX, in handleResponse()
840 if (tb_vendor[QCA_WLAN_VENDOR_ATTR_WIFI_INFO_DRIVER_VERSION]) { in handleResponse()
841 len = nla_len(tb_vendor[ in handleResponse()
846 tb_vendor[QCA_WLAN_VENDOR_ATTR_WIFI_INFO_FIRMWARE_VERSION]) { in handleResponse()
848 tb_vendor[ in handleResponse()
859 memcpy(mVersion, nla_data(tb_vendor[version]), len); in handleResponse()
868 struct nlattr *tb_vendor[QCA_WLAN_VENDOR_ATTR_FEATURE_SET_MAX + 1]; in handleResponse() local
870 nla_parse(tb_vendor, QCA_WLAN_VENDOR_ATTR_FEATURE_SET_MAX, in handleResponse()
873 if (tb_vendor[QCA_WLAN_VENDOR_ATTR_FEATURE_SET]) { in handleResponse()
[all …]
Dgscan_event_handler.cpp255 struct nlattr **tb_vendor) in gscan_parse_hotlist_ap_results() argument
263 for (scanResultsInfo = (struct nlattr *) nla_data(tb_vendor[ in gscan_parse_hotlist_ap_results()
265 rem = nla_len(tb_vendor[ in gscan_parse_hotlist_ap_results()
393 struct nlattr **tb_vendor) in gscan_get_significant_change_results() argument
403 for (scanResultsInfo = (struct nlattr *) nla_data(tb_vendor[ in gscan_get_significant_change_results()
405 rem = nla_len(tb_vendor[ in gscan_get_significant_change_results()
506 struct nlattr **tb_vendor) in gscan_parse_hotlist_ssid_results() argument
514 for (scanResultsInfo = (struct nlattr *) nla_data(tb_vendor[ in gscan_parse_hotlist_ssid_results()
516 rem = nla_len(tb_vendor[ in gscan_parse_hotlist_ssid_results()
642 struct nlattr **tb_vendor) in gscan_parse_passpoint_network_result() argument
[all …]
Dllstatscommand.h108 struct nlattr **tb_vendor);
Dnan.cpp485 struct nlattr *tb_vendor[QCA_WLAN_VENDOR_ATTR_MAX + 1]; in handleEvent() local
486 nla_parse(tb_vendor, QCA_WLAN_VENDOR_ATTR_MAX, in handleEvent()
490 mNanVendorEvent = (char *)nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_NAN]); in handleEvent()
491 mNanDataLen = nla_len(tb_vendor[QCA_WLAN_VENDOR_ATTR_NAN]); in handleEvent()
Dgscancommand.h135 struct nlattr **tb_vendor);
Dcpp_bindings.cpp981 wifi_error WifiVendorCommand::get_mac_addr(struct nlattr **tb_vendor, in get_mac_addr() argument
985 if (!tb_vendor[attribute]) { in get_mac_addr()
994 memcpy(addr, (u8 *)nla_data(tb_vendor[attribute]), in get_mac_addr()
995 nla_len(tb_vendor[attribute])); in get_mac_addr()
Dcpp_bindings.h456 virtual wifi_error get_mac_addr(struct nlattr **tb_vendor,
Dgscan.cpp2114 struct nlattr **tb_vendor) in gscan_get_cached_results() argument
2123 for (scanResultsInfo = (struct nlattr *) nla_data(tb_vendor[ in gscan_get_cached_results()
2125 rem = nla_len(tb_vendor[ in gscan_get_cached_results()