Commit 5b5ab4cb authored by Larry Finger's avatar Larry Finger Committed by Greg Kroah-Hartman

staging: r8822be: Add Makefiles and Kconfig for new driver

The RTL8822BE, an 802.11ac wireless network card, is now appearing in
new computers. Its driver is being placed in staging to reduce the time
that users of this new card will have access to in-kernel drivers.

This commit enables building of the new driver. For this version, all
routines are built into a single module r8822be. When this driver is
moved to the wireless tree, halmac, phydm, and rtl8822be will become
new modules.
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Cc: Ping-Ke Shih <pkshih@realtek.com>
Cc: Yan-Hsuan Chuang <yhchuang@realtek.com>
Cc: Birming Chiu <birming@realtek.com>
Cc: Shaofu <shaofu@realtek.com>
Cc: Steven Ting <steventing@realtek.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7e5b796c
......@@ -40,6 +40,8 @@ source "drivers/staging/rtl8712/Kconfig"
source "drivers/staging/rtl8188eu/Kconfig"
source "drivers/staging/rtlwifi/Kconfig"
source "drivers/staging/rts5208/Kconfig"
source "drivers/staging/octeon/Kconfig"
......
......@@ -10,6 +10,7 @@ obj-$(CONFIG_RTL8192E) += rtl8192e/
obj-$(CONFIG_RTL8723BS) += rtl8723bs/
obj-$(CONFIG_R8712U) += rtl8712/
obj-$(CONFIG_R8188EU) += rtl8188eu/
obj-$(CONFIG_R8822BE) += rtlwifi/
obj-$(CONFIG_RTS5208) += rts5208/
obj-$(CONFIG_NETLOGIC_XLR_NET) += netlogic/
obj-$(CONFIG_OCTEON_ETHERNET) += octeon/
......
config R8822BE
tristate "Realtek RTL8822BE Wireless Network Adapter"
depends on PCI && m
select FW_LOADER
---help---
This is the staging driver for Realtek RTL8822BE 802.11ac PCIe
wireless network adapters.
config RTLHALMAC_ST
tristate
depends on R8822BE
default m
config RTLPHYDM_ST
tristate
depends on R8822BE
default m
config RTLWIFI_DEBUG_ST
boolean
depends on R8822BE
default y
obj-$(CONFIG_R8822BE) += r8822be.o
r8822be-objs := \
base.o \
cam.o \
core.o \
debug.o \
efuse.o \
ps.o \
rc.o \
regd.o \
stats.o \
pci.o \
rtl8822be/fw.o \
rtl8822be/hw.o \
rtl8822be/led.o \
rtl8822be/phy.o \
rtl8822be/sw.o \
rtl8822be/trx.o \
btcoexist/halbtc8822b2ant.o \
btcoexist/halbtc8822b1ant.o \
btcoexist/halbtc8822bwifionly.o \
btcoexist/halbtcoutsrc.o \
btcoexist/rtl_btc.o \
halmac/halmac_api.o \
halmac/halmac_88xx/halmac_api_88xx_usb.o \
halmac/halmac_88xx/halmac_api_88xx_sdio.o \
halmac/halmac_88xx/halmac_api_88xx.o \
halmac/halmac_88xx/halmac_api_88xx_pcie.o \
halmac/halmac_88xx/halmac_func_88xx.o \
halmac/halmac_88xx/halmac_8822b/halmac_api_8822b_pcie.o \
halmac/halmac_88xx/halmac_8822b/halmac_func_8822b.o \
halmac/halmac_88xx/halmac_8822b/halmac_api_8822b_sdio.o \
halmac/halmac_88xx/halmac_8822b/halmac_api_8822b.o \
halmac/halmac_88xx/halmac_8822b/halmac_8822b_phy.o \
halmac/halmac_88xx/halmac_8822b/halmac_8822b_pwr_seq.o \
halmac/halmac_88xx/halmac_8822b/halmac_api_8822b_usb.o \
halmac/rtl_halmac.o \
phydm/phydm_debug.o \
phydm/phydm_antdiv.o\
phydm/phydm_interface.o\
phydm/phydm_hwconfig.o\
phydm/phydm.o\
phydm/halphyrf_ce.o\
phydm/phydm_edcaturbocheck.o\
phydm/phydm_dig.o\
phydm/phydm_rainfo.o\
phydm/phydm_dynamicbbpowersaving.o\
phydm/phydm_powertracking_ce.o\
phydm/phydm_dynamictxpower.o\
phydm/phydm_adaptivity.o\
phydm/phydm_cfotracking.o\
phydm/phydm_noisemonitor.o\
phydm/phydm_acs.o\
phydm/phydm_psd.o\
phydm/phydm_adc_sampling.o\
phydm/phydm_kfree.o\
phydm/phydm_ccx.o \
phydm/rtl8822b/halhwimg8822b_bb.o\
phydm/rtl8822b/halhwimg8822b_mac.o\
phydm/rtl8822b/halhwimg8822b_rf.o\
phydm/rtl8822b/halphyrf_8822b.o\
phydm/rtl8822b/phydm_hal_api8822b.o\
phydm/rtl8822b/phydm_iqk_8822b.o\
phydm/rtl8822b/phydm_regconfig8822b.o\
phydm/rtl8822b/phydm_rtl8822b.o \
phydm/rtl_phydm.o
obj-$(CONFIG_R8822BE) += rtl8822be/
TODO:
- checkpatch.pl fixes - most of the remaining ones are lines too long. Many
of them will require refactoring
- merge Realtek's bugfixes and new features into the driver
- find and remove code blocks guarded by never set CONFIG_FOO defines
- convert any remaining unusual variable types
- find codes that can use %pM and %Nph formatting
- fix any reviewer's comments regarding movin the driver to drivers/net/wireless
Please send any patches to Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
and Larry Finger <Larry.Finger@lwfinger.net>.
btcoexist-objs := \
halbtc8822b1ant.o \
halbtc8822b2ant.o \
halbtc8822bwifionly.o \
halbtcoutsrc.o \
rtl_btc.o
obj-$(CONFIG_RTLBTCOEXIST) += btcoexist.o
......@@ -43,11 +43,6 @@
#define RT_SDIO_INTERFACE 3
#define DEV_BUS_TYPE RT_PCI_INTERFACE
#include "halbtc8192e2ant.h"
#include "halbtc8723b1ant.h"
#include "halbtc8723b2ant.h"
#include "halbtc8821a2ant.h"
#include "halbtc8821a1ant.h"
#include "halbtc8822b1ant.h"
#include "halbtc8822b2ant.h"
#include "halbtc8822bwifionly.h"
......
rtl8822be-objs := \
fw.o \
hw.o \
led.o \
phy.o \
sw.o \
trx.o
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment