Search Linux Wireless

DS params only in 2GHz band?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hello johannes!

in your commit e1251b1d3c0e12a481c4c6b3ef60dfdf0f6be8c1:
> @@ -2945,10 +2968,12 @@ static int ieee80211_sta_join_ibss(struct
> net_device *dev, *pos++ = rates;
>                 memcpy(pos, bss->supp_rates, rates);
>
> -               pos = skb_put(skb, 2 + 1);
> -               *pos++ = WLAN_EID_DS_PARAMS;
> -               *pos++ = 1;
> -               *pos++ = bss->channel;
> +               if (bss->band == IEEE80211_BAND_2GHZ) {
> +                       pos = skb_put(skb, 2 + 1);
> +                       *pos++ = WLAN_EID_DS_PARAMS;
> +                       *pos++ = 1;
> +                       *pos++ = ieee80211_frequency_to_channel(bss->freq);
> +               }
>
>                 pos = skb_put(skb, 2 + 2);
>                 *pos++ = WLAN_EID_IBSS_PARAMS;

what's the reason you changed the beacons to include DS params only in the 
2GHz band?

thanks,
bruno
-
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux