wlcore: use proper values for supported local rates
commit60462b4885450410df03cf3829367b285baf9ab8
authorLuciano Coelho <coelho@ti.com>
Thu, 10 May 2012 09:14:14 +0000 (10 12:14 +0300)
committerLuciano Coelho <coelho@ti.com>
Tue, 5 Jun 2012 12:58:36 +0000 (5 15:58 +0300)
tree8febdbae53d6b17410c87c17e41decb08d5a2d17
parent174a73034cdbe2bb2784c9963e75d196364c348e
wlcore: use proper values for supported local rates

We were setting all the rates bits when starting the AP role.  Instead
of doing this, we should set only the rates we really support
(eg. MIMO rates or wide-channel rates).  This commit changes that so
that we always use the default rates (basic rates + MCS0-7) and add
the values returned by the ap_get_mimo_wide_rate_mask operation.

Signed-off-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
drivers/net/wireless/ti/wlcore/cmd.c