Re: [Madwifi-devel] can i modify madwifi to broadcast on the high rate
Status: Beta
Brought to you by:
otaku
From: Benoit P. <ben...@fr...> - 2008-04-29 20:40:38
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David Fuste a écrit : | Hi Tao, | check out this section of the code in the file "ath/if_ath.c": | | static int | ath_tx_start(struct net_device *dev, struct ieee80211_node *ni, struct | ath_buf *bf, struct sk_buff *skb, int nextfraglen) | { | ... | case IEEE80211_FC0_TYPE_DATA: | atype = HAL_PKT_TYPE_NORMAL; /* default */ | | if (ismcast) { | rix = ath_tx_findindex(rt, vap->iv_mcast_rate); | *txrate* = rt->info[rix].rateCode; | if (shortPreamble) | txrate |= rt->info[rix].shortPreamble; | /* | * ATH_TXMAXTRY disables Multi-rate retries, which | * isn't applicable to mcast packets and overrides | * the desired transmission rate for mcast traffic. | */ | try0 = ATH_TXMAXTRY; | } else { | ... | } | | Here you can modify the rate in which you want to send the | multicast/broadcast packets. | | good luck, | david | | Tao wrote: |> Hi: |> |> we know that broadcast packets use low rate to sending packets (6M/s in |> 802.11a 2M/s in 802.11b) |> |> can i modify the madwifi to broadcast packets on a multirate (9M/s ,12M/s)? |> |> if i can which file should i modify? |> |> |> |> Thanks |> |> Regards |> Tao |> You can do this with iwpriv wlan0 mcast_rate as well (value in bits/s AFAIK). Regards, Benoit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIF4e/OR6EySwP7oIRAqSuAJ9FtLgvRiIpyrrrIs/4lOb+8tDkwwCdEhIC kGWBccCRRrwSM4DKJVUh5BY= =zVZs -----END PGP SIGNATURE----- |