/aosp12/hardware/qcom/wlan/qcwcn/wifi_hal/ |
H A D | llstats.cpp | 529 stats->beacon_rx = nla_get_u32(tb_vendor[ in get_wifi_iface_stats() 548 if (!tb_vendor[ in get_wifi_iface_stats() 574 if (!tb_vendor[ in get_wifi_iface_stats() 585 if (!tb_vendor[ in get_wifi_iface_stats() 602 stats->rssi_mgmt = get_s32(tb_vendor[ in get_wifi_iface_stats() 657 rem = nla_len(tb_vendor[ in get_wifi_iface_stats() 960 if (!tb_vendor[ in handleResponse() 1001 tb_vendor); in handleResponse() 1072 tb_vendor); in handleResponse() 1084 if (tb_vendor[ in handleResponse() [all …]
|
H A D | tdls.cpp | 114 if (!tb_vendor[QCA_WLAN_VENDOR_ATTR_TDLS_MAC_ADDR]) in handleEvent() 126 if (!tb_vendor[QCA_WLAN_VENDOR_ATTR_TDLS_STATE]) in handleEvent() 136 if (!tb_vendor[QCA_WLAN_VENDOR_ATTR_TDLS_REASON]) in handleEvent() 146 if (!tb_vendor[QCA_WLAN_VENDOR_ATTR_TDLS_CHANNEL]) in handleEvent() 156 if (!tb_vendor[ in handleEvent() 191 struct nlattr *tb_vendor[ in handleResponse() local 230 if (!tb_vendor[ in handleResponse() 239 get_u32(tb_vendor[ in handleResponse() 247 struct nlattr *tb_vendor[ in handleResponse() local 255 if (!tb_vendor[ in handleResponse() [all …]
|
H A D | ifaceeventhandler.cpp | 241 if (!tb_vendor[QCA_WLAN_VENDOR_ATTR_FEATURE_SET]) in handleResponse() 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() 280 tb_vendor[ in handleResponse() 291 tb_vendor[ in handleResponse() 294 tb_vendor[ in handleResponse() 315 struct nlattr *tb_vendor[ in handleResponse() local [all …]
|
H A D | wifihal_vendor.cpp | 122 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() 146 stats->arp_req_count_to_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() 189 if (!tb_vendor[QCA_ATTR_NUD_STATS_ARP_RSP_COUNT_TO_NETDEV]) in handleResponse() 196 stats->arp_rsp_count_to_netdev = nla_get_u16(tb_vendor[ in handleResponse() 209 if (tb_vendor[QCA_ATTR_NUD_STATS_AP_LINK_ACTIVE]) in handleResponse() [all …]
|
H A D | nan_ind.cpp | 980 res = getNdpRequest(tb_vendor, &ndpRequestInd); in handleNdpIndication() 990 res = getNdpConfirm(tb_vendor, &ndpConfirmInd); in handleNdpIndication() 1076 int NanCommand::getNdpRequest(struct nlattr **tb_vendor, in getNdpRequest() argument 1081 if (event == NULL || tb_vendor == NULL) { in getNdpRequest() 1083 __FUNCTION__, event, tb_vendor); in getNdpRequest() 1102 if (tb_vendor[QCA_WLAN_VENDOR_ATTR_NDP_APP_INFO]) { in getNdpRequest() 1113 int NanCommand::getNdpConfirm(struct nlattr **tb_vendor, in getNdpConfirm() argument 1123 if (event == NULL || tb_vendor == NULL) { in getNdpConfirm() 1125 __FUNCTION__, event, tb_vendor); in getNdpConfirm() 1145 if (tb_vendor[QCA_WLAN_VENDOR_ATTR_NDP_APP_INFO]) { in getNdpConfirm() [all …]
|
H A D | nancommand.h | 98 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);
|
H A D | rssi_monitor.cpp | 191 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()
|
H A D | gscan_event_handler.h | 81 struct nlattr **tb_vendor); 86 struct nlattr **tb_vendor); 88 struct nlattr **tb_vendor);
|
H A D | gscan_event_handler.cpp | 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() 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 602 tb_vendor in gscan_parse_passpoint_network_result() 606 tb_vendor in gscan_parse_passpoint_network_result() [all …]
|
H A D | nan.cpp | 1200 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() 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() 1246 handleNdpResponse(NAN_DP_END, tb_vendor); in handleEvent() [all …]
|
H A D | wifilogger.cpp | 1023 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 …]
|
H A D | nan_rsp.cpp | 925 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()
|
H A D | cpp_bindings.cpp | 958 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()
|
H A D | llstatscommand.h | 115 struct nlattr **tb_vendor);
|
H A D | gscancommand.h | 128 struct nlattr **tb_vendor);
|
H A D | cpp_bindings.h | 474 virtual wifi_error get_mac_addr(struct nlattr **tb_vendor,
|
H A D | gscan.cpp | 1386 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()
|
H A D | wifilogger_diag.cpp | 2578 struct nlattr *tb_vendor[CLD80211_ATTR_MAX + 1]; in diag_message_handler() local 2592 nla_parse(tb_vendor, CLD80211_ATTR_MAX, in diag_message_handler() 2596 if (tb_vendor[CLD80211_ATTR_DATA]) { in diag_message_handler() 2597 clh = (tAniCLDHdr *)nla_data(tb_vendor[CLD80211_ATTR_DATA]); in diag_message_handler()
|