From patchwork Mon Dec 29 06:24:13 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eliad Peller X-Patchwork-Id: 5548131 X-Patchwork-Delegate: kvalo@adurom.com 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D450FBF6C3 for ; Mon, 29 Dec 2014 06:24:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0D9D62011E for ; Mon, 29 Dec 2014 06:24:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2CAB92011D for ; Mon, 29 Dec 2014 06:24:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751707AbaL2GYl (ORCPT ); Mon, 29 Dec 2014 01:24:41 -0500 Received: from mail-wi0-f169.google.com ([209.85.212.169]:64881 "EHLO mail-wi0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751945AbaL2GYi (ORCPT ); Mon, 29 Dec 2014 01:24:38 -0500 Received: by mail-wi0-f169.google.com with SMTP id r20so22878843wiv.0 for ; Sun, 28 Dec 2014 22:24:37 -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:subject:date:message-id:in-reply-to :references; bh=e7/tOV03O7QHt/jhAJ8YqC0gdXhFQgDrKvJIK1RHnRA=; b=ee51UWmnlywrPQJ1czhito2WV3uWpTgnPJCKam0sL6V+s4EInuBhUy3GnFHoD8jeI7 eQRgu/AGV0Lnv3elWf0ZqfTYRsU552/Z4K/PTsHhT8Un5aMKS/pyaHpIfDD2gLHJogTw t99U9QlNhlUCcKw72MBuFahq5LmFZXSyB+V8WhH9iVMO+UWudcTX49R8crmFpJr3S93v 0j36v9pmD4cpYApx3erZIZheL4Y32ntnjDpo7xiVCUh0j05gOSdTOK7lo8qvhdrC1GxJ a1dBE0plTSeL8SRCmKLtNCBA1pkuUKG+ERZHL0ezAV/L95MaE/ZbgWV1tvVGWA1yZ3iu hXOQ== X-Gm-Message-State: ALoCoQl1GhaeU7hAPU/DYbFyTWSzS6RHCb+cutmv5BSHAZlS7rFnCGy9tA9TxFSP5qosjcOyXEb5 X-Received: by 10.194.92.116 with SMTP id cl20mr109050251wjb.71.1419834277673; Sun, 28 Dec 2014 22:24:37 -0800 (PST) Received: from muse.ger.corp.intel.com (85-250-108-142.bb.netvision.net.il. [85.250.108.142]) by mx.google.com with ESMTPSA id gb10sm23488030wjb.21.2014.12.28.22.24.36 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 28 Dec 2014 22:24:37 -0800 (PST) From: Eliad Peller To: Subject: [PATCH 13/13] wl18xx: declare radar_detect_widths support for ap interfaces Date: Mon, 29 Dec 2014 08:24:13 +0200 Message-Id: <1419834253-18331-13-git-send-email-eliad@wizery.com> X-Mailer: git-send-email 1.8.5.2.229.g4448466.dirty In-Reply-To: <1419834253-18331-1-git-send-email-eliad@wizery.com> References: <1419834253-18331-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=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_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 After having all the dfs infrastructure in place, declare radar_detect_widths support for the ap interfaces combination. Signed-off-by: Eliad Peller --- drivers/net/wireless/ti/wl18xx/main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/net/wireless/ti/wl18xx/main.c b/drivers/net/wireless/ti/wl18xx/main.c index 604de24..e5bc557 100644 --- a/drivers/net/wireless/ti/wl18xx/main.c +++ b/drivers/net/wireless/ti/wl18xx/main.c @@ -1799,6 +1799,10 @@ wl18xx_iface_combinations[] = { .limits = wl18xx_iface_ap_limits, .n_limits = ARRAY_SIZE(wl18xx_iface_ap_limits), .num_different_channels = 1, + .radar_detect_widths = BIT(NL80211_CHAN_NO_HT) | + BIT(NL80211_CHAN_HT20) | + BIT(NL80211_CHAN_HT40MINUS) | + BIT(NL80211_CHAN_HT40PLUS), } };