diff options
author | Arik Nemtsov <arik@wizery.com> | 2012-05-10 09:13:34 (GMT) |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2012-06-05 12:55:41 (GMT) |
commit | ebc7e57ddd01ffa4c996dde7095746259693755d (patch) | |
tree | dd072648735a3ca0bc531006cbeaf3b791a0873f /drivers/net/wireless/ti/wlcore/init.c | |
parent | b3a47ee0ec07b16f68c38052e8cd1b5cb417bdca (diff) | |
download | linux-fsl-qoriq-ebc7e57ddd01ffa4c996dde7095746259693755d.tar.xz |
wlcore/wl18xx: enable MIMO/wide-chan rates in AP-mode rate config
Add a HW op to add extra enabled rates for AP-mode data-rates. Since
the rates might depend on channel properties, reconfigure AP-mode rates
when these change.
Implement the HW op for the 18xx family, where MIMO or wide-chan rates
can be added.
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/ti/wlcore/init.c')
-rw-r--r-- | drivers/net/wireless/ti/wlcore/init.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wlcore/init.c b/drivers/net/wireless/ti/wlcore/init.c index 9f89255..645abd4 100644 --- a/drivers/net/wireless/ti/wlcore/init.c +++ b/drivers/net/wireless/ti/wlcore/init.c @@ -460,6 +460,9 @@ int wl1271_init_ap_rates(struct wl1271 *wl, struct wl12xx_vif *wlvif) /* unconditionally enable HT rates */ supported_rates |= CONF_TX_MCS_RATES; + /* get extra MIMO or wide-chan rates where the HW supports it */ + supported_rates |= wlcore_hw_ap_get_mimo_wide_rate_mask(wl, wlvif); + /* configure unicast TX rate classes */ for (i = 0; i < wl->conf.tx.ac_conf_count; i++) { rc.enabled_rates = supported_rates; |