Hi, On Tue, Jul 3, 2012 at 1:08 AM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: > On Mon, 2012-07-02 at 18:01 +0300, Vladimir Kondratiev wrote: > >> So, now I'll focus on the last patch - bitrate calculation. >> >> My plan is: >> >> - add new element like NL80211_RATE_INFO_BITRATE_HT with u32 data >> - change nl80211_put_sta_rate() to fill both >> NL80211_RATE_INFO_BITRATE (with u16 value) >> and NL80211_RATE_INFO_BITRATE_HT (with u32 value) >> - when bitrate not fit into u16, put 0 for u16 value and fill only u32 > > I think you should leave out the BITRATE value completely, not fill it > with 0. Why not make it 65535? Thanks, -- Julian Calaby Email: julian.calaby@xxxxxxxxx Profile: http://www.google.com/profiles/julian.calaby/ .Plan: http://sites.google.com/site/juliancalaby/ -- 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