-define KernelPackage/ieee80211-softmac
- SUBMENU:=$(WIMENU)
- TITLE:=ieee80211 SoftMAC support
- DEPENDS:=kmod-ieee80211
- KCONFIG:=CONFIG_IEEE80211_SOFTMAC
- FILES:=$(LINUX_DIR)/net/ieee80211/softmac/ieee80211softmac.$(LINUX_KMOD_SUFFIX)
- AUTOLOAD:=$(call AutoLoad,20,ieee80211softmac)
+define KernelPackage/lib80211
+ SUBMENU:=$(WIRELESS_MENU)
+ TITLE:=802.11 Networking stack
+ DEPENDS:=@LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32
+ KCONFIG:= \
+ CONFIG_LIB80211 \
+ CONFIG_LIB80211_CRYPT_WEP \
+ CONFIG_LIB80211_CRYPT_TKIP \
+ CONFIG_LIB80211_CRYPT_CCMP
+ FILES:= \
+ $(LINUX_DIR)/net/wireless/lib80211.$(LINUX_KMOD_SUFFIX) \
+ $(LINUX_DIR)/net/wireless/lib80211_crypt_wep.$(LINUX_KMOD_SUFFIX) \
+ $(LINUX_DIR)/net/wireless/lib80211_crypt_ccmp.$(LINUX_KMOD_SUFFIX) \
+ $(LINUX_DIR)/net/wireless/lib80211_crypt_tkip.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,10, \
+ lib80211 \
+ lib80211_crypt_wep \
+ lib80211_crypt_ccmp \
+ lib80211_crypt_tkip \
+ )