Re: [RFC PATCH v2 1/2] mwifiex: refactor mwifiex_parse_htinfo() for reuse

2018-12-13 Thread Kalle Valo
Brian Norris wrote: > This function converts some firmware-specific parameters into cfg80211 > 'rate_info' structures. It currently assumes it's dealing only with TX > bitrate, but the RX bitrate looks to be the same, so refactor this > function to be reusable. > > Signed-off-by: Brian Norris

[RFC PATCH v2 1/2] mwifiex: refactor mwifiex_parse_htinfo() for reuse

2018-12-06 Thread Brian Norris
This function converts some firmware-specific parameters into cfg80211 'rate_info' structures. It currently assumes it's dealing only with TX bitrate, but the RX bitrate looks to be the same, so refactor this function to be reusable. Signed-off-by: Brian Norris --- v2: * no change - just split u