From fd3fc234c3c3cf9798805ae3441beb9234253797 Mon Sep 17 00:00:00 2001 From: Lior David Date: Sat, 20 Feb 2016 13:46:10 +0200 Subject: wpa_supplicant: Expose wpas_get_bands() and related API Expose the functions wpas_get_bands() and wpas_freq_to_band() and the enum wpa_radio_work_band, since they will be needed outside wpa_supplicant.c. Change-Id: I2bea4838f852395d9df0d1c2ad2db51060722f1e Signed-off-by: Lior David Git-commit: 2b6e9f91df7acf19998f967fcc6c5f4bb911d1d8 Git-repo: git://w1.fi/srv/git/hostap.git CRs-Fixed: 985990 --- src/common/defs.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/common/defs.h b/src/common/defs.h index eb080ea8..2e313794 100644 --- a/src/common/defs.h +++ b/src/common/defs.h @@ -334,4 +334,10 @@ enum set_band { WPA_SETBAND_2G }; +enum wpa_radio_work_band { + BAND_2_4_GHZ = BIT(0), + BAND_5_GHZ = BIT(1), + BAND_60_GHZ = BIT(2), +}; + #endif /* DEFS_H */ -- cgit v1.2.3