Home
last modified time | relevance | path

Searched refs:current_mode (Results 1 – 25 of 54) sorted by relevance

123

/freebsd/contrib/wpa/src/ap/
H A Dhw_features.c147 if (iface->current_mode) { in hostapd_get_hw_features()
155 mode = iface->current_mode->mode; in hostapd_get_hw_features()
156 is_6ghz = iface->current_mode->is_6ghz; in hostapd_get_hw_features()
157 iface->current_mode = NULL; in hostapd_get_hw_features()
169 iface->current_mode = feature; in hostapd_get_hw_features()
226 if (orig_mode_valid && !iface->current_mode) { in hostapd_get_hw_features()
335 if (!iface->current_mode) in ieee80211n_allowed_ht40_channel_pair()
338 p_chan = hw_get_channel_freq(iface->current_mode->mode, pri_freq, NULL, in ieee80211n_allowed_ht40_channel_pair()
342 s_chan = hw_get_channel_freq(iface->current_mode->mode, sec_freq, NULL, in ieee80211n_allowed_ht40_channel_pair()
346 return allowed_ht40_channel_pair(iface->current_mode->mode, in ieee80211n_allowed_ht40_channel_pair()
[all …]
H A Ddfs.c250 mode = iface->current_mode; in dfs_find_channel()
407 mode = iface->current_mode; in dfs_get_start_chan_idx()
420 mode = iface->current_mode; in dfs_get_start_chan_idx()
459 mode = iface->current_mode; in dfs_check_chans_radar()
481 mode = iface->current_mode; in dfs_check_chans_available()
510 mode = iface->current_mode; in dfs_check_chans_unavailable()
546 if (iface->current_mode == NULL) in dfs_get_valid_channel()
549 mode = iface->current_mode; in dfs_get_valid_channel()
656 mode = iface->current_mode; in set_dfs_state_freq()
661 for (i = 0; i < iface->current_mode->num_channels; i++) { in set_dfs_state_freq()
[all …]
H A Dieee802_11_he.c95 struct hostapd_hw_modes *mode = hapd->iface->current_mode; in hostapd_eid_he_capab()
164 if (!hapd->iface->current_mode) in hostapd_eid_he_operation()
360 struct hostapd_hw_modes *mode = hapd->iface->current_mode; in hostapd_eid_he_6ghz_band_cap()
422 if (!hapd->iface->current_mode) in check_valid_he_mcs()
424 ap_mcs_set = (u16 *) hapd->iface->current_mode->he_capab[opmode].mcs; in check_valid_he_mcs()
535 if (!hapd->iface->current_mode || in hostapd_get_he_twt_responder()
536 !hapd->iface->current_mode->he_capab[mode].he_supported || in hostapd_get_he_twt_responder()
540 mac_cap = hapd->iface->current_mode->he_capab[mode].mac_cap; in hostapd_get_he_twt_responder()
H A Dieee802_11_vht.c45 struct hostapd_hw_modes *mode = hapd->iface->current_mode; in hostapd_eid_vht_capabilities()
156 struct hostapd_hw_modes *mode = hapd->iface->current_mode; in check_valid_vht_mcs()
291 if (!hapd->iface->current_mode || in hostapd_eid_vendor_vht()
292 hapd->iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G) in hostapd_eid_vendor_vht()
H A Dieee802_11_ht.c29 if (!hostapd_is_ht_enabled(hapd) || !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()
225 if (iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G) in is_40_allowed()
430 if (iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G) in ht40_intolerant_add()
H A Dsta_info.c329 if (hapd->iface->current_mode && in ap_free_sta()
330 hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211G in ap_free_sta()
338 if (hapd->iface->current_mode && in ap_free_sta()
339 hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211G in ap_free_sta()
1091 if (hapd->iface->current_mode && in ap_sta_handle_disassociate()
1092 hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211AD) { in ap_sta_handle_disassociate()
1266 if (hapd->iface->current_mode && in ap_sta_deauthenticate()
1267 hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211AD) { in ap_sta_deauthenticate()
1911 if (hapd->iface->current_mode && in ap_sta_disconnect()
1912 hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211AD) { in ap_sta_disconnect()
H A Dap_list.c35 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 Dacs.c965 if (iface->current_mode && in acs_find_ideal_chan_mode()
966 iface->current_mode->mode == HOSTAPD_MODE_IEEE80211A && in acs_find_ideal_chan_mode()
1265 for (j = 0; j < iface->current_mode->num_channels; j++) { in acs_study_bss_based()
1270 chan = &iface->current_mode->channels[j]; in acs_study_bss_based()
1539 if (!iface->current_mode && in acs_init()
H A Dbeacon.c72 if (hapd->iface->current_mode == NULL || in ieee802_11_erp_info()
73 hapd->iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G) in ieee802_11_erp_info()
107 if (hapd->iface->current_mode == NULL || in hostapd_eid_erp_info()
108 hapd->iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G) in hostapd_eid_erp_info()
135 if (hapd->iface->current_mode == NULL || in hostapd_eid_pwr_constraint()
136 hapd->iface->current_mode->mode != HOSTAPD_MODE_IEEE80211A) in hostapd_eid_pwr_constraint()
227 mode = hapd->iface->current_mode; in hostapd_fill_subband_triplets()
270 hapd->iface->current_mode == NULL) in hostapd_eid_country()
1536 hapd->iface->current_mode && in handle_probe_req()
1537 (hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211G || in handle_probe_req()
[all …]
H A Dinterference.c231 struct hostapd_hw_modes *mode = iface->current_mode; in intf_find_channel_list()
366 struct hostapd_hw_modes *mode = iface->current_mode; in hostapd_incumbt_sig_intf_detected()
H A Dap_drv_ops.c656 struct hostapd_hw_modes *cmode = hapd->iface->current_mode; in hostapd_set_freq()
1086 struct hostapd_hw_modes *cmode = iface->current_mode; in hostapd_start_dfs_cac()
1249 if (hapd->iface->current_mode) in hostapd_drv_do_acs()
1250 selected_mode = hapd->iface->current_mode->mode; in hostapd_drv_do_acs()
H A Ddrv_callbacks.c1275 if (!hapd->iface->current_mode) { in hostapd_event_ch_switch()
1321 switch (hapd->iface->current_mode->mode) { in hostapd_event_ch_switch()
1531 if (!hapd->iface->current_mode) { in hostapd_acs_channel_selected()
1542 hapd->iface->current_mode = mode; in hostapd_acs_channel_selected()
1546 if (!hapd->iface->current_mode) { in hostapd_acs_channel_selected()
1562 pri_chan = hw_get_channel_freq(hapd->iface->current_mode->mode, in hostapd_acs_channel_selected()
H A Dieee802_11_eht.c100 mode = hapd->iface->current_mode; in hostapd_eid_eht_capab_len()
127 mode = hapd->iface->current_mode; in hostapd_eid_eht_capab()
193 if (!hapd->iface->current_mode) in hostapd_eid_eht_operation()
311 mode = hapd->iface->current_mode; in check_valid_eht_mcs()
379 struct hostapd_hw_modes *c_mode = hapd->iface->current_mode; in copy_sta_eht_capab()
H A Dwmm.c67 struct hostapd_hw_modes *mode = hapd->iface->current_mode; in wmm_calc_regulatory_limit()
/freebsd/sys/dev/igc/
H A Digc_mac.c572 hw->fc.current_mode = hw->fc.requested_mode; in igc_setup_link_generic()
575 hw->fc.current_mode); in igc_setup_link_generic()
639 if (hw->fc.current_mode & igc_fc_tx_pause) { in igc_set_fc_watermarks_generic()
691 DEBUGOUT1("hw->fc.current_mode = %u\n", hw->fc.current_mode); in igc_force_mac_fc_generic()
693 switch (hw->fc.current_mode) { in igc_force_mac_fc_generic()
821 hw->fc.current_mode = igc_fc_full; in igc_config_fc_after_link_up_generic()
824 hw->fc.current_mode = igc_fc_rx_pause; in igc_config_fc_after_link_up_generic()
839 hw->fc.current_mode = igc_fc_tx_pause; in igc_config_fc_after_link_up_generic()
853 hw->fc.current_mode = igc_fc_rx_pause; in igc_config_fc_after_link_up_generic()
859 hw->fc.current_mode = igc_fc_none; in igc_config_fc_after_link_up_generic()
[all …]
H A Digc_phy.c404 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 De1000_mac.c1070 hw->fc.current_mode = hw->fc.requested_mode; in e1000_setup_link_generic()
1073 hw->fc.current_mode); in e1000_setup_link_generic()
1125 switch (hw->fc.current_mode) { in e1000_commit_fc_settings_generic()
1306 if (hw->fc.current_mode & e1000_fc_tx_pause) { in e1000_set_fc_watermarks_generic()
1358 DEBUGOUT1("hw->fc.current_mode = %u\n", hw->fc.current_mode); in e1000_force_mac_fc_generic()
1360 switch (hw->fc.current_mode) { in e1000_force_mac_fc_generic()
1502 hw->fc.current_mode = e1000_fc_full; in e1000_config_fc_after_link_up_generic()
1505 hw->fc.current_mode = e1000_fc_rx_pause; in e1000_config_fc_after_link_up_generic()
1520 hw->fc.current_mode = e1000_fc_tx_pause; in e1000_config_fc_after_link_up_generic()
1534 hw->fc.current_mode = e1000_fc_rx_pause; in e1000_config_fc_after_link_up_generic()
[all …]
H A De1000_82542.c362 hw->fc.current_mode = hw->fc.requested_mode; in e1000_setup_link_82542()
365 hw->fc.current_mode); in e1000_setup_link_82542()
/freebsd/sys/sys/
H A Dtimepps.h49 int current_mode; /* current mode bits */ member
59 int current_mode; /* current mode bits */ member
/freebsd/contrib/ntp/include/
H A Dtimepps-SCO.h155 int current_mode; /* current mode bits */ member
472 infobuf.current_mode = handle->params.mode; in time_pps_fetch()
H A Dtimepps-SunOS.h155 int current_mode; /* current mode bits */ member
473 infobuf.current_mode = handle->params.mode; in time_pps_fetch()
H A Dtimepps-Solaris.h155 int current_mode; /* current mode bits */ member
537 infobuf.current_mode = punit->params.mode; in time_pps_fetch()
/freebsd/sys/dev/ixgbe/
H A Dixgbe_82598.c429 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 Dixgbe_common.c2848 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) && in ixgbe_fc_enable_generic()
2879 switch (hw->fc.current_mode) { in ixgbe_fc_enable_generic()
2925 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) && in ixgbe_fc_enable_generic()
2990 hw->fc.current_mode = ixgbe_fc_full; in ixgbe_negotiate_fc()
2993 hw->fc.current_mode = ixgbe_fc_rx_pause; in ixgbe_negotiate_fc()
2998 hw->fc.current_mode = ixgbe_fc_tx_pause; in ixgbe_negotiate_fc()
3002 hw->fc.current_mode = ixgbe_fc_rx_pause; in ixgbe_negotiate_fc()
3005 hw->fc.current_mode = ixgbe_fc_none; in ixgbe_negotiate_fc()
3179 hw->fc.current_mode = hw->fc.requested_mode; in ixgbe_fc_autoneg()
/freebsd/contrib/wpa/wpa_supplicant/
H A Dmesh.c195 if (ifmsh->current_mode) in wpas_mesh_update_freq_params()
196 he_capab = &ifmsh->current_mode->he_capab[IEEE80211_MODE_MESH]; in wpas_mesh_update_freq_params()

123