[RFC] mac80211: fix rx_nss calculation for drivers with hw rc

Johannes Berg johannes at sipsolutions.net
Mon Dec 2 05:59:32 EST 2013


On Mon, 2013-12-02 at 11:54 +0100, Michal Kazior wrote:
> Drivers with hardware rate control were given
> sta->rx_nss set to 0. This was because rx_nss
> calculation procedure was protected by hw/sw rate
> control check.
> 
> Signed-off-by: Michal Kazior <michal.kazior at tieto.com>
> ---
> Hi Johannes,
> 
> I've re-checked the issue I've mentioned with the patch 'ath10k: use nss
> provided by mac80211'.
> 
> Apparently drivers with HW rate control are only affected by this bug
> and this patch is what I came up with as a quick fix. Any comments?

Yeah this looks reasonable. I guess I'll apply it despite the [RFC]

johannes




More information about the ath10k mailing list