On Thu, 2007-09-06 at 17:31 +0300, Tomas Winkler wrote: > 11n should cover also legacy rate scaling, and legacy mode in general. Ok so we just extend the rate control to include .11n, fine with me too. Have you thought about .11e stuff too? This seems related (aggregation etc) > We have solved that it just as I said it is not rebased against > latest wireless-dev so you don't see this code. I will probably > release some RFC patches first so nobody will accuse me of selling FUD > :) Sounds good :) > > > Third part and this is 4965 specific is that TX rate is not attached > > > to packet but rate table is updated when need on it's own path. This > > > is device specific. > > > > It seemed like the rate was attached to each station. This is a bit and > > I don't really know how to handle it. > ??? Well some comments in the code say that the rate retry stuff is attached to the notion of station the firmware has. If so, this will most likely require some different interaction between rate control/firmware rather than just the rate control passing you the rates with each frame. > > > Forth is that the aggregation. In general this involves some handshake > > > on protocol level i.e. MLME but efficiency of aggregation is kind of > > > rate scaling decision in addition it might be enabled only for MIMO > > > rates (different plcp header) > > > > Right. I think you mentioned aggregation as number two already :) > > > Number 2 is the rate scaling update path this is rate scaling decision path Oh, ok. I think you need to elaborate on the split into these paths though, I don't think I've fully understood it yet. > In legacy TX it will be the same as current implementation, actual > rate, number of retries, etc > For aggregation it need rate and number of packets ACKed and NACked. Right. > The whole aggregation is sent in one rate. Theoreticaly multi rate > aggregation might be sent, but no vendor creates such radios yet. We can add it when we need it then. > > > 3. rs_compute(sta/sta_addr) - actual computation of rate scaling > > > algorithm possible also from RX path (tx reclaim) > > > > Where would it be called? > > This can be run in reclaim path (RX) as now but for 4965 I would > create period work Basically we have three paths: (1) tx (2) rx (3) tx status (tx reclaim) I suppose you're thinking of TX reclaim here? Which is sort of like RX-ack but I think of it as related to TX. If we can handle the decision about aggregation in higher layers shouldn't the periodic work also be in mac80211? > Sure, the rates themselves. Currently I have in vision only 4965 rate > table. Need to find something more general probably. Yeah I'm not aware what it does there. If you can describe what your hardware does I can possibly compare a bit to Broadcom (partially started to reverse engineer it) and then see if we can come up with something more generic. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part