Home
last modified time | relevance | path

Searched refs:rf_bands (Results 1 - 20 of 20) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
H A Dwps_validate.c216 static int wps_validate_rf_bands(const u8 *rf_bands, int mandatory) in wps_validate_rf_bands() argument
218 if (rf_bands == NULL) { in wps_validate_rf_bands()
226 if (*rf_bands != WPS_RF_24GHZ && *rf_bands != WPS_RF_50GHZ && in wps_validate_rf_bands()
227 *rf_bands != WPS_RF_60GHZ && in wps_validate_rf_bands()
228 *rf_bands != (WPS_RF_24GHZ | WPS_RF_50GHZ | WPS_RF_60GHZ) && in wps_validate_rf_bands()
229 *rf_bands != (WPS_RF_24GHZ | WPS_RF_50GHZ)) { in wps_validate_rf_bands()
231 "attribute value 0x%x", *rf_bands); in wps_validate_rf_bands()
1109 wps_validate_rf_bands(attr.rf_bands, 0) || in wps_validate_beacon()
1161 wps_validate_rf_bands(attr.rf_bands, in wps_validate_beacon_probe_resp()
[all...]
H A Dwps_dev_attr.c222 return wps_build_rf_bands_attr(msg, rf_band ? rf_band : dev->rf_bands); in wps_build_rf_bands()
408 dev->rf_bands = *bands; in wps_process_rf_bands()
409 wpa_printf(MSG_DEBUG, "WPS: Enrollee RF Bands 0x%x", dev->rf_bands); in wps_process_rf_bands()
H A Dwps_attr_build.c497 int wps_build_rf_bands_attr(struct wpabuf *msg, u8 rf_bands) in wps_build_rf_bands_attr() argument
499 wpa_printf(MSG_DEBUG, "WPS: * RF Bands (%x)", rf_bands); in wps_build_rf_bands_attr()
502 wpabuf_put_u8(msg, rf_bands); in wps_build_rf_bands_attr()
H A Dwps_attr_parse.h29 const u8 *rf_bands; /* 1 octet */ member
H A Dwps_i.h182 int wps_build_rf_bands_attr(struct wpabuf *msg, u8 rf_bands);
H A Dwps.h82 * @rf_bands: RF bands (WPS_RF_24GHZ, WPS_RF_50GHZ, WPS_RF_60GHZ flags)
97 u8 rf_bands; member
H A Dwps_attr_parse.c258 attr->rf_bands = pos; in wps_set_attr()
H A Dwps_registrar.c2675 wps_process_rf_bands(&wps->peer_dev, attr->rf_bands) || in wps_process_m1()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
H A Dwps_validate.c216 static int wps_validate_rf_bands(const u8 *rf_bands, int mandatory) in wps_validate_rf_bands() argument
218 if (rf_bands == NULL) { in wps_validate_rf_bands()
226 if (*rf_bands != WPS_RF_24GHZ && *rf_bands != WPS_RF_50GHZ && in wps_validate_rf_bands()
227 *rf_bands != WPS_RF_60GHZ && in wps_validate_rf_bands()
228 *rf_bands != (WPS_RF_24GHZ | WPS_RF_50GHZ | WPS_RF_60GHZ) && in wps_validate_rf_bands()
229 *rf_bands != (WPS_RF_24GHZ | WPS_RF_50GHZ)) { in wps_validate_rf_bands()
231 "attribute value 0x%x", *rf_bands); in wps_validate_rf_bands()
1109 wps_validate_rf_bands(attr.rf_bands, 0) || in wps_validate_beacon()
1161 wps_validate_rf_bands(attr.rf_bands, in wps_validate_beacon_probe_resp()
[all...]
H A Dwps_dev_attr.c222 return wps_build_rf_bands_attr(msg, rf_band ? rf_band : dev->rf_bands); in wps_build_rf_bands()
423 dev->rf_bands = *bands; in wps_process_rf_bands()
424 wpa_printf(MSG_EXCESSIVE, "WPS: Enrollee RF Bands 0x%x", dev->rf_bands); in wps_process_rf_bands()
H A Dwps_attr_build.c506 int wps_build_rf_bands_attr(struct wpabuf *msg, u8 rf_bands) in wps_build_rf_bands_attr() argument
508 wpa_printf(MSG_EXCESSIVE, "WPS: * RF Bands (%x)", rf_bands); in wps_build_rf_bands_attr()
511 wpabuf_put_u8(msg, rf_bands); in wps_build_rf_bands_attr()
H A Dwps_attr_parse.h29 const u8 *rf_bands; /* 1 octet */ member
H A Dwps_i.h182 int wps_build_rf_bands_attr(struct wpabuf *msg, u8 rf_bands);
H A Dwps.h82 * @rf_bands: RF bands (WPS_RF_24GHZ, WPS_RF_50GHZ, WPS_RF_60GHZ flags)
97 u8 rf_bands; member
H A Dwps_attr_parse.c258 attr->rf_bands = pos; in wps_set_attr()
H A Dwps_registrar.c2666 wps_process_rf_bands(&wps->peer_dev, attr->rf_bands) || in wps_process_m1()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A Dwps_supplicant.c1590 wps->dev.rf_bands |= WPS_RF_24GHZ; in wpas_wps_init()
1592 wps->dev.rf_bands |= WPS_RF_50GHZ; in wpas_wps_init()
1594 wps->dev.rf_bands |= WPS_RF_60GHZ; in wpas_wps_init()
1597 if (wps->dev.rf_bands == 0) { in wpas_wps_init()
1602 wps->dev.rf_bands = WPS_RF_24GHZ | WPS_RF_50GHZ; in wpas_wps_init()
2665 if (attr.rf_bands) in wpas_wps_nfc_rx_handover_sel()
2666 wpa_printf(MSG_DEBUG, "WPS: RF Bands: %d", *attr.rf_bands); in wpas_wps_nfc_rx_handover_sel()
2674 (attr.rf_bands == NULL || *attr.rf_bands & WPS_RF_24GHZ)) in wpas_wps_nfc_rx_handover_sel()
2677 (attr.rf_bands in wpas_wps_nfc_rx_handover_sel()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
H A Dwps_supplicant.c1628 wps->dev.rf_bands |= WPS_RF_24GHZ; in wpas_wps_init()
1630 wps->dev.rf_bands |= WPS_RF_50GHZ; in wpas_wps_init()
1632 wps->dev.rf_bands |= WPS_RF_60GHZ; in wpas_wps_init()
1635 if (wps->dev.rf_bands == 0) { in wpas_wps_init()
1640 wps->dev.rf_bands = WPS_RF_24GHZ | WPS_RF_50GHZ; in wpas_wps_init()
2734 if (attr.rf_bands) in wpas_wps_nfc_rx_handover_sel()
2735 wpa_printf(MSG_DEBUG, "WPS: RF Bands: %d", *attr.rf_bands); in wpas_wps_nfc_rx_handover_sel()
2743 (attr.rf_bands == NULL || *attr.rf_bands & WPS_RF_24GHZ)) in wpas_wps_nfc_rx_handover_sel()
2746 (attr.rf_bands in wpas_wps_nfc_rx_handover_sel()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dwps_hostapd.c1161 wps->dev.rf_bands = conf->wps_rf_bands; in hostapd_init_wps()
1163 wps->dev.rf_bands = in hostapd_init_wps()
1310 if ((wps->dev.rf_bands & (WPS_RF_50GHZ | WPS_RF_24GHZ)) == in hostapd_init_wps()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dwps_hostapd.c1091 wps->dev.rf_bands = conf->wps_rf_bands; in hostapd_init_wps()
1093 wps->dev.rf_bands = in hostapd_init_wps()
1217 if ((wps->dev.rf_bands & (WPS_RF_50GHZ | WPS_RF_24GHZ)) == in hostapd_init_wps()

Completed in 31 milliseconds