Lines Matching full:advertising
845 /* If we're advertising or initiating an LE connection we can't in hci_set_random_addr_sync()
903 * scanning and non-connectable advertising. in hci_update_random_address_sync()
981 /* Instance 0x00 indicates all advertising instances will be disabled */ in hci_disable_ext_adv_instance_sync()
1060 * advertising is used. In that case it is fine to use a in hci_setup_ext_adv_instance_sync()
1291 /* If periodic advertising already disabled there is nothing to do. */ in hci_disable_per_advertising_sync()
1358 /* If periodic advertising already enabled there is nothing to do. */ in hci_enable_per_advertising_sync()
1371 /* Checks if periodic advertising data contains a Basic Announcement and if it
1380 * advertising so it cannot used for the likes of Broadcast Announcement in hci_adv_bcast_annoucement()
1393 /* Check if advertising data already has a Broadcast Announcement since in hci_adv_bcast_annoucement()
1433 /* Only start advertising if instance 0 or if a dedicated instance has in hci_start_per_adv_sync()
1524 * advertising is used. In that case it is fine to use a in hci_enable_advertising_sync()
1735 /* A zero timeout means unlimited advertising. As long as there is in hci_schedule_adv_instance_sync()
1754 /* Only use work for scheduling instances with legacy advertising */ in hci_schedule_adv_instance_sync()
1830 /* If we use extended advertising, instance has to be removed first. */ in hci_remove_adv_sync()
1935 /* If controller is not advertising we are done. */ in hci_disable_advertising_sync()
2231 /* Select filter policy to accept all advertising */ in hci_le_add_accept_list_sync()
2281 /* This function disables/pause all advertising instances */
2291 bt_dev_dbg(hdev, "Pausing directed advertising"); in hci_pause_advertising_sync()
2293 /* Stop directed advertising */ in hci_pause_advertising_sync()
2306 bt_dev_dbg(hdev, "Pausing advertising instances"); in hci_pause_advertising_sync()
2325 /* This function enables all user advertising instances */
2331 /* If advertising has not been paused there is nothing to do. */ in hci_resume_advertising_sync()
2335 /* Resume directed advertising */ in hci_resume_advertising_sync()
2342 bt_dev_dbg(hdev, "Resuming advertising instances"); in hci_resume_advertising_sync()
2383 * use_ll_privacy((Disable Advertising) -> Disable Resolving List) ->
2388 * use_ll_privacy(Enable Resolving List -> (Enable Advertising)) ->
2391 * In case of failure advertising shall be restored to its original state and
2405 /* Pause advertising if resolving list can be used as controllers are in hci_update_accept_list_sync()
2406 * cannot accept resolving list modifications while advertising. in hci_update_accept_list_sync()
2411 bt_dev_err(hdev, "pause advertising failed: %d", err); in hci_update_accept_list_sync()
2499 /* Resume advertising if it was paused */ in hci_update_accept_list_sync()
2635 * advertising with our address will be correctly reported in hci_passive_scan_sync()
2657 * for handling directed advertising. in hci_passive_scan_sync()
2700 * use_ll_privacy((Disable Advertising) -> Disable Resolving List ->
2701 * Update Resolving List -> Enable Resolving List -> (Enable Advertising)) ->
2895 * advertising data. This also applies to the case in hci_powered_update_adv_sync()
3878 events[1] |= 0x04; /* LE Direct Advertising Report */ in hci_le_set_event_mask_sync()
3887 * enable the corresponding advertising report event. in hci_le_set_event_mask_sync()
3890 events[0] |= 0x02; /* LE Advertising Report */ in hci_le_set_event_mask_sync()
3935 events[1] |= 0x10; /* LE Extended Advertising Report */ in hci_le_set_event_mask_sync()
3937 /* If the controller supports the LE Extended Advertising in hci_le_set_event_mask_sync()
3941 events[2] |= 0x02; /* LE Advertising Set Terminated */ in hci_le_set_event_mask_sync()
3960 /* Read LE Advertising Channel TX Power */
3965 * advertising commands wherein READ_ADV_TX_POWER is in hci_le_read_adv_tx_power_sync()
4062 /* Read LE Number of Supported Advertising Sets */
5003 /* Resume advertising if it was paused */ in hci_stop_discovery_sync()
5163 * Clear Advertising
5256 /* Advertising instances don't use the global discoverable setting, so in hci_update_discoverable_sync()
5257 * only update AD if advertising was enabled using Set Advertising. in hci_update_discoverable_sync()
5264 /* Discoverable mode affects the local advertising in hci_update_discoverable_sync()
5304 /* If BR/EDR is not enabled and we disable advertising as a in hci_update_connectable_sync()
5306 * advertising flags. in hci_update_connectable_sync()
5311 /* Update the advertising parameters if necessary */ in hci_update_connectable_sync()
5378 /* Pause advertising since active scanning disables address resolution in hci_active_scan_sync()
5379 * which advertising depend on in order to generate its RPAs. in hci_active_scan_sync()
5384 bt_dev_err(hdev, "pause advertising failed: %d", err); in hci_active_scan_sync()
5433 /* Resume advertising if it was paused */ in hci_active_scan_sync()
5615 * Pause Directed Advertising/Advertising
5742 * Resume Directed Advertising/Advertising
5817 * does not supports advertising data when the advertising set already in hci_le_ext_directed_advertising_sync()
5874 * within range for undirected advertising. in hci_le_directed_advertising_sync()
5969 /* If requested to connect as peripheral use directed advertising */ in hci_le_create_conn_sync()
5981 /* Pause advertising while doing directed advertising. */ in hci_le_create_conn_sync()
5988 /* Disable advertising if simultaneous roles is not in use. */ in hci_le_create_conn_sync()
6058 /* Re-enable advertising after the connection attempt is finished. */ in hci_le_create_conn_sync()
6137 * non-connectable advertising. in hci_get_random_address()