From patchwork Wed Mar 14 12:29:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ramon Fried X-Patchwork-Id: 10282035 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B0D7660211 for ; Wed, 14 Mar 2018 12:29:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A0F2E288AD for ; Wed, 14 Mar 2018 12:29:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 944E8288B5; Wed, 14 Mar 2018 12:29:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 43F58288AD for ; Wed, 14 Mar 2018 12:29:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751274AbeCNM3p (ORCPT ); Wed, 14 Mar 2018 08:29:45 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:40228 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750905AbeCNM3o (ORCPT ); Wed, 14 Mar 2018 08:29:44 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id A28B6602FC; Wed, 14 Mar 2018 12:29:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1521030583; bh=Yz1o6qLNqn8WZLbeuPgBtlmfvrXSFPlHi0HUyrqKowk=; h=From:To:Cc:Subject:Date:From; b=S8KQ49svrzJQJoYbB9d8hQQZM1/UCA16gD/SzeG31UlqkmpOdPNMOXKF32DGfmaSd SdJEUoZiAHgL2snL7rvKjVJPaxfaoct7wWue0xi88+iZ8QoZjBBENmFxosYzT9MB+1 QeZdaIHmdhoNOpDMiF/oqnHp7xheqshewjAGNjkY= Received: from lx-rfried.mea.qualcomm.com (unknown [185.23.60.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: rfried@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id B860760452; Wed, 14 Mar 2018 12:29:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1521030583; bh=Yz1o6qLNqn8WZLbeuPgBtlmfvrXSFPlHi0HUyrqKowk=; h=From:To:Cc:Subject:Date:From; b=S8KQ49svrzJQJoYbB9d8hQQZM1/UCA16gD/SzeG31UlqkmpOdPNMOXKF32DGfmaSd SdJEUoZiAHgL2snL7rvKjVJPaxfaoct7wWue0xi88+iZ8QoZjBBENmFxosYzT9MB+1 QeZdaIHmdhoNOpDMiF/oqnHp7xheqshewjAGNjkY= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org B860760452 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=rfried@codeaurora.org From: Ramon Fried To: k.eugene.e@gmail.com, kvalo@codeaurora.org, wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org Cc: Ramon Fried Subject: [PATCH] wcn36xx: turn off probe response offloading Date: Wed, 14 Mar 2018 14:29:37 +0200 Message-Id: <20180314122937.14119-1-rfried@codeaurora.org> X-Mailer: git-send-email 2.15.1 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP It appears that the WCN36xx firmware doesn't actually respond to probe requests. Until it's resolved, switch the probe response responsibility to the 802.11 layer to allow creation of hidden SSID AP's. Signed-off-by: Ramon Fried --- drivers/net/wireless/ath/wcn36xx/main.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/wireless/ath/wcn36xx/main.c b/drivers/net/wireless/ath/wcn36xx/main.c index ab5be6d2c691..9d8c177ac7e1 100644 --- a/drivers/net/wireless/ath/wcn36xx/main.c +++ b/drivers/net/wireless/ath/wcn36xx/main.c @@ -1155,8 +1155,6 @@ static int wcn36xx_init_ieee80211(struct wcn36xx *wcn) wcn->hw->wiphy->cipher_suites = cipher_suites; wcn->hw->wiphy->n_cipher_suites = ARRAY_SIZE(cipher_suites); - wcn->hw->wiphy->flags |= WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD; - #ifdef CONFIG_PM wcn->hw->wiphy->wowlan = &wowlan_support; #endif