Search Linux Wireless

Re: [PATCH 1/2] mac80211: add private driver flags and ampdu length to tx info

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

 



On Sat, 2009-11-14 at 17:05 +0100, Felix Fietkau wrote:

> - * @ampdu_ack_len: number of aggregated frames.
> - * 	relevant only if IEEE80211_TX_STATUS_AMPDU was set.
> + * @ampdu_ack_len: number of acked aggregated frames.
> + * 	relevant only if ieee80211_tx_status_ampdu was set.

why lowercase that?

> -	/* 2 byte hole */
> -	u8 pad[2];
> +	u8 driver_flags;
> +	u8 pad;

The ampdu_len seems ok, but I'm still not convinced this is right.
Drivers _should_ have enough space in the driver parts of this struct,
and not need flags here. I realise that you do need that because of the
RC and other internal things, but maybe you could simply use "pad[0]"
for that so not to encourage others to start doing this too?

johannes

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