[PATCH v5] mac80211: Remove control.sta from struct ieee80211_tx_info and restructure tx-path

Johannes Berg johannes at sipsolutions.net
Wed Jul 25 08:50:25 EDT 2012


On Wed, 2012-07-25 at 11:36 +0200, Johannes Berg wrote:
> On Tue, 2012-07-24 at 22:18 +0200, Thomas Huehn wrote:
> > The pointer control.sta is removed from ieee80211_tx_info to free up
> > sufficient memory in SKB_CB on the tx-path to enable new annotations
> > per data packet e.g.support of upcoming Transmit Power Control (TPC).
> > Now the control.sta pointer is put on the stack where passed as
> > function parameter to the .tx equivalent (ieee80211_ops) of each
> > affected wireless driver.
> > Therefore a new structure ieee80211_tx_control is added to mac80211.h
> > which holds the sta structure instead. The tx-path of all affected
> > drivers is restructured to respect the chaneges.
> > 
> > Signed-off-by: Thomas Huehn <thomas at net.t-labs.tu-berlin.de>
> > Signed-off-by: Alina Friedrichsen <x-alina at gmx.net>
> > Signed-off-by: Felix Fietkau <nbd at openwrt.org>
> > ---
> > restructure this patch to respect logical API evolutions. thx to Johannes Berg
> > add missing drivers that are effected as well. thx to Xose Vazquez Perez
> > add missing drivers that are effected as well. thx to Johannes Berg
> > simplified control pointer passing in tx.c - thx to Johannes Berg
> 
> Finally applied, but I dropped these spurious changes:

Never mind, it still doesn't compile, dropped it.

I had to rebase my tree due to that, sorry!

johannes




More information about the b43-dev mailing list