| /freebsd/contrib/wpa/wpa_supplicant/ |
| H A D | bgscan_simple.c | 2 * WPA Supplicant - background scan and roaming module: simple 3 * Copyright (c) 2009-2010, Jouni Malinen <j@w1.fi> 17 #include "scan.h" 30 int short_scan_count; /* counter for scans using short scan interval */ 31 int max_short_scans; /* maximum times we short-scan before back-off */ 46 if (!data->use_btm_query || wpa_s->conf->disable_btm || in bgscan_simple_btm_query() 47 !wpa_s->current_bss || in bgscan_simple_btm_query() 48 !wpa_bss_ext_capab(wpa_s->current_bss, in bgscan_simple_btm_query() 52 /* Try BTM x times, scan on x + 1 */ in bgscan_simple_btm_query() 53 data->scan_action_count++; in bgscan_simple_btm_query() [all …]
|
| H A D | autoscan.c | 2 * WPA Supplicant - auto scan 16 #include "scan.h" 33 wpa_s->scan_req = MANUAL_SCAN_REQ; in request_scan() 36 wpa_supplicant_req_scan(wpa_s, wpa_s->scan_interval, 0); in request_scan() 42 const char *name = wpa_s->conf->autoscan; in autoscan_init() 49 /* Give preference to scheduled scan plans if supported/configured */ in autoscan_init() 50 if (wpa_s->sched_scan_plans) { in autoscan_init() 52 "autoscan: sched_scan_plans set - use it instead"); in autoscan_init() 56 if (wpa_s->autoscan && wpa_s->autoscan_priv) { in autoscan_init() 69 nlen = params - name; in autoscan_init() [all …]
|
| H A D | autoscan_exponential.c | 2 * WPA Supplicant - auto scan exponential module 19 int interval; member 30 return -1; in autoscan_exponential_get_params() 32 data->base = atoi(params); in autoscan_exponential_get_params() 36 return -1; in autoscan_exponential_get_params() 39 data->limit = atoi(pos); in autoscan_exponential_get_params() 60 "and limit is %d", data->base, data->limit); in autoscan_exponential_init() 62 data->wpa_s = wpa_s; in autoscan_exponential_init() 81 wpa_printf(MSG_DEBUG, "autoscan exponential: scan result " in autoscan_exponential_notify_scan() 84 if (data->interval >= data->limit) in autoscan_exponential_notify_scan() [all …]
|
| H A D | autoscan_periodic.c | 2 * WPA Supplicant - auto scan periodic module 24 int interval; in autoscan_periodic_get_params() local 27 return -1; in autoscan_periodic_get_params() 29 interval = atoi(params); in autoscan_periodic_get_params() 31 if (interval < 0) in autoscan_periodic_get_params() 32 return -1; in autoscan_periodic_get_params() 34 data->periodic_interval = interval; in autoscan_periodic_get_params() 54 wpa_printf(MSG_DEBUG, "autoscan periodic: interval is %d", in autoscan_periodic_init() 55 data->periodic_interval); in autoscan_periodic_init() 74 wpa_printf(MSG_DEBUG, "autoscan periodic: scan result notification"); in autoscan_periodic_notify_scan() [all …]
|
| H A D | bgscan_learn.c | 2 * WPA Supplicant - background scan and roaming module: learn 3 * Copyright (c) 2009-2010, Jouni Malinen <j@w1.fi> 19 #include "scan.h" 47 os_free(bss->neigh); in bss_free() 73 if (ether_addr_equal(bss->bssid, bssid)) in bgscan_learn_add_neighbor() 75 if (bssid_in_array(bss->neigh, bss->num_neigh, bssid)) in bgscan_learn_add_neighbor() 78 n = os_realloc_array(bss->neigh, bss->num_neigh + 1, ETH_ALEN); in bgscan_learn_add_neighbor() 82 os_memcpy(n + bss->num_neigh * ETH_ALEN, bssid, ETH_ALEN); in bgscan_learn_add_neighbor() 83 bss->neigh = n; in bgscan_learn_add_neighbor() 84 bss->num_neigh++; in bgscan_learn_add_neighbor() [all …]
|
| H A D | scan.c | 2 * WPA Supplicant - Scanning 3 * Copyright (c) 2003-2019, Jouni Malinen <j@w1.fi> 24 #include "scan.h" 39 if (wpa_s->current_ssid == NULL) { in wpa_supplicant_gen_assoc_event() 40 wpa_s->current_ssid = ssid; in wpa_supplicant_gen_assoc_event() 45 "network - generating associated event"); in wpa_supplicant_gen_assoc_event() 58 for (ssid = wpa_s->conf->ssid; ssid; ssid = ssid->next) { in wpas_wps_in_use() 59 if (!(ssid->key_mgmt & WPA_KEY_MGMT_WPS)) in wpas_wps_in_use() 64 if (ssid->eap.phase1 && os_strstr(ssid->eap.phase1, "pbc=1")) in wpas_wps_in_use() 69 if (!wpa_s->global->p2p_disabled && wpa_s->global->p2p && in wpas_wps_in_use() [all …]
|
| H A D | wpa_supplicant.conf | 48 # run as non-root users. However, since the control interface can be used to 51 # want to allow non-root users to use the control interface, add a new group 69 # library/default.asp?url=/library/en-us/secauthz/security/ 72 # DACL (which will reject all connections). See README-Windows.txt for more 78 # wpa_supplicant is implemented based on IEEE Std 802.1X-2004 which defines 85 # defined in IEEE Std 802.1X-2010. 90 # uses the scan results to select a suitable AP. Another alternative is to 111 # created immediately regardless of scan results. ap_scan=1 mode will first try 112 # to scan for existing networks and only if no matches with the enabled 116 # Whether to force passive scan for network connection [all …]
|
| H A D | README-P2P | 1 wpa_supplicant and Wi-Fi P2P 4 This document describes how the Wi-Fi P2P implementation in 10 Introduction to Wi-Fi P2P 11 ------------------------- 15 More information about Wi-Fi P2P is available from Wi-Fi Alliance: 16 http://www.wi-fi.org/Wi-Fi_Direct.php 20 ----------------------------- 26 ---------------------------- 28 Wi-Fi P2P is an optional component that needs to be enabled in the 30 configuration that includes Wi-Fi P2P support and Linux nl80211 [all …]
|
| H A D | config.h | 3 * Copyright (c) 2003-2012, Jouni Malinen <j@w1.fi> 46 #define DEFAULT_DISASSOC_IMMINENT_RSSI_THRESHOLD -75 63 * next - Next credential in the list 71 * id - Unique id for the credential 82 * temporary - Whether this credential is temporary and not to be saved 87 * priority - Priority group 99 * pcsc - Use PC/SC and SIM/USIM card 104 * realm - Home Realm for Interworking 109 * username - Username for Interworking network selection 114 * password - Password for Interworking network selection [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/input/ |
| H A D | ti,nspire-keypad.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/ti,nspire-keypad.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: TI-NSPIRE Keypad 10 - Andrew Davis <afd@ti.com> 13 - $ref: input.yaml# 14 - $ref: matrix-keymap.yaml# 19 - ti,nspire-keypad 30 scan-interval: [all …]
|
| H A D | stmpe-keypad.txt | 4 - compatible : "st,stmpe-keypad" 5 - linux,keymap : See ./matrix-keymap.txt 8 - debounce-interval : Debouncing interval time in milliseconds 9 - st,scan-count : Scanning cycles elapsed before key data is updated 10 - st,no-autorepeat : If specified device will not autorepeat 11 - keypad,num-rows : See ./matrix-keymap.txt 12 - keypad,num-columns : See ./matrix-keymap.txt 17 compatible = "st,stmpe-keypad"; 19 debounce-interval = <64>; 20 st,scan-count = <8>; [all …]
|
| H A D | gpio-mouse.txt | 1 Device-Tree bindings for GPIO attached mice 4 to 5-7 GPIO lines. 7 - compatible: must be "gpio-mouse" 8 - scan-interval-ms: The scanning interval in milliseconds 9 - up-gpios: GPIO line phandle to the line indicating "up" 10 - down-gpios: GPIO line phandle to the line indicating "down" 11 - left-gpios: GPIO line phandle to the line indicating "left" 12 - right-gpios: GPIO line phandle to the line indicating "right" 15 - button-left-gpios: GPIO line handle to the left mouse button 16 - button-middle-gpios: GPIO line handle to the middle mouse button [all …]
|
| H A D | ti,nspire-keypad.txt | 1 TI-NSPIRE Keypad 4 - compatible: Compatible property value should be "ti,nspire-keypad". 6 - reg: Physical base address of the peripheral and length of memory mapped 9 - interrupts: The interrupt number for the peripheral. 11 - scan-interval: How often to scan in us. Based on a APB speed of 33MHz, the 14 - row-delay: How long to wait before scanning each row. 16 - clocks: The clock this peripheral is attached to. 18 - linux,keymap: The keymap to use 19 (see Documentation/devicetree/bindings/input/matrix-keymap.txt) 22 - active-low: Specify that the keypad is active low (i.e. logical low signifies [all …]
|
| H A D | gpio-matrix-keypad.txt | 6 keypad can sense a key-press and key-release by means of GPIO lines and 10 - compatible: Should be "gpio-matrix-keypad" 11 - row-gpios: List of gpios used as row lines. The gpio specifier 14 - col-gpios: List of gpios used as column lines. The gpio specifier 17 - linux,keymap: The definition can be found at 18 bindings/input/matrix-keymap.txt 21 - linux,no-autorepeat: do no enable autorepeat feature. 22 - wakeup-source: use any event on keypad as wakeup event. 24 - debounce-delay-ms: debounce interval in milliseconds 25 - col-scan-delay-us: delay, measured in microseconds, that is needed [all …]
|
| /freebsd/contrib/wpa/src/drivers/ |
| H A D | android_drv.h | 11 #define WPA_EVENT_DRIVER_STATE "CTRL-EVENT-DRIVER-STATE " 32 /* Scan interval size is scan interval section type + scan interval length
|
| H A D | driver_nl80211_scan.c | 2 * Driver interaction with Linux nl80211/cfg80211 - Scanning 4 * Copyright (c) 2002-2014, Jouni Malinen <j@w1.fi> 6 * Copyright (c) 2009-2010, Atheros Communications 20 #include "common/qca-vendor.h" 43 if (info->count >= MAX_NL80211_NOISE_FREQS) in get_noise_for_scan_results() 68 info->freq[info->count] = in get_noise_for_scan_results() 70 info->noise[info->count] = in get_noise_for_scan_results() 72 info->count++; in get_noise_for_scan_results() 93 struct wpa_driver_nl80211_data *drv = bss->drv; in nl80211_abort_scan() 95 wpa_printf(MSG_DEBUG, "nl80211: Abort scan"); in nl80211_abort_scan() [all …]
|
| H A D | nl80211_copy.h | 6 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net> 13 * Copyright 2015-2017 Intel Deutschland GmbH 14 * Copyright (C) 2018-2023 Intel Corporation 32 * be careful not to break things - i.e. don't move anything around or so 48 #define NL80211_MULTICAST_GROUP_SCAN "scan" 74 * - a setup station entry is added, not yet authorized, without any rate 76 * - when the TDLS setup is done, a single NL80211_CMD_SET_STATION is valid 79 * - %NL80211_TDLS_ENABLE_LINK is then used 80 * - after this, the only valid operation is to remove it by tearing down 95 * Frame registration is done on a per-interface basis and registrations [all …]
|
| /freebsd/sys/contrib/dev/iwlwifi/fw/api/ |
| H A D | scan.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2012-2014, 2018-2024 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 10 /* Scan Commands, Responses, Notifications */ 13 * enum iwl_scan_subcmd_ids - scan commands 33 * struct iwl_ssid_ie - directed scan network information element 50 /* scan offload */ 59 /* Default watchdog (in MS) for scheduled scan iteration */ 78 * struct iwl_scan_offload_blocklist - SCAN_OFFLOAD_BLACKLIST_S [all …]
|
| /freebsd/usr.sbin/bluetooth/hccontrol/ |
| H A D | host_controller_baseband.c | 1 /*- 4 * SPDX-License-Identifier: BSD-2-Clause 6 * Copyright (c) 2001-2002 Maksim Yevmenkin <m_evmenkin@yahoo.com> 45 return (*a - '0'); in hci_hexa2int4() 48 return (*a - 'A' + 0xa); in hci_hexa2int4() 51 return (*a - 'a' + 0xa); in hci_hexa2int4() 53 return (-1); in hci_hexa2int4() 64 return (-1); in hci_hexa2int8() 82 return (-1); in hci_hexstring2array() 210 memcpy(&cmd.cp.bdaddr, he->h_addr, sizeof(cmd.cp.bdaddr)); in hci_read_stored_link_key() [all …]
|
| H A D | le.c | 79 int interval; in le_set_scan_param() local 98 interval = (int)(atof(argv[1])/0.625); in le_set_scan_param() 99 interval = (interval < 4)? 4: interval; in le_set_scan_param() 101 window = (window < 4) ? 4 : interval; in le_set_scan_param() 118 cp.le_scan_interval = interval; in le_set_scan_param() 168 fprintf(stdout, "LE Scan: %s\n", in le_set_scan_enable() 185 while ((ch = getopt(argc, argv , "n:f:u:")) != -1) { in parse_param() 225 *len = curbuf - buf; in parse_param() 455 while ((ch = getopt(argc, argv , "m:M:t:o:p:a:c:f:")) != -1) { in le_set_advertising_param() 484 memcpy(&cp.direct_address, he->h_addr, sizeof(cp.direct_address)); in le_set_advertising_param() [all …]
|
| /freebsd/sys/net80211/ |
| H A D | ieee80211_scan.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2005-2009 Sam Leffler, Errno Consulting 36 * active scan causes one or more probe request frames to be sent on 38 * scan set to be visited but no frames to be transmitted; the station 45 * A scan operation involves constructing a set of channels to inspect 46 * (the scan se [all...] |
| H A D | ieee80211_scan_sw.c | 1 /*- 2 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting 58 #define ISCAN_INTERRUPT 0x0004 /* interrupt current scan */ 59 #define ISCAN_CANCEL 0x0008 /* cancel current scan */ 61 #define ISCAN_ABORT 0x0010 /* end the scan immediately */ 62 #define ISCAN_RUNNING 0x0020 /* scan was started */ 65 unsigned long ss_scanend; /* time scan must stop */ 66 u_int ss_duration; /* duration for next scan */ 67 struct task ss_scan_start; /* scan start */ 68 struct timeout_task ss_scan_curchan; /* scan execution */ [all …]
|
| /freebsd/sbin/ifconfig/ |
| H A D | ifconfig.8 | 1 .\"- 2 .\" SPDX-License-Identifier: BSD-3-Clause 93 .Bl -tag -width indent 120 The format is specified as a comma-separated list of 141 .Bl -tag -width default 145 .Bl -tag -width default -compact 158 Adjust the display of link-level ethernet (MAC) addresses: 160 .Bl -tag -width default -compact 175 .Bl -tag -width default -compact 192 .Bl -tag -width default -compact [all …]
|
| /freebsd/contrib/wpa/src/p2p/ |
| H A D | p2p.h | 2 * Wi-Fi Direct - P2P module 3 * Copyright (c) 2009-2010, Atheros Communications 23 #define P2PS_WILD_HASH_STR "org.wi-fi.wfds" 29 * P2P_MAX_PREF_CHANNELS - Maximum number of preferred channels 34 * P2P_MAX_REG_CLASSES - Maximum number of regulatory classes 39 * P2P_MAX_REG_CLASS_CHANNELS - Maximum number of channels per regulatory class 44 * struct p2p_channels - List of supported channels 48 * struct p2p_reg_class - Supported regulatory class 52 * reg_class - Regulatory class (IEEE 802.11-2007, Annex J) 57 * channel - Supported channels [all …]
|
| /freebsd/share/man/man4/ |
| H A D | net80211.4 | 1 .\"- 51 .Bl -tag -width ".Dv SIOCG80211" 62 .Bd -literal 73 -1 and set the global variable errno to 78 or in a user-specified buffer pointed to by 96 .Bl -tag -width indent 162 This value will be non-zero when AP bridging is enabled and otherwise zero. 200 When this value is non-zero and operating in station mode 202 the current channel and scan for neighboring stations. 212 before it will do a background scan. [all …]
|