Message ID | 20170902014451.17766-6-igor.mitsyanko.os@quantenna.com (mailing list archive) |
---|---|
State | Changes Requested |
Delegated to: | Kalle Valo |
Headers | show
Return-Path: <linux-wireless-owner@kernel.org> 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 D067060216 for <patchwork-linux-wireless@patchwork.kernel.org>; Sat, 2 Sep 2017 01:45:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C1F4028542 for <patchwork-linux-wireless@patchwork.kernel.org>; Sat, 2 Sep 2017 01:45:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B6C242855C; Sat, 2 Sep 2017 01:45:07 +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=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI 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 5F21928542 for <patchwork-linux-wireless@patchwork.kernel.org>; Sat, 2 Sep 2017 01:45:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751411AbdIBBpG (ORCPT <rfc822;patchwork-linux-wireless@patchwork.kernel.org>); Fri, 1 Sep 2017 21:45:06 -0400 Received: from mail-co1nam03on0052.outbound.protection.outlook.com ([104.47.40.52]:13344 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751387AbdIBBpE (ORCPT <rfc822; linux-wireless@vger.kernel.org>); Fri, 1 Sep 2017 21:45:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quantenna.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=hb6CwGf9+HzOl6kIhFh+sfEWmSTQY8//QItFZs5TjIE=; b=Wfcld8zz9pF8TG5hMA57A4oPe4iUB2YFZ4ja0jRmDqQneqovLGzNZvhkk3YIz3Vyge2a4YqFunLZdA5eGqYoIujbOwuj8pkzJwDBwHNej8XKPUMYkG92WXqvDE9P6XXQYYbPX7XCFcR+BGk8nKM8JfdnZWiGaHNucqeafc+q4Rw= Received: from dodo-dell.quantenna.com (12.131.200.68) by BY2PR0501MB2039.namprd05.prod.outlook.com (10.163.197.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.35.3; Sat, 2 Sep 2017 01:44:59 +0000 From: igor.mitsyanko.os@quantenna.com To: linux-wireless@vger.kernel.org Cc: sergey.matyukevich.os@quantenna.com, avinashp@quantenna.com, johannes@sipsolutions.net Subject: [PATCH V2 5/9] qtnfmac: let wifi card handle channel switch request to the same chan Date: Fri, 1 Sep 2017 18:44:47 -0700 Message-Id: <20170902014451.17766-6-igor.mitsyanko.os@quantenna.com> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20170902014451.17766-1-igor.mitsyanko.os@quantenna.com> References: <20170902014451.17766-1-igor.mitsyanko.os@quantenna.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [12.131.200.68] X-ClientProxiedBy: MWHPR1301CA0021.namprd13.prod.outlook.com (10.174.164.162) To BY2PR0501MB2039.namprd05.prod.outlook.com (10.163.197.26) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b035aee8-5f98-4f1c-9dea-08d4f1a43906 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(300000502095)(300135100095)(22001)(2017030254152)(300000503095)(300135400095)(2017052603199)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BY2PR0501MB2039; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0501MB2039; 3:PNwSDmpvj9xToYsmOwWusRuMQg9djTFa/br/zsiOYgUWBdenKd62FaNK9rE8n87HwZykAu4y5g12JXB7Iw5BCiST+d37ksRM/Im/AwWCaeJHC9bXWzgEHwUb2K3OD2Un5C53C0YcAYodoS4kaLxTWMYi9hpkZeLyaEhqHL7OS8pA5pZdLrtZaO78nudOeWU1GkrmhKbPJY8ulF8+JlcHSKluZXRl2rjwBoT+gQXIvFxPpGnMUHvjzxzROgkwsGYf; 25:fTjo5BdncrKydbWJ9g5aNKkiGaqMwXTECsgPy8XAEe2bl0foa03NTYOr+ND05GfDz8C7pVEoVKXGsRjtKNZxahTk9mZ7E5tbSXG4j/IlpSbCNMUWM/yQTHsTb6SeQt907+9x8KnEyFRgYBhLbi39HlqRXkJ5BOGvr7d89IdAJJVMKbS9czUnUTcHRe1z6K43WFj2juDXk9NjswRl7RBhMt6goF1W6/FqqEkkCME6+hvacCgwlY6hAKn6g+GuLW6OlyNvQgMmmq/idqiwy3YY236W+SYZuZIdaL1z6tBYbics06OcaOtqfUyrqXPFwlJ19CIhddBSUxN/fUplo9LDOg==; 31:cDonk1JxuZ8v2C6tlAcfhYBxAYb8s/9mZ3e3ITENwDFzRZz0nxwkmISxoD+djQXcfxo3OkRp0stQQEfzv4mND/4d6XJr6oQtSUUPxwlElhjZpO+vGX3jqMQJzTyLBAJpAOkycoaHQZZdZHSs7yG4BVS7Z2hLZ2sWS+I2MMx6nAoBJLHvD36TwlFa+EZta/ncoPCZ5y1f/SN4dLVNTap6lTpyOH8dV9Odh30L9YKZCmU= X-MS-TrafficTypeDiagnostic: BY2PR0501MB2039: Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=igor.mitsyanko.os@quantenna.com; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0501MB2039; 20:Q5eJHK8Lj2qIEdtrY+xiIMPI8fYPYhfzhqqWRsVV790nW9xA/ZUztoJFKYfXXvKlmRcmbsjt7hfP/CogNum4uymttFGOFVu8l6pbS/q+gqGtO5fdsRFErHd/pa/UZ9UOSrw6iMD8hWGIf1wQL/Mmgq9cXvx4d0dVpJFqkDpBmdT/re/fSZo+ID8TIsmZoMKS48Uu5mgec3RK4c92k1tSOrHkpqPmJYR2/0VjAVtEmAq1/FpYY3fOmDUpbUZbVnRVrEfi4h109DnSmKElq9b3HKxY3WFLofZwjBWmKMDcTpgUNAerQprjGq7rU0HIBjd5fCv+Z8UIc97tjw5zkx2YfGZgIeLzUGlVfOH8r6ll4MRtTiR0LjDcXLKTsaTuCZSSFWkAeEZVOcdh9bFNxg34P02iw3VDnrMma27558iA043o7W2S7QdjqC80TMDIIolYrmzP6/Hm9+JkIFPri7IMuDqPHZeqHPlgbavDD3oP5tSM9KU273lsiv9tXWQWFwtk6ijygWZJpy5+9u/cJ/p/yLaGdIvD08LKn1POV+DQibDDTPALUwl7bLG/ti40dgqRepePL3B78/TFSKZmNWfBU1noCJ/Gja1f7aQZjnHTFqw=; 4:54iABLs68kGBPN/jIY4V9OomIy+SHCc1mBM/ThS8uA8J8Fg5Euj/WrhCFwtoQc9LIvsYNslhOaPKOUrXe0fIciOl58MjjhDjQUtvObntfiiE/sLZLmbEYYQMFe8fp4SkaZksKecMBDogD5j3nOQWCKM6caTj1OoIduEQO9TNLmvUMmVNIghBK9QQlrDhPPi/h/A6x40rH98hdVLdA4/UBp78dyR396aWTJbiuUuTklih1BPVDGh37IWa0Hx6AIMa X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: <BY2PR0501MB2039AF08A11AC111791D85A2B0930@BY2PR0501MB2039.namprd05.prod.outlook.com> X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3002001)(100000703101)(100105400095)(6041248)(20161123564025)(20161123562025)(20161123555025)(20161123558100)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BY2PR0501MB2039; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BY2PR0501MB2039; X-Forefront-PRVS: 04180B6720 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(39830400002)(189002)(199003)(103116003)(97736004)(50986999)(1076002)(6116002)(3846002)(76176999)(8676002)(50226002)(81166006)(85782001)(81156014)(8936002)(5003940100001)(36756003)(68736007)(2906002)(53416004)(86362001)(106356001)(478600001)(33646002)(6916009)(50466002)(2950100002)(48376002)(47776003)(2361001)(2351001)(66066001)(6666003)(4326008)(7736002)(9686003)(5660300001)(189998001)(42186005)(6486002)(53936002)(305945005)(110136004)(105586002)(69596002)(101416001)(25786009)(85772001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR0501MB2039; H:dodo-dell.quantenna.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: quantenna.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR0501MB2039; 23:GpXLcqckOThKX11EwHTrXagJA5xIAbgkSJSzEr+?= =?us-ascii?Q?90NdrqxZo7EZd1Pd+484aGq8CAQYZ5+7VakLJbl6RuEoiaeSoEDfY3AXzm5A?= =?us-ascii?Q?XwphCD8LWw88DcPG7tPZl/K8QHEulhkCRWZEUpNf8AGYsL/ewbdPRwl5g+AK?= =?us-ascii?Q?jTLD/ZBks5t9wq8RS1vkoPgQk+3jDlqHJ73YjC0cuLFxm/XFnfurTXHOBwX0?= =?us-ascii?Q?raAPBLEHq/SIMfQvqY3Ay/Z/JiGWDmw9FeN/30H7kJ75gitd5C4n3P7Glim7?= =?us-ascii?Q?la/Nxfk7NU3PBqwBtfSi/scdqCeYPgnWcxm7ep77E4hoVCO0xVj+NSzlXlOw?= =?us-ascii?Q?fu54gFYnLucZXBV2+wI2BNK1RP7iakVqVwCpskTsoFICU5Jp2Qj66mUYSVug?= =?us-ascii?Q?PgJjJKuiK2AVFPbuS+OlWSVMSKUTqRcsExaxWSS2KPwUueBNkx6gkFXCjNSk?= =?us-ascii?Q?T41um/kuIN898gesBEvDf07SEGs467GP5ZB6HAFLU+qtSwbe3oEA4jDdhLft?= =?us-ascii?Q?8jEwpDZWZPP6uz8h69yJiCJ5RaTHEuoOmYU7YkSnkh4hX4LmHD7p79PtKtts?= =?us-ascii?Q?v9whkJaEcv15tYiRQmeHgfiUULmdrop5n/X0YbZPEo34Qyvl90ikTHGMxVSd?= =?us-ascii?Q?AyT5pnqXA4eo7ELoUV+KKRsuJCktatrIWt7othakM9qiNk391cRX9mIO/8/r?= =?us-ascii?Q?/yDoFp6U1I50LNyq22GxZT+KAwXYj4C8nNQrYf2xXvpDzh7ovYtUTZYReFAR?= =?us-ascii?Q?hvnnFX8A4Ahjddl6tgCNTOgmlxzWTdjq4dQdi7RmCYVV29GONE/t0fravK+U?= =?us-ascii?Q?pQcX4epqTdGua7bnO9ErjZgA0ZvoxAriZcRAubNKpU5ghAL4PED4V3rre6c+?= =?us-ascii?Q?c7Z2vgM/25wPsFSOleQSWjl5uUCePPD+V9j2GG4/J6P37YuMhp6p+DvcsKby?= =?us-ascii?Q?yxu+PrfypWQIQgtIw6xggcairXrKNl2q+QfGkpnRAImZqQyPO0MmxXCBEHkg?= =?us-ascii?Q?7peiOc+U7zK8L6yTUFlq9WtSqsKkbhajciSroWxN71wqw/OE+oQVNLntRdFz?= =?us-ascii?Q?lROolfNe2NzE9g4IhCbV9PaUm5/zQ/cg1bRtvJEoamhCGQtZBfgiyRDFB+ks?= =?us-ascii?Q?LG62e1hxxZy75JIHTVnmHAeGKvoL+rJFLzCr4m/oFViIfpTRaxCrEDxrc2Bp?= =?us-ascii?Q?Je02hFww3ZyagzPY=3D?= X-Microsoft-Exchange-Diagnostics: 1; BY2PR0501MB2039; 6:OgdW1M/O9MMXnOH8zpU60NtR2MJNyaNctlKc6prVwZJi9ubG8tKNKw7x66+msRcWJxorD1bZ1a4+sHjgh1IHrQEN0DeDX+5H3f7DiT8f/QOLjiFhcwsWRFEsYwJybRB7bmedFoVX+BjZnqL9vfPVrt4miOTsh56wqxLv0W4MdNpAlIlnbtSMWd4bTtD8yzfpKC8Ye3aiiO12HCYT66Q8l2ERDNU2fm2eV//Uj6LdiycoQoO4jnncRIn7Qz0RIpQsg0P3UkraARrRAZHyocgv8NuSdEU0BHOwIkH5k0rKDME5NgF/JFq1tA9+Y3JnJRC7pXhmWHA4fMI2ca3hYVPdfQ==; 5:K8c6jZ9FOCXeQ4c0T9nrCSlwC8W37i8cENf6H6IofkxyXMo3XBLJJKvZ228Ke3Mvfk5Q6QczJA58bRQe3sVo7KBBzMZzuUyAyUJ4M7Mdo724RyrQqpH6EcngLBObNC9RtIVGuwR2s2yhaT735KZdJQ==; 24:ZwXS3SqIeJvh5Cwe5dt8bLFObG6QWbucjXTXUxlTD+P3JpZQ6mUXd7wF7buuxfdl9WrWO3XQ4yCva7j3hbbeFtNyPqfeOsapJRW7eFnY48M=; 7:EPEKQl9x5Haqo+pUNJZhw5SVquBynMghKoy6Gcz4kvqvAnISxWvLfT6k7wocB5omhmJUwnM02Lffgoo4AWQppmCO+vWeDw5JpAnY7bJs0etYK1VxYOZbxDeeZEjCjgA8LKlIPxJ/nQ9DYYL7Tn9Nm9dqTDSQQGoA5BZYvOUAn31669LyMnPkKWkqKGBM7bRAP+X5kagOyqTmJ6/qRNDllAeqxfjE84nVVpDfGyElkbQ= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: quantenna.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Sep 2017 01:44:59.6310 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a355dbce-62b4-4789-9446-c1d5582180ff X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR0501MB2039 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: <linux-wireless.vger.kernel.org> X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/net/wireless/quantenna/qtnfmac/cfg80211.c b/drivers/net/wireless/quantenna/qtnfmac/cfg80211.c index 17b323e..4590f30 100644 --- a/drivers/net/wireless/quantenna/qtnfmac/cfg80211.c +++ b/drivers/net/wireless/quantenna/qtnfmac/cfg80211.c @@ -846,11 +846,6 @@ static int qtnf_channel_switch(struct wiphy *wiphy, struct net_device *dev, return -EINVAL; } - if (cfg80211_chandef_identical(¶ms->chandef, &mac->chandef)) { - pr_err("%s: switch request to the same channel\n", dev->name); - return -EALREADY; - } - ret = qtnf_cmd_send_chan_switch(mac, params); if (ret) pr_warn("%s: failed to switch to channel (%u)\n",