From patchwork Fri Aug 30 13:25:26 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sreenath X-Patchwork-Id: 271292 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from maxx.maxx.shmoo.com (maxx.shmoo.com [205.134.188.171]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "maxx.shmoo.com", Issuer "CA Cert Signing Authority" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 7B7992C0097 for ; Fri, 30 Aug 2013 23:25:51 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by maxx.maxx.shmoo.com (Postfix) with ESMTP id 9D29D9D2CD; Fri, 30 Aug 2013 09:25:48 -0400 (EDT) X-Virus-Scanned: amavisd-new at maxx.shmoo.com Received: from maxx.maxx.shmoo.com ([127.0.0.1]) by localhost (maxx.shmoo.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gNCAOxWLX8JS; Fri, 30 Aug 2013 09:25:48 -0400 (EDT) Received: from maxx.shmoo.com (localhost [127.0.0.1]) by maxx.maxx.shmoo.com (Postfix) with ESMTP id CCD4D9D2C7; Fri, 30 Aug 2013 09:25:43 -0400 (EDT) X-Original-To: mailman-post+hostap@maxx.shmoo.com Delivered-To: mailman-post+hostap@maxx.shmoo.com Received: from localhost (localhost [127.0.0.1]) by maxx.maxx.shmoo.com (Postfix) with ESMTP id 84B759D2C7 for ; Fri, 30 Aug 2013 09:25:42 -0400 (EDT) X-Virus-Scanned: amavisd-new at maxx.shmoo.com Received: from maxx.maxx.shmoo.com ([127.0.0.1]) by localhost (maxx.shmoo.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BXfvOtr7keTg for ; Fri, 30 Aug 2013 09:25:38 -0400 (EDT) Received: from mms1.broadcom.com (mms1.broadcom.com [216.31.210.17]) by maxx.maxx.shmoo.com (Postfix) with ESMTP id EA85B9D2AF for ; Fri, 30 Aug 2013 09:25:37 -0400 (EDT) Received: from [10.9.208.53] by mms1.broadcom.com with ESMTP (Broadcom SMTP Relay (Email Firewall v6.5)); Fri, 30 Aug 2013 06:21:33 -0700 X-Server-Uuid: 06151B78-6688-425E-9DE2-57CB27892261 Received: from SJEXCHCAS06.corp.ad.broadcom.com (10.16.203.14) by IRVEXCHCAS06.corp.ad.broadcom.com (10.9.208.53) with Microsoft SMTP Server (TLS) id 14.1.438.0; Fri, 30 Aug 2013 06:25:27 -0700 Received: from SJEXCHMB09.corp.ad.broadcom.com ( [fe80::3da7:665e:cc78:181f]) by SJEXCHCAS06.corp.ad.broadcom.com ( [::1]) with mapi id 14.01.0438.000; Fri, 30 Aug 2013 06:25:26 -0700 From: "Sreenath S" To: "HostAP mailing list" Subject: RE: [PATCH] Avoid channel reselection, if any of the best channel is selected as operating channel Thread-Topic: [PATCH] Avoid channel reselection, if any of the best channel is selected as operating channel Thread-Index: AQHN+KrCTrMv4PPBzUKOwZw44qwQHpmvF0a+ Date: Fri, 30 Aug 2013 13:25:26 +0000 Message-ID: <5F8A83CFE238064080EB46F88B8161C1013AA8C0@SJEXCHMB09.corp.ad.broadcom.com> References: <50FE9E9F.8040900@broadcom.com> In-Reply-To: <50FE9E9F.8040900@broadcom.com> Accept-Language: en-GB, en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.9.208.57] MIME-Version: 1.0 X-WSS-ID: 7E3E43D70UO2267297-02-01 Cc: "j@w1.fi" X-BeenThere: hostap@lists.shmoo.com X-Mailman-Version: 2.1.11 Precedence: list List-Id: HostAP Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: hostap-bounces@lists.shmoo.com Errors-To: hostap-bounces@lists.shmoo.com Hello Jouni, Any update on this patch? Regards, Sreenath diff --git a/src/p2p/p2p.c b/src/p2p/p2p.c index 43f8673..c616112 100644 --- a/src/p2p/p2p.c +++ b/src/p2p/p2p.c @@ -1160,7 +1160,8 @@ static int p2p_prepare_channel_pref(struct p2p_data *p2p, } -static void p2p_prepare_channel_best(struct p2p_data *p2p) +static void p2p_prepare_channel_best(struct p2p_data *p2p, + unsigned int *best_freq) { u8 op_class, op_channel;