From patchwork Fri Jul 11 00:01:37 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eliad Peller X-Patchwork-Id: 4529041 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 519AABEEAA for ; Fri, 11 Jul 2014 00:02:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 94841201C0 for ; Fri, 11 Jul 2014 00:02:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C43712015E for ; Fri, 11 Jul 2014 00:02:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751753AbaGKACa (ORCPT ); Thu, 10 Jul 2014 20:02:30 -0400 Received: from mail-wi0-f170.google.com ([209.85.212.170]:59707 "EHLO mail-wi0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751520AbaGKACa (ORCPT ); Thu, 10 Jul 2014 20:02:30 -0400 Received: by mail-wi0-f170.google.com with SMTP id cc10so5254688wib.5 for ; Thu, 10 Jul 2014 17:02:28 -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=bYLpek/aUl9W+0QfHcoRWTMP0TvbYArfvtaOmeu+jq0=; b=U1s6p29VmelEYU2q09Yh35KyBvVH/OVz2FT7tTxvmbaG/QdX585kXYjUyLpTyPx1vu 9yCP1CCVqJthb03vXThpr7K9zOiutzryLiiLdsk3TBDWzUGdJ4SmFe2mxKoBdpd0Lh1n vETqclcee5hTWn7aTU5EOzWacVxCXi3uNM+tvMDyA9uIxXC2WRdHa74bNAqJNFmc5Mf0 GK3/0K1DpVWrFmXjyIhTO3Lwpd81QgI4IHlTDY+mYfSkLYTWDCQAFcu6TxQoJV9Po/Zc BVhZh6Qm0km/V7opoDd2Wd8j7sxGp5MSTMMaJL1B4YuhtMppeY++fMyBASjgd5hT30HH S42Q== X-Gm-Message-State: ALoCoQnDhjl8ONFPhkWBxGctXAj19vFdHSJq9z//4XFPawZZrh/jj/GhCNNsm7yRqtAm995jpzQt X-Received: by 10.180.14.33 with SMTP id m1mr314987wic.50.1405036948084; Thu, 10 Jul 2014 17:02:28 -0700 (PDT) Received: from localhost.localdomain (46-116-157-102.bb.netvision.net.il. [46.116.157.102]) by mx.google.com with ESMTPSA id 19sm1426848wjz.3.2014.07.10.17.02.25 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 10 Jul 2014 17:02:27 -0700 (PDT) From: Eliad Peller To: "John W. Linville" Cc: Subject: [PATCH 12/14] wl18xx: change the number of WLAN addrs per chip Date: Fri, 11 Jul 2014 03:01:37 +0300 Message-Id: <1405036899-27396-13-git-send-email-eliad@wizery.com> X-Mailer: git-send-email 1.8.5.1.109.g3d252a9 In-Reply-To: <1405036899-27396-1-git-send-email-eliad@wizery.com> References: <1405036899-27396-1-git-send-email-eliad@wizery.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.6 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 From: Arik Nemtsov Each 18xx chip contains only 2 real MAC addresses usable for WLAN, forcing us to use the LAA bit approach to obtain a third MAC address. Signed-off-by: Arik Nemtsov Signed-off-by: Eliad Peller --- drivers/net/wireless/ti/wl18xx/wl18xx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ti/wl18xx/wl18xx.h b/drivers/net/wireless/ti/wl18xx/wl18xx.h index eb7cfe8..6a2b880 100644 --- a/drivers/net/wireless/ti/wl18xx/wl18xx.h +++ b/drivers/net/wireless/ti/wl18xx/wl18xx.h @@ -38,7 +38,7 @@ #define WL18XX_NUM_TX_DESCRIPTORS 32 #define WL18XX_NUM_RX_DESCRIPTORS 32 -#define WL18XX_NUM_MAC_ADDRESSES 3 +#define WL18XX_NUM_MAC_ADDRESSES 2 #define WL18XX_RX_BA_MAX_SESSIONS 13