From patchwork Fri Mar 28 03:36:19 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Lee X-Patchwork-Id: 3900661 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 D993A9F334 for ; Fri, 28 Mar 2014 03:36:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0F0C9202F0 for ; Fri, 28 Mar 2014 03:36:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 22585202EC for ; Fri, 28 Mar 2014 03:36:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757519AbaC1Dgj (ORCPT ); Thu, 27 Mar 2014 23:36:39 -0400 Received: from mail-pa0-f48.google.com ([209.85.220.48]:63864 "EHLO mail-pa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757511AbaC1Dgh (ORCPT ); Thu, 27 Mar 2014 23:36:37 -0400 Received: by mail-pa0-f48.google.com with SMTP id hz1so4390897pad.7 for ; Thu, 27 Mar 2014 20:36:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=inl3FKJ6QBAmokv/CF0uxNZBxXSWDOY0yGwn32GG/x0=; b=l4o9JIyU7oLNYXXGjrJhpixDUEg111KJOj2LaWMHRdLlxiTZtoJk4wRLnl4Pg4o0b1 Mp0TrOPIjBg87uCZKZkTxbsx8ZDlpdHenek72/AIt+v+lIsmcVZbEDqgI5qY+40TEp1S YWdzTAk78zB1LXBLNCdrqJ1iSPcc5qgu3ejhYBo5P6IlQNPyjhrO524vPBDrnaBS/MAs nxpT1m2SPEBmEBLundymKcQL3qTXA/axwLlW6EeQJTdzTnv4gtl4WmsNcmcmR+4qcq8K iMzVf9Z+tTJFzJD2dpdH+MRH8N5lGlwKhDA5cLe0EaMDjC+mBMyGCKHC53zJGnWmfx/7 Ttfg== X-Gm-Message-State: ALoCoQmH9b/+8OnWZhVSlCw3Bjsio65ieuuLQHpGKnh/+7NnOjYVu7W888nekd5pxSuNuZ6z/FOp X-Received: by 10.66.250.202 with SMTP id ze10mr5773179pac.153.1395977796914; Thu, 27 Mar 2014 20:36:36 -0700 (PDT) Received: from localhost ([116.213.97.190]) by mx.google.com with ESMTPSA id vf7sm16500113pbc.5.2014.03.27.20.36.34 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 27 Mar 2014 20:36:36 -0700 (PDT) From: Adam Lee To: linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org, Larry Finger , "John W. Linville" Subject: [PATCH v3 2/2] rtlwifi: rtl8188ee: enable MSI interrupts mode Date: Fri, 28 Mar 2014 11:36:19 +0800 Message-Id: <1395977779-16093-2-git-send-email-adam.lee@canonical.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1395977779-16093-1-git-send-email-adam.lee@canonical.com> References: <1395715732-9545-1-git-send-email-adam.lee@canonical.com> <1395977779-16093-1-git-send-email-adam.lee@canonical.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Some HP notebooks using this rtl8188ee hardware module can't get AP scan results with pin-based interrupts mode, enabling MSI interrupts mode could fix it. As RealTek's testing results, RTL8188EE works well with both MSI mode and pin-based mode fallback. Signed-off-by: Adam Lee --- drivers/net/wireless/rtlwifi/rtl8188ee/sw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/rtlwifi/rtl8188ee/sw.c b/drivers/net/wireless/rtlwifi/rtl8188ee/sw.c index 347af1e..1b4101b 100644 --- a/drivers/net/wireless/rtlwifi/rtl8188ee/sw.c +++ b/drivers/net/wireless/rtlwifi/rtl8188ee/sw.c @@ -93,6 +93,7 @@ int rtl88e_init_sw_vars(struct ieee80211_hw *hw) u8 tid; rtl8188ee_bt_reg_init(hw); + rtlpci->msi_support = true; rtlpriv->dm.dm_initialgain_enable = 1; rtlpriv->dm.dm_flag = 0;