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

[ns] Re: RTS/CTS



Andre Huth wrote:
> 
> Hello Xavier
> 
> How can i set up the using of RTS/CTS-mechanism. I thought this feature
> is already  implemented in the 802.11 MAC. Is it possible to eliminate
> or add RTS/CTS.
> 
> andr�

Hello Andre,

Look in mac-802_11.cc for

static MAC_MIB MMIB =
{
	MAC_RTSThreshold , MAC_ShortRetryLimit,
	MAC_LongRetryLimit, MAC_FragmentationThreshold,
	MAC_MaxTransmitMSDULifetime, MAC_MaxReceiveLifetime,
	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
};

The value 'MAC_RTSThreshold' determines whether to use or not RTS/CTS
mechanism depending on the packet size. If you substitute it for a '0'
then you will always use the RTS/CTS mechanism.

Xavier