亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? jigb_wlan_mac_banchs.pr.c

?? 利用opnet網絡仿真軟件,研究802.11的QOS,可以利用此模塊研究802.11e
?? C
字號:
/* Process model C form file: JIGB_wlan_mac_Banchs.pr.c */
/* Portions of this file copyright 1992-2004 by OPNET Technologies, Inc. */



/* This variable carries the header into the object file */
const char JIGB_wlan_mac_Banchs_pr_c [] = "MIL_3_Tfile_Hdr_ 110A 30A op_runsim 7 44B39DCE 44B39DCE 1 DIPRO2 pfc 0 0 none none 0 0 none 0 0 0 0 0 0 0 0 b56 1                                                                                                                                                                                                                                                                                                                                                                                                              ";
#include <string.h>



/* OPNET system definitions */
#include <opnet.h>



/* Header Block */

/** Include files **/

#include <math.h>
#include <string.h>
#include "oms_pr.h"
#include "oms_tan.h"
#include "oms_bgutil.h"
#include "wlan_support.h"
#include "oms_auto_addr_support.h"
#include "oms_dist_support.h"
#include "bridge_header.h"	
#include "prg_mapping.h"
#include <prg_geo.h>
#include <oms_rr.h>  

/** Constants **/

/* Incoming statistics and stream wires.							*/
#define 	TRANSMITTER_BUSY_INSTAT		1
#define		LOW_LAYER_INPUT_STREAM		0
#define		LOW_LAYER_OUTPUT_STREAM		0

/* Flags to load different variables based on attribute settings.	*/
#define		WLAN_AP						1
#define		WLAN_STA					0

/* Flags to indicate the medium access mode (PCF/DCF).				*/
#define		PCF_ACTIVE					1
#define		PCF_INACTIVE				0

/* Special value indicating BSS identification is not used.			*/
#define		WLAN_BSSID_NOT_USED			-1

/* Special value indicating radio transceiver frequencies are set	*/
/* based on the BSS identification.									*/
#define 	BSS_BASED_FREQ_USED			-1.0

/* Special value indicating that the bandwidth of the transceiver	*/
/* channels are configured to use the standard value of the			*/
/* specified physical layer technology.								*/
#define		PHY_TECH_BASED_BW_USED		-1.0

/* Special value indicating that the number of back-off slots are	*/
/* not determined yet.												*/
#define		BACKOFF_SLOTS_UNSET			-1.0

/* Special value for nav_reset_time when NAV is not set based on a	*/
/* received RTS.													*/
#define		NAV_RESET_TIME_UNSET		-1.0
	
/* Define a small value (= 1 psec), which will be used to recover	*/
/* from double arithmetic precision losts while doing time related	*/
/* precision sensitive computations.								*/
#define		PRECISION_RECOVERY			0.000000000001

/* Special value indicating BSS identification is currently unset.	*/
#define 	WLANC_BSS_ID_UNKNOWN		-2

/* Speed of light (m/s). 											*/
#define 	C							3.0E+08		

/* 16 times pi-squared. 											*/
#define 	SIXTEEN_PI_SQ				(16.0 * VOSC_NA_PI * VOSC_NA_PI)	

/* A small delay (= 10 nsec) between the transmission and reception	*/
/* of a CTS-to-self message to guarantee that the packet isn't		*/
/* delivered before the transmitter completes the transmission.		*/
#define		CTS_TO_SELF_RX_DELAY		0.00000001

/* In the idle state, number of beacon intervals after which the STA will wake	*/
/* up to check if it is still connected, if scanning is based on beacon			*/
/* reliability. There are no interrupts pending in the idle state, therefore,	*/
/* it is possible that the STA's state may be set to "scan" from a pipeline		*/
/* state without the MAC becoming aware of the state change till a packet		*/
/* arrives from the higher layer. Hence, there is a need to schedule periodic	*/
/* interrupts when in IDLE.    													*/
#define WLANC_CONN_CHK_BEACON_MULT		5.0  

/* Period after which the STA will check for connectivity if scanning is		*/
/* distance based. 																*/
#define WLANC_CONN_CHK_DIST_INTERVAL	10.0

/* When in the SCAN state, the period that an STA will wait before trying a new	*/
/* channel. 																	*/
#define WLANC_NEW_SCAN_BEACON_MULT		2.5


/** Enumerated Types **/

/* Define the three possible values that a global variable takes				*/
/* to check and ensure that all the MAC modules are either BSS ID				*/
/* based or purely subnet based. The variable is initialized to					*/
/* Not_Set and the first wireless MAC process sets it to either					*/
/* Entire_Subnet (if BSS_Identifier is Not Used) or Bssid_Subnet				*/
/* (if the BSS_Identifier is set to some value other than Not					*/
/* Used).																		*/						  
typedef enum WlanT_Bssid_Approach
	{
	WlanC_Not_Set,						/* Type of network not set				*/
	WlanC_Entire_Subnet,				/* The network is a pure subnet			*/
	WlanC_Bss_Divided_Subnet			/* The network is a BSS based subnet	*/
	} WlanT_Bss_Identification_Approach;
 
/* Define interrupt codes for generating handling interrupts					*/
/* indicating changes in deference, frame timeout which infers         			*/
/* that the collision has occurred, random backoff and transmission 			*/
/* completion by the physical layer (self interrupts).							*/
typedef enum WlanT_Mac_Intrpt_Code
	{	
	WlanC_Deference_Off,  	/* Deference before frame transmission 				*/
	WlanC_Tslot_Off,  	    /* Permite recoger la espera de un slot             */
	WlanC_Frame_Timeout,	/* No frame rcvd in set duration (infer collision)	*/
	WlanC_Backoff_Elapsed,  /* Backoff done before frame transmission			*/
	WlanC_CW_Elapsed,		/* Backoff done after successful frame transmission	*/	
	WlanC_Beacon_Tx_Time,	/* Time to transmit beacon frame                    */
	WlanC_Cfp_End,			/* End of the Contention free period 				*/
	WlanC_Scan_Timeout,		/* End of scan duration for given channel 			*/
	WlanC_AP_Check_Timeout,	/* Time to check the connectivity status with the	*/
							/* current AP.										*/
	WlanC_NAV_Reset_Time	/* Time to reset NAV that is updated by an RTS.		*/
	} WlanT_Mac_Intrpt_Code;


/** Data Structures **/

/* Define a structure to maintain data fragments received by each 	  */
/* station for the purpose of reassembly (or defragmentation)		  */
typedef struct WlanT_Mac_Defragmentation_Buffer_Entry
	{		
	int			tx_station_address    ;/* Store the station address of transmitting station  		*/	 
	double		time_rcvd		      ;/* Store time the last fragment for this frame was received	*/ 
	Sbhandle	reassembly_buffer_ptr ;/* Store data fragments for a particular packet       		*/  		 
	} WlanT_Mac_Defragmentation_Buffer_Entry;

/* Define a structure to maintain a copy of each unique data frame      */
/* received by the station. This is done so that the station can    	*/
/* discard any additional copies of the frame received by it. 	   		*/
typedef struct WlanT_Mac_Duplicate_Buffer_Entry
	{	
	int         tx_station_address;  /* store the station address of transmitting station	*/
	int 		sequence_id		  ;  /* rcvd packet sequence id 						 	*/	
	int		    fragment_number	  ;  /* rcvd packet fragment number                      	*/	 
	} WlanT_Mac_Duplicate_Buffer_Entry;

