Search Linux Wireless

Re: [RFC/T #2] mac80211: Implementation of SIOCSIWRATE

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

 



On Sunday 27 May 2007 18:16, Larry Finger wrote:
> From: mabbas <mabbas@xxxxxxxxxxxxxxx>
>
> The WEXT ioctl SIOCSIWRATE is not implemented in mac80211. This patch
> adds the missing routine. It supports the 'auto' keyword, fixed rates,
> and the combination of 'auto' and a fixed rate to select an upper bound.
>
> Signed-off-by: mabbas <mabbas@xxxxxxxxxxxxxxx>
Full name please.

> Index: wireless-dev/net/mac80211/ieee80211_i.h
> ===================================================================
> --- wireless-dev.orig/net/mac80211/ieee80211_i.h
> +++ wireless-dev/net/mac80211/ieee80211_i.h
> @@ -269,6 +269,7 @@ struct ieee80211_if_sta {
>  	unsigned long ibss_join_req;
>  	struct sk_buff *probe_resp; /* ProbeResp template for IBSS */
>  	u32 supp_rates_bits;
> +	u32 restricted_tx_rates; /* bitmap of user restricted tx rate */
>
No. max_ratectrl_rateidx and force_unicast_rateidx can do everything you need. 
Look more carefully at how the rate control code works with those two fields. 
The only file that needs to be patched to add support for this is 
ieee80211_ioctl.c because this feature was always supported. (with 
non-standard prism2/hostap ioctls)

-Michael Wu

Attachment: pgpEUNLEzR8O0.pgp
Description: PGP signature


[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