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

12

/external/wpa_supplicant_8/hostapd/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);
400 dev->rf_bands = *bands;
401 wpa_printf(MSG_DEBUG, "WPS: Enrollee RF Bands 0x%x", dev->rf_bands);
H A Dwps_attr_build.c486 int wps_build_rf_bands_attr(struct wpabuf *msg, u8 rf_bands) argument
488 wpa_printf(MSG_DEBUG, "WPS: * RF Bands (%x)", rf_bands);
491 wpabuf_put_u8(msg, rf_bands);
H A Dwps_i.h179 int wps_build_rf_bands_attr(struct wpabuf *msg, u8 rf_bands);
H A Dwps_attr_parse.c247 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
/external/wpa_supplicant_8/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);
400 dev->rf_bands = *bands;
401 wpa_printf(MSG_DEBUG, "WPS: Enrollee RF Bands 0x%x", dev->rf_bands);
H A Dwps_attr_build.c486 int wps_build_rf_bands_attr(struct wpabuf *msg, u8 rf_bands) argument
488 wpa_printf(MSG_DEBUG, "WPS: * RF Bands (%x)", rf_bands);
491 wpabuf_put_u8(msg, rf_bands);
H A Dwps_i.h179 int wps_build_rf_bands_attr(struct wpabuf *msg, u8 rf_bands);
H A Dwps_attr_parse.c247 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
/external/wpa_supplicant_8/wpa_supplicant/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);
400 dev->rf_bands = *bands;
401 wpa_printf(MSG_DEBUG, "WPS: Enrollee RF Bands 0x%x", dev->rf_bands);
H A Dwps_attr_build.c486 int wps_build_rf_bands_attr(struct wpabuf *msg, u8 rf_bands) argument
488 wpa_printf(MSG_DEBUG, "WPS: * RF Bands (%x)", rf_bands);
491 wpabuf_put_u8(msg, rf_bands);
H A Dwps_i.h179 int wps_build_rf_bands_attr(struct wpabuf *msg, u8 rf_bands);
H A Dwps_attr_parse.c247 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
/external/wpa_supplicant_8/wpa_supplicant/
H A Dwps_supplicant.c1548 wps->dev.rf_bands |= WPS_RF_24GHZ;
1550 wps->dev.rf_bands |= WPS_RF_50GHZ;
1552 wps->dev.rf_bands |= WPS_RF_60GHZ;
1555 if (wps->dev.rf_bands == 0) {
1560 wps->dev.rf_bands = WPS_RF_24GHZ | WPS_RF_50GHZ;
2623 if (attr.rf_bands)
2624 wpa_printf(MSG_DEBUG, "WPS: RF Bands: %d", *attr.rf_bands);
2632 (attr.rf_bands == NULL || *attr.rf_bands & WPS_RF_24GHZ))
2635 (attr.rf_bands
[all...]
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dwps_hostapd.c1058 wps->dev.rf_bands = conf->wps_rf_bands;
1060 wps->dev.rf_bands =
1157 if ((wps->dev.rf_bands & (WPS_RF_50GHZ | WPS_RF_24GHZ)) ==
/external/wpa_supplicant_8/src/ap/
H A Dwps_hostapd.c1058 wps->dev.rf_bands = conf->wps_rf_bands;
1060 wps->dev.rf_bands =
1157 if ((wps->dev.rf_bands & (WPS_RF_50GHZ | WPS_RF_24GHZ)) ==
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dwps_hostapd.c1058 wps->dev.rf_bands = conf->wps_rf_bands;
1060 wps->dev.rf_bands =
1157 if ((wps->dev.rf_bands & (WPS_RF_50GHZ | WPS_RF_24GHZ)) ==

Completed in 526 milliseconds

12