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_24GHZ | WPS_RF_50GHZ)) { in wps_validate_rf_bands() 229 "attribute value 0x%x", *rf_bands); in wps_validate_rf_bands() 1107 wps_validate_rf_bands(attr.rf_bands, 0) || in wps_validate_beacon() 1159 wps_validate_rf_bands(attr.rf_bands, 0) || in wps_validate_beacon_probe_resp() 1201 wps_validate_rf_bands(attr.rf_bands, 1) || in wps_validate_probe_req() 1319 wps_validate_rf_bands(attr.rf_bands, 1) || in wps_validate_m1() 1374 wps_validate_rf_bands(attr.rf_bands, 1) || in wps_validate_m2() [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() 400 dev->rf_bands = *bands; in wps_process_rf_bands() 401 wpa_printf(MSG_DEBUG, "WPS: Enrollee RF Bands 0x%x", dev->rf_bands); in wps_process_rf_bands()
|
D | wps_attr_build.c | 468 int wps_build_rf_bands_attr(struct wpabuf *msg, u8 rf_bands) in wps_build_rf_bands_attr() argument 470 wpa_printf(MSG_DEBUG, "WPS: * RF Bands (%x)", rf_bands); in wps_build_rf_bands_attr() 473 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 | 179 int wps_build_rf_bands_attr(struct wpabuf *msg, u8 rf_bands);
|
D | wps_attr_parse.c | 247 attr->rf_bands = pos; in wps_set_attr()
|
D | wps.h | 96 u8 rf_bands; member
|
D | wps_registrar.c | 2559 wps_process_rf_bands(&wps->peer_dev, attr->rf_bands) || in wps_process_m1()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | wps_supplicant.c | 1450 wps->dev.rf_bands |= WPS_RF_24GHZ; in wpas_wps_init() 1452 wps->dev.rf_bands |= WPS_RF_50GHZ; in wpas_wps_init() 1455 if (wps->dev.rf_bands == 0) { in wpas_wps_init() 1460 wps->dev.rf_bands = WPS_RF_24GHZ | WPS_RF_50GHZ; in wpas_wps_init() 2523 if (attr.rf_bands) in wpas_wps_nfc_rx_handover_sel() 2524 wpa_printf(MSG_DEBUG, "WPS: RF Bands: %d", *attr.rf_bands); in wpas_wps_nfc_rx_handover_sel() 2532 (attr.rf_bands == NULL || *attr.rf_bands & WPS_RF_24GHZ)) in wpas_wps_nfc_rx_handover_sel() 2535 (attr.rf_bands == NULL || in wpas_wps_nfc_rx_handover_sel() 2536 *attr.rf_bands & WPS_RF_24GHZ)) in wpas_wps_nfc_rx_handover_sel() 2539 (attr.rf_bands == NULL || in wpas_wps_nfc_rx_handover_sel() [all …]
|
/external/wpa_supplicant_8/src/ap/ |
D | wps_hostapd.c | 1039 wps->dev.rf_bands = conf->wps_rf_bands; in hostapd_init_wps() 1041 wps->dev.rf_bands = in hostapd_init_wps() 1126 if ((wps->dev.rf_bands & (WPS_RF_50GHZ | WPS_RF_24GHZ)) == in hostapd_init_wps()
|