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
.. 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
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
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
.. 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
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
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
doing it all on a single laptop with two ath
NICs, using vimage. Yes, evil.)
Anyway. I think I'm getting slightly closer to making 11n adhoc mode
work. I may need some help (Bernhard?) on figuring out a cleaner way
to join an existing BSS, instead of how it's currently done.
Also, Bernhard - why don't