Lines Matching refs:subscribe_event

2906                 NanMatchInd subscribe_event;  in handleEvent()  local
2908 memset(&subscribe_event, 0, sizeof(NanMatchInd)); in handleEvent()
2911 subscribe_event.out_of_resource_flag = true; in handleEvent()
2918 subscribe_event.publish_subscribe_id = it.get_u8(); in handleEvent()
2921 subscribe_event.requestor_instance_id = it.get_u8(); in handleEvent()
2923 memcpy(subscribe_event.addr, it.get_data(), NAN_MAC_ADDR_LEN); in handleEvent()
2924 ALOGI("Publisher mac: " MACSTR, MAC2STR(subscribe_event.addr)); in handleEvent()
2927 subscribe_event.service_specific_info_len = it.get_u16(); in handleEvent()
2929 u16 len = min(subscribe_event.service_specific_info_len, in handleEvent()
2930 sizeof(subscribe_event.service_specific_info)); in handleEvent()
2931 memcpy(subscribe_event.service_specific_info, it.get_data(), len); in handleEvent()
2933 subscribe_event.sdf_match_filter_len = it.get_u16(); in handleEvent()
2935 subscribe_event.sdf_match_filter_len); in handleEvent()
2937 u16 len = min(subscribe_event.sdf_match_filter_len, in handleEvent()
2938 sizeof(subscribe_event.sdf_match_filter)); in handleEvent()
2939 memcpy(subscribe_event.sdf_match_filter, it.get_data(), len); in handleEvent()
2942 subscribe_event.peer_cipher_type = it.get_u8(); in handleEvent()
2945 subscribe_event.scid_len = it.get_u32(); in handleEvent()
2947 u16 len = min(subscribe_event.scid_len, in handleEvent()
2948 sizeof(subscribe_event.scid)); in handleEvent()
2949 memcpy(subscribe_event.scid, it.get_data(), len); in handleEvent()
2951 subscribe_event.range_info.ranging_event_type = it.get_u32(); in handleEvent()
2954 subscribe_event.range_info.range_measurement_mm = it.get_u32(); in handleEvent()
2957 subscribe_event.rssi_value = it.get_u8(); in handleEvent()
2961 subscribe_event.sdea_service_specific_info_len = it.get_u16(); in handleEvent()
2963 u16 len = min(subscribe_event.sdea_service_specific_info_len, in handleEvent()
2964 sizeof(subscribe_event.sdea_service_specific_info)); in handleEvent()
2965 memcpy(subscribe_event.sdea_service_specific_info, it.get_data(), len); in handleEvent()
2968 subscribe_event.match_occured_flag = it.get_u8(); in handleEvent()
2971 subscribe_event.out_of_resource_flag = it.get_u8(); in handleEvent()
2974 subscribe_event.peer_sdea_params.config_nan_data_path = it.get_u8(); in handleEvent()
2977 subscribe_event.peer_sdea_params.ndp_type = (NdpType)it.get_u8(); in handleEvent()
2980 subscribe_event.peer_sdea_params.security_cfg = in handleEvent()
2984 subscribe_event.peer_sdea_params.range_report = (NanRangeReport)it.get_u8(); in handleEvent()
2987 subscribe_event.peer_pairing_config.enable_pairing_setup = it.get_u32(); in handleEvent()
2990 subscribe_event.peer_pairing_config.enable_pairing_verification = in handleEvent()
2994 subscribe_event.peer_pairing_config.enable_pairing_cache = it.get_u32(); in handleEvent()
2997 subscribe_event.peer_pairing_config.supported_bootstrapping_methods = in handleEvent()
3001 memcpy(subscribe_event.nira.tag, it.get_data(), NAN_IDENTITY_TAG_LEN); in handleEvent()
3002 prhex("NIRA tag", subscribe_event.nira.tag, NAN_IDENTITY_TAG_LEN); in handleEvent()
3005 memcpy(subscribe_event.nira.nonce, it.get_data(), NAN_IDENTITY_NONCE_LEN); in handleEvent()
3006 prhex("NIRA nonce", subscribe_event.nira.nonce, NAN_IDENTITY_NONCE_LEN); in handleEvent()
3010 GET_NAN_HANDLE(info)->mHandlers.EventMatch(&subscribe_event); in handleEvent()
6733 NanMatchInd subscribe_event; in handleEvent() local
6734 memset(&subscribe_event, 0, sizeof(NanMatchInd)); in handleEvent()
6738 subscribe_event.out_of_resource_flag = true; in handleEvent()
6745 subscribe_event.publish_subscribe_id = it.get_u16(); in handleEvent()
6749 subscribe_event.requestor_instance_id = it.get_u32(); in handleEvent()
6752 memcpy(subscribe_event.addr, it.get_data(), NAN_MAC_ADDR_LEN); in handleEvent()
6753 ALOGI("publisher mac: " MACSTR, MAC2STR(subscribe_event.addr)); in handleEvent()
6757 subscribe_event.service_specific_info_len = it.get_u16(); in handleEvent()
6760 u16 len = min(subscribe_event.service_specific_info_len, in handleEvent()
6761 sizeof(subscribe_event.service_specific_info)); in handleEvent()
6762 memcpy(subscribe_event.service_specific_info, it.get_data(), len); in handleEvent()
6765 subscribe_event.sdf_match_filter_len = it.get_u16(); in handleEvent()
6767 subscribe_event.sdf_match_filter_len); in handleEvent()
6770 memcpy(subscribe_event.sdf_match_filter, it.get_data(), in handleEvent()
6771 subscribe_event.sdf_match_filter_len); in handleEvent()
6774 subscribe_event.peer_cipher_type = it.get_u8(); in handleEvent()
6777 subscribe_event.scid_len= it.get_u32(); in handleEvent()
6779 memcpy(subscribe_event.scid, it.get_data(), in handleEvent()
6780 subscribe_event.scid_len); in handleEvent()
6782 subscribe_event.range_info.ranging_event_type = it.get_u32(); in handleEvent()
6785 subscribe_event.range_info.range_measurement_mm = it.get_u32(); in handleEvent()
6788 subscribe_event.rssi_value = it.get_u8(); in handleEvent()
6792 subscribe_event.sdea_service_specific_info_len = it.get_u16(); in handleEvent()
6794 u16 len = min(subscribe_event.sdea_service_specific_info_len, in handleEvent()
6795 sizeof(subscribe_event.sdea_service_specific_info)); in handleEvent()
6796 memcpy(subscribe_event.sdea_service_specific_info, it.get_data(), len); in handleEvent()
6799 subscribe_event.match_occured_flag = it.get_u8(); in handleEvent()
6802 subscribe_event.out_of_resource_flag = it.get_u8(); in handleEvent()
6805 subscribe_event.peer_sdea_params.config_nan_data_path = it.get_u8(); in handleEvent()
6808 subscribe_event.peer_sdea_params.ndp_type = (NdpType)it.get_u8(); in handleEvent()
6811 subscribe_event.peer_sdea_params.security_cfg = in handleEvent()
6815 subscribe_event.peer_sdea_params.range_report = in handleEvent()
6819 subscribe_event.peer_pairing_config.enable_pairing_setup = it.get_u32(); in handleEvent()
6822 subscribe_event.peer_pairing_config.enable_pairing_verification = in handleEvent()
6826 subscribe_event.peer_pairing_config.enable_pairing_cache = it.get_u32(); in handleEvent()
6829 subscribe_event.peer_pairing_config.supported_bootstrapping_methods = in handleEvent()
6833 memcpy(subscribe_event.nira.tag, it.get_data(), NAN_IDENTITY_TAG_LEN); in handleEvent()
6834 prhex("NIRA tag", subscribe_event.nira.tag, NAN_IDENTITY_TAG_LEN); in handleEvent()
6837 memcpy(subscribe_event.nira.nonce, it.get_data(), in handleEvent()
6839 prhex("NIRA nonce", subscribe_event.nira.nonce, NAN_IDENTITY_NONCE_LEN); in handleEvent()
6843 GET_NAN_HANDLE(info)->mHandlers.EventMatch(&subscribe_event); in handleEvent()