Lines Matching refs:p_adv_data
1460 tBTM_BLE_LOCAL_ADV_DATA *p_adv_data = &btm_cb.ble_ctr_cb.inq_var.adv_data;
1462 if (p_adv_data->p_flags != NULL)
1463 flag = old_flag = *(p_adv_data->p_flags);
1857 tBTM_BLE_LOCAL_ADV_DATA *p_adv_data = &btm_cb.ble_ctr_cb.inq_var.adv_data;
1862 if (p_adv_data->p_flags != NULL)
1864 BTM_TRACE_DEBUG ("btm_ble_update_adv_flag old=0x%x", *p_adv_data->p_flags);
1865 *p_adv_data->p_flags = flag;
1869 p = (p_adv_data->p_pad == NULL) ? p_adv_data->ad_data : p_adv_data->p_pad;
1872 if ((BTM_BLE_AD_DATA_LEN - (p - p_adv_data->ad_data)) < 3)
1874 p = p_adv_data->p_pad = p_adv_data->ad_data;
1875 memset(p_adv_data->ad_data, 0, BTM_BLE_AD_DATA_LEN);
1880 p_adv_data->p_flags = p;
1882 p_adv_data->p_pad = p;
1885 if (btsnd_hcic_ble_set_adv_data((UINT8)(p_adv_data->p_pad - p_adv_data->ad_data),
1886 p_adv_data->ad_data))
1887 p_adv_data->data_mask |= BTM_BLE_AD_BIT_FLAGS;
1902 UINT8 len, tBTM_BLE_INQ_DATA *p_adv_data, UINT8 *p_buf)
1924 p_adv_data->ad_mask |= BTM_BLE_AD_BIT_DEV_NAME;
1931 p_adv_data->p_remote_name = p_info->remote_name;
1932 p_info->remote_name_len = p_adv_data->remote_name_len = ad_len - 1;
1933 BTM_TRACE_DEBUG("BTM_BLE_AD_TYPE_NAME name = %s",p_adv_data->p_remote_name);
1940 p_adv_data->ad_mask |= BTM_BLE_AD_BIT_FLAGS;
1942 p_adv_data->flag = (UINT8)(ad_flag & BTM_BLE_ADV_FLAG_MASK) ;
1944 (p_adv_data->flag & BTM_BLE_LIMIT_DISC_FLAG)? "LE_LIMIT_DISC" : "",
1945 (p_adv_data->flag & BTM_BLE_GEN_DISC_FLAG)? "LE_GENERAL_DISC" : "",
1946 (p_adv_data->flag & BTM_BLE_BREDR_NOT_SPT)? "LE Only device" : "");
1950 p_adv_data->ad_mask |= BTM_BLE_AD_BIT_TX_PWR;
1951 p_adv_data->tx_power_level = (INT8)*p_cur ++;
1952 BTM_TRACE_DEBUG("BTM_BLE_AD_TYPE_TX_PWR tx_level = %d", p_adv_data->tx_power_level);
1959 p_adv_data->ad_mask |= BTM_BLE_AD_BIT_SERVICE;
1961 p_adv_data->service.num_service = (ad_len - 1)/2;
1962 BTM_TRACE_DEBUG("service UUID list, num = %d", p_adv_data->service.num_service);
1967 p_adv_data->ad_mask |= BTM_BLE_AD_BIT_SERVICE_SOL;
1969 p_adv_data->service.num_service = (ad_len - 1)/2;
1970 BTM_TRACE_DEBUG("service UUID list, num = %d", p_adv_data->service.num_service);
1975 p_adv_data->ad_mask |= BTM_BLE_AD_BIT_SERVICE_128SOL;
1977 p_adv_data->service.num_service = (ad_len - 1)/16;
1978 BTM_TRACE_DEBUG("service UUID list, num = %d", p_adv_data->service.num_service);