Lines Matching full:advertising

805 	/* If we're advertising or initiating an LE connection we can't  in hci_set_random_addr_sync()
863 * scanning and non-connectable advertising. in hci_update_random_address_sync()
941 /* Instance 0x00 indicates all advertising instances will be disabled */ in hci_disable_ext_adv_instance_sync()
1020 * advertising is used. In that case it is fine to use a in hci_setup_ext_adv_instance_sync()
1252 /* If periodic advertising already disabled there is nothing to do. */ in hci_disable_per_advertising_sync()
1321 /* If periodic advertising already enabled there is nothing to do. */ in hci_enable_per_advertising_sync()
1335 /* Checks if periodic advertising data contains a Basic Announcement and if it
1344 * advertising so it cannot used for the likes of Broadcast Announcement in hci_adv_bcast_annoucement()
1357 /* Check if advertising data already has a Broadcast Announcement since in hci_adv_bcast_annoucement()
1398 /* Start advertising */ in hci_start_per_adv_sync()
1485 * advertising is used. In that case it is fine to use a in hci_enable_advertising_sync()
1696 /* A zero timeout means unlimited advertising. As long as there is in hci_schedule_adv_instance_sync()
1715 /* Only use work for scheduling instances with legacy advertising */ in hci_schedule_adv_instance_sync()
1791 /* If we use extended advertising, instance has to be removed first. */ in hci_remove_adv_sync()
1896 /* If controller is not advertising we are done. */ in hci_disable_advertising_sync()
2215 /* Select filter policy to accept all advertising */ in hci_le_add_accept_list_sync()
2265 /* This function disables/pause all advertising instances */
2275 bt_dev_dbg(hdev, "Pausing directed advertising"); in hci_pause_advertising_sync()
2277 /* Stop directed advertising */ in hci_pause_advertising_sync()
2290 bt_dev_dbg(hdev, "Pausing advertising instances"); in hci_pause_advertising_sync()
2309 /* This function enables all user advertising instances */
2315 /* If advertising has not been paused there is nothing to do. */ in hci_resume_advertising_sync()
2319 /* Resume directed advertising */ in hci_resume_advertising_sync()
2326 bt_dev_dbg(hdev, "Resuming advertising instances"); in hci_resume_advertising_sync()
2373 /* Cannot disable addr resolution if advertising is enabled. */ in hci_pause_addr_resolution()
2376 bt_dev_err(hdev, "Pause advertising failed: %d", err); in hci_pause_addr_resolution()
2452 * use_ll_privacy((Disable Advertising) -> Disable Resolving List) ->
2457 * use_ll_privacy(Enable Resolving List -> (Enable Advertising)) ->
2460 * In case of failure advertising shall be restored to its original state and
2475 /* Pause advertising if resolving list can be used as controllers in hci_update_accept_list_sync()
2476 * cannot accept resolving list modifications while advertising. in hci_update_accept_list_sync()
2481 bt_dev_err(hdev, "pause advertising failed: %d", err); in hci_update_accept_list_sync()
2597 /* Resume advertising if it was paused */ in hci_update_accept_list_sync()
2712 * advertising with our address will be correctly reported in hci_passive_scan_sync()
2734 * for handling directed advertising. in hci_passive_scan_sync()
2777 * use_ll_privacy((Disable Advertising) -> Disable Resolving List ->
2778 * Update Resolving List -> Enable Resolving List -> (Enable Advertising)) ->
2972 * advertising data. This also applies to the case in hci_powered_update_adv_sync()
3977 events[1] |= 0x04; /* LE Direct Advertising Report */ in hci_le_set_event_mask_sync()
3986 * enable the corresponding advertising report event. in hci_le_set_event_mask_sync()
3989 events[0] |= 0x02; /* LE Advertising Report */ in hci_le_set_event_mask_sync()
4034 events[1] |= 0x10; /* LE Extended Advertising Report */ in hci_le_set_event_mask_sync()
4036 /* If the controller supports the LE Extended Advertising in hci_le_set_event_mask_sync()
4040 events[2] |= 0x02; /* LE Advertising Set Terminated */ in hci_le_set_event_mask_sync()
4055 events[4] |= 0x02; /* LE BIG Info Advertising Report */ in hci_le_set_event_mask_sync()
4062 /* Read LE Advertising Channel TX Power */
4067 * advertising commands wherein READ_ADV_TX_POWER is in hci_le_read_adv_tx_power_sync()
4165 /* Read LE Number of Supported Advertising Sets */
5129 /* Resume advertising if it was paused */ in hci_stop_discovery_sync()
5393 * Clear Advertising
5486 /* Advertising instances don't use the global discoverable setting, so in hci_update_discoverable_sync()
5487 * only update AD if advertising was enabled using Set Advertising. in hci_update_discoverable_sync()
5494 /* Discoverable mode affects the local advertising in hci_update_discoverable_sync()
5534 /* If BR/EDR is not enabled and we disable advertising as a in hci_update_connectable_sync()
5536 * advertising flags. in hci_update_connectable_sync()
5541 /* Update the advertising parameters if necessary */ in hci_update_connectable_sync()
5608 /* Pause address resolution for active scan and stop advertising if in hci_active_scan_sync()
5647 /* Resume advertising if it was paused */ in hci_active_scan_sync()
5818 * Pause Directed Advertising/Advertising
5945 * Resume Directed Advertising/Advertising
6019 * does not supports advertising data when the advertising set already in hci_le_ext_directed_advertising_sync()
6076 * within range for undirected advertising. in hci_le_directed_advertising_sync()
6171 /* If requested to connect as peripheral use directed advertising */ in hci_le_create_conn_sync()
6183 /* Pause advertising while doing directed advertising. */ in hci_le_create_conn_sync()
6190 /* Disable advertising if simultaneous roles is not in use. */ in hci_le_create_conn_sync()
6263 /* Re-enable advertising after the connection attempt is finished. */ in hci_le_create_conn_sync()
6443 * non-connectable advertising. in hci_get_random_address()