From patchwork Mon Dec 15 20:38:25 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: 421676 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 9019C1400DE for ; Tue, 16 Dec 2014 07:39:06 +1100 (AEDT) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 27894284DE0; Mon, 15 Dec 2014 21:37:12 +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 381B92805AB for ; Mon, 15 Dec 2014 21:36:55 +0100 (CET) X-policyd-weight: using cached result; rate: -8.5 Received: from mail-wg0-f52.google.com (mail-wg0-f52.google.com [74.125.82.52]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Mon, 15 Dec 2014 21:36:54 +0100 (CET) Received: by mail-wg0-f52.google.com with SMTP id x12so15663476wgg.39 for ; Mon, 15 Dec 2014 12:38:43 -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=dD2YNNvTFEcDARsG3T8MH9CXbSvZLFuZ7qS8hd8AsB8=; b=N6ZjrjaX0curtullXY2OJ4hdzwiE2MrVmX4agFV6h31lz3nDsQFkUWTSycfB8KX8AD VlVv7JYSe8Zd5rdPnHMQJCiH2RB7plg28PL1ed6bEfGpLHRPakRLWLtXdnXI29EoFVl9 ElRmwd+u7xSwfY0B3i0HJYndKh3glowsBqtox0SzO+DXJm1ecKudnayl8tzc2Zu8VIMx Fb6m4Mbp8ej+C4ga6WBAHzCAY28N1uPyHJpZZBjp67NExb+bwY9bEbKNIrV5WaVW/5Qm HbYmwf+nKUxZyjsjqGrTWqi1+ZlcAz16LpLYa0jMxfJ+04fpHYiZLH0/SzaodgxBDphq pnoA== X-Received: by 10.194.188.39 with SMTP id fx7mr53366037wjc.113.1418675923872; Mon, 15 Dec 2014 12:38:43 -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 hz9sm14344526wjb.17.2014.12.15.12.38.42 for (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Mon, 15 Dec 2014 12:38:43 -0800 (PST) Message-ID: <1418675905.20494.2.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:38:25 +0100 X-Mailer: Evolution 3.4.4-3 Mime-Version: 1.0 Subject: [OpenWrt-Devel] [Fwd: [PATCH][modules][V2] 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. V2: added md5sum and fixed the patch. 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:=8e6396b5844a3e279ae8679555dec3f0 +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))