From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 0A3E7C31E46 for ; Wed, 12 Jun 2019 19:18:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D3DA920B7C for ; Wed, 12 Jun 2019 19:18:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727813AbfFLTSl (ORCPT ); Wed, 12 Jun 2019 15:18:41 -0400 Received: from mga18.intel.com ([134.134.136.126]:26770 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727496AbfFLTSk (ORCPT ); Wed, 12 Jun 2019 15:18:40 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Jun 2019 12:18:39 -0700 X-ExtLoop1: 1 Received: from jprestwo-test.jf.intel.com ([10.54.74.49]) by fmsmga001.fm.intel.com with ESMTP; 12 Jun 2019 12:18:39 -0700 Message-ID: Subject: Re: ROC event when CMD_FRAME duration expires From: James Prestwood To: Johannes Berg , linux-wireless@vger.kernel.org Date: Wed, 12 Jun 2019 12:18:25 -0700 In-Reply-To: <292712d7505871a093bd596d2e03ec7d811370f9.camel@sipsolutions.net> References: (sfid-20190611_225154_549360_F87329DC) <292712d7505871a093bd596d2e03ec7d811370f9.camel@sipsolutions.net> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Wed, 2019-06-12 at 21:11 +0200, Johannes Berg wrote: > On Tue, 2019-06-11 at 13:51 -0700, James Prestwood wrote: > > Hi, > > > > I see that the event CMD_CANCEL_REMAIN_ON_CHANNEL is emitted when a > > CMD_REMAIN_ON_CHANNEL duration expires, but this is not true for > > CMD_FRAME when sending offchannel and providing a duration. I see > > wpa_supplicant handles this with its own timeout, but couldn't the > > same > > event be emitted for CMD_FRAME if the duration expires? > > I guess? I guess this is for a case where you actually have a wait > after > the TX, for waiting for a response? Yes exactly. For example a GAS/ANQP request before association to some offchannel AP (that's at least our use case). Thanks, James > > johannes >