Skip to content

Commit beb2a7f

Browse files
committed
net/ieee80211 -> drivers/net/ipw2x00/libipw_* rename
The old ieee80211 code only remains as a support library for the ipw2100 and ipw2200 drivers. So, move the code and rename it appropriately to reflects it's true purpose and status. Signed-off-by: John W. Linville <linville@tuxdriver.com>
1 parent 0795cd2 commit beb2a7f

11 files changed

Lines changed: 51 additions & 53 deletions

File tree

‎drivers/net/wireless/ipw2x00/Kconfig‎

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ config IPW2100
88
select WIRELESS_EXT
99
select FW_LOADER
1010
select LIB80211
11-
select IEEE80211
11+
select LIBIPW
1212
---help---
1313
A driver for the Intel PRO/Wireless 2100 Network
1414
Connection 802.11b wireless network adapter.
@@ -67,7 +67,7 @@ config IPW2200
6767
select WIRELESS_EXT
6868
select FW_LOADER
6969
select LIB80211
70-
select IEEE80211
70+
select LIBIPW
7171
---help---
7272
A driver for the Intel PRO/Wireless 2200BG and 2915ABG Network
7373
Connection adapters.
@@ -148,3 +148,44 @@ config IPW2200_DEBUG
148148

149149
If you are not sure, say N here.
150150

151+
config LIBIPW
152+
tristate
153+
select WIRELESS_EXT
154+
select CRYPTO
155+
select CRYPTO_ARC4
156+
select CRYPTO_ECB
157+
select CRYPTO_AES
158+
select CRYPTO_MICHAEL_MIC
159+
select CRYPTO_ECB
160+
select CRC32
161+
select LIB80211
162+
select LIB80211_CRYPT_WEP
163+
select LIB80211_CRYPT_TKIP
164+
select LIB80211_CRYPT_CCMP
165+
---help---
166+
This option enables the hardware independent IEEE 802.11
167+
networking stack. This component is deprecated in favor of the
168+
mac80211 component.
169+
170+
config LIBIPW_DEBUG
171+
bool "Full debugging output for the LIBIPW component"
172+
depends on LIBIPW
173+
---help---
174+
This option will enable debug tracing output for the
175+
libipw component.
176+
177+
This will result in the kernel module being ~70k larger. You
178+
can control which debug output is sent to the kernel log by
179+
setting the value in
180+
181+
/proc/net/ieee80211/debug_level
182+
183+
For example:
184+
185+
% echo 0x00000FFO > /proc/net/ieee80211/debug_level
186+
187+
For a list of values you can assign to debug_level, you
188+
can look at the bit mask values in <net/ieee80211.h>
189+
190+
If you are not trying to debug or develop the libipw
191+
component, you most likely want to say N here.

‎drivers/net/wireless/ipw2x00/Makefile‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,11 @@
44

55
obj-$(CONFIG_IPW2100) += ipw2100.o
66
obj-$(CONFIG_IPW2200) += ipw2200.o
7+
8+
obj-$(CONFIG_LIBIPW) += libipw.o
9+
libipw-objs := \
10+
libipw_module.o \
11+
libipw_tx.o \
12+
libipw_rx.o \
13+
libipw_wx.o \
14+
libipw_geo.o
File renamed without changes.

‎net/Kconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,6 @@ if WIRELESS
251251

252252
source "net/wireless/Kconfig"
253253
source "net/mac80211/Kconfig"
254-
source "net/ieee80211/Kconfig"
255254

256255
endif # WIRELESS
257256

‎net/Makefile‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ obj-$(CONFIG_IP_DCCP) += dccp/
5151
obj-$(CONFIG_IP_SCTP) += sctp/
5252
obj-y += wireless/
5353
obj-$(CONFIG_MAC80211) += mac80211/
54-
obj-$(CONFIG_IEEE80211) += ieee80211/
5554
obj-$(CONFIG_TIPC) += tipc/
5655
obj-$(CONFIG_NETLABEL) += netlabel/
5756
obj-$(CONFIG_IUCV) += iucv/

‎net/ieee80211/Kconfig‎

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)