Home
last modified time | relevance | path

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

12

/freebsd/contrib/wpa/src/ap/
H A Dhw_features.c235 if (!iface->current_mode) in ieee80211n_allowed_ht40_channel_pair()
275 if (!iface->current_mode) in ieee80211n_check_40mhz_5g()
410 mode = iface->current_mode; in ieee80211n_scan_channels_2g4()
451 mode = iface->current_mode; in ieee80211n_scan_channels_5g()
802 if (!iface->current_mode) in hostapd_is_usable_chan()
835 if (!iface->current_mode) in hostapd_is_usable_edmg()
901 if (!iface->current_mode) in hostapd_is_usable_chans()
957 if (iface->current_mode || in hostapd_determine_mode()
979 if (!iface->current_mode) in hostapd_determine_mode()
1013 if (!iface->current_mode) { in hostapd_notify_bad_chans()
[all …]
H A Ddfs.c216 mode = iface->current_mode; in dfs_find_channel()
357 mode = iface->current_mode; in dfs_get_start_chan_idx()
370 mode = iface->current_mode; in dfs_get_start_chan_idx()
409 mode = iface->current_mode; in dfs_check_chans_radar()
429 mode = iface->current_mode; in dfs_check_chans_available()
458 mode = iface->current_mode; in dfs_check_chans_unavailable()
497 mode = iface->current_mode; in dfs_get_valid_channel()
577 mode = iface->current_mode; in set_dfs_state_freq()
607 mode = iface->current_mode; in set_dfs_state()
674 mode = iface->current_mode; in dfs_are_channels_overlapped()
[all …]
H A Dieee802_11_he.c87 struct hostapd_hw_modes *mode = hapd->iface->current_mode; in hostapd_eid_he_capab()
171 if (!hapd->iface->current_mode) in hostapd_eid_he_operation()
340 struct hostapd_hw_modes *mode = hapd->iface->current_mode; in hostapd_eid_he_6ghz_band_cap()
401 if (!hapd->iface->current_mode) in check_valid_he_mcs()
403 ap_mcs_set = (u16 *) hapd->iface->current_mode->he_capab[opmode].mcs; in check_valid_he_mcs()
514 if (!hapd->iface->current_mode || in hostapd_get_he_twt_responder()
515 !hapd->iface->current_mode->he_capab[mode].he_supported) in hostapd_get_he_twt_responder()
518 mac_cap = hapd->iface->current_mode->he_capab[mode].mac_cap; in hostapd_get_he_twt_responder()
H A Dieee802_11_vht.c26 struct hostapd_hw_modes *mode = hapd->iface->current_mode; in hostapd_eid_vht_capabilities()
176 !check_valid_vht_mcs(hapd->iface->current_mode, vht_capab)) { in copy_sta_vht_capab()
264 if (!hapd->iface->current_mode || in hostapd_eid_vendor_vht()
265 hapd->iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G) in hostapd_eid_vendor_vht()
H A Dieee802_11_ht.c29 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 Dbeacon.c70 if (hapd->iface->current_mode == NULL || in ieee802_11_erp_info()
71 hapd->iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G) in ieee802_11_erp_info()
99 if (hapd->iface->current_mode == NULL || in hostapd_eid_erp_info()
100 hapd->iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G) in hostapd_eid_erp_info()
127 if (hapd->iface->current_mode == NULL || in hostapd_eid_pwr_constraint()
218 hapd->iface->current_mode == NULL) in hostapd_eid_country()
226 mode = hapd->iface->current_mode; in hostapd_eid_country()
909 hapd->iface->current_mode && in handle_probe_req()
1189 struct hostapd_hw_modes *mode = hapd->iface->current_mode; in hostapd_fils_discovery_cap()
1715 if (hapd->iface->current_mode && in ieee802_11_build_ap_params()
[all …]
H A Dsta_info.c231 if (hapd->iface->current_mode && in ap_free_sta()
232 hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211G in ap_free_sta()
240 if (hapd->iface->current_mode && in ap_free_sta()
241 hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211G in ap_free_sta()
842 if (hapd->iface->current_mode && in ap_sta_disassociate()
843 hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211AD) { in ap_sta_disassociate()
891 if (hapd->iface->current_mode && in ap_sta_deauthenticate()
892 hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211AD) { in ap_sta_deauthenticate()
1386 if (hapd->iface->current_mode && in ap_sta_disconnect()
1387 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 Dap_drv_ops.c555 struct hostapd_hw_modes *cmode = hapd->iface->current_mode; in hostapd_set_freq()
820 struct hostapd_hw_modes *cmode = iface->current_mode; in hostapd_start_dfs_cac()
935 if (hapd->iface->current_mode) in hostapd_drv_do_acs()
936 selected_mode = hapd->iface->current_mode->mode; in hostapd_drv_do_acs()
H A Ddrv_callbacks.c879 if (!hapd->iface->current_mode) { in hostapd_event_ch_switch()
914 switch (hapd->iface->current_mode->mode) { in hostapd_event_ch_switch()
1071 if (!hapd->iface->current_mode) { in hostapd_acs_channel_selected()
1083 hapd->iface->current_mode = mode; in hostapd_acs_channel_selected()
1087 if (!hapd->iface->current_mode) { in hostapd_acs_channel_selected()
1103 pri_chan = hw_get_channel_freq(hapd->iface->current_mode->mode, in hostapd_acs_channel_selected()
H A Dieee802_11.c281 if (hapd->iface->current_mode && in hostapd_own_capab_info()
292 if (hapd->iface->current_mode && in hostapd_own_capab_info()
4096 if (hapd->iface->current_mode && in copy_supp_rates()
5530 if (hapd->iface->current_mode && in handle_assoc()
5531 hapd->iface->current_mode->mode == in handle_assoc()
5681 if (hapd->iface->current_mode && in handle_assoc()
5701 if (hapd->iface->current_mode && in handle_assoc()
5702 hapd->iface->current_mode->mode == in handle_assoc()
5717 if (hapd->iface->current_mode && in handle_assoc()
5895 if (hapd->iface->current_mode && in handle_disassoc()
[all …]
H A Dwmm.c74 struct hostapd_hw_modes *mode = hapd->iface->current_mode; in wmm_calc_regulatory_limit()
H A Dhostapd.h515 struct hostapd_hw_modes *current_mode; member
/freebsd/sys/dev/igc/
H A Digc_mac.c549 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 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()
H A Digc_hw.h502 enum igc_fc_mode current_mode; /* FC mode in effect */ member
/freebsd/sys/dev/e1000/
H A De1000_mac.c1036 hw->fc.current_mode); in e1000_setup_link_generic()
1088 switch (hw->fc.current_mode) { in e1000_commit_fc_settings_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()
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()
1503 hw->fc.current_mode = e1000_fc_none; in e1000_config_fc_after_link_up_generic()
1518 hw->fc.current_mode = e1000_fc_none; in e1000_config_fc_after_link_up_generic()
1598 hw->fc.current_mode = e1000_fc_full; in e1000_config_fc_after_link_up_generic()
1616 hw->fc.current_mode = e1000_fc_tx_pause; in e1000_config_fc_after_link_up_generic()
[all …]
H A De1000_82542.c337 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 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.c2828 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) && in ixgbe_fc_enable_generic()
2859 switch (hw->fc.current_mode) { in ixgbe_fc_enable_generic()
2905 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) && in ixgbe_fc_enable_generic()
2970 hw->fc.current_mode = ixgbe_fc_full; in ixgbe_negotiate_fc()
2973 hw->fc.current_mode = ixgbe_fc_rx_pause; in ixgbe_negotiate_fc()
2978 hw->fc.current_mode = ixgbe_fc_tx_pause; in ixgbe_negotiate_fc()
2982 hw->fc.current_mode = ixgbe_fc_rx_pause; in ixgbe_negotiate_fc()
2985 hw->fc.current_mode = ixgbe_fc_none; in ixgbe_negotiate_fc()
3159 hw->fc.current_mode = hw->fc.requested_mode; in ixgbe_fc_autoneg()
/freebsd/contrib/wpa/wpa_supplicant/
H A Dmesh.c215 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()

12