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

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

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 figure

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

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

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

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

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.

Re: 11n in adhoc mode

2012-10-22 Thread Adrian Chadd
Yay, bug! Adrian On 22 October 2012 07:21, Adrian Chadd adr...@freebsd.org 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