Go to the source code of this file.
◆ fn_NetSim_IEEE802_11_CSMA_AckTimeOut()
| void fn_NetSim_IEEE802_11_CSMA_AckTimeOut |
( |
| ) |
|
◆ fn_NetSim_IEEE802_11_CSMA_UpdateNAV()
◆ fn_NetSim_IEEE802_11_CSMACA_AddAckTimeOut()
◆ fn_NetSim_IEEE802_11_CSMACA_AIFSEnd()
| void fn_NetSim_IEEE802_11_CSMACA_AIFSEnd |
( |
| ) |
|
◆ fn_NetSim_IEEE802_11_CSMACA_Backoff()
| bool fn_NetSim_IEEE802_11_CSMACA_Backoff |
( |
| ) |
|
◆ fn_NetSim_IEEE802_11_CSMACA_CheckNAV()
| int fn_NetSim_IEEE802_11_CSMACA_CheckNAV |
( |
| ) |
|
This function called when CHECK_NAV subevent triggered. It is called if the Medium
is
IDLE and
a packet in the Access buffer to transmit.
If NAV <=0 then change the state to Wait_DIFS and add DIFS_END subevent.
If NAV > 0 then change the state to WF_NAV and add NAV_END subevent.
static struct stru_802_11_Phy_Parameters_HT a
Definition at line 131 of file CSMACA.c.
◆ fn_NetSim_IEEE802_11_CSMACA_CheckRetryLimit()
This function invoke the retry limit checking. If active frame retry count is less than active frame retry limit, then set move flag as one to allow the frame retransmission. Otherwise, set move flag as zero to drop the active frame
Definition at line 646 of file CSMACA.c.
◆ fn_NetSim_IEEE802_11_CSMACA_CS()
| bool fn_NetSim_IEEE802_11_CSMACA_CS |
( |
| ) |
|
◆ fn_NetSim_IEEE802_11_CSMACA_DIFSEnd()
| void fn_NetSim_IEEE802_11_CSMACA_DIFSEnd |
( |
| ) |
|
When the buffer has packet to transmit, the MAC LAYER sense the Medium. If it is
IDLE,
then it will wait
for DCF Inter Frame Space (DIFS) time
before start transmission.
At the end of DIFS time check the Medium. If Medium is
IDLE, then change the State
to BACKING_OFF, call the function to start back off. If Medium is BUSY, then change
static bool before(UINT32 seq1, UINT32 seq2)
Definition at line 185 of file CSMACA.c.
◆ fn_NetSim_IEEE802_11_CSMACA_IncreaseCW()
This function is used to expand the CW.
else if CWcurrent >= CWmax, then CWcurrent is set to CWmax the Maximum CW.
else CWcurrent = (nCWcurrent * 2) + 1.
Definition at line 671 of file CSMACA.c.
◆ fn_NetSim_IEEE802_11_CSMACA_Init()
| int fn_NetSim_IEEE802_11_CSMACA_Init |
( |
| ) |
|
◆ fn_NetSim_IEEE802_11_CSMACA_ProcessAck()
| void fn_NetSim_IEEE802_11_CSMACA_ProcessAck |
( |
| ) |
|
◆ fn_NetSim_IEEE802_11_CSMACA_ProcessBlockAck()
| void fn_NetSim_IEEE802_11_CSMACA_ProcessBlockAck |
( |
| ) |
|
◆ fn_NetSim_IEEE802_11_CSMACA_RandomBackOffTimeCalculation()
| static void fn_NetSim_IEEE802_11_CSMACA_RandomBackOffTimeCalculation |
( |
| ) |
|
|
static |
This function invokes the Back off time calculation. BackoffTime = RandomNumber(Between CW) * SlotTime.
Definition at line 270 of file CSMACA.c.
◆ fn_NetSim_IEEE802_11_CSMACA_SendACK()
| int fn_NetSim_IEEE802_11_CSMACA_SendACK |
( |
| ) |
|
This function is called to create and send an Ack after receiving the DATA from the destination or from the AP
Definition at line 369 of file CSMACA.c.
◆ fn_NetSim_IEEE802_11_CSMACA_SendBlockACK()
| int fn_NetSim_IEEE802_11_CSMACA_SendBlockACK |
( |
| ) |
|
This function is called to create and send an Ack after receiving the DATA from the destination or from the AP
Definition at line 680 of file CSMACA.c.
◆ fn_NetSim_IEEE802_11_CSMACA_StartBackOff()
| static void fn_NetSim_IEEE802_11_CSMACA_StartBackOff |
( |
| ) |
|
|
static |
This function start the Backoff process. If backoff counter != 0,it adds the backoff event at (event time + backoff time) else it generate the random backoff time and add the backoff event.
Definition at line 225 of file CSMACA.c.
◆ get_CSMACA_Time()
◆ ieee802_11_csmaca_aifs_failed()
◆ ieee802_11_csmaca_difs_failed()
◆ ieee802_11_csmaca_pause_backoff()