Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 91980990 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

Staging: add rt2860 wireless driver



This is the Ralink RT2860 driver from the company that does horrible
things like reading a config file from /etc.  However, the driver that
is currently under development from the wireless development community
is not working at all yet, so distros and users are using this version
instead (quite common hardware on a lot of netbook machines).

So here is this driver, for now, until the wireless developers get a
"clean" version into the main tree, or until this version is cleaned up
sufficiently to move out of the staging tree.

Ported to the Linux build system and cleaned up a bit already by me.

Cc: Linux wireless <linux-wireless@vger.kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent f4f85ff7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -67,5 +67,7 @@ source "drivers/staging/agnx/Kconfig"

source "drivers/staging/otus/Kconfig"

source "drivers/staging/rt2860/Kconfig"

endif # !STAGING_EXCLUDE_BUILD
endif # STAGING
+1 −0
Original line number Diff line number Diff line
@@ -16,3 +16,4 @@ obj-$(CONFIG_USB_ATMEL) += at76_usb/
obj-$(CONFIG_POCH)		+= poch/
obj-$(CONFIG_AGNX)		+= agnx/
obj-$(CONFIG_OTUS)		+= otus/
obj-$(CONFIG_RT2860)		+= rt2860/
+1377 −0

File added.

Preview size limit exceeded, changes collapsed.

+5 −0
Original line number Diff line number Diff line
config RT2860
	tristate "Ralink 2860 wireless support"
	depends on PCI && X86 && WLAN_80211
	---help---
	  This is an experimental driver for the Ralink 2860 wireless chip.
+41 −0
Original line number Diff line number Diff line
obj-$(CONFIG_RT2860)	+= rt2860sta.o

# TODO: all of these should be removed
EXTRA_CFLAGS += -DLINUX -DAGGREGATION_SUPPORT -DPIGGYBACK_SUPPORT -DWMM_SUPPORT
EXTRA_CFLAGS += -DRT2860
EXTRA_CFLAGS += -DCONFIG_STA_SUPPORT
EXTRA_CFLAGS += -DDBG
EXTRA_CFLAGS += -DDOT11_N_SUPPORT

rt2860sta-objs :=	\
	common/md5.o		\
	common/mlme.o		\
	common/rtmp_wep.o	\
	common/action.o		\
	common/cmm_data.o	\
	common/rtmp_init.o	\
	common/rtmp_tkip.o	\
	common/cmm_sync.o	\
	common/eeprom.o		\
	common/cmm_sanity.o	\
	common/cmm_info.o	\
	common/cmm_wpa.o	\
	common/dfs.o		\
	common/spectrum.o	\
	sta/assoc.o		\
	sta/aironet.o		\
	sta/auth.o		\
	sta/auth_rsp.o		\
	sta/sync.o		\
	sta/sanity.o		\
	sta/rtmp_data.o		\
	sta/connect.o		\
	sta/wpa.o		\
	rt_linux.o		\
	rt_profile.o		\
	rt_main_dev.o		\
	sta_ioctl.o		\
	common/ba_action.o	\
	common/2860_rtmp_init.o	\
	2860_main_dev.o		\
	common/cmm_data_2860.o
Loading