From patchwork Mon Feb 10 11:47:34 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eliad Peller X-Patchwork-Id: 3618371 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 01DD0BF418 for ; Mon, 10 Feb 2014 11:48:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3560220138 for ; Mon, 10 Feb 2014 11:48:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 700322017D for ; Mon, 10 Feb 2014 11:48:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752777AbaBJLsS (ORCPT ); Mon, 10 Feb 2014 06:48:18 -0500 Received: from mail-we0-f174.google.com ([74.125.82.174]:42714 "EHLO mail-we0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752757AbaBJLsL (ORCPT ); Mon, 10 Feb 2014 06:48:11 -0500 Received: by mail-we0-f174.google.com with SMTP id x55so4059360wes.5 for ; Mon, 10 Feb 2014 03:48:10 -0800 (PST) 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=r+yb0nRJAjQC0NQsVGx5qTNJVm0roKiTDg0askbs1PY=; b=nMFUwrmH+FPfxt8OfBxdImf4wcI5Z0WSmfo+ubPm9QojXv5mIdJmSQxnFTIPXPHhpj qqXoLBqWsiuYjj/S53vFc73100kksszCHbuJ2ohQgY6o6i0ZAGDAswIW92ffh7tVLooU 4ChgIm4005QkKNPdz7z49X7veAexe2QByEgqFMqwldLvn+mwh/HyGmKNK19p9JZGcQzA RiPVopYKlWyM3tRK358cQmJxDE9yqgiz9Rh38UVQXn4/5TltHsHiBfuvAxQBDZpBqti8 2o1RSP8WVDMgYsR6DPPHCUCv2xnifo2NbYgU92l4LKUDv2RszsGZKEJPRLzzP84dmgMf TefA== X-Gm-Message-State: ALoCoQnQBkEJU+mPXCKtx+rU4t/TU7Du2YMZCAV4TrubgQZU2lIyBbwY66tJRfnEBssH/Ety3RiW X-Received: by 10.180.99.39 with SMTP id en7mr10366966wib.10.1392032890704; Mon, 10 Feb 2014 03:48:10 -0800 (PST) Received: from muse.amr.corp.intel.com (93-173-177-113.bb.netvision.net.il. [93.173.177.113]) by mx.google.com with ESMTPSA id ju6sm34687484wjc.1.2014.02.10.03.48.09 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 10 Feb 2014 03:48:10 -0800 (PST) From: Eliad Peller To: "John W. Linville" Cc: Subject: [PATCH 18/18] wlcore: add support for STA CSA with chan contexts Date: Mon, 10 Feb 2014 13:47:34 +0200 Message-Id: <1392032854-28126-19-git-send-email-eliad@wizery.com> X-Mailer: git-send-email 1.8.5.2.229.g4448466.dirty In-Reply-To: <1392032854-28126-1-git-send-email-eliad@wizery.com> References: <1392032854-28126-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.5 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 TI wl12xx/wl18xx cards support channel switch via a driver specific switch_channel op while operating with channel contexts. Signed-off-by: Arik Nemtsov Signed-off-by: Eliad Peller --- drivers/net/wireless/ti/wlcore/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/ti/wlcore/main.c b/drivers/net/wireless/ti/wlcore/main.c index 82d5461..7aae5b3 100644 --- a/drivers/net/wireless/ti/wlcore/main.c +++ b/drivers/net/wireless/ti/wlcore/main.c @@ -5737,7 +5737,8 @@ static int wl1271_init_ieee80211(struct wl1271 *wl) IEEE80211_HW_AP_LINK_PS | IEEE80211_HW_AMPDU_AGGREGATION | IEEE80211_HW_TX_AMPDU_SETUP_IN_HW | - IEEE80211_HW_QUEUE_CONTROL; + IEEE80211_HW_QUEUE_CONTROL | + IEEE80211_HW_CHANCTX_STA_CSA; wl->hw->wiphy->cipher_suites = cipher_suites; wl->hw->wiphy->n_cipher_suites = ARRAY_SIZE(cipher_suites);