Search Linux Wireless

Re: [RFC] mac80211: add rate to ieee80211_tx_status

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

 



> diff --git a/include/net/mac80211.h b/include/net/mac80211.h
> index 460da54..a700ea6 100644
> --- a/include/net/mac80211.h
> +++ b/include/net/mac80211.h
> @@ -342,6 +342,7 @@ enum ieee80211_tx_status_flags {
>   *
>   * @control: a copy of the &struct ieee80211_tx_control passed to the driver
>   *	in the tx() callback.
> + * @rate: rate at which the packet was actually transmitted
>   * @flags: transmit status flags, defined above
>   * @retry_count: number of retries
>   * @excessive_retries: set to 1 if the frame was retried many times
> @@ -356,6 +357,7 @@ enum ieee80211_tx_status_flags {
>   */
>  struct ieee80211_tx_status {
>  	struct ieee80211_tx_control control;
> +	struct ieee80211_rate rate;

Shouldn't that rather be a rate pointer? Seems a bit odd to me to copy
that information. Felix, could this help you as well?

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