Searched refs:service_name_len (Results 1 – 9 of 9) sorted by relevance
/hardware/qcom/wlan/wcn6740/qcwcn/wifi_hal/ |
D | nan.cpp | 1054 u32 service_name_len, u8 *service_id) in ndp_create_service_id() argument 1070 if (!service_name_len) { in ndp_create_service_id() 1080 mod_service_name = (u8 *)malloc(service_name_len); in ndp_create_service_id() 1086 memset(mod_service_name, 0, service_name_len); in ndp_create_service_id() 1087 memcpy(mod_service_name, service_name, service_name_len); in ndp_create_service_id() 1088 if ((service_name_len == NAN_DEF_SVC_NAME_LEN) && in ndp_create_service_id() 1089 (!memcmp(mod_service_name, prop_oob_service_name, service_name_len) in ndp_create_service_id() 1091 prop_oob_service_name_lowercase, service_name_len))) in ndp_create_service_id() 1094 for (i = 0; i < service_name_len; i++) { in ndp_create_service_id() 1122 SHA256(mod_service_name, service_name_len, out_service_id); in ndp_create_service_id() [all …]
|
D | nan_req.cpp | 782 (pReq->service_name_len ? SIZEOF_TLV_HDR + pReq->service_name_len : 0) + in putNanPublish() 850 if (pReq->service_name_len) { in putNanPublish() 851 tlvs = addTlv(NAN_TLV_TYPE_SERVICE_NAME, pReq->service_name_len, in putNanPublish() 1077 (pReq->service_name_len ? SIZEOF_TLV_HDR + pReq->service_name_len : 0) + in putNanSubscribe() 1148 if (pReq->service_name_len) { in putNanSubscribe() 1149 tlvs = addTlv(NAN_TLV_TYPE_SERVICE_NAME, pReq->service_name_len, in putNanSubscribe()
|
/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
D | nan.cpp | 1789 if (mParams->service_name_len) { in createPublishRequest() 1790 if (mParams->service_name_len > NAN_MAX_SERVICE_NAME_LEN) { in createPublishRequest() 1791 ALOGE("%s: Invalid svc len %d\n", __func__, mParams->service_name_len); in createPublishRequest() 1797 result = get_svc_hash(mParams->service_name, mParams->service_name_len, in createPublishRequest() 1804 mParams->service_name_len = NAN_SVC_HASH_SIZE; in createPublishRequest() 1805 memcpy(mParams->service_name, svc_hash, mParams->service_name_len); in createPublishRequest() 1807 result = request.put_u16(NAN_ATTRIBUTE_SERVICE_NAME_LEN, mParams->service_name_len); in createPublishRequest() 1814 mParams->service_name_len); in createPublishRequest() 2250 if (mParams->service_name_len) { in createSubscribeRequest() 2251 if (mParams->service_name_len > NAN_MAX_SERVICE_NAME_LEN) { in createSubscribeRequest() [all …]
|
/hardware/synaptics/wlan/synadhd/wifi_hal/ |
D | nan.cpp | 701 if (mParams->service_name_len) { in createPublishRequest() 704 result = get_svc_hash(mParams->service_name, mParams->service_name_len, in createPublishRequest() 711 mParams->service_name_len = NAN_SVC_HASH_SIZE; in createPublishRequest() 712 memcpy(mParams->service_name, svc_hash, mParams->service_name_len); in createPublishRequest() 714 result = request.put_u16(NAN_ATTRIBUTE_SERVICE_NAME_LEN, mParams->service_name_len); in createPublishRequest() 721 mParams->service_name_len); in createPublishRequest() 1065 if (mParams->service_name_len) { in createSubscribeRequest() 1068 result = get_svc_hash(mParams->service_name, mParams->service_name_len, in createSubscribeRequest() 1075 mParams->service_name_len = NAN_SVC_HASH_SIZE; in createSubscribeRequest() 1076 memcpy(mParams->service_name, svc_hash, mParams->service_name_len); in createSubscribeRequest() [all …]
|
/hardware/qcom/wlan/legacy/qcwcn/wifi_hal/ |
D | nan.cpp | 925 (msg->service_name_len == 0)) { in nan_data_request_initiator() 1002 if (msg->service_name_len) { in nan_data_request_initiator() 1004 (char *)msg->service_name, msg->service_name_len)) in nan_data_request_initiator() 1106 if (msg->service_name_len) { in nan_data_indication_response() 1108 (char *)msg->service_name, msg->service_name_len)) in nan_data_indication_response()
|
D | nan_req.cpp | 748 (pReq->service_name_len ? SIZEOF_TLV_HDR + pReq->service_name_len : 0) + in putNanPublish() 816 if (pReq->service_name_len) { in putNanPublish() 817 tlvs = addTlv(NAN_TLV_TYPE_SERVICE_NAME, pReq->service_name_len, in putNanPublish() 1043 (pReq->service_name_len ? SIZEOF_TLV_HDR + pReq->service_name_len : 0) + in putNanSubscribe() 1112 if (pReq->service_name_len) { in putNanSubscribe() 1113 tlvs = addTlv(NAN_TLV_TYPE_SERVICE_NAME, pReq->service_name_len, in putNanSubscribe()
|
/hardware/interfaces/wifi/legacy_headers/include/hardware_legacy/ |
D | wifi_nan.h | 1203 u16 service_name_len; /* length of service name */ member 1399 u16 service_name_len;/* length of service name */ member 2473 u32 service_name_len; member 2537 u32 service_name_len; member
|
/hardware/interfaces/wifi/aidl/default/ |
D | aidl_struct_util.cpp | 1746 legacy_request->service_name_len = aidl_request.baseConfigs.serviceName.size(); in convertAidlNanPublishRequestToLegacy() 1747 if (legacy_request->service_name_len > NAN_MAX_SERVICE_NAME_LEN) { in convertAidlNanPublishRequestToLegacy() 1753 legacy_request->service_name_len); in convertAidlNanPublishRequestToLegacy() 1889 legacy_request->service_name_len = aidl_request.baseConfigs.serviceName.size(); in convertAidlNanSubscribeRequestToLegacy() 1890 if (legacy_request->service_name_len > NAN_MAX_SERVICE_NAME_LEN) { in convertAidlNanSubscribeRequestToLegacy() 1896 legacy_request->service_name_len); in convertAidlNanSubscribeRequestToLegacy() 2130 legacy_request->service_name_len = aidl_request.serviceNameOutOfBand.size(); in convertAidlNanDataPathInitiatorRequestToLegacy() 2131 if (legacy_request->service_name_len > NAN_MAX_SERVICE_NAME_LEN) { in convertAidlNanDataPathInitiatorRequestToLegacy() 2137 legacy_request->service_name_len); in convertAidlNanDataPathInitiatorRequestToLegacy() 2223 legacy_request->service_name_len = aidl_request.serviceNameOutOfBand.size(); in convertAidlNanDataPathIndicationResponseToLegacy() [all …]
|
/hardware/broadcom/wlan/bcmdhd/halutil/ |
D | halutil.cpp | 7540 msg.service_name_len = in publishNan() 7543 val_p, msg.service_name_len)) { in publishNan() 7840 if (!msg.service_name_len) { in publishNan() 7901 msg.service_name_len = in subscribeNan() 7904 val_p, msg.service_name_len)) { in subscribeNan() 8242 if (!msg.service_name_len) { in subscribeNan() 9287 msg.service_name_len = in nanDataInitRequest() 9290 val_p, msg.service_name_len)) { in nanDataInitRequest() 9488 msg.service_name_len = in nanDataIndResponse() 9491 val_p, msg.service_name_len)) { in nanDataIndResponse()
|