K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-08-05T17:15:46.987089Z K 7 svn:log V 883 Begin fleshing out BAW tracking. baw_head/baw_tail implement a sliding window. tx_buf is an array of active frames inside the BAW. Frames that are being TXed are added to the relevant spot in tx_buf, with the baw_head/baw_tail sliding window updated. Frames that have been transmitted (successfully or not) are removed from the tx_buf array, and txa_start (the BAW left edge) is then updated. This is in no way complete and is missing a few things, notably keeping the BAW up to date when flushing a TID/node, or when a TID/node aggregation session is being torn down. There's no software retransmit, and there's currently no support yet for sending a BAR when the TX window has been forcibly moved after a TX failure. There's also a "gap" between the advertised BAW start during ADDBA and the first sequence number that is queued as an aggregate frame. Obtained from: Atheros END