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

Commit 61e12104 authored by Won Kang's avatar Won Kang Committed by Greg Kroah-Hartman
Browse files

staging: gdm7240: adding LTE USB driver



GCT Semiconductor GDM7240 is 4G LTE chip.
This driver supports GCT reference platform as a USB device.

Signed-off-by: default avatarWon Kang <wonkang@gctsemi.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 17dc1597
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -118,6 +118,8 @@ source "drivers/staging/ozwpan/Kconfig"

source "drivers/staging/gdm72xx/Kconfig"

source "drivers/staging/gdm724x/Kconfig"

source "drivers/staging/silicom/Kconfig"

source "drivers/staging/ced1401/Kconfig"
+1 −0
Original line number Diff line number Diff line
@@ -52,6 +52,7 @@ obj-$(CONFIG_MFD_NVEC) += nvec/
obj-$(CONFIG_ANDROID)		+= android/
obj-$(CONFIG_USB_WPAN_HCD)	+= ozwpan/
obj-$(CONFIG_WIMAX_GDM72XX)	+= gdm72xx/
obj-$(CONFIG_LTE_GDM724X)	+= gdm724x/
obj-$(CONFIG_NET_VENDOR_SILICOM)	+= silicom/
obj-$(CONFIG_CED1401)		+= ced1401/
obj-$(CONFIG_DRM_IMX)		+= imx-drm/
+15 −0
Original line number Diff line number Diff line
#
# GCT GDM724x LTE driver configuration
#

config LTE_GDM724X
	tristate "GCT GDM724x LTE support"
	depends on NET && USB
	help
	  This driver supports GCT GDM724x LTE chip based USB modem devices.
	  It exposes 4 network devices to be used per PDN and 2 tty devices to be
	  used for AT commands and DM monitoring applications.
	  The modules will be called gdmulte.ko and gdmtty.ko

	  GCT-ATCx can be used for AT Commands
	  GCT-DMx can be used for LTE protocol monitoring
+7 −0
Original line number Diff line number Diff line
obj-$(CONFIG_LTE_GDM724X) := gdmulte.o
gdmulte-y += gdm_lte.o netlink_k.o
gdmulte-y += gdm_usb.o gdm_endian.o

obj-$(CONFIG_LTE_GDM724X) += gdmtty.o
gdmtty-y := gdm_tty.o gdm_mux.o
+15 −0
Original line number Diff line number Diff line
TODO:
- Clean up coding style to meet kernel standard. (80 line limit, netdev_err)
- Remove test for host endian
- Remove confusing macros (endian, hci_send, sdu_send, rcv_with_cb)
- Fixes for every instances of function returning -1
- Check for skb->len in gdm_lte_emulate_arp()
- Use ALIGN() macro for dummy_cnt in up_to_host()
- Error handling in init_usb()
- Explain reason for multiples of 512 bytes in alloc_tx_struct()
- Review use of atomic allocation for tx structs
- No error checking for alloc_tx_struct in do_tx()

Patches to:
	Jonathan Kim <jonathankim@gctsemi.com>
	Dean ahn <deanahn@gctsemi.com>
Loading