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

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

Staging: add rt2870 wireless driver



This is the Ralink RT2870 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 6e16aee6
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -71,6 +71,8 @@ source "drivers/staging/otus/Kconfig"

source "drivers/staging/rt2860/Kconfig"

source "drivers/staging/rt2870/Kconfig"

source "drivers/staging/benet/Kconfig"

source "drivers/staging/comedi/Kconfig"
+1 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@ obj-$(CONFIG_POCH) += poch/
obj-$(CONFIG_AGNX)		+= agnx/
obj-$(CONFIG_OTUS)		+= otus/
obj-$(CONFIG_RT2860)		+= rt2860/
obj-$(CONFIG_RT2870)		+= rt2870/
obj-$(CONFIG_BENET)		+= benet/
obj-$(CONFIG_COMEDI)		+= comedi/
obj-$(CONFIG_ASUS_OLED)		+= asus_oled/
+1612 −0

File added.

Preview size limit exceeded, changes collapsed.

+6 −0
Original line number Diff line number Diff line
config RT2870
	tristate "Ralink 2870 wireless support"
	depends on USB && X86 && WLAN_80211
	---help---
	  This is an experimental driver for the Ralink 2870 wireless chip.
+47 −0
Original line number Diff line number Diff line
obj-$(CONFIG_RT2870)	+= rt2870sta.o

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

rt2870sta-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	\
	2870_main_dev.o		\
	common/2870_rtmp_init.o	\
	common/rtusb_io.o	\
	common/rtusb_bulk.o	\
	common/rtusb_data.o	\
	common/cmm_data_2870.o
Loading