[PATCH] Advertise 11g rates

Dan Williams dcbw at redhat.com
Mon Aug 20 13:09:38 EDT 2007


On Fri, 2007-08-17 at 01:22 -0700, Brajesh Dave wrote:
> This patch includes support for advertising 11g data rates in the
> supported rates IE since libertas supports these rates. This change also
> allows 11g rates to be specified as fixed rates using the iwconfig rate
> command.

Applied, thanks!

Dan

> 
> >From brajeshd at marvell.com Mon Sep 17 00:00:00 2001
> 
> ---
> 
>  drivers/net/wireless/libertas/join.c |    4 ++--
> 
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> 
> diff --git a/drivers/net/wireless/libertas/join.c
> b/drivers/net/wireless/libertas/join.c
> 
> index ccb0df1..9de550a 100644
> 
> --- a/drivers/net/wireless/libertas/join.c
> 
> +++ b/drivers/net/wireless/libertas/join.c
> 
> @@ -550,8 +550,8 @@ int libertas_cmd_80211_ad_hoc_start(wlan_private *
> priv,
> 
>       adhs->probedelay = cpu_to_le16(CMD_SCAN_PROBE_DELAY_TIME);
> 
>  
> 
>       memset(adhs->rates, 0, sizeof(adhs->rates));
> 
> -     ratesize = min(sizeof(adhs->rates), sizeof(adhoc_rates_b));
> 
> -     memcpy(adhs->rates, adhoc_rates_b, ratesize);
> 
> +     ratesize = min(sizeof(adhs->rates), sizeof(libertas_bg_rates));
> 
> +     memcpy(adhs->rates, libertas_bg_rates, ratesize);
> 
>  
> 
>       /* Copy the ad-hoc creating rates into Current BSS state structure
> */
> 
>       memset(&adapter->curbssparams.rates, 0,
> sizeof(adapter->curbssparams.rates));
> 




More information about the libertas-dev mailing list