Re: 11n in adhoc mode

2012-12-12 Thread Adrian Chadd
Let me do some more digging. If you set the channel like that you run through a different code path to if you do it via scanning. Also, I did tidy up and remove some code before I posted that diff. Maybe some of it was needed. mesh-2870:~ # athratestats -i ath1 -m 00:0c:42:6c:61:91 static_rix (-1

Re: 11n in adhoc mode

2012-12-12 Thread Johann Hugo
On Wednesday, December 12, 2012 01:58:38 AM Adrian Chadd wrote: > Here's what I have trimmed this down to so far: > > http://people.freebsd.org/~adrian/ath/20121212-11n-ibss-and-other-stuff-3.di > ff > > Please disable ampdu for now (ifconfig wlanX -ampdu) as it just plain > doesn't work. > I'll

Re: 11n in adhoc mode

2012-12-12 Thread Adrian Chadd
.. hey, scratch that. 11n aggregation works in IBSS mode with my patch, at least on ath(4). I bet there's all kinds of weird subtle crap going on that we need to fix, but the basics are working. Adrian ___ freebsd-wireless@freebsd.org mailing list ht

Re: 11n in adhoc mode

2012-12-12 Thread Adrian Chadd
Here's what I have trimmed this down to so far: http://people.freebsd.org/~adrian/ath/20121212-11n-ibss-and-other-stuff-3.diff Please disable ampdu for now (ifconfig wlanX -ampdu) as it just plain doesn't work. I'll figure out why once I figure out the cleanest way to get this 11n IBSS stuff work

Re: 11n in adhoc mode

2012-12-11 Thread Adrian Chadd
Hm, you may be right; but I disabled HT protection entirely and stuck it on a very quiet channel. It's possible both ends were colliding with each other though. I did add some HT update code to the adhoc beacon processing, though. It's just not entirely clear how to handle that given the nature o

Re: 11n in adhoc mode

2012-12-11 Thread PseudoCylon
> -- > > Message: 1 > Date: Tue, 11 Dec 2012 01:19:51 -0800 > From: Adrian Chadd > To: Johann Hugo > Cc: freebsd-wireless@freebsd.org > Subject: Re: 11n in adhoc mode > Message-ID: > >

Re: 11n in adhoc mode

2012-12-11 Thread Adrian Chadd
.. so now I have 11n IBSS working, but the performance is pretty shocking. I bet there's some timers that are just not programmed correctly. I see massive numbers of long retries and CRC errors. In any case, there are a few odd things out: * ieee80211_ies_expand() doesn't parse HTINFO, only HTCAP

Re: 11n in adhoc mode

2012-12-10 Thread Adrian Chadd
Ok, wow. I think I finally understand the level of "huh?" going on here. When a new BSS is created, everything now works out great. It creates a BSS, the channel is promoted to 11n correctly, it gets the 11n IE's populated, etc. When you're joining a BSS however, it doesn't do any of this. adhoc_

Re: 11n in adhoc mode

2012-12-10 Thread Adrian Chadd
Ok, I've started digging into this a bit more. I need to get 11n adhoc working so I can get 11n ahdemo working, so we can actually do 11n TDMA at some point in the near future. There's a whole lot of missing stuff: * ieee80211_add_neighbor() and ieee80211_init_neighbor() don't know about HT at al

Re: 11n in adhoc mode

2012-10-22 Thread Adrian Chadd
Ok, Please reply to the PR with some debugging output. On both nodes, enable this: wlandebug -i wlanX +assoc +ht +rate Then do some pings on either side. Don't do iperf, it'll dump out way too much debugging (one line per frame.) Just pings and record both sides is enough. It'll tell me how th

Re: 11n in adhoc mode

2012-10-22 Thread Johann Hugo
http://www.freebsd.org/cgi/query-pr.cgi?pr=172955 Johann On Monday 22 October 2012 19:19:43 Adrian Chadd wrote: > Yay, bug! > > > > Adrian > > On 22 October 2012 07:21, Adrian Chadd wrote: > > .. please file a bug. :-) Now that I have VIMAGE mostly working with > > wifi, I'd like to take the

Re: 11n in adhoc mode

2012-10-22 Thread Adrian Chadd
Yay, bug! Adrian On 22 October 2012 07:21, Adrian Chadd wrote: > .. please file a bug. :-) Now that I have VIMAGE mostly working with > wifi, I'd like to take the opportunity to fix whatever 11n ibss bugs > you see. > > There's no reason why aggregation and MCS rates shouldn't work with > IBS

Re: 11n in adhoc mode

2012-10-22 Thread Adrian Chadd
.. please file a bug. :-) Now that I have VIMAGE mostly working with wifi, I'd like to take the opportunity to fix whatever 11n ibss bugs you see. There's no reason why aggregation and MCS rates shouldn't work with IBSS. The only questionable issue right now is encryption and that requires some st

Re: 11n in adhoc mode

2012-10-18 Thread Adrian Chadd
Ah, it looks like the MCS rate stuff isn't being setup or negotiated right? Please file a bug. I'm not sure if I'll have time to dig into it though; but it should be easy to fix. adrian On 18 October 2012 00:48, Johann Hugo wrote: > On Thursday 18 October 2012 09:37:09 Adrian Chadd wrote: > >

Re: 11n in adhoc mode

2012-10-18 Thread Johann Hugo
On Thursday 18 October 2012 09:37:09 Adrian Chadd wrote: > Hi, > > Try disabling ampdu - ifconfig wlanX -ampdu Nope, still the same. (done on both sides) mesh-1d04:~ # ifconfig wlan1 -ampdu mesh-1d04:~ # ifconfig wlan1 wlan1: flags=8843 metric 0 mtu 1500 ether 00:0c:42:6c:61:91

Re: 11n in adhoc mode

2012-10-18 Thread Adrian Chadd
Hi, Try disabling ampdu - ifconfig wlanX -ampdu Adrian On 18 October 2012 00:34, Johann Hugo wrote: > Hi > > Finally got a 11n test setup running FreeBSD 10.0-CURRENT on two ARM boards. > > HW = gateworks ARM > OS = FreeBSD 10.0-CURRENT > Build = arm-10-20121011 > Wifi = RouterBOARD R52nM =