/freebsd/contrib/wpa/src/ap/ |
H A D | hw_features.c | 101 if (iface->current_mode) { in hostapd_get_hw_features() 109 mode = iface->current_mode->mode; in hostapd_get_hw_features() 110 is_6ghz = iface->current_mode->is_6ghz; in hostapd_get_hw_features() 111 iface->current_mode = NULL; in hostapd_get_hw_features() 126 iface->current_mode = feature; in hostapd_get_hw_features() 165 if (orig_mode_valid && !iface->current_mode) { in hostapd_get_hw_features() 262 if (!iface->current_mode) in ieee80211n_allowed_ht40_channel_pair() 265 p_chan = hw_get_channel_freq(iface->current_mode->mode, pri_freq, NULL, in ieee80211n_allowed_ht40_channel_pair() 269 s_chan = hw_get_channel_freq(iface->current_mode->mode, sec_freq, NULL, in ieee80211n_allowed_ht40_channel_pair() 273 return allowed_ht40_channel_pair(iface->current_mode->mode, in ieee80211n_allowed_ht40_channel_pair() [all …]
|
H A D | dfs.c | 249 mode = iface->current_mode; in dfs_find_channel() 399 mode = iface->current_mode; in dfs_get_start_chan_idx() 412 mode = iface->current_mode; in dfs_get_start_chan_idx() 451 mode = iface->current_mode; in dfs_check_chans_radar() 473 mode = iface->current_mode; in dfs_check_chans_available() 502 mode = iface->current_mode; in dfs_check_chans_unavailable() 538 if (iface->current_mode == NULL) in dfs_get_valid_channel() 541 mode = iface->current_mode; in dfs_get_valid_channel() 648 mode = iface->current_mode; in set_dfs_state_freq() 653 for (i = 0; i < iface->current_mode->num_channels; i++) { in set_dfs_state_freq() [all …]
|
H A D | ieee802_11_he.c | 93 struct hostapd_hw_modes *mode = hapd->iface->current_mode; in hostapd_eid_he_capab() 179 if (!hapd->iface->current_mode) in hostapd_eid_he_operation() 372 struct hostapd_hw_modes *mode = hapd->iface->current_mode; in hostapd_eid_he_6ghz_band_cap() 433 if (!hapd->iface->current_mode) in check_valid_he_mcs() 435 ap_mcs_set = (u16 *) hapd->iface->current_mode->he_capab[opmode].mcs; in check_valid_he_mcs() 546 if (!hapd->iface->current_mode || in hostapd_get_he_twt_responder() 547 !hapd->iface->current_mode->he_capab[mode].he_supported || in hostapd_get_he_twt_responder() 551 mac_cap = hapd->iface->current_mode->he_capab[mode].mac_cap; in hostapd_get_he_twt_responder()
|
H A D | ieee802_11_vht.c | 27 struct hostapd_hw_modes *mode = hapd->iface->current_mode; in hostapd_eid_vht_capabilities() 190 !check_valid_vht_mcs(hapd->iface->current_mode, vht_capab)) { in copy_sta_vht_capab() 278 if (!hapd->iface->current_mode || in hostapd_eid_vendor_vht() 279 hapd->iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G) in hostapd_eid_vendor_vht()
|
H A D | ieee802_11_ht.c | 29 if (!hapd->iconf->ieee80211n || !hapd->iface->current_mode || in hostapd_eid_ht_capabilities() 39 cap->a_mpdu_params = hapd->iface->current_mode->a_mpdu_params; in hostapd_eid_ht_capabilities() 40 os_memcpy(cap->supported_mcs_set, hapd->iface->current_mode->mcs_set, in hostapd_eid_ht_capabilities() 185 if (iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G) in is_40_allowed() 390 if (iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G) in ht40_intolerant_add()
|
H A D | beacon.c | 71 if (hapd->iface->current_mode == NULL || in ieee802_11_erp_info() 72 hapd->iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G) in ieee802_11_erp_info() 106 if (hapd->iface->current_mode == NULL || in hostapd_eid_erp_info() 107 hapd->iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G) in hostapd_eid_erp_info() 134 if (hapd->iface->current_mode == NULL || in hostapd_eid_pwr_constraint() 135 hapd->iface->current_mode->mode != HOSTAPD_MODE_IEEE80211A) in hostapd_eid_pwr_constraint() 226 mode = hapd->iface->current_mode; in hostapd_fill_subband_triplets() 267 hapd->iface->current_mode == NULL) in hostapd_eid_country() 1414 hapd->iface->current_mode && in handle_probe_req() 1415 (hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211G || in handle_probe_req() [all …]
|
H A D | sta_info.c | 270 if (hapd->iface->current_mode && in ap_free_sta() 271 hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211G in ap_free_sta() 279 if (hapd->iface->current_mode && in ap_free_sta() 280 hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211G in ap_free_sta() 962 if (hapd->iface->current_mode && in ap_sta_handle_disassociate() 963 hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211AD) { in ap_sta_handle_disassociate() 999 if (hapd->iface->current_mode && in ap_sta_handle_deauthenticate() 1000 hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211AD) { in ap_sta_handle_deauthenticate() 1643 if (hapd->iface->current_mode && in ap_sta_disconnect() 1644 hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211AD) { in ap_sta_disconnect()
|
H A D | ap_list.c | 35 if (iface->current_mode == NULL || in ap_list_beacon_olbc() 36 iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G || in ap_list_beacon_olbc()
|
H A D | ieee802_11_eht.c | 116 mode = hapd->iface->current_mode; in hostapd_eid_eht_capab_len() 144 mode = hapd->iface->current_mode; in hostapd_eid_eht_capab() 211 if (!hapd->iface->current_mode) in hostapd_eid_eht_operation() 326 mode = hapd->iface->current_mode; in check_valid_eht_mcs() 395 struct hostapd_hw_modes *c_mode = hapd->iface->current_mode; in copy_sta_eht_capab()
|
H A D | acs.c | 971 if (iface->current_mode && in acs_find_ideal_chan_mode() 972 iface->current_mode->mode == HOSTAPD_MODE_IEEE80211A && in acs_find_ideal_chan_mode() 1505 if (!iface->current_mode && in acs_init()
|
H A D | ap_drv_ops.c | 652 struct hostapd_hw_modes *cmode = hapd->iface->current_mode; in hostapd_set_freq() 995 struct hostapd_hw_modes *cmode = iface->current_mode; in hostapd_start_dfs_cac() 1150 if (hapd->iface->current_mode) in hostapd_drv_do_acs() 1151 selected_mode = hapd->iface->current_mode->mode; in hostapd_drv_do_acs()
|
H A D | ieee802_11.c | 319 if (hapd->iface->current_mode && in hostapd_own_capab_info() 320 hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211G && in hostapd_own_capab_info() 330 if (hapd->iface->current_mode && in hostapd_own_capab_info() 331 hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211A && in hostapd_own_capab_info() 3557 if (hapd->iface->current_mode && in copy_supp_rates() 3558 hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211AD) in copy_supp_rates() 5436 if (hapd->iface->current_mode && in handle_assoc() 5437 hapd->iface->current_mode->mode == in handle_assoc() 5592 if (hapd->iface->current_mode && in handle_assoc() 5593 hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211G) in handle_assoc() [all …]
|
H A D | drv_callbacks.c | 1142 if (!hapd->iface->current_mode) { in hostapd_event_ch_switch() 1188 switch (hapd->iface->current_mode->mode) { in hostapd_event_ch_switch() 1398 if (!hapd->iface->current_mode) { in hostapd_acs_channel_selected() 1410 hapd->iface->current_mode = mode; in hostapd_acs_channel_selected() 1414 if (!hapd->iface->current_mode) { in hostapd_acs_channel_selected() 1430 pri_chan = hw_get_channel_freq(hapd->iface->current_mode->mode, in hostapd_acs_channel_selected()
|
H A D | wmm.c | 67 struct hostapd_hw_modes *mode = hapd->iface->current_mode; in wmm_calc_regulatory_limit()
|
/freebsd/sys/dev/igc/ |
H A D | igc_mac.c | 549 hw->fc.current_mode = hw->fc.requested_mode; in igc_setup_link_generic() 552 hw->fc.current_mode); in igc_setup_link_generic() 616 if (hw->fc.current_mode & igc_fc_tx_pause) { in igc_set_fc_watermarks_generic() 668 DEBUGOUT1("hw->fc.current_mode = %u\n", hw->fc.current_mode); in igc_force_mac_fc_generic() 670 switch (hw->fc.current_mode) { in igc_force_mac_fc_generic() 798 hw->fc.current_mode = igc_fc_full; in igc_config_fc_after_link_up_generic() 801 hw->fc.current_mode = igc_fc_rx_pause; in igc_config_fc_after_link_up_generic() 816 hw->fc.current_mode = igc_fc_tx_pause; in igc_config_fc_after_link_up_generic() 830 hw->fc.current_mode = igc_fc_rx_pause; in igc_config_fc_after_link_up_generic() 836 hw->fc.current_mode = igc_fc_none; in igc_config_fc_after_link_up_generic() [all …]
|
H A D | igc_phy.c | 404 switch (hw->fc.current_mode) { in igc_phy_setup_autoneg() 599 hw->fc.current_mode = igc_fc_none; in igc_phy_force_speed_duplex_setup()
|
/freebsd/sys/dev/e1000/ |
H A D | e1000_mac.c | 1033 hw->fc.current_mode = hw->fc.requested_mode; in e1000_setup_link_generic() 1036 hw->fc.current_mode); in e1000_setup_link_generic() 1088 switch (hw->fc.current_mode) { in e1000_commit_fc_settings_generic() 1269 if (hw->fc.current_mode & e1000_fc_tx_pause) { in e1000_set_fc_watermarks_generic() 1321 DEBUGOUT1("hw->fc.current_mode = %u\n", hw->fc.current_mode); in e1000_force_mac_fc_generic() 1323 switch (hw->fc.current_mode) { in e1000_force_mac_fc_generic() 1465 hw->fc.current_mode = e1000_fc_full; in e1000_config_fc_after_link_up_generic() 1468 hw->fc.current_mode = e1000_fc_rx_pause; in e1000_config_fc_after_link_up_generic() 1483 hw->fc.current_mode = e1000_fc_tx_pause; in e1000_config_fc_after_link_up_generic() 1497 hw->fc.current_mode = e1000_fc_rx_pause; in e1000_config_fc_after_link_up_generic() [all …]
|
H A D | e1000_82542.c | 337 hw->fc.current_mode = hw->fc.requested_mode; in e1000_setup_link_82542() 340 hw->fc.current_mode); in e1000_setup_link_82542()
|
/freebsd/sys/sys/ |
H A D | timepps.h | 49 int current_mode; /* current mode bits */ member 59 int current_mode; /* current mode bits */ member
|
/freebsd/contrib/ntp/include/ |
H A D | timepps-SCO.h | 155 int current_mode; /* current mode bits */ member 472 infobuf.current_mode = handle->params.mode; in time_pps_fetch()
|
H A D | timepps-SunOS.h | 155 int current_mode; /* current mode bits */ member 473 infobuf.current_mode = handle->params.mode; in time_pps_fetch()
|
H A D | timepps-Solaris.h | 155 int current_mode; /* current mode bits */ member 537 infobuf.current_mode = punit->params.mode; in time_pps_fetch()
|
/freebsd/sys/dev/ixgbe/ |
H A D | ixgbe_82598.c | 429 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) && in ixgbe_fc_enable_82598() 480 switch (hw->fc.current_mode) { in ixgbe_fc_enable_82598() 524 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) && in ixgbe_fc_enable_82598()
|
H A D | ixgbe_common.c | 2829 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) && in ixgbe_fc_enable_generic() 2860 switch (hw->fc.current_mode) { in ixgbe_fc_enable_generic() 2906 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) && in ixgbe_fc_enable_generic() 2971 hw->fc.current_mode = ixgbe_fc_full; in ixgbe_negotiate_fc() 2974 hw->fc.current_mode = ixgbe_fc_rx_pause; in ixgbe_negotiate_fc() 2979 hw->fc.current_mode = ixgbe_fc_tx_pause; in ixgbe_negotiate_fc() 2983 hw->fc.current_mode = ixgbe_fc_rx_pause; in ixgbe_negotiate_fc() 2986 hw->fc.current_mode = ixgbe_fc_none; in ixgbe_negotiate_fc() 3160 hw->fc.current_mode = hw->fc.requested_mode; in ixgbe_fc_autoneg()
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | mesh.c | 215 if (ifmsh->current_mode) in wpas_mesh_update_freq_params() 216 he_capab = &ifmsh->current_mode->he_capab[IEEE80211_MODE_MESH]; in wpas_mesh_update_freq_params()
|