NetSim Source Code Help
Loading...
Searching...
No Matches
IEEE802_11_Radio.c File Reference
#include "main.h"
#include "IEEE802_11_Phy.h"
#include "../BatteryModel/BatteryModel.h"
Include dependency graph for IEEE802_11_Radio.c:

Go to the source code of this file.

Functions

PHY_TX_STATUS get_radio_state (PIEEE802_11_PHY_VAR phy)
 
static bool isChangeRadioIsPermitted (PIEEE802_11_MAC_VAR mac, PIEEE802_11_PHY_VAR phy, PHY_TX_STATUS newState, NETSIM_ID peerId, UINT64 transmissionId)
 
bool set_radio_state (NETSIM_ID d, NETSIM_ID in, PHY_TX_STATUS state, NETSIM_ID peerId, UINT64 transmissionId)
 
bool is_radio_idle (PIEEE802_11_PHY_VAR phy)
 

Function Documentation

◆ get_radio_state()

PHY_TX_STATUS get_radio_state ( PIEEE802_11_PHY_VAR  phy)

Definition at line 18 of file IEEE802_11_Radio.c.

◆ is_radio_idle()

bool is_radio_idle ( PIEEE802_11_PHY_VAR  phy)

Definition at line 89 of file IEEE802_11_Radio.c.

◆ isChangeRadioIsPermitted()

static bool isChangeRadioIsPermitted ( PIEEE802_11_MAC_VAR  mac,
PIEEE802_11_PHY_VAR  phy,
PHY_TX_STATUS  newState,
NETSIM_ID  peerId,
UINT64  transmissionId 
)
static

Definition at line 23 of file IEEE802_11_Radio.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ set_radio_state()

bool set_radio_state ( NETSIM_ID  d,
NETSIM_ID  in,
PHY_TX_STATUS  state,
NETSIM_ID  peerId,
UINT64  transmissionId 
)

Definition at line 55 of file IEEE802_11_Radio.c.

Here is the call graph for this function:
Here is the caller graph for this function: