20 int nConnectedDeviceCount;
32 nLinkType =
DEVICE_PHYLAYER(nApID,nApInterfaceID)->pstruNetSimLinks->nLinkType;
37 fnNetSimError(
"AP %d interface %d is not connected with point-to-multipoint link",
47 pstruApMac->
nBSSId = nApID;
59 for(nLoop = 0; nLoop < nConnectedDeviceCount-1; nLoop++)
86 pstruNodeMac->
nBSSId = nApID;
PIEEE802_11_MAC_VAR IEEE802_11_MAC(NETSIM_ID ndeviceId, NETSIM_ID nInterfaceId)
PIEEE802_11_PHY_VAR IEEE802_11_PHY(NETSIM_ID ndeviceId, NETSIM_ID nInterfaceId)
#define IEEE802_11_CURR_MAC
bool isPacketforsameInfrastructureBSS(PIEEE802_11_MAC_VAR mac, NetSim_PACKET *packet)
int fn_NetSim_802_11_InfrastructureBSS_Init(NETSIM_ID nApID, NETSIM_ID nApInterfaceID)
void fn_NetSim_802_11_InfrastructureBSS_UpdateReceiver(NetSim_PACKET *packet)
#define fnNetSimError(x,...)
bool isMulticastPacket(NetSim_PACKET *packet)
NETSIM_ID get_first_dest_from_packet(NetSim_PACKET *packet)
bool isBroadcastPacket(NetSim_PACKET *packet)
bool isDestFoundinPacket(NetSim_PACKET *packet, NETSIM_ID dest)
NETSIM_ID fn_NetSim_Stack_GetConfigIdOfDeviceById(NETSIM_ID nDeviceId)
#define DEVICE_HWADDRESS(DeviceId, InterfaceId)
#define DEVICE_MACLAYER(DeviceId, InterfaceId)
#define DEVICE_INTERFACE_CONFIGID(DeviceId, InterfaceId)
int MAC_COMPARE(PNETSIM_MACADDRESS mac1, PNETSIM_MACADDRESS mac2)
EXPORTED struct stru_NetSim_EventDetails * pstruEventDetails
#define DEVICE_PHYLAYER(DeviceId, InterfaceId)
#define DEVICE_POSITION(DeviceId)
double fn_NetSim_Utilities_CalculateDistance(NetSim_COORDINATES *coordinate1, NetSim_COORDINATES *coordinates2)
IEEE802_11_BSS_TYPE BSSType
NETSIM_ID nConnectedDeviceCount
NETSIM_ID * anDevInterfaceIds
union stru_NetSim_Links::uni_NetSim_Link_DeviceList puniDevList
struct stru_NetSim_Links::uni_NetSim_Link_DeviceList::stru_NetSim_P2MP pstrup2MP