Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH] wl12xx: Includes OFDM rates in IBSS mode
@ 2011-09-05 10:54 Shahar Levi
  2011-09-23 11:37 ` Luciano Coelho
  0 siblings, 1 reply; 2+ messages in thread
From: Shahar Levi @ 2011-09-05 10:54 UTC (permalink / raw)
  To: linux-wireless; +Cc: Luciano Coelho, Shahar Levi

IBSS mode includes only 11B rates.
Includes OFDM rates in IBSS mode. Note that IBSS connection is
without ERP protection.

Signed-off-by: Shahar Levi <shahar_levi@ti.com>
---
 drivers/net/wireless/wl12xx/conf.h |    5 +++--
 drivers/net/wireless/wl12xx/main.c |    2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/drivers/net/wireless/wl12xx/conf.h b/drivers/net/wireless/wl12xx/conf.h
index 43bccc8..381c236 100644
--- a/drivers/net/wireless/wl12xx/conf.h
+++ b/drivers/net/wireless/wl12xx/conf.h
@@ -459,11 +459,12 @@ struct conf_rx_settings {
 	CONF_HW_BIT_RATE_2MBPS | CONF_HW_BIT_RATE_5_5MBPS)
 
 /*
- * Default rates for working as IBSS. use 11b rates
+ * Default rates for working as IBSS. use 11b + OFDM rates
+ * Note that IBSS connection is without ERP protection
  */
 #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_11MBPS);
+		CONF_HW_BIT_RATE_11MBPS | CONF_TX_OFDM_RATES);
 
 struct conf_tx_rate_class {
 
diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c
index d66b079..eb10539 100644
--- a/drivers/net/wireless/wl12xx/main.c
+++ b/drivers/net/wireless/wl12xx/main.c
@@ -3705,7 +3705,7 @@ sta_not_found:
 									 rates);
 			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;
 			ret = wl1271_acx_sta_rate_policies(wl);
 			if (ret < 0)
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] wl12xx: Includes OFDM rates in IBSS mode
  2011-09-05 10:54 [PATCH] wl12xx: Includes OFDM rates in IBSS mode Shahar Levi
@ 2011-09-23 11:37 ` Luciano Coelho
  0 siblings, 0 replies; 2+ messages in thread
From: Luciano Coelho @ 2011-09-23 11:37 UTC (permalink / raw)
  To: Shahar Levi; +Cc: linux-wireless

On Mon, 2011-09-05 at 13:54 +0300, Shahar Levi wrote: 
> IBSS mode includes only 11B rates.
> Includes OFDM rates in IBSS mode. Note that IBSS connection is
> without ERP protection.
> 
> Signed-off-by: Shahar Levi <shahar_levi@ti.com>
> ---

Rephrased commit log, removed one unnecessary comment and applied.
Thanks!

-- 
Cheers,
Luca.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-23 11:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-05 10:54 [PATCH] wl12xx: Includes OFDM rates in IBSS mode Shahar Levi
2011-09-23 11:37 ` Luciano Coelho

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox