Message ID | 20200415161147.69738-7-Jerome.Pouiller@silabs.com |
---|---|
State | New |
Headers | show
Return-Path: <SRS0=B/QS=57=vger.kernel.org=netdev-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.7 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MSGID_FROM_MTA_HEADER, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6D75EC2BB85 for <netdev@archiver.kernel.org>; Wed, 15 Apr 2020 16:15:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 435D6206F9 for <netdev@archiver.kernel.org>; Wed, 15 Apr 2020 16:15:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=silabs.onmicrosoft.com header.i=@silabs.onmicrosoft.com header.b="QQ9un7Y5" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2410300AbgDOQPR (ORCPT <rfc822;netdev@archiver.kernel.org>); Wed, 15 Apr 2020 12:15:17 -0400 Received: from mail-eopbgr700077.outbound.protection.outlook.com ([40.107.70.77]:38433 "EHLO NAM04-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2410232AbgDOQMl (ORCPT <rfc822;netdev@vger.kernel.org>); Wed, 15 Apr 2020 12:12:41 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TbsgMox4z5MMRNQuSiBH6Ej3Q4gA2LSK/vGnqtalXNJnO15WZzXQjJ1udqKykceX6cXbGVVdiL1RkWKrEVBNgj89XX1Ctm2DGX1jboC8IIsV3fXXVzv9GS4auRwsDn7aeSoHBD5VmGH4gnmbfUkw8Koh1jI/POqWhcKZ+D/ZVmZFxWkSj4yBS5PmFiIJ+AWXMVtaMEoFS9EsKXM0ZZFVo3eW4XFvVZnvkD3SNKp2dJzwGtaEROiN3LPQig/ZfmqXBwzxu8PTcUlC2aRDhWaiLShAl9HkhW32T9DLmoOzOM5qmW3JBmezkXXM5OR6KI7cDxYvP7jMFveZBJ6PjNpYfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QnDQbYauOVk+7VMzQsHEDc6STiuq5cdmmsNP+qWKSoA=; b=U2F/wGEeeVmYha7MxScQlFBI8P6W5cPiFmBQ+UL/5HAXtJcgFsCR98Eg1AReKJzhjimf8OEksQ9EISLv+WuVRZeXXNlpDJGwUD5hyq6wd8HxLK19mHjM0WDfUYX6qLvqvJTMzejsV8xHixuKVStAyHbU2E/VmcWTq8xH546VVtF/RohmrA7jHIvQyB0uAs+dEVn3PMdWYLItFG6W15290+rOMlm48s2njzGTO/qLQHCFn/VY8sXiKSqROHcPx3Tg0yfXfQCQohbYBOlm+O9mJQOYAPykXI59cx+QujpbZ4wcSKbsNhlsgN37rnbWrQkEINCHIhacyhRG4hm0kQLXAg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=silabs.com; dmarc=pass action=none header.from=silabs.com; dkim=pass header.d=silabs.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=silabs.onmicrosoft.com; s=selector2-silabs-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QnDQbYauOVk+7VMzQsHEDc6STiuq5cdmmsNP+qWKSoA=; b=QQ9un7Y5qP+yVKN6zfTThYztyVPAUUVJpe9Ge1tBKsNk67yNUGH6EFOYSreCeUSdiWehILe6MdprgEyjcvL8Oxg1Fwnd6s0RKKeQTKBnoeA8xmot3If0FfZfEOYBrfIsVJAVq9AyD6JRiqbJOtruzAUvgRlcTjA0VZOt+dITvX0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerome.Pouiller@silabs.com; Received: from MWHPR11MB1775.namprd11.prod.outlook.com (2603:10b6:300:10e::14) by MWHPR11MB1408.namprd11.prod.outlook.com (2603:10b6:300:24::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.25; Wed, 15 Apr 2020 16:12:27 +0000 Received: from MWHPR11MB1775.namprd11.prod.outlook.com ([fe80::81d5:b62b:3770:ffbe]) by MWHPR11MB1775.namprd11.prod.outlook.com ([fe80::81d5:b62b:3770:ffbe%10]) with mapi id 15.20.2921.024; Wed, 15 Apr 2020 16:12:27 +0000 From: Jerome Pouiller <Jerome.Pouiller@silabs.com> To: devel@driverdev.osuosl.org, linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Kalle Valo <kvalo@codeaurora.org>, "David S . Miller" <davem@davemloft.net>, =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= <jerome.pouiller@silabs.com> Subject: [PATCH 06/20] staging: wfx: do not wait for a dtim before associate Date: Wed, 15 Apr 2020 18:11:33 +0200 Message-Id: <20200415161147.69738-7-Jerome.Pouiller@silabs.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200415161147.69738-1-Jerome.Pouiller@silabs.com> References: <20200415161147.69738-1-Jerome.Pouiller@silabs.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-ClientProxiedBy: PR1PR01CA0027.eurprd01.prod.exchangelabs.com (2603:10a6:102::40) To MWHPR11MB1775.namprd11.prod.outlook.com (2603:10b6:300:10e::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from pc-42.home (2a01:e35:2435:66a0:544b:f17b:7ae8:fb7) by PR1PR01CA0027.eurprd01.prod.exchangelabs.com (2603:10a6:102::40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.25 via Frontend Transport; Wed, 15 Apr 2020 16:12:24 +0000 X-Mailer: git-send-email 2.25.1 X-Originating-IP: [2a01:e35:2435:66a0:544b:f17b:7ae8:fb7] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 45611e6e-b141-4af5-6d1e-08d7e157ca39 X-MS-TrafficTypeDiagnostic: MWHPR11MB1408: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <MWHPR11MB1408DC642CCDB93AA067006E93DB0@MWHPR11MB1408.namprd11.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-Forefront-PRVS: 0374433C81 X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR11MB1775.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(136003)(396003)(376002)(346002)(39850400004)(366004)(8886007)(8936002)(5660300002)(2906002)(6666004)(86362001)(8676002)(478600001)(81156014)(66574012)(1076003)(4326008)(52116002)(316002)(54906003)(107886003)(186003)(16526019)(66556008)(66476007)(36756003)(2616005)(6512007)(6486002)(6506007)(66946007); DIR:OUT; SFP:1101; Received-SPF: None (protection.outlook.com: silabs.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: PH4AjniiZu/Fdl2fZBwAUNKv2i5EbVR5NzOWDnucaN+s6IgxX93vqDKywQDkUWOx42IuKRy6avn7clBoxwXahWhGaEjBHaSr7imKe8M28wbcPXMJYtqAPZD4EA7Zr3d+clvE8BYoYj6yxzZ/vqMiol2wVp5y4b1bQ/BqPUjwp+ty76WOK+DaSCIQk95p2u/tO+QjPGqhs62XLdi2ZGlDWYk3IaTr+KRdOYue6qYLdLIiGZgLbNUPnpdBocM5+SqBc35dGFJWYLTMTFQT1T8xIdIsNy552wCidKJ/ZwyRQ6iNB6T2PrmBEOEY/bA4VaZUpDMCo6DMdHTSBgj4zSM4C96HhYmg66+kq7IJIWYOSeTk+FgGYEi2C2g2FkwcTUoPhGcHaaKhXawxLxxIyQd5TTYW/YaEpG41f8vjXsVrKavh1P+fbmAt04UxUJAnCTMb X-MS-Exchange-AntiSpam-MessageData: TSnaeVkNvOWueAgiLDiIHBD0OQE4ml9GZgBjv0C6GzeyfqjxA8XwyUGXV0ETw9+odL5v/kDQZO8ocKdN2vywsmPJPpWkb8ARBfrv83PwJp77FcMkjaz557lRK1U1pLJsVGZ8KqAEH4202MXEMU3uMrczgzTqSNaeQH44zMCpZi9YE/GLs8+B8M7qkJ15xddJUs1LS9Hx1d033U5NGXcjqA== X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 45611e6e-b141-4af5-6d1e-08d7e157ca39 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Apr 2020 16:12:26.9079 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 54dbd822-5231-4b20-944d-6f4abcd541fb X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: BECVX+Br893c0ueyx2yJkyuVa7DirG7oW9PejcFNIuGrNT0vTLsuIHJpR+XLoXNlrpfIZVqOpwDkheQh/jEpKA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1408 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: <netdev.vger.kernel.org> X-Mailing-List: netdev@vger.kernel.org |
Series |
staging: wfx: simplify filtering
|
expand
|
diff --git a/drivers/staging/wfx/main.c b/drivers/staging/wfx/main.c index b8a01ba0d381..8a2c96dacd63 100644 --- a/drivers/staging/wfx/main.c +++ b/drivers/staging/wfx/main.c @@ -288,7 +288,6 @@ struct wfx_dev *wfx_init_common(struct device *dev, SET_IEEE80211_DEV(hw, dev); - ieee80211_hw_set(hw, NEED_DTIM_BEFORE_ASSOC); ieee80211_hw_set(hw, TX_AMPDU_SETUP_IN_HW); ieee80211_hw_set(hw, AMPDU_AGGREGATION); ieee80211_hw_set(hw, CONNECTION_MONITOR); diff --git a/drivers/staging/wfx/sta.c b/drivers/staging/wfx/sta.c index 7255899b4a5a..c8a23146cae0 100644 --- a/drivers/staging/wfx/sta.c +++ b/drivers/staging/wfx/sta.c @@ -630,8 +630,7 @@ static void wfx_join_finalize(struct wfx_vif *wvif, wvif->state = WFX_STATE_STA; hif_keep_alive_period(wvif, 0); hif_set_bss_params(wvif, &wvif->bss_params); - hif_set_beacon_wakeup_period(wvif, info->dtim_period, - info->dtim_period); + hif_set_beacon_wakeup_period(wvif, 1, 1); wfx_update_pm(wvif); } }