[efi] Register a device tree if provided by the platform firmware
[ipxe.git] / src / config / config_net80211.c
1 /*
2 * This program is free software; you can redistribute it and/or
3 * modify it under the terms of the GNU General Public License as
4 * published by the Free Software Foundation; either version 2 of the
5 * License, or (at your option) any later version.
6 *
7 * This program is distributed in the hope that it will be useful, but
8 * WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10 * General Public License for more details.
11 *
12 * You should have received a copy of the GNU General Public License
13 * along with this program; if not, write to the Free Software
14 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
15 * 02110-1301, USA.
16 */
17
18 FILE_LICENCE ( GPL2_OR_LATER );
19
20 #include <config/general.h>
21
22 /** @file
23 *
24 * 802.11 configuration options
25 *
26 */
27
28 PROVIDE_REQUIRING_SYMBOL();
29
30 /*
31 * Drag in 802.11-specific commands
32 *
33 */
34 #ifdef IWMGMT_CMD
35 REQUIRE_OBJECT ( iwmgmt_cmd );
36 #endif
37
38 /*
39 * Drag in 802.11 error message tables
40 *
41 */
42 #ifdef ERRMSG_80211
43 REQUIRE_OBJECT ( wireless_errors );
44 #endif
45
46 /*
47 * Drag in 802.11 cryptosystems and handshaking protocols
48 *
49 */
50 #ifdef CRYPTO_80211_WEP
51 REQUIRE_OBJECT ( wep );
52 #endif
53
54 #ifdef CRYPTO_80211_WPA2
55 #define CRYPTO_80211_WPA
56 REQUIRE_OBJECT ( wpa_ccmp );
57 #endif
58
59 #ifdef CRYPTO_80211_WPA
60 REQUIRE_OBJECT ( wpa_psk );
61 REQUIRE_OBJECT ( wpa_tkip );
62 #endif