ns-allinone-2.35/dei80211mr-1.1.4/src/mac-802_11mr.cc
MR_PHY_MIB::MR_PHY_MIB(Mac802_11mr *parent) 
	: snr_AP(1000),
	  AckMode_AP(Mode1Mb)
{
	/*
	 * Bind the phy mib objects.  Note that these will be bound
	 * to Mac/802_11 variables
	 */

	parent->bind("CWMin_", &CWMin);
	parent->bind("CWMax_", &CWMax);
	parent->bind("SlotTime_", &SlotTime);
	parent->bind("SIFS_", &SIFSTime);
	parent->bind_bool("useShortPreamble_",&useShortPreamble);
	parent->bind("bSyncInterval_",&bSyncInterval);
	parent->bind("gSyncInterval_",&gSyncInterval);
}
/* ======================================================================
   Mac  and Phy MIB Class Functions
   ====================================================================== */
Mac  and Phy MIB Class Functions
Mac and Phy MIB Class Functions
MR_PHY_MIB::MR_PHY_MIB(Mac802_11mr *parent) 
	: snr_AP(1000),
	  AckMode_AP(Mode1Mb)
{
	parent->bind("CWMin_", &CWMin);
	parent->bind("CWMax_", &CWMax);
	parent->bind("SlotTime_", &SlotTime);
	parent->bind("SIFS_", &SIFSTime);
	parent->bind_bool("useShortPreamble_",&useShortPreamble);
	parent->bind("bSyncInterval_",&bSyncInterval);
	parent->bind("gSyncInterval_",&gSyncInterval);
}
MR_PHY_MIB :: MR_PHY_MIB ( Mac802_11mr * parent ) : snr_AP ( 1000 ) , AckMode_AP ( Mode1Mb ) { parent -> bind ( " " , & CWMin ) ; parent -> bind ( " " , & CWMax ) ; parent -> bind ( " " , & SlotTime ) ; parent -> bind ( " " , & SIFSTime ) ; parent -> bind_bool ( " " , & useShortPreamble ) ; parent -> bind ( " " , & bSyncInterval ) ; parent -> bind ( " " , & gSyncInterval ) ; }
Mac  and Phy MIB Class Functions
Mac and Phy MIB Class Functions
/*
	 * Bind the phy mib objects.  Note that these will be bound
	 * to Mac/802_11 variables
	 */