/* This structure contains all the flags used in this process model to determine	*/
/* various conditions as mentioned in the comments for each flag					*/
typedef struct WlanT_Mac_Flags
	{
	Boolean 	data_frame_to_send; /* Flag to check when station needs to transmit.		*/ 
	Boolean     backoff_flag;  	    /* Backoff flag is set when either the collision is		*/
	                                /* inferred or the channel switched from busy to idle	*/
	Boolean     Banchs_flag;        /* Indica que debe emitirse la se馻l de atasco  		*/
	Boolean     Banchs_ini;         /* Bandera que indica que ya se desencol

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91日韩精品一区| 丁香一区二区三区| 亚洲欧美乱综合| 国产精品午夜电影| 国产精品情趣视频| 久久蜜桃av一区精品变态类天堂 | 国产**成人网毛片九色| 韩国成人在线视频| 国产美女精品一区二区三区| 久久 天天综合| 国产成人av在线影院| 国产99久久久久| 91在线国产观看| 欧美三电影在线| 欧美一区二区三区爱爱| 精品国产乱子伦一区| 国产亚洲欧美在线| 中文字幕一区二区视频| 亚洲高清一区二区三区| 老司机精品视频线观看86| 国产寡妇亲子伦一区二区| 99re成人精品视频| 欧美精选一区二区| 精品国产欧美一区二区| 中文字幕制服丝袜一区二区三区| 亚洲色图一区二区| 亚洲成人综合视频| 国产一区二区视频在线| 色婷婷av一区二区三区软件 | 91麻豆精品国产91久久久| 欧美成人video| 亚洲欧美另类久久久精品2019| 亚洲高清视频中文字幕| 久久99精品久久久久婷婷| av亚洲精华国产精华精华| 欧美日韩美女一区二区| 国产日韩av一区| 日韩国产欧美三级| aa级大片欧美| 精品精品国产高清一毛片一天堂| 亚洲欧洲成人自拍| 精一区二区三区| 在线免费观看日本欧美| 国产清纯在线一区二区www| 亚洲1区2区3区视频| 懂色av噜噜一区二区三区av| 欧美日韩国产片| 成人免费在线播放视频| 蜜桃av一区二区在线观看| 91高清视频在线| 国产精品美女久久久久久| 极品美女销魂一区二区三区免费| 欧美性淫爽ww久久久久无| 中文成人综合网| 精品一区二区三区视频在线观看 | 在线播放91灌醉迷j高跟美女 | 91麻豆国产香蕉久久精品| 日韩欧美国产精品一区| 亚洲一区二区三区国产| 不卡高清视频专区| 国产日韩av一区二区| 狠狠色综合色综合网络| 欧美另类变人与禽xxxxx| 一区二区在线观看免费| 99久久精品一区| 欧美国产亚洲另类动漫| 国产一区二区三区四 | 国产在线精品一区二区 | 免费视频一区二区| 欧美日韩成人综合在线一区二区| 亚洲精品国产品国语在线app| 成人免费视频视频在线观看免费| 久久只精品国产| 国产毛片精品视频| 国产日韩欧美激情| 成人一区二区三区| 亚洲国产成人在线| av在线不卡电影| 亚洲另类在线制服丝袜| 色婷婷精品久久二区二区蜜臂av| 国产精品青草久久| 91免费小视频| 18欧美亚洲精品| 色婷婷综合久色| 午夜精品免费在线| 日韩一区二区免费视频| 精品一二线国产| 国产日韩精品视频一区| av在线一区二区三区| 亚洲精品老司机| 91精品婷婷国产综合久久| 久久99国产精品久久99果冻传媒| 欧美大肚乱孕交hd孕妇| 国产精品自在欧美一区| 中文字幕一区视频| 欧美精品tushy高清| 久国产精品韩国三级视频| 国产精品理论在线观看| 色狠狠色噜噜噜综合网| 婷婷中文字幕一区三区| 26uuu成人网一区二区三区| 菠萝蜜视频在线观看一区| 一区二区三区色| 欧美电影免费观看高清完整版| 国产精品一区在线观看你懂的| 中文字幕av资源一区| 欧美日韩黄视频| 国产一区二区免费视频| 亚洲免费资源在线播放| 日韩一区二区三区视频| 99久久综合99久久综合网站| 亚洲在线观看免费视频| 久久综合国产精品| 欧美日韩一区二区三区不卡| 精品亚洲欧美一区| 亚洲国产日产av| 国产精品理伦片| 欧美一区二区三区精品| 91美女在线观看| 美日韩一级片在线观看| 亚洲三级小视频| 久久亚洲私人国产精品va媚药| 一本到三区不卡视频| 国产精品资源在线| 青青青爽久久午夜综合久久午夜| 中文av一区特黄| 精品国产免费人成电影在线观看四季| 一本到不卡免费一区二区| 国产精品亚洲一区二区三区在线 | 激情五月播播久久久精品| 一区二区三区视频在线看| 中文字幕精品一区二区精品绿巨人| 欧美精品在线视频| 色噜噜久久综合| 99综合电影在线视频| 国产美女一区二区三区| 久草中文综合在线| 日本成人在线网站| 亚洲大片免费看| 亚洲综合久久久久| 中文字幕日本乱码精品影院| 久久免费视频色| 久久久久久久精| 精品卡一卡二卡三卡四在线| 欧美一区二区美女| 日韩视频永久免费| 欧美一区二区在线免费观看| 欧美精品免费视频| 337p亚洲精品色噜噜噜| 555www色欧美视频| 91麻豆精品国产无毒不卡在线观看| 91成人看片片| 欧美日韩三级视频| 69久久夜色精品国产69蝌蚪网| 欧美日韩成人高清| 91麻豆精品91久久久久同性| 日韩一区二区在线观看视频 | 一区二区三区中文在线观看| 中文字幕一区二区日韩精品绯色| 久久人人爽爽爽人久久久| 久久一区二区视频| 中文字幕第一页久久| 国产精品二三区| 亚洲精品中文在线影院| 亚洲一区二区三区中文字幕 | 美国欧美日韩国产在线播放| 日本三级亚洲精品| 激情五月婷婷综合网| 成人黄色777网| 色综合久久久久| 欧美精品三级在线观看| 欧美成人官网二区| 国产精品精品国产色婷婷| 亚洲一区二区欧美| 免费在线观看精品| 成人性生交大片免费看视频在线| 99热精品国产| 欧美日韩在线电影| 精品乱人伦小说| 自拍偷拍欧美激情| 七七婷婷婷婷精品国产| 国产a精品视频| 欧美日韩黄色一区二区| 久久久久国产精品人| 亚洲男人天堂一区| 久久99热狠狠色一区二区| 成人丝袜视频网| 日韩一区二区三区四区| 中文字幕亚洲视频| 美国精品在线观看| 色网站国产精品| 久久久久久久久久久久电影| 亚洲黄色在线视频| 国产精品综合在线视频| 欧美熟乱第一页| 国产精品乱人伦一区二区| 日本一不卡视频| 在线免费不卡视频| 日本一区二区三区高清不卡| 性做久久久久久免费观看欧美|