Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Lev Serebryakov
Hello, Rui. You wrote 30 июня 2013 г., 5:04:44: RP> I have a patch that updates the base system version of wpa_supplicant / hostapd at: RP> http://people.freebsd.org/~rpaulo/wpa-2.0.diff RP> Beware that it's big. It would be really helpful if you could test it before I commit it. Patch

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Rui Paulo
On 30 Jun 2013, at 08:49, Lev Serebryakov wrote: > Hello, Rui. > You wrote 30 июня 2013 г., 5:04:44: > > RP> I have a patch that updates the base system version of wpa_supplicant / > hostapd at: > RP> http://people.freebsd.org/~rpaulo/wpa-2.0.diff > RP> Beware that it's big. It would be

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Rui Paulo
On 30 Jun 2013, at 09:20, Rui Paulo wrote: > On 30 Jun 2013, at 08:49, Lev Serebryakov wrote: > >> Hello, Rui. >> You wrote 30 июня 2013 г., 5:04:44: >> >> RP> I have a patch that updates the base system version of wpa_supplicant / >> hostapd at: >> RP> http://people.freebsd.org/~rpau

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Lev Serebryakov
Hello, Rui. You wrote 30 июня 2013 г., 20:20:45: RP> Looks like svn wasn't smart enough to include the copy in the RP> diff output. Can you copy driver_bsd.c from vendor/wpa/dist/src/drivers? Now it is Patching file contrib/wpa/src/utils/radiotap.h using Plan A... Reversed (or previously applied

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Lev Serebryakov
Hello, Rui. You wrote 30 июня 2013 г., 20:27:51: RP> Actually, I just need to use svn diff --show-copies-as-adds. I've updated the patch: RP> http://people.freebsd.org/~rpaulo/wpa-2.0.diff.gz And it is better to apply it with "svn patch", not simple "patch". BTW, do you have plan to

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Rui Paulo
On 30 Jun 2013, at 13:08, Lev Serebryakov wrote: > Hello, Rui. > You wrote 30 июня 2013 г., 20:27:51: > > RP> Actually, I just need to use svn diff --show-copies-as-adds. I've updated > the patch: > RP> http://people.freebsd.org/~rpaulo/wpa-2.0.diff.gz > And it is better to apply it wit

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Lev Serebryakov
Hello, Rui. You wrote 1 июля 2013 г., 0:09:39: RP> On 30 Jun 2013, at 13:08, Lev Serebryakov wrote: >> RP> Actually, I just need to use svn diff --show-copies-as-adds. I've >> updated the patch: >> RP> http://people.freebsd.org/~rpaulo/wpa-2.0.diff.gz >> And it is better to apply it wit

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Rui Paulo
On 30 Jun 2013, at 13:11, Lev Serebryakov wrote: > Hello, Rui. > You wrote 1 июля 2013 г., 0:09:39: > > RP> On 30 Jun 2013, at 13:08, Lev Serebryakov wrote: > >>> RP> Actually, I just need to use svn diff --show-copies-as-adds. I've >>> updated the patch: >>> RP> http://people.freebsd

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Lev Serebryakov
Hello, Rui. You wrote 1 июля 2013 г., 0:13:04: RP> Yes, it does. I don't have any plans to work on P2P, sorry. Could you give some links/pointers to what is needed from drivers/stack to make it work? Is here any documentation on API, or something like that? -- // Black Lion AKA Lev Serebryakov

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Rui Paulo
On 30 Jun 2013, at 13:15, Lev Serebryakov wrote: > Hello, Rui. > You wrote 1 июля 2013 г., 0:13:04: > > RP> Yes, it does. I don't have any plans to work on P2P, sorry. > Could you give some links/pointers to what is needed from > drivers/stack to make it work? Is here any documentation on API,

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Adrian Chadd
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 > macro. Then I would add them to our Makefile. You'll have build failures. Go > from there and figure

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Lev Serebryakov
Hello, Rui. You wrote 1 июля 2013 г., 0:17:30: RP> I did not investigate much. If I were you, I'd look at the Makefile RP> from hostapd to see which files are needed along with the necessary RP> CONFIG_P2P macro. Then I would add them to our Makefile. You'll have RP> build failures. Go from there

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Adrian Chadd
They're all available for free. The drafts are kept private during the draft process. But after they are standardised, it's all published. Google "802.11-2012" -adrian On 30 June 2013 13:25, Lev Serebryakov wrote: > Hello, Rui. > You wrote 1 июля 2013 г., 0:17:30: > > RP> I did not investiga

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Rui Paulo
On 30 Jun 2013, at 13:25, Lev Serebryakov wrote: > "how it works" is most scary part. As far as I understand, 802.11 standards > are not freely-available. Or they are? I need to investigate it. No, they aren't :-( That said, if you can look at the source code of mac80211/ath9k I think you coul

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Adrian Chadd
Lemme search through 802.11-2012. I have ithere. -adrian On 30 June 2013 13:28, Rui Paulo wrote: > On 30 Jun 2013, at 13:25, Lev Serebryakov wrote: > >> "how it works" is most scary part. As far as I understand, 802.11 standards >> are not freely-available. Or they are? I need to investigate

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Lev Serebryakov
Hello, Adrian. You wrote 1 июля 2013 г., 0:25:23: AC> Basic p2p isn't that hard - we'd just create another vap (call it a AC> p2p mode vap) and have it implement the relevant semantics for p2p AC> (discovery, announcement, session master/slave handling, etc.) After AC> that I believe it looks like

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Adrian Chadd
On 30 June 2013 13:34, Lev Serebryakov wrote: > And off-channel mode is mode, when here is (true) AP, which coordinates 2 > clients to send traffic directly, without AP routing? I don't know the underlying details. I just know what the driver has to do - fast channel change and buffering frame

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Adrian Chadd
Crap, it seems that you're right. There's no mention of wifi direct or p2p in 802.11-2012. -adrian On 30 June 2013 13:31, Adrian Chadd wrote: > Lemme search through 802.11-2012. I have ithere. > > > > -adrian > > > On 30 June 2013 13:28, Rui Paulo wrote: >> On 30 Jun 2013, at 13:25, Lev Sereb

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Lev Serebryakov
Hello, Adrian. You wrote 1 июля 2013 г., 0:36:10: AC> Crap, it seems that you're right. There's no mention of wifi direct or AC> p2p in 802.11-2012. It looks like it is not "official" part of 802.11 http://en.wikipedia.org/wiki/WiFi_Direct I could not find which part ("letter code") of standa

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Rui Paulo
On 30 Jun 2013, at 13:42, Lev Serebryakov wrote: > Hello, Adrian. > You wrote 1 июля 2013 г., 0:36:10: > > AC> Crap, it seems that you're right. There's no mention of wifi direct or > AC> p2p in 802.11-2012. > It looks like it is not "official" part of 802.11 > > http://en.wikipedia.org/wiki/W

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Adrian Chadd
Greeeat. Well, I'd love to see this appear. I wonder how we can legitimately get a copy of this for us to use to develop the thing. -adrian On 30 June 2013 13:42, Lev Serebryakov wrote: > Hello, Adrian. > You wrote 1 июля 2013 г., 0:36:10: > > AC> Crap, it seems that you're right. There's no m

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Lev Serebryakov
Hello, Rui. You wrote 1 июля 2013 г., 0:45:15: RP> You can buy them from WiFi alliance: RP> https://www.wi-fi.org/knowledge-center/published-specifications So, it more like high-level "howto" than low-level standard, as it looks like to be built on AP operations from standard itself... -

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Adrian Chadd
blah, lemme ask some people who know people @ wifi alliance for some help. maybe we can get FreeBSD in as a member somehow without having to pay ridiculous levels of cash. We don't need certification, just access to specifications. -adrian ___ freebsd

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Lev Serebryakov
Hello, Adrian. You wrote 1 июля 2013 г., 0:52:56: AC> blah, lemme ask some people who know people @ wifi alliance for some help. AC> maybe we can get FreeBSD in as a member somehow without having to pay AC> ridiculous levels of cash. We don't need certification, just access to AC> specifications.

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Adrian Chadd
Certification isn't our problem. That's a manufacturer problem. _THEY_ have to certify the device anyway. Regardless of whether we have the stack certified. same deal with FCC certification. Just because our stack is certified, doesn't mean that the product will meet FCC certification requirement

Re: CFT: wpa_supplicant/hostapd import patch

2013-06-30 Thread Lev Serebryakov
Hello, Adrian. You wrote 1 июля 2013 г., 1:00:49: AC> Certification isn't our problem. That's a manufacturer problem. AC> _THEY_ have to certify the device anyway. Regardless of whether we AC> have the stack certified. I don't know WiFi Alliance rules, but when I participated in project, whic

[cft] net80211 PHY changes to include 11n tables, take #1

2013-06-30 Thread Adrian Chadd
mewhere to "pretend" the rates are non-11n when they indeed are, so the rate control code can do it's thing. i'd obviously like to kill _that_. The patch is here: http://people.freebsd.org/~adrian/ath/20130630-net80211-phy-11n-1.diff Please give it a whirl. It's only r