Home
last modified time | relevance | path

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

/hardware/qcom/wlan/qcwcn/wifi_hal/
Dllstats.cpp106 struct nlattr **tb_vendor) in get_wifi_interface_info() argument
110 if (!tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_MODE]) in get_wifi_interface_info()
115 …stats->mode = (wifi_interface_mode)nla_get_u32(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_… in get_wifi_interface_info()
118 if (!tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_MAC_ADDR]) in get_wifi_interface_info()
123 len = nla_len(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_MAC_ADDR]); in get_wifi_interface_info()
125 …memcpy(&stats->mac_addr[0], nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_MAC_ADDR])… in get_wifi_interface_info()
127 if (!tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_STATE]) in get_wifi_interface_info()
132 …stats->state = (wifi_connection_state)nla_get_u32(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_IN… in get_wifi_interface_info()
134 if (!tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_ROAMING]) in get_wifi_interface_info()
139 …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.cpp102 struct nlattr *tb_vendor[QCA_WLAN_VENDOR_ATTR_TDLS_STATE_MAX in handleEvent() local
109 nla_parse(tb_vendor, QCA_WLAN_VENDOR_ATTR_TDLS_STATE_MAX, in handleEvent()
114 if (!tb_vendor[QCA_WLAN_VENDOR_ATTR_TDLS_MAC_ADDR]) in handleEvent()
121 (u8 *)nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_TDLS_MAC_ADDR]), in handleEvent()
122 nla_len(tb_vendor[QCA_WLAN_VENDOR_ATTR_TDLS_MAC_ADDR])); in handleEvent()
126 if (!tb_vendor[QCA_WLAN_VENDOR_ATTR_TDLS_STATE]) in handleEvent()
133 get_u32(tb_vendor[QCA_WLAN_VENDOR_ATTR_TDLS_STATE]); in handleEvent()
136 if (!tb_vendor[QCA_WLAN_VENDOR_ATTR_TDLS_REASON]) in handleEvent()
143 get_s32(tb_vendor[QCA_WLAN_VENDOR_ATTR_TDLS_REASON]); in handleEvent()
146 if (!tb_vendor[QCA_WLAN_VENDOR_ATTR_TDLS_CHANNEL]) in handleEvent()
[all …]
Dwifihal_vendor.cpp122 struct nlattr *tb_vendor[QCA_ATTR_NUD_STATS_GET_MAX + 1]; in handleResponse() local
126 nla_parse(tb_vendor, QCA_ATTR_NUD_STATS_GET_MAX, in handleResponse()
129 if (!tb_vendor[QCA_ATTR_NUD_STATS_ARP_REQ_COUNT_FROM_NETDEV]) in handleResponse()
136 stats->arp_req_count_from_netdev = nla_get_u16(tb_vendor[ in handleResponse()
139 if (!tb_vendor[QCA_ATTR_NUD_STATS_ARP_REQ_COUNT_TO_LOWER_MAC]) in handleResponse()
146 stats->arp_req_count_to_lower_mac = nla_get_u16(tb_vendor[ in handleResponse()
149 if (!tb_vendor[QCA_ATTR_NUD_STATS_ARP_REQ_RX_COUNT_BY_LOWER_MAC]) in handleResponse()
156 stats->arp_req_rx_count_by_lower_mac = nla_get_u16(tb_vendor[ in handleResponse()
159 if (!tb_vendor[QCA_ATTR_NUD_STATS_ARP_REQ_COUNT_TX_SUCCESS]) in handleResponse()
166 stats->arp_req_count_tx_success = nla_get_u16(tb_vendor[ in handleResponse()
[all …]
Difaceeventhandler.cpp236 struct nlattr *tb_vendor[QCA_WLAN_VENDOR_ATTR_FEATURE_SET_MAX + 1]; in handleResponse() local
237 nla_parse(tb_vendor, QCA_WLAN_VENDOR_ATTR_FEATURE_SET_MAX, in handleResponse()
241 if (!tb_vendor[QCA_WLAN_VENDOR_ATTR_FEATURE_SET]) in handleResponse()
246 mSet = nla_get_u32(tb_vendor[QCA_WLAN_VENDOR_ATTR_FEATURE_SET]); in handleResponse()
254 struct nlattr *tb_vendor[QCA_WLAN_VENDOR_ATTR_MAX + 1]; in handleResponse() local
255 nla_parse(tb_vendor, QCA_WLAN_VENDOR_ATTR_MAX, in handleResponse()
257 attr = tb_vendor[QCA_WLAN_VENDOR_ATTR_FEATURE_FLAGS]; in handleResponse()
270 struct nlattr *tb_vendor[ in handleResponse() local
272 nla_parse(tb_vendor, in handleResponse()
276 if (tb_vendor[ in handleResponse()
[all …]
Dnan_ind.cpp963 int NanCommand::handleNdpIndication(u32 ndpCmdType, struct nlattr **tb_vendor) in handleNdpIndication() argument
975 res = getNdpRequest(tb_vendor, &ndpRequestInd); in handleNdpIndication()
985 res = getNdpConfirm(tb_vendor, &ndpConfirmInd); in handleNdpIndication()
996 if (!tb_vendor[QCA_WLAN_VENDOR_ATTR_NDP_INSTANCE_ID_ARRAY]) { in handleNdpIndication()
1001 … num_ndp_ids = (u8)(nla_len(tb_vendor[QCA_WLAN_VENDOR_ATTR_NDP_INSTANCE_ID_ARRAY])/sizeof(u32)); in handleNdpIndication()
1013 tb_vendor[QCA_WLAN_VENDOR_ATTR_NDP_INSTANCE_ID_ARRAY], in handleNdpIndication()
1028 if ((!tb_vendor[QCA_WLAN_VENDOR_ATTR_NDP_PEER_DISCOVERY_MAC_ADDR]) || in handleNdpIndication()
1029 (!tb_vendor[QCA_WLAN_VENDOR_ATTR_NDP_SCHEDULE_UPDATE_REASON]) || in handleNdpIndication()
1030 (!tb_vendor[QCA_WLAN_VENDOR_ATTR_NDP_INSTANCE_ID_ARRAY])) { in handleNdpIndication()
1034 if (tb_vendor[QCA_WLAN_VENDOR_ATTR_NDP_NUM_CHANNELS]) { in handleNdpIndication()
[all …]
Dnancommand.h98 int handleNdpResponse(NanResponseType ndpCmdtyp, struct nlattr **tb_vendor);
99 int handleNdpIndication(u32 ndpCmdType, struct nlattr **tb_vendor);
100 int getNdpRequest(struct nlattr **tb_vendor, NanDataPathRequestInd *event);
101 int getNdpConfirm(struct nlattr **tb_vendor, NanDataPathConfirmInd *event);
102 int getNdpEnd(struct nlattr **tb_vendor, NanDataPathEndInd *event);
106 int getNdpScheduleUpdate(struct nlattr **tb_vendor, NanDataPathScheduleUpdateInd *event);
Drssi_monitor.cpp191 struct nlattr *tb_vendor[QCA_WLAN_VENDOR_ATTR_RSSI_MONITORING_MAX in handleEvent() local
193 nla_parse(tb_vendor, QCA_WLAN_VENDOR_ATTR_RSSI_MONITORING_MAX, in handleEvent()
199 if (!tb_vendor[ in handleEvent()
208 tb_vendor[QCA_WLAN_VENDOR_ATTR_RSSI_MONITORING_REQUEST_ID] in handleEvent()
218 ret = get_mac_addr(tb_vendor, in handleEvent()
226 if (!tb_vendor[QCA_WLAN_VENDOR_ATTR_RSSI_MONITORING_CUR_RSSI]) in handleEvent()
232 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);
Dgscan_event_handler.cpp220 struct nlattr **tb_vendor) in gscan_parse_hotlist_ap_results() argument
228 for (scanResultsInfo = (struct nlattr *) nla_data(tb_vendor[ in gscan_parse_hotlist_ap_results()
230 rem = nla_len(tb_vendor[ in gscan_parse_hotlist_ap_results()
353 struct nlattr **tb_vendor) in gscan_get_significant_change_results() argument
363 for (scanResultsInfo = (struct nlattr *) nla_data(tb_vendor[ in gscan_get_significant_change_results()
365 rem = nla_len(tb_vendor[ in gscan_get_significant_change_results()
464 struct nlattr **tb_vendor) in gscan_parse_hotlist_ssid_results() argument
471 for (scanResultsInfo = (struct nlattr *) nla_data(tb_vendor[ in gscan_parse_hotlist_ssid_results()
473 rem = nla_len(tb_vendor[ in gscan_parse_hotlist_ssid_results()
594 struct nlattr **tb_vendor) in gscan_parse_passpoint_network_result() argument
[all …]
Dnan.cpp1200 struct nlattr *tb_vendor[QCA_WLAN_VENDOR_ATTR_MAX + 1]; in handleEvent() local
1201 nla_parse(tb_vendor, QCA_WLAN_VENDOR_ATTR_MAX, in handleEvent()
1205 mNanVendorEvent = (char *)nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_NAN]); in handleEvent()
1206 mNanDataLen = nla_len(tb_vendor[QCA_WLAN_VENDOR_ATTR_NAN]); in handleEvent()
1222 struct nlattr *tb_vendor[QCA_WLAN_VENDOR_ATTR_NDP_PARAMS_MAX + 1]; in handleEvent() local
1223 nla_parse(tb_vendor, QCA_WLAN_VENDOR_ATTR_NDP_PARAMS_MAX, in handleEvent()
1227 if (tb_vendor[QCA_WLAN_VENDOR_ATTR_NDP_SUBCMD]) { in handleEvent()
1229 nla_get_u32(tb_vendor[QCA_WLAN_VENDOR_ATTR_NDP_SUBCMD]); in handleEvent()
1234 handleNdpResponse(NAN_DP_INTERFACE_CREATE, tb_vendor); in handleEvent()
1237 handleNdpResponse(NAN_DP_INTERFACE_DELETE, tb_vendor); in handleEvent()
[all …]
Dwifilogger.cpp1023 struct nlattr *tb_vendor[QCA_WLAN_VENDOR_ATTR_WIFI_INFO_GET_MAX + 1]; in handleResponse() local
1025 nla_parse(tb_vendor, QCA_WLAN_VENDOR_ATTR_WIFI_INFO_GET_MAX, in handleResponse()
1028 if (tb_vendor[QCA_WLAN_VENDOR_ATTR_WIFI_INFO_DRIVER_VERSION]) { in handleResponse()
1029 len = nla_len(tb_vendor[ in handleResponse()
1034 tb_vendor[QCA_WLAN_VENDOR_ATTR_WIFI_INFO_FIRMWARE_VERSION]) { in handleResponse()
1036 tb_vendor[ in handleResponse()
1047 memcpy(mVersion, nla_data(tb_vendor[version]), len); in handleResponse()
1055 struct nlattr *tb_vendor[QCA_WLAN_VENDOR_ATTR_LOGGER_MAX + 1]; in handleResponse() local
1057 nla_parse(tb_vendor, QCA_WLAN_VENDOR_ATTR_LOGGER_MAX, in handleResponse()
1060 if (tb_vendor[QCA_WLAN_VENDOR_ATTR_LOGGER_SUPPORTED]) { in handleResponse()
[all …]
Dnan_rsp.cpp925 struct nlattr **tb_vendor) in handleNdpResponse() argument
935 if ((!tb_vendor[QCA_WLAN_VENDOR_ATTR_NDP_TRANSACTION_ID]) || in handleNdpResponse()
936 (!tb_vendor[QCA_WLAN_VENDOR_ATTR_NDP_DRV_RESPONSE_STATUS_TYPE]) || in handleNdpResponse()
937 (!tb_vendor[QCA_WLAN_VENDOR_ATTR_NDP_DRV_RETURN_VALUE])) in handleNdpResponse()
943 id = nla_get_u16(tb_vendor[QCA_WLAN_VENDOR_ATTR_NDP_TRANSACTION_ID]); in handleNdpResponse()
946 …NanErrorTranslation((NanInternalStatusType)nla_get_u32(tb_vendor[QCA_WLAN_VENDOR_ATTR_NDP_DRV_RESP… in handleNdpResponse()
947 … nla_get_u32(tb_vendor[QCA_WLAN_VENDOR_ATTR_NDP_DRV_RETURN_VALUE]), &rsp_data, true); in handleNdpResponse()
952 if (!tb_vendor[QCA_WLAN_VENDOR_ATTR_NDP_INSTANCE_ID]) in handleNdpResponse()
958 nla_get_u32(tb_vendor[QCA_WLAN_VENDOR_ATTR_NDP_INSTANCE_ID]); in handleNdpResponse()
Dllstatscommand.h112 struct nlattr **tb_vendor);
Dcpp_bindings.cpp958 wifi_error WifiVendorCommand::get_mac_addr(struct nlattr **tb_vendor, in get_mac_addr() argument
962 if (!tb_vendor[attribute]) { in get_mac_addr()
971 if (nla_len(tb_vendor[attribute]) != sizeof(mac_addr)) { in get_mac_addr()
976 memcpy(addr, (u8 *)nla_data(tb_vendor[attribute]), in get_mac_addr()
977 nla_len(tb_vendor[attribute])); in get_mac_addr()
Dgscancommand.h128 struct nlattr **tb_vendor);
Dcpp_bindings.h474 virtual wifi_error get_mac_addr(struct nlattr **tb_vendor,
Dgscan.cpp1386 struct nlattr **tb_vendor) in gscan_get_cached_results() argument
1395 for (scanResultsInfo = (struct nlattr *) nla_data(tb_vendor[ in gscan_get_cached_results()
1397 rem = nla_len(tb_vendor[ in gscan_get_cached_results()
Dwifilogger_diag.cpp2577 struct nlattr *tb_vendor[CLD80211_ATTR_MAX + 1]; in diag_message_handler() local
2591 nla_parse(tb_vendor, CLD80211_ATTR_MAX, in diag_message_handler()
2595 if (tb_vendor[CLD80211_ATTR_DATA]) { in diag_message_handler()
2596 clh = (tAniCLDHdr *)nla_data(tb_vendor[CLD80211_ATTR_DATA]); in diag_message_handler()