Search Linux Wireless

Re: [PATCH] mac80211: add station aid into ieee80211_tx_control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2008-04-01 at 21:45 +0200, Chr wrote:
> This patch is necessary for the upcoming Accesspoint patch for p54.

Hm. I don't like increasing the tx control structure size but I guess
you really need that :)

> Signed-off-by: Christian Lamparter <chunkeey@xxxxxx>

Acked-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>

Please CC the appropriate maintainers (i.e. at least me for mac80211) on
code changes.


> diff --git a/include/net/mac80211.h b/include/net/mac80211.h
> index 48428a6..b428472 100644
> --- a/include/net/mac80211.h
> +++ b/include/net/mac80211.h
> @@ -287,6 +287,7 @@ struct ieee80211_tx_control {
>         u8 iv_len;              /* length of the IV field in octets */
>         u8 queue;               /* hardware queue to use for this frame;
>                                  * 0 = highest, hw->queues-1 = lowest */
> +       u16 aid;                /* Station AID */
>         int type;       /* internal */
>  };
>  
> diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
> index 80f4343..ea3fa0f 100644
> --- a/net/mac80211/tx.c
> +++ b/net/mac80211/tx.c
> @@ -741,6 +741,7 @@ ieee80211_tx_h_misc(struct ieee80211_tx_data *tx)
>         }
>  
>         if (tx->sta) {
> +               control->aid = tx->sta->aid;
>                 tx->sta->tx_packets++;
>                 tx->sta->tx_fragments++;
>                 tx->sta->tx_bytes += tx->skb->len;

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux