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

/netbsd-current/external/bsd/wpa/dist/src/wps/
H A Dwps_attr_parse.h29 const u8 *rf_bands; /* 1 octet */ member in struct:wps_parse_attr
H A Dwps_validate.c216 static int wps_validate_rf_bands(const u8 *rf_bands, int mandatory) argument
218 if (rf_bands == NULL) {
226 if (*rf_bands != WPS_RF_24GHZ && *rf_bands != WPS_RF_50GHZ &&
227 *rf_bands != WPS_RF_60GHZ &&
228 *rf_bands != (WPS_RF_24GHZ | WPS_RF_50GHZ | WPS_RF_60GHZ) &&
229 *rf_bands != (WPS_RF_24GHZ | WPS_RF_50GHZ)) {
231 "attribute value 0x%x", *rf_bands);
1109 wps_validate_rf_bands(attr.rf_bands, 0) ||
1161 wps_validate_rf_bands(attr.rf_bands,
[all...]
H A Dwps_dev_attr.c222 return wps_build_rf_bands_attr(msg, rf_band ? rf_band : dev->rf_bands);
408 dev->rf_bands = *bands;
409 wpa_printf(MSG_DEBUG, "WPS: Enrollee RF Bands 0x%x", dev->rf_bands);
H A Dwps_attr_build.c497 int wps_build_rf_bands_attr(struct wpabuf *msg, u8 rf_bands) argument
499 wpa_printf(MSG_DEBUG, "WPS: * RF Bands (%x)", rf_bands);
502 wpabuf_put_u8(msg, rf_bands);
H A Dwps_i.h182 int wps_build_rf_bands_attr(struct wpabuf *msg, u8 rf_bands);
H A Dwps_attr_parse.c258 attr->rf_bands = pos;
H A Dwps.h82 * @rf_bands: RF bands (WPS_RF_24GHZ, WPS_RF_50GHZ, WPS_RF_60GHZ flags)
97 u8 rf_bands; member in struct:wps_device_data
H A Dwps_registrar.c2675 wps_process_rf_bands(&wps->peer_dev, attr->rf_bands) ||
/netbsd-current/external/bsd/wpa/dist/wpa_supplicant/
H A Dwps_supplicant.c1590 wps->dev.rf_bands |= WPS_RF_24GHZ;
1592 wps->dev.rf_bands |= WPS_RF_50GHZ;
1594 wps->dev.rf_bands |= WPS_RF_60GHZ;
1597 if (wps->dev.rf_bands == 0) {
1602 wps->dev.rf_bands = WPS_RF_24GHZ | WPS_RF_50GHZ;
2665 if (attr.rf_bands)
2666 wpa_printf(MSG_DEBUG, "WPS: RF Bands: %d", *attr.rf_bands);
2674 (attr.rf_bands == NULL || *attr.rf_bands & WPS_RF_24GHZ))
2677 (attr.rf_bands
[all...]
/netbsd-current/external/bsd/wpa/dist/src/ap/
H A Dwps_hostapd.c1091 wps->dev.rf_bands = conf->wps_rf_bands;
1093 wps->dev.rf_bands =
1217 if ((wps->dev.rf_bands & (WPS_RF_50GHZ | WPS_RF_24GHZ)) ==

Completed in 238 milliseconds