From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail2.candelatech.com ([208.74.158.173]:35342 "EHLO mail2.candelatech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753940AbbDNPz1 (ORCPT ); Tue, 14 Apr 2015 11:55:27 -0400 Message-ID: <552D386E.40306@candelatech.com> (sfid-20150414_175530_563171_7FEF247D) Date: Tue, 14 Apr 2015 08:55:26 -0700 From: Ben Greear MIME-Version: 1.0 To: Johannes Berg CC: linux-wireless@vger.kernel.org Subject: Re: [RFC] mac80211_hwsim: notify user-space about channel change. References: <1424217588-29558-1-git-send-email-greearb@candelatech.com> (sfid-20150218_005956_617537_D2A9B91F) <1424692155.2782.6.camel@sipsolutions.net> <54EB66CC.1030800@candelatech.com> <1424772714.2192.16.camel@sipsolutions.net> <54EC8C5D.5090400@candelatech.com> <1424788834.2192.34.camel@sipsolutions.net> <5500AE12.6040103@candelatech.com> <1427812067.2057.27.camel@sipsolutions.net> <551AC3B6.1040001@candelatech.com> <1428999215.3019.6.camel@sipsolutions.net> <552D2A90.1070307@candelatech.com> <1429023990.3019.15.camel@sipsolutions.net> In-Reply-To: <1429023990.3019.15.camel@sipsolutions.net> Content-Type: text/plain; charset=UTF-8; format=flowed Sender: linux-wireless-owner@vger.kernel.org List-ID: On 04/14/2015 08:06 AM, Johannes Berg wrote: > On Tue, 2015-04-14 at 07:56 -0700, Ben Greear wrote: > >>> Well, the question isn't really that offloading, the question is what >>> happens with the hw-scan logic in hwsim? Though I guess now that I think >>> about it, that wouldn't show up in userspace at all with your changes. >> >> I think for HW scan and related matters, you treat user-space like a firmware >> target, so you send it a message, and then get some response or action, similar >> to how you would request ath10k or some USB dongle NIC to do things for you. > > That's not really how it works today, but it's one possible (probably > the only possible) approach. > >> My own interest in hwsim user-space is to make it act more like ath9k >> than a firmware target driver, but I don't think my changes preclude doing >> target based emulation in the future. > > True, although I'd like to see the multi-channel issue addressed better. I need a hint or two on what exactly you want changed in my patch to address your request, or maybe you or someone else can just address the issue in follow-on patches? Thanks, Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com