From patchwork Mon Dec 15 20:30:31 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Sm9zw6kgVsOhenF1ZXogRmVybsOhbmRleg==?= X-Patchwork-Id: 421674 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 86677140081 for ; Tue, 16 Dec 2014 07:31:05 +1100 (AEDT) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 803BE2805AB; Mon, 15 Dec 2014 21:29:10 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id CA20D2802B9 for ; Mon, 15 Dec 2014 21:29:03 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .mail-wg0-f50.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -8.5 Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Mon, 15 Dec 2014 21:29:00 +0100 (CET) Received: by mail-wg0-f50.google.com with SMTP id a1so15580959wgh.23 for ; Mon, 15 Dec 2014 12:30:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:to:date:content-type:mime-version :content-transfer-encoding; bh=3/OFJc/3wbsH3niEHks2JhQWtofZp97Yon38MNhC/Gc=; b=K0IK62og8o/7oUBwB15sTwpQcEWcYK15y36EGC/n9ugqd2xt+jXa3Nk33l8YZEbUyj bOhKRwalcdozTQS+tIZ2X5AtWB+xHwy8xmyQ1r9M9wZ82jGbUe+pcbDXWWRYRY0J5LSb 4c2PQBtfLTxhYko7Iupe5MFeP74rRiYdXHbL5FR7D27iW64HPEVTqzQ/QiXDbKudPJlW EVyH7eIJDRhejY+lfKjFwqybZysQA8ym1RmQs9MdoHEE4XKrMHJmmGuaTVbg2/dGPPAI 7XVuINGMNl7cG78+eAxUoP0qUhFDtDyidxkUNTOGfrqXzQKDlIkGwB3l+0D0SdXGAv4z O3RA== X-Received: by 10.194.57.84 with SMTP id g20mr56451342wjq.122.1418675448212; Mon, 15 Dec 2014 12:30:48 -0800 (PST) Received: from [192.168.1.36] (80.174.124.66.dyn.user.ono.com. [80.174.124.66]) by mx.google.com with ESMTPSA id r3sm14426741wic.10.2014.12.15.12.30.46 for (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Mon, 15 Dec 2014 12:30:47 -0800 (PST) Message-ID: <1418675431.19782.12.camel@VAUXO> From: =?ISO-8859-1?Q?Jos=E9_V=E1zquez_?= =?ISO-8859-1?Q?Fern=E1ndez?= To: "openwrt-devel@lists.openwrt.org" Date: Mon, 15 Dec 2014 21:30:31 +0100 X-Mailer: Evolution 3.4.4-3 Mime-Version: 1.0 Subject: [OpenWrt-Devel] [PATCH][modules] Add support for Realtek r8712 and RTL8192SU. X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" Add support for Realtek r8712 and RTL8192SU family. This patch adds support for Realtek r8712 and RTL8188SU/RTL8191SU/RTL8192SU family of fullmac usb wireless cards. The r8712u staging driver only supports WEXT but works with no problems in OpenWRT. Signed off by: José Vázquez Fernández + Index: package/kernel/linux/modules/wireless.mk =================================================================== --- package/kernel/linux/modules/wireless.mk (revisión: 43720) +++ package/kernel/linux/modules/wireless.mk (copia de trabajo) @@ -126,3 +126,35 @@ $(eval $(call KernelPackage,net-rtl8188eu)) +define KernelPackage/net-rtl8192su + SUBMENU:=$(WIRELESS_MENU) + TITLE:=RTL8192SU support (staging) + DEPENDS:=@USB_SUPPORT +@DRIVER_WEXT_SUPPORT +kmod-usb-core + KCONFIG:=\ + CONFIG_STAGING=y \ + CONFIG_R8712U + FILES:=$(LINUX_DIR)/drivers/staging/rtl8712/r8712u.ko + AUTOLOAD:=$(call AutoProbe,r8712u) +endef + +define KernelPackage/net-rtl8192su/description + Kernel modules for RealTek RTL8712 and RTL81XXSU fullmac support. + +endef +# R8712 FullMAC firmware +R8712_FW:=rtl8712u.bin + +define Download/net-rtl8192su + FILE:=$(R8712_FW) + URL:=http://mirrors.arizona.edu/raspbmc/downloads/bin/lib/wifi/rtlwifi/ +# MD5SUM:=8bd4310971772a486b9784c77f8a6df9 +endef + +define KernelPackage/net-rtl8192su/install + $(INSTALL_DIR) $(1)/lib/firmware/rtlwifi + $(INSTALL_DATA) $(DL_DIR)/$(R8712_FW) $(1)/lib/firmware/rtlwifi/ +endef + +$(eval $(call Download,net-rtl8192su)) +$(eval $(call KernelPackage,net-rtl8192su))