/freebsd/sys/net80211/ |
H A D | ieee80211_dfs.c | 63 &ieee80211_cac_timeout, 0, "CAC timeout (secs)"); 70 * 0 - default CAC/NOL behaviour - ie, start CAC, place 72 * 1 - send CAC, but don't change channel or add the channel 74 * 2 - just match on radar, don't send CAC or place channel in 81 * as it allows users to plainly disable CAC/NOL handling. 139 * When radar is detected during a CAC we are woken in cac_timeout() 148 "CAC timer on channel %u (%u MHz) stopped due to radar\n", in cac_timeout() 157 "CAC timer on channel %u (%u MHz) expired; " in cac_timeout() 162 * as having completed CAC; this keeps us from in cac_timeout() 177 * Initiate the CAC timer. The driver is responsible [all …]
|
H A D | ieee80211_proto.h | 450 IEEE80211_NOTIFY_CAC_START = 0, /* CAC timer started */ 451 IEEE80211_NOTIFY_CAC_STOP = 1, /* CAC intentionally stopped */ 452 IEEE80211_NOTIFY_CAC_RADAR = 2, /* CAC stopped due to radar detectio */ 453 IEEE80211_NOTIFY_CAC_EXPIRE = 3, /* CAC expired w/o radar */
|
H A D | ieee80211_dfs.h | 43 struct callout cac_timer; /* CAC timer */
|
H A D | ieee80211_proto.c | 93 "CAC", /* IEEE80211_S_CAC */ 2385 * Complete a DFS CAC started by ieee80211_dfs_cac_start. 2386 * We clear state and move all vap's in CAC state to RUN state. 2396 * Complete CAC state change for lead vap first; then in ieee80211_cac_completeswitch() 2700 * o only one vap can be doing CAC of a channel so on transition to 2701 * CAC state if another vap is already scanning for radar then 2763 /* NB: CAC+AUTH+ASSOC treated like SCAN */ in ieee80211_new_state_locked() 2847 * This is a DFS channel, transition to CAC state in ieee80211_new_state_locked() 2849 * Channel Availability Check (CAC) as specified in ieee80211_new_state_locked()
|
H A D | ieee80211_hostap.c | 212 * change in which case we need to stop CAC in hostap_newstate() 259 * Start CAC on a DFS channel. We come here when starting in hostap_newstate() 283 * NB: This is the normal state change when CAC in hostap_newstate() 285 * clear the CAC timer as it's already expired. in hostap_newstate()
|
H A D | ieee80211_output.c | 341 * does (eg CAC timeout, interface wakeup) - the caller must 501 * Note in particular this covers CAC and CSA in ieee80211_vap_transmit() 787 "block %s frame in CAC state\n", "raw data"); in ieee80211_output() 1024 ni, "block %s frame in CAC state", in ieee80211_mgmt_output() 1105 ni, "block %s frame in CAC state", "null data"); in ieee80211_send_nulldata() 2569 "block %s frame in CAC state", "probe request"); in ieee80211_send_probereq() 3246 "block %s frame in CAC state", "probe response"); in ieee80211_send_proberesp()
|
H A D | ieee80211_mesh.c | 771 * Start CAC on a DFS channel. We come here when starting in mesh_newstate() 792 * NB: This is the normal state change when CAC in mesh_newstate() 794 * clear the CAC timer as it's already expired. in mesh_newstate() 2660 "block %s frame in CAC state", "Mesh action"); in mesh_send_action()
|
/freebsd/contrib/wpa/src/ap/ |
H A D | dfs.c | 80 /* Select only radar channel where CAC has not been in dfs_channel_available() 92 * time for CAC, so radar channels must be skipped when finding a new in dfs_channel_available() 826 * 0 - channel/ap setup will be continued after CAC 859 /* Setup CAC time */ in hostapd_handle_dfs() 874 "DFS all channels available, (SKIP CAC): %s", in hostapd_handle_dfs() 892 /* Finally start CAC */ in hostapd_handle_dfs() 894 wpa_printf(MSG_DEBUG, "DFS start CAC on %d MHz%s", iface->freq, in hostapd_handle_dfs() 933 * regulations and perform CAC on dedicated radar chain. in hostapd_handle_dfs() 1092 wpa_printf(MSG_ERROR, "DFS failed to start CAC offchannel"); in hostapd_dfs_update_background_chain() 1159 * 2. on next CAC complete event if switching to another in hostapd_dfs_complete_cac() [all …]
|
H A D | hostapd.h | 618 * CAC detection on radar offchain. 621 /* CAC started on radar offchain */
|
H A D | drv_callbacks.c | 1309 /* Fake a CAC start bit to skip setting channel */ in hostapd_event_ch_switch() 2210 wpa_printf(MSG_DEBUG, "DFS Pre-CAC expired on %d MHz", radar->freq); in hostapd_event_dfs_pre_cac_expired() 2220 wpa_printf(MSG_DEBUG, "DFS CAC finished on %d MHz", radar->freq); in hostapd_event_dfs_cac_finished() 2230 wpa_printf(MSG_DEBUG, "DFS CAC aborted on %d MHz", radar->freq); in hostapd_event_dfs_cac_aborted() 2250 wpa_printf(MSG_DEBUG, "DFS offload CAC started on %d MHz", radar->freq); in hostapd_event_dfs_cac_started() 2704 wpa_printf(MSG_DEBUG, "DFS: restarting pending CAC"); in wpa_supplicant_event()
|
H A D | ctrl_iface_ap.c | 847 /* CAC started and CAC time set - calculate remaining time */ in hostapd_ctrl_iface_status()
|
/freebsd/sys/contrib/device-tree/Bindings/net/wireless/ |
H A D | mediatek,mt76.yaml | 113 Disable/enable radar/CAC detection running on a dedicated offchannel 115 Background radar/CAC detection allows to avoid the CAC downtime 116 switching on a different channel during CAC detection on the selected
|
/freebsd/tools/tools/net80211/wlanwatch/ |
H A D | wlanwatch.c | 69 IEEE80211_NOTIFY_CAC_START = 0, /* CAC timer started */ 70 IEEE80211_NOTIFY_CAC_STOP = 1, /* CAC intentionally stopped */ 71 IEEE80211_NOTIFY_CAC_RADAR = 2, /* CAC stopped due to radar detectio */ 72 IEEE80211_NOTIFY_CAC_EXPIRE = 3, /* CAC expired w/o radar */
|
/freebsd/share/man/man9/ |
H A D | ieee80211_proto.9 | 98 Doing Channel Availability Check (CAC). 100 for operation requires CAC.
|
H A D | ieee80211_output.9 | 97 when CAC or CSA is active.
|
/freebsd/usr.bin/indent/ |
H A D | io.c | 272 * HISTORY: initial coding November 1976 D A Willcox of CAC 1/7/77 A 273 * Willcox of CAC Added check for switch back to partly full input 390 * HISTORY: initial coding November 1976 D A Willcox of CAC 437 * HISTORY: initial coding November 1976 D A Willcox of CAC
|
H A D | pr_comment.c | 64 * November 1976 D A Willcox of CAC Initial coding 65 * 12/6/76 D A Willcox of CAC Modification to handle
|
H A D | parse.c | 256 * HISTORY: initial coding November 1976 D A Willcox of CAC
|
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | reg.c | 392 /* To be safe, lts use the max cac timeout of both rules */ 433 * default regdomain. Also MAX of the dfs cac timeout is selected. 661 /* Update dfs cac timeout if the dfs domain is ETSI and the
|
/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300_radar.c | 42 * This PRSSI value should be used during CAC. 422 However, this causes problem during CAC as no radar is detected 509 function to adjust PRSSI value for CAC problem
|
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | reg.c | 430 /* To be safe, lts use the max cac timeout of both rules */ in ath11k_reg_intersect_rules() 471 * default regdomain. Also MAX of the dfs cac timeout is selected. in ath11k_regd_intersect() 708 /* Update dfs cac timeout if the dfs domain is ETSI and the in ath11k_reg_build_regd()
|
/freebsd/contrib/wpa/src/common/ |
H A D | wpa_ctrl.h | 382 #define DFS_EVENT_CAC_START "DFS-CAC-START " 383 #define DFS_EVENT_CAC_COMPLETED "DFS-CAC-COMPLETED " 385 #define DFS_EVENT_PRE_CAC_EXPIRED "DFS-PRE-CAC-EXPIRED "
|
/freebsd/contrib/wpa/src/drivers/ |
H A D | nl80211_copy.h | 983 * @NL80211_CMD_RADAR_DETECT: Start a Channel availability check (CAC). Once 984 * a radar is detected or the channel availability scan (CAC) has finished 2753 * available for radar/CAC detection on some hw. This chain can't be used 2755 * Background radar/CAC detection allows to avoid the CAC downtime 2756 * switching on a different channel during CAC detection on the selected 4185 * @NL80211_FREQUENCY_ATTR_DFS_CAC_TIME: DFS CAC time in milliseconds. 4366 * @NL80211_ATTR_DFS_CAC_TIME: DFS CAC time in milliseconds. 4367 * If not present or 0 default CAC time will be used. 6292 * informing user-space about CAC progress, radar detection event, 6294 * No need to start CAC from user-space, no need to react to [all …]
|
H A D | driver.h | 161 * dfs_cac_ms - DFS CAC time in milliseconds 860 * radar_background - Whether radar/CAC background is requested 2306 /** Driver supports background radar/CAC detection */ 5630 * After a successful CAC, the channel can be marked clear and used. 5637 * The CAC was not successful, and the channel remains in the previous 5719 * done previously (Pre-CAC) on the channel has expired. This would 5721 * channel will be moved from available to usable. A new CAC has to be
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | ap.c | 1052 params.freq.freq = 0; /* set channel after CAC */ in wpa_supplicant_create_ap() 2124 wpa_printf(MSG_DEBUG, "DFS CAC started on %d MHz", radar->freq); in wpas_ap_event_dfs_cac_started() 2140 wpa_printf(MSG_DEBUG, "DFS CAC finished on %d MHz", radar->freq); in wpas_ap_event_dfs_cac_finished() 2156 wpa_printf(MSG_DEBUG, "DFS CAC aborted on %d MHz", radar->freq); in wpas_ap_event_dfs_cac_aborted()
|