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.c487 int wps_build_rf_bands_attr(struct wpabuf *msg, u8 rf_bands) argument
489 wpa_printf(MSG_DEBUG, "WPS: * RF Bands (%x)", rf_bands);
492 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.c487 int wps_build_rf_bands_attr(struct wpabuf *msg, u8 rf_bands) argument
489 wpa_printf(MSG_DEBUG, "WPS: * RF Bands (%x)", rf_bands);
492 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.c487 int wps_build_rf_bands_attr(struct wpabuf *msg, u8 rf_bands) argument
489 wpa_printf(MSG_DEBUG, "WPS: * RF Bands (%x)", rf_bands);
492 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.c1562 wps->dev.rf_bands |= WPS_RF_24GHZ;
1564 wps->dev.rf_bands |= WPS_RF_50GHZ;
1566 wps->dev.rf_bands |= WPS_RF_60GHZ;
1569 if (wps->dev.rf_bands == 0) {
1574 wps->dev.rf_bands = WPS_RF_24GHZ | WPS_RF_50GHZ;
2637 if (attr.rf_bands)
2638 wpa_printf(MSG_DEBUG, "WPS: RF Bands: %d", *attr.rf_bands);
2646 (attr.rf_bands == NULL || *attr.rf_bands & WPS_RF_24GHZ))
2649 (attr.rf_bands
[all...]
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dwps_hostapd.c1052 wps->dev.rf_bands = conf->wps_rf_bands;
1054 wps->dev.rf_bands =
1151 if ((wps->dev.rf_bands & (WPS_RF_50GHZ | WPS_RF_24GHZ)) ==
/external/wpa_supplicant_8/src/ap/
H A Dwps_hostapd.c1052 wps->dev.rf_bands = conf->wps_rf_bands;
1054 wps->dev.rf_bands =
1151 if ((wps->dev.rf_bands & (WPS_RF_50GHZ | WPS_RF_24GHZ)) ==
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dwps_hostapd.c1052 wps->dev.rf_bands = conf->wps_rf_bands;
1054 wps->dev.rf_bands =
1151 if ((wps->dev.rf_bands & (WPS_RF_50GHZ | WPS_RF_24GHZ)) ==

Completed in 296 milliseconds

12