Searched refs:rf_bands (Results 1 – 10 of 10) sorted by relevance
/external/wpa_supplicant_8/src/wps/ |
D | wps_validate.c | 216 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, 0) || in wps_validate_beacon_probe_resp() 1203 wps_validate_rf_bands(attr.rf_bands, 1) || in wps_validate_probe_req() [all …]
|
D | wps_dev_attr.c | 222 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_DEBUG, "WPS: Enrollee RF Bands 0x%x", dev->rf_bands); in wps_process_rf_bands()
|
D | wps_attr_build.c | 506 int wps_build_rf_bands_attr(struct wpabuf *msg, u8 rf_bands) in wps_build_rf_bands_attr() argument 508 wpa_printf(MSG_DEBUG, "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()
|
D | wps_attr_parse.h | 29 const u8 *rf_bands; /* 1 octet */ member
|
D | wps_i.h | 182 int wps_build_rf_bands_attr(struct wpabuf *msg, u8 rf_bands);
|
D | wps_attr_parse.c | 258 attr->rf_bands = pos; in wps_set_attr()
|
D | wps.h | 97 u8 rf_bands; member
|
D | wps_registrar.c | 2676 wps_process_rf_bands(&wps->peer_dev, attr->rf_bands) || in wps_process_m1()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | wps_supplicant.c | 1608 wps->dev.rf_bands |= WPS_RF_24GHZ; in wpas_wps_init() 1610 wps->dev.rf_bands |= WPS_RF_50GHZ; in wpas_wps_init() 1612 wps->dev.rf_bands |= WPS_RF_60GHZ; in wpas_wps_init() 1615 if (wps->dev.rf_bands == 0) { in wpas_wps_init() 1620 wps->dev.rf_bands = WPS_RF_24GHZ | WPS_RF_50GHZ; in wpas_wps_init() 2710 if (attr.rf_bands) in wpas_wps_nfc_rx_handover_sel() 2711 wpa_printf(MSG_DEBUG, "WPS: RF Bands: %d", *attr.rf_bands); in wpas_wps_nfc_rx_handover_sel() 2719 (attr.rf_bands == NULL || *attr.rf_bands & WPS_RF_24GHZ)) in wpas_wps_nfc_rx_handover_sel() 2722 (attr.rf_bands == NULL || in wpas_wps_nfc_rx_handover_sel() 2723 *attr.rf_bands & WPS_RF_24GHZ)) in wpas_wps_nfc_rx_handover_sel() [all …]
|
/external/wpa_supplicant_8/src/ap/ |
D | wps_hostapd.c | 1161 wps->dev.rf_bands = conf->wps_rf_bands; in hostapd_init_wps() 1163 wps->dev.rf_bands = in hostapd_init_wps() 1308 if ((wps->dev.rf_bands & (WPS_RF_50GHZ | WPS_RF_24GHZ)) == in hostapd_init_wps()
|