From patchwork Tue Sep 16 17:39:46 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Wu X-Patchwork-Id: 4918801 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 5F1369F2EC for ; Tue, 16 Sep 2014 18:23:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DA29B2017D for ; Tue, 16 Sep 2014 18:24:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 03199201BB for ; Tue, 16 Sep 2014 18:24:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754826AbaIPSYz (ORCPT ); Tue, 16 Sep 2014 14:24:55 -0400 Received: from lekensteyn.nl ([178.21.112.251]:48083 "EHLO lekensteyn.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754730AbaIPSYy (ORCPT ); Tue, 16 Sep 2014 14:24:54 -0400 X-Greylist: delayed 2697 seconds by postgrey-1.27 at vger.kernel.org; Tue, 16 Sep 2014 14:24:53 EDT DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lekensteyn.nl; s=s2048-2014-q3; h=Message-Id:Date:Subject:Cc:To:From; bh=4wr5CduLcxdiSoDgMBInJRTXzY2b2TY9avuHED7KKhI=; b=NptosA/2mZQeFGRzNH6DQcZCgJnLS3CFr+LmVogClHnHIiE1bgedsZkFDFJ8tsYFp/FDhpDoalJeeN/ADQi47qvIu6Icwe4dBgYEmLayaB7lSFKTMTTy5XBETkvjEgZrReelvW6/lDUBVKzdGlyTb2bMCF1MeXvuDK0OEMJiCkES+vC1ulpLoBUaOtAzAaiOd5LzyasyysbpgvrbOujVOfPgMT9I4e79uIgs1bJX09EQv/H6dSGKi1QSZJFEwSYlmoF8ZFvsd2rcxv5r0B/RQ0ryHjL7JDVbEAdY3PjrjnbHuKqywqr8HEu03HKULSP2qD1efcHpJd1LmyirUuSpwQ==; Received: by lekensteyn.nl with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA256:128) (Exim 4.80) (envelope-from ) id 1XTwjE-0001BH-Rj; Tue, 16 Sep 2014 19:39:49 +0200 From: Peter Wu To: linux-wireless@vger.kernel.org, Intel Linux Wireless Cc: Johannes Berg , Emmanuel Grumbach , Subject: [PATCH] iwlwifi: add 4c70 subdevice ID for 7260 series Date: Tue, 16 Sep 2014 19:39:46 +0200 Message-Id: <1410889186-28991-1-git-send-email-peter@lekensteyn.nl> X-Mailer: git-send-email 2.1.0 X-Spam-Score: 0.0 (/) X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This card appears in an Asus TP300LA laptop (from Chris Mens). lspci output: 02:00.0 Network controller [0280]: Intel Corporation Wireless 7260 [8086:08b1] (rev cb) Subsystem: Intel Corporation Device [8086:4c70] Verified against v3.10.54 and v3.17-rc5-13-g2324067. Cc: # 3.10+ Tested-by: Peter Wu Signed-off-by: Peter Wu --- Hi, Without patch the iwlwifi/iwldvm driver does not accept the 7260 AC card in an Asus TP300LA laptop of a friend. Another report can be found on . By the way, initially I tried to write '8086 08b1 8086 4c70' (and also just the first two words) to /sys/bus/pci/drivers/iwlwifi/new_id, and '0000:02:00.0' to /sys/bus/pci/drivers/iwlwifi/bind, but I got EINVAL and ENODEV respectively. Why did this not work? Kind regards, Peter --- drivers/net/wireless/iwlwifi/pcie/drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/iwlwifi/pcie/drv.c b/drivers/net/wireless/iwlwifi/pcie/drv.c index f0e722c..eb83c89f 100644 --- a/drivers/net/wireless/iwlwifi/pcie/drv.c +++ b/drivers/net/wireless/iwlwifi/pcie/drv.c @@ -297,6 +297,7 @@ static const struct pci_device_id iwl_hw_card_ids[] = { {IWL_PCI_DEVICE(0x08B1, 0x4560, iwl7260_2n_cfg)}, {IWL_PCI_DEVICE(0x08B2, 0x4370, iwl7260_2ac_cfg)}, {IWL_PCI_DEVICE(0x08B2, 0x4360, iwl7260_2n_cfg)}, + {IWL_PCI_DEVICE(0x08B1, 0x4c70, iwl7260_2ac_cfg)}, {IWL_PCI_DEVICE(0x08B1, 0x5070, iwl7260_2ac_cfg)}, {IWL_PCI_DEVICE(0x08B1, 0x5072, iwl7260_2ac_cfg)}, {IWL_PCI_DEVICE(0x08B1, 0x5170, iwl7260_2ac_cfg)},