wl12xx: Include OFDM rates in IBSS mode
We were including only 11b rates in IBSS mode. This patch adds OFDM rates. [Rephrased commit log and removed one unnecessary comment. -- Luca] Signed-off-by: Shahar Levi <shahar_levi@ti.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
This commit is contained in:
committed by
Luciano Coelho
parent
d3b104ae22
commit
06b660e1a3
@@ -454,12 +454,10 @@ struct conf_rx_settings {
|
|||||||
#define CONF_TX_AP_DEFAULT_MGMT_RATES (CONF_HW_BIT_RATE_1MBPS | \
|
#define CONF_TX_AP_DEFAULT_MGMT_RATES (CONF_HW_BIT_RATE_1MBPS | \
|
||||||
CONF_HW_BIT_RATE_2MBPS | CONF_HW_BIT_RATE_5_5MBPS)
|
CONF_HW_BIT_RATE_2MBPS | CONF_HW_BIT_RATE_5_5MBPS)
|
||||||
|
|
||||||
/*
|
/* default rates for working as IBSS (11b and OFDM) */
|
||||||
* Default rates for working as IBSS. use 11b rates
|
|
||||||
*/
|
|
||||||
#define CONF_TX_IBSS_DEFAULT_RATES (CONF_HW_BIT_RATE_1MBPS | \
|
#define CONF_TX_IBSS_DEFAULT_RATES (CONF_HW_BIT_RATE_1MBPS | \
|
||||||
CONF_HW_BIT_RATE_2MBPS | CONF_HW_BIT_RATE_5_5MBPS | \
|
CONF_HW_BIT_RATE_2MBPS | CONF_HW_BIT_RATE_5_5MBPS | \
|
||||||
CONF_HW_BIT_RATE_11MBPS);
|
CONF_HW_BIT_RATE_11MBPS | CONF_TX_OFDM_RATES);
|
||||||
|
|
||||||
struct conf_tx_rate_class {
|
struct conf_tx_rate_class {
|
||||||
|
|
||||||
|
|||||||
@@ -3472,7 +3472,7 @@ sta_not_found:
|
|||||||
rates);
|
rates);
|
||||||
wl->basic_rate = wl1271_tx_min_rate_get(wl);
|
wl->basic_rate = wl1271_tx_min_rate_get(wl);
|
||||||
|
|
||||||
/* by default, use 11b rates */
|
/* by default, use 11b + OFDM rates */
|
||||||
wl->rate_set = CONF_TX_IBSS_DEFAULT_RATES;
|
wl->rate_set = CONF_TX_IBSS_DEFAULT_RATES;
|
||||||
ret = wl1271_acx_sta_rate_policies(wl);
|
ret = wl1271_acx_sta_rate_policies(wl);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user