/kernel/linux/linux-5.10/include/net/bluetooth/ |
H A D | hci_core.h | 484 struct discovery_state discovery; 766 hdev->discovery.state = DISCOVERY_STOPPED; 767 INIT_LIST_HEAD(&hdev->discovery.all); 768 INIT_LIST_HEAD(&hdev->discovery.unknown); 769 INIT_LIST_HEAD(&hdev->discovery.resolve); 770 hdev->discovery.report_invalid_rssi = true; 771 hdev->discovery.rssi = HCI_RSSI_INVALID; 776 hdev->discovery.result_filtering = false; 777 hdev->discovery.report_invalid_rssi = true; 778 hdev->discovery [all...] |
/kernel/linux/linux-5.10/net/bluetooth/ |
H A D | hci_request.c | 456 /* If discovery is active don't interfere with it */ in __hci_update_background_scan() 457 if (hdev->discovery.state != DISCOVERY_STOPPED) in __hci_update_background_scan() 461 * since these filters are meant for service discovery only. in __hci_update_background_scan() 1266 /* Pause discovery if not already stopped */ in hci_req_prepare_suspend() 1267 old_state = hdev->discovery.state; in hci_req_prepare_suspend() 1355 /* Unpause discovery */ in hci_req_prepare_suspend() 1748 /* If a discovery flag wasn't provided, simply use the global in create_instance_adv_data() 2931 if (req->hdev->discovery.limited) in bredr_inquiry() 2963 hdev->discovery.scan_start = 0; in le_scan_disable_work() 2965 /* If we were running LE only scan, change discovery stat in le_scan_disable_work() [all...] |
H A D | mgmt.c | 4641 bt_dev_dbg(hdev, "Unpaused discovery"); in mgmt_start_discovery_complete() 4692 if (hdev->discovery.state != DISCOVERY_STOPPED || in start_discovery_internal() 4705 /* Can't start discovery when it is paused */ in start_discovery_internal() 4712 /* Clear the discovery filter first to free any previously in start_discovery_internal() 4717 hdev->discovery.type = cp->type; in start_discovery_internal() 4718 hdev->discovery.report_invalid_rssi = false; in start_discovery_internal() 4720 hdev->discovery.limited = true; in start_discovery_internal() 4722 hdev->discovery.limited = false; in start_discovery_internal() 4785 if (hdev->discovery.state != DISCOVERY_STOPPED || in start_service_discovery() 4832 /* Clear the discovery filte in start_service_discovery() [all...] |
H A D | hci_core.c | 1067 struct discovery_state *discov = &hdev->discovery; in hci_discovery_active() 1081 int old_state = hdev->discovery.state; in hci_discovery_set_state() 1083 BT_DBG("%s state %u -> %u", hdev->name, hdev->discovery.state, state); in hci_discovery_set_state() 1088 hdev->discovery.state = state; in hci_discovery_set_state() 1111 struct discovery_state *cache = &hdev->discovery; in hci_inquiry_cache_flush() 1126 struct discovery_state *cache = &hdev->discovery; in hci_inquiry_cache_lookup() 1142 struct discovery_state *cache = &hdev->discovery; in hci_inquiry_cache_lookup_unknown() 1159 struct discovery_state *cache = &hdev->discovery; in hci_inquiry_cache_lookup_resolve() 1177 struct discovery_state *cache = &hdev->discovery; in hci_inquiry_cache_update_resolve() 1196 struct discovery_state *cache = &hdev->discovery; in hci_inquiry_cache_update() [all...] |
H A D | hci_event.c | 76 /* Set discovery state to stopped if we're not doing LE active in hci_cc_inquiry_cancel() 1324 struct discovery_state *d = &hdev->discovery; in has_pending_adv_report() 1331 struct discovery_state *d = &hdev->discovery; in clear_pending_adv_report() 1341 struct discovery_state *d = &hdev->discovery; in store_pending_adv_report() 1371 struct discovery_state *d = &hdev->discovery; in le_set_scan_enable_complete() 1389 * therefore discovery as stopped. If this was not in le_set_scan_enable_complete() 1397 hdev->discovery.state == DISCOVERY_FINDING) in le_set_scan_enable_complete() 2007 struct discovery_state *discov = &hdev->discovery; in hci_resolve_next_name() 2028 struct discovery_state *discov = &hdev->discovery; in hci_check_pending_name() 2478 struct discovery_state *discov = &hdev->discovery; in hci_inquiry_complete_evt() [all...] |
/kernel/linux/linux-6.6/include/net/bluetooth/ |
H A D | hci_core.h | 561 struct discovery_state discovery; member 905 hdev->discovery.state = DISCOVERY_STOPPED; in discovery_init() 906 INIT_LIST_HEAD(&hdev->discovery.all); in discovery_init() 907 INIT_LIST_HEAD(&hdev->discovery.unknown); in discovery_init() 908 INIT_LIST_HEAD(&hdev->discovery.resolve); in discovery_init() 909 hdev->discovery.report_invalid_rssi = true; in discovery_init() 910 hdev->discovery.rssi = HCI_RSSI_INVALID; in discovery_init() 915 hdev->discovery.result_filtering = false; in hci_discovery_filter_clear() 916 hdev->discovery.report_invalid_rssi = true; in hci_discovery_filter_clear() 917 hdev->discovery in hci_discovery_filter_clear() [all...] |
/kernel/linux/linux-6.6/include/net/ |
H A D | amt.h | 209 struct amt_header_discovery discovery; member 220 struct amt_header_discovery discovery; member 353 /* Outer discovery ip */
|
/kernel/linux/linux-6.6/net/bluetooth/ |
H A D | hci_sync.c | 363 hdev->discovery.scan_start = 0; in le_scan_disable() 365 /* If we were running LE only scan, change discovery state. If in le_scan_disable() 367 * and BR/EDR inquiry is already finished, stop discovery, in le_scan_disable() 368 * otherwise BR/EDR inquiry will stop discovery when finished. in le_scan_disable() 370 * discovery state. in le_scan_disable() 373 if (hdev->discovery.type == DISCOV_TYPE_LE) in le_scan_disable() 376 if (hdev->discovery.type != DISCOV_TYPE_INTERLEAVED) in le_scan_disable() 381 hdev->discovery.state != DISCOVERY_RESOLVING) in le_scan_disable() 439 !hdev->discovery.scan_start) in le_scan_restart() 447 duration = hdev->discovery in le_scan_restart() [all...] |
H A D | hci_core.c | 136 struct discovery_state *discov = &hdev->discovery; in hci_discovery_active() 150 int old_state = hdev->discovery.state; in hci_discovery_set_state() 152 BT_DBG("%s state %u -> %u", hdev->name, hdev->discovery.state, state); in hci_discovery_set_state() 157 hdev->discovery.state = state; in hci_discovery_set_state() 180 struct discovery_state *cache = &hdev->discovery; in hci_inquiry_cache_flush() 195 struct discovery_state *cache = &hdev->discovery; in hci_inquiry_cache_lookup() 211 struct discovery_state *cache = &hdev->discovery; in hci_inquiry_cache_lookup_unknown() 228 struct discovery_state *cache = &hdev->discovery; in hci_inquiry_cache_lookup_resolve() 246 struct discovery_state *cache = &hdev->discovery; in hci_inquiry_cache_update_resolve() 265 struct discovery_state *cache = &hdev->discovery; in hci_inquiry_cache_update() [all...] |
H A D | mgmt.c | 5856 if (hdev->discovery.state != DISCOVERY_STOPPED || in start_discovery_internal() 5869 /* Can't start discovery when it is paused */ in start_discovery_internal() 5876 /* Clear the discovery filter first to free any previously in start_discovery_internal() 5881 hdev->discovery.type = cp->type; in start_discovery_internal() 5882 hdev->discovery.report_invalid_rssi = false; in start_discovery_internal() 5884 hdev->discovery.limited = true; in start_discovery_internal() 5886 hdev->discovery.limited = false; in start_discovery_internal() 5945 if (hdev->discovery.state != DISCOVERY_STOPPED || in start_service_discovery() 5998 /* Clear the discovery filter first to free any previously in start_service_discovery() 6003 hdev->discovery in start_service_discovery() [all...] |
H A D | hci_event.c | 113 /* Set discovery state to stopped if we're not doing LE active in hci_cc_inquiry_cancel() 1747 struct discovery_state *d = &hdev->discovery; in has_pending_adv_report() 1754 struct discovery_state *d = &hdev->discovery; in clear_pending_adv_report() 1764 struct discovery_state *d = &hdev->discovery; in store_pending_adv_report() 1796 struct discovery_state *d = &hdev->discovery; in le_set_scan_enable_complete() 1814 * therefore discovery as stopped. in le_set_scan_enable_complete() 1819 hdev->discovery.state == DISCOVERY_FINDING) in le_set_scan_enable_complete() 2492 struct discovery_state *discov = &hdev->discovery; in hci_resolve_next_name() 2519 struct discovery_state *discov = &hdev->discovery; in hci_check_pending_name() 3033 struct discovery_state *discov = &hdev->discovery; in hci_inquiry_complete_evt() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
H A D | fw.c | 563 p2p_ps_offload->discovery = 0; in rtl8723e_set_p2p_ps_offload_cmd() 568 p2p_ps_offload->discovery = 1; in rtl8723e_set_p2p_ps_offload_cmd() 572 p2p_ps_offload->discovery = 0; in rtl8723e_set_p2p_ps_offload_cmd()
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
H A D | fw.c | 702 p2p_ps_offload->discovery = 0; in rtl88e_set_p2p_ps_offload_cmd() 707 p2p_ps_offload->discovery = 1; in rtl88e_set_p2p_ps_offload_cmd() 711 p2p_ps_offload->discovery = 0; in rtl88e_set_p2p_ps_offload_cmd()
|
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
H A D | fw.c | 702 p2p_ps_offload->discovery = 0; in rtl88e_set_p2p_ps_offload_cmd() 707 p2p_ps_offload->discovery = 1; in rtl88e_set_p2p_ps_offload_cmd() 711 p2p_ps_offload->discovery = 0; in rtl88e_set_p2p_ps_offload_cmd()
|
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
H A D | fw.c | 563 p2p_ps_offload->discovery = 0; in rtl8723e_set_p2p_ps_offload_cmd() 568 p2p_ps_offload->discovery = 1; in rtl8723e_set_p2p_ps_offload_cmd() 572 p2p_ps_offload->discovery = 0; in rtl8723e_set_p2p_ps_offload_cmd()
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A D | amt.sh | 140 mode gateway local 10.0.0.1 discovery 10.0.0.2 dev gw_relay \ 182 printf "TEST: %-60s [ OK ]\n" "amt discovery" 184 printf "TEST: %-60s [FAIL]\n" "amt discovery"
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
H A D | fw_common.c | 750 p2p_ps_offload->discovery = 0; in rtl92c_set_p2p_ps_offload_cmd() 755 p2p_ps_offload->discovery = 1; in rtl92c_set_p2p_ps_offload_cmd() 760 p2p_ps_offload->discovery = 0; in rtl92c_set_p2p_ps_offload_cmd()
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
H A D | fw.c | 837 p2p_ps_offload->discovery = 0; in rtl92ee_set_p2p_ps_offload_cmd() 842 p2p_ps_offload->discovery = 1; in rtl92ee_set_p2p_ps_offload_cmd() 846 p2p_ps_offload->discovery = 0; in rtl92ee_set_p2p_ps_offload_cmd()
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
H A D | fw.c | 667 p2p_ps_offload->discovery = 0; in rtl8723be_set_p2p_ps_offload_cmd() 672 p2p_ps_offload->discovery = 1; in rtl8723be_set_p2p_ps_offload_cmd() 676 p2p_ps_offload->discovery = 0; in rtl8723be_set_p2p_ps_offload_cmd()
|
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
H A D | fw_common.c | 750 p2p_ps_offload->discovery = 0; in rtl92c_set_p2p_ps_offload_cmd() 755 p2p_ps_offload->discovery = 1; in rtl92c_set_p2p_ps_offload_cmd() 760 p2p_ps_offload->discovery = 0; in rtl92c_set_p2p_ps_offload_cmd()
|
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
H A D | fw.c | 667 p2p_ps_offload->discovery = 0; in rtl8723be_set_p2p_ps_offload_cmd() 672 p2p_ps_offload->discovery = 1; in rtl8723be_set_p2p_ps_offload_cmd() 676 p2p_ps_offload->discovery = 0; in rtl8723be_set_p2p_ps_offload_cmd()
|
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
H A D | fw.c | 837 p2p_ps_offload->discovery = 0; in rtl92ee_set_p2p_ps_offload_cmd() 842 p2p_ps_offload->discovery = 1; in rtl92ee_set_p2p_ps_offload_cmd() 846 p2p_ps_offload->discovery = 0; in rtl92ee_set_p2p_ps_offload_cmd()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/ |
H A D | rtw_cmd.h | 117 u8 discovery:1; member
|
/kernel/linux/linux-6.6/drivers/thunderbolt/ |
H A D | tb.c | 884 bool discovery = false; in tb_scan_port() local 953 discovery = true; in tb_scan_port() 984 if (discovery) in tb_scan_port() 985 tb_sw_dbg(sw, "discovery, not touching CL states\n"); in tb_scan_port() 1003 * domain. This is because we scan the domain also during discovery in tb_scan_port()
|
/kernel/linux/linux-5.10/drivers/target/ |
H A D | target_core_fabric_configfs.c | 970 TF_CIT_SETUP_DRV(discovery, NULL, NULL);
|