From owner-freebsd-wireless@FreeBSD.ORG Sun Jun 30 20:25:24 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 32BC2B66; Sun, 30 Jun 2013 20:25:24 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qe0-x22d.google.com (mail-qe0-x22d.google.com [IPv6:2607:f8b0:400d:c02::22d]) by mx1.freebsd.org (Postfix) with ESMTP id C42371AA4; Sun, 30 Jun 2013 20:25:23 +0000 (UTC) Received: by mail-qe0-f45.google.com with SMTP id w7so1380796qeb.18 for ; Sun, 30 Jun 2013 13:25:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=onafQv567zDeyTIGOQau61rOEO4YD3J8pv0SRHkhw3s=; b=P8Ckv8jGxAy5MBcVUkHmdXN9poVuF2sIYP0fKD8PEtO0VruoTZiSc3hQEZikUInJOt +akeYwdCBYGbAKY8X0QXYgl+WE5JDSLquiFi1OElgMIrd4gcWW3RbQjud7s1yb1Oh2MU BHwgn9sqD98nS8BYokF9DiMiLlJ1VglxiXSMYF5E8MrWYnS9Wq5X3fmjehQ4EZNsSS2y NU6iSjEAgaqDlyrMAiEV+ZHetOCyRe2moQXgUZAzPmMtfolYJraKOd0uxubOcfx1eea/ z4WCQyHAZd1vUTwOkUG6wDt9zuRUS4CTjMniCLlkvH4oQZG8dERcFT669bEPi9I8UtE1 2apg== MIME-Version: 1.0 X-Received: by 10.224.21.130 with SMTP id j2mr29364330qab.112.1372623923327; Sun, 30 Jun 2013 13:25:23 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.101.134 with HTTP; Sun, 30 Jun 2013 13:25:23 -0700 (PDT) In-Reply-To: References: <7671255B-5582-428A-8ADC-3DF7AA32C772@FreeBSD.org> <8819701.20130630194938@serebryakov.spb.ru> <1415556931.20130701000811@serebryakov.spb.ru> <638557210.20130701001136@serebryakov.spb.ru> <1342388755.20130701001505@serebryakov.spb.ru> Date: Sun, 30 Jun 2013 13:25:23 -0700 X-Google-Sender-Auth: cg56vKcJVnqam1xqomIAaoXpQbc Message-ID: Subject: Re: CFT: wpa_supplicant/hostapd import patch From: Adrian Chadd To: Rui Paulo Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Lev Serebryakov , "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jun 2013 20:25:24 -0000 On 30 June 2013 13:17, Rui Paulo wrote: > I did not investigate much. If I were you, I'd look at the Makefile from = hostapd to see which files are needed along with the necessary CONFIG_P2P m= acro. Then I would add them to our Makefile. You'll have build failures. Go= from there and figure out how it works and what needs to be done. Yes, do this. I'm going to work on (real) off-channel traffic support in net80211/ath soo= n. Basic p2p isn't that hard - we'd just create another vap (call it a p2p mode vap) and have it implement the relevant semantics for p2p (discovery, announcement, session master/slave handling, etc.) After that I believe it looks like a normal station mode connection. I _think_ that the net80211 / driver side of things is pretty simple. But I could be very wrong. However, the p2p off-channel stuff requires significant stack and driver work. I'm still sketching out what that's going to look like. I'd love for someone to "own" p2p and work with us to get something designed and into the tree! -adrian