Search Linux Wireless

Re: [PATCH v2 2/2] mac80211: fix mesh airtime link metric estimating

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

 



On Fri, 2012-03-02 at 15:46 -0800, Thomas Pedersen wrote:
> Airtime link metric estimation was broken in HT mesh, use
> cfg80211_calculate_bitrate to get the right rate value.
> 
> Also factor out rate copying from sta_set_sinfo().
> 
> Signed-off-by: Thomas Pedersen <thomas@xxxxxxxxxxx>
> ---
> v2:
> factor out rate copying (Johannes)

> +void sta_set_rate_info(struct sta_info *sta, struct station_info *sinfo)

For stack usage, it'd be better if you gave this two arguments (struct
rate_info *txrate, struct rate_info *rxrate), or maybe simply factored
out *only* the TX-rate bit?

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux