con - unicamp · con ten ts 1 wimax hierarc hical index 1.1 wimax class hierarc h y. 1 2 wimax...

157

Upload: others

Post on 20-Jan-2020

12 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

WiMAX Referen e ManualGenerated by Doxygen 1.5.1Fri Feb 8 16:42:33 2008

Page 2: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4
Page 3: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

Contents1 WiMAX Hierar hi al Index 11.1 WiMAX Class Hierar hy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 WiMAX Class Index 32.1 WiMAX Class List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 WiMAX File Index 53.1 WiMAX File List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 WiMAX Class Do umentation 74.1 a tive_�ows Stru t Referen e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74.2 allo ation_time Stru t Referen e . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84.3 bs_ onf_param Stru t Referen e . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94.4 bs_snd_timer_list Stru t Referen e . . . . . . . . . . . . . . . . . . . . . . . . . . 104.5 bs_statisti s Stru t Referen e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114.6 bsqnode Stru t Referen e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134.7 BsRng802_16Timer Class Referen e . . . . . . . . . . . . . . . . . . . . . . . . . . 144.8 BsServi eFlowSendTimer Class Referen e . . . . . . . . . . . . . . . . . . . . . . . 154.9 BsSyn 802_16Timer Class Referen e . . . . . . . . . . . . . . . . . . . . . . . . . . 164.10 BsToken802_16Timer Class Referen e . . . . . . . . . . . . . . . . . . . . . . . . . 174.11 BsTxPkt802_16Timer Class Referen e . . . . . . . . . . . . . . . . . . . . . . . . . 184.12 BsU d802_16Timer Class Referen e . . . . . . . . . . . . . . . . . . . . . . . . . . 194.13 BsUplinkS hedWindowTimer Class Referen e . . . . . . . . . . . . . . . . . . . . . 204.14 downstream_ hannel Stru t Referen e . . . . . . . . . . . . . . . . . . . . . . . . . 214.15 downstream_�ow_re ord Stru t Referen e . . . . . . . . . . . . . . . . . . . . . . 224.16 downstream_s�ow Stru t Referen e . . . . . . . . . . . . . . . . . . . . . . . . . . 254.17 �ow_ lassi�er Stru t Referen e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264.18 hdr_ma 802_16 Stru t Referen e . . . . . . . . . . . . . . . . . . . . . . . . . . . 274.19 hdr_ma 802_16extd Stru t Referen e . . . . . . . . . . . . . . . . . . . . . . . . . 29

Page 4: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

ii CONTENTS4.20 hdr_ma 802_16map Stru t Referen e . . . . . . . . . . . . . . . . . . . . . . . . . 314.21 hdr_ma 802_16mgmt Stru t Referen e . . . . . . . . . . . . . . . . . . . . . . . . 334.22 job Stru t Referen e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 354.23 Ma 802_16 Class Referen e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 364.24 ma 802_16_extended_header_element Stru t Referen e . . . . . . . . . . . . . . 434.25 ma 802_16_frame_hdr Stru t Referen e . . . . . . . . . . . . . . . . . . . . . . . 444.26 Ma 802_16BS Class Referen e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 454.27 Ma 802_16BsClass Class Referen e . . . . . . . . . . . . . . . . . . . . . . . . . . 634.28 Ma 802_16EHeaderClass Class Referen e . . . . . . . . . . . . . . . . . . . . . . . 644.29 Ma 802_16HeaderClass Class Referen e . . . . . . . . . . . . . . . . . . . . . . . . 654.30 Ma 802_16MapHeaderClass Class Referen e . . . . . . . . . . . . . . . . . . . . . 664.31 Ma 802_16MHeaderClass Class Referen e . . . . . . . . . . . . . . . . . . . . . . . 674.32 Ma 802_16SS Class Referen e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 684.33 Ma 802_16SSClass Class Referen e . . . . . . . . . . . . . . . . . . . . . . . . . . 844.34 Ma 802_16Timer Class Referen e . . . . . . . . . . . . . . . . . . . . . . . . . . . 854.35 Map802_16Timer Class Referen e . . . . . . . . . . . . . . . . . . . . . . . . . . . 874.36 map_ onf_param Stru t Referen e . . . . . . . . . . . . . . . . . . . . . . . . . . . 884.37 map_list Stru t Referen e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 894.38 mgmt_ onf_param Stru t Referen e . . . . . . . . . . . . . . . . . . . . . . . . . . 904.39 pnode Stru t Referen e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 914.40 priority_array Stru t Referen e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 924.41 req_timer_list Stru t Referen e . . . . . . . . . . . . . . . . . . . . . . . . . . . . 934.42 RxPkt802_16Timer Class Referen e . . . . . . . . . . . . . . . . . . . . . . . . . . 944.43 snd_timer_list Stru t Referen e . . . . . . . . . . . . . . . . . . . . . . . . . . . . 954.44 ss_re ord Stru t Referen e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 964.45 SSRng802_16Timer Class Referen e . . . . . . . . . . . . . . . . . . . . . . . . . . 974.46 SSServi eFlowRequestTimer Class Referen e . . . . . . . . . . . . . . . . . . . . . 984.47 SSServi eFlowSendTimer Class Referen e . . . . . . . . . . . . . . . . . . . . . . . 994.48 token_timer_list Stru t Referen e . . . . . . . . . . . . . . . . . . . . . . . . . . . 1004.49 TxPkt802_16Timer Class Referen e . . . . . . . . . . . . . . . . . . . . . . . . . . 1014.50 up_�ow_re ord Stru t Referen e . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1024.51 upstream_ hannel Stru t Referen e . . . . . . . . . . . . . . . . . . . . . . . . . . 1044.52 upstream_�ow_re ord Stru t Referen e . . . . . . . . . . . . . . . . . . . . . . . . 1054.53 upstream_s�ow Stru t Referen e . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1065 WiMAX File Do umentation 1115.1 ns-2.28/ma /hdr-802_16.h File Referen e . . . . . . . . . . . . . . . . . . . . . . . 111Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 5: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

CONTENTS iii5.2 ns-2.28/ma /ma -802_16-base. File Referen e . . . . . . . . . . . . . . . . . . . 1185.3 ns-2.28/ma /ma -802_16-bs. File Referen e . . . . . . . . . . . . . . . . . . . . . 1195.4 ns-2.28/ma /ma -802_16-FSM. File Referen e . . . . . . . . . . . . . . . . . . . 1215.5 ns-2.28/ma /ma -802_16-ss. File Referen e . . . . . . . . . . . . . . . . . . . . . 1225.6 ns-2.28/ma /ma -802_16-timers. File Referen e . . . . . . . . . . . . . . . . . . 1245.7 ns-2.28/ma /ma -802_16-timers.h File Referen e . . . . . . . . . . . . . . . . . . . 1255.8 ns-2.28/ma /ma -802_16.h File Referen e . . . . . . . . . . . . . . . . . . . . . . . 126

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 6: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4
Page 7: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

Chapter 1WiMAX Hierar hi al Index1.1 WiMAX Class Hierar hyThis inheritan e list is sorted roughly, but not ompletely, alphabeti ally:a tive_�ows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7allo ation_time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8bs_ onf_param . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9bs_snd_timer_list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10bs_statisti s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11bsqnode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13downstream_ hannel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21downstream_�ow_re ord . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22downstream_s�ow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25�ow_ lassi�er . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26hdr_ma 802_16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27hdr_ma 802_16extd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29hdr_ma 802_16map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31hdr_ma 802_16mgmt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33job . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35Ma 802_16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36Ma 802_16BS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45Ma 802_16SS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68ma 802_16_extended_header_element . . . . . . . . . . . . . . . . . . . . . . . . . . . 43ma 802_16_frame_hdr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44Ma 802_16BsClass . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63Ma 802_16EHeaderClass . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64Ma 802_16HeaderClass . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65Ma 802_16MapHeaderClass . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66Ma 802_16MHeaderClass . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67Ma 802_16SSClass . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84Ma 802_16Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85BsRng802_16Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14BsServi eFlowSendTimer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15BsSyn 802_16Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16BsToken802_16Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17BsTxPkt802_16Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18BsU d802_16Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

Page 8: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

2 WiMAX Hierar hi al IndexBsUplinkS hedWindowTimer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20Map802_16Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87RxPkt802_16Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94SSRng802_16Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97SSServi eFlowRequestTimer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98SSServi eFlowSendTimer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99TxPkt802_16Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101map_ onf_param . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88map_list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89mgmt_ onf_param . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90pnode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91priority_array . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92req_timer_list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93snd_timer_list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95ss_re ord . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96token_timer_list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100up_�ow_re ord . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102upstream_ hannel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104upstream_�ow_re ord . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105upstream_s�ow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 9: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

Chapter 2WiMAX Class Index2.1 WiMAX Class ListHere are the lasses, stru ts, unions and interfa es with brief des riptions:a tive_�ows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7allo ation_time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8bs_ onf_param . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9bs_snd_timer_list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10bs_statisti s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11bsqnode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13BsRng802_16Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14BsServi eFlowSendTimer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15BsSyn 802_16Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16BsToken802_16Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17BsTxPkt802_16Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18BsU d802_16Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19BsUplinkS hedWindowTimer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20downstream_ hannel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21downstream_�ow_re ord . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22downstream_s�ow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25�ow_ lassi�er . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26hdr_ma 802_16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27hdr_ma 802_16extd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29hdr_ma 802_16map (802_16 map pa ket header ) . . . . . . . . . . . . . . . . . . . 31hdr_ma 802_16mgmt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33job . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35Ma 802_16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36ma 802_16_extended_header_element . . . . . . . . . . . . . . . . . . . . . . . 43ma 802_16_frame_hdr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44Ma 802_16BS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45Ma 802_16BsClass . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63Ma 802_16EHeaderClass . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64Ma 802_16HeaderClass . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65Ma 802_16MapHeaderClass . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66Ma 802_16MHeaderClass . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67Ma 802_16SS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68Ma 802_16SSClass . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84

Page 10: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4 WiMAX Class IndexMa 802_16Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85Map802_16Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87map_ onf_param . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88map_list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89mgmt_ onf_param . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90pnode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91priority_array . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92req_timer_list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93RxPkt802_16Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94snd_timer_list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95ss_re ord . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96SSRng802_16Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97SSServi eFlowRequestTimer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98SSServi eFlowSendTimer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99token_timer_list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100TxPkt802_16Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101up_�ow_re ord . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102upstream_ hannel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104upstream_�ow_re ord . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105upstream_s�ow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 11: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

Chapter 3WiMAX File Index3.1 WiMAX File ListHere is a list of all �les with brief des riptions:ns-2.28/ma /hdr-802_16.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111ns-2.28/ma /ma -802_16-base. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118ns-2.28/ma /ma -802_16-bs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119ns-2.28/ma /ma -802_16-FSM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121ns-2.28/ma /ma -802_16-ss. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122ns-2.28/ma /ma -802_16-timers. . . . . . . . . . . . . . . . . . . . . . . . . . . . 124ns-2.28/ma /ma -802_16-timers.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125ns-2.28/ma /ma -802_16.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126

Page 12: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

6 WiMAX File Index

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 13: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

Chapter 4WiMAX Class Do umentation4.1 a tive_�ows Stru t Referen e#in lude <hdr-802_16.h>Publi Attributes� a �ows_ptr next� u_int16_t �ow_id� u_int16_t ba klogged_tmp� int16_t granted_bw_tmp4.1.1 Member Data Do umentation4.1.1.1 a �ows_ptr a tive_�ows::next4.1.1.2 u_int16_t a tive_�ows::�ow_id4.1.1.3 u_int16_t a tive_�ows::ba klogged_tmp4.1.1.4 int16_t a tive_�ows::granted_bw_tmpThe do umentation for this stru t was generated from the following �le:� ns-2.28/ma /hdr-802_16.h

Page 14: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

8 WiMAX Class Do umentation4.2 allo ation_time Stru t Referen e#in lude <hdr-802_16.h>Publi Attributes� double start_time� double end_time� u_int32_t num_slots� aptr next� u_ har type� u_ har used4.2.1 Member Data Do umentation4.2.1.1 double allo ation_time::start_time4.2.1.2 double allo ation_time::end_time4.2.1.3 u_int32_t allo ation_time::num_slots4.2.1.4 aptr allo ation_time::next4.2.1.5 u_ har allo ation_time::type4.2.1.6 u_ har allo ation_time::usedThe do umentation for this stru t was generated from the following �le:� ns-2.28/ma /hdr-802_16.h

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 15: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.3 bs_ onf_param Stru t Referen e 94.3 bs_ onf_param Stru t Referen e#in lude <hdr-802_16.h>Publi Attributes� mgmt_ onf_param mgtparam� map_ onf_param mapparam4.3.1 Detailed Des riptionThis stru ture ontains all the on�gurable parameters of the BS node4.3.2 Member Data Do umentation4.3.2.1 stru t mgmt_ onf_param bs_ onf_param::mgtparam4.3.2.2 stru t map_ onf_param bs_ onf_param::mapparamThe do umentation for this stru t was generated from the following �le:� ns-2.28/ma /hdr-802_16.h

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 16: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

10 WiMAX Class Do umentation4.4 bs_snd_timer_list Stru t Referen e#in lude <hdr-802_16.h>Publi Attributes� double expiration_time� bs_sptr next� int index� int �ndex4.4.1 Member Data Do umentation4.4.1.1 double bs_snd_timer_list::expiration_time4.4.1.2 bs_sptr bs_snd_timer_list::next4.4.1.3 int bs_snd_timer_list:: index4.4.1.4 int bs_snd_timer_list::�ndexThe do umentation for this stru t was generated from the following �le:� ns-2.28/ma /hdr-802_16.h

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 17: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.5 bs_statisti s Stru t Referen e 114.5 bs_statisti s Stru t Referen e#in lude <hdr-802_16.h>Publi Attributes� double avg_interdpr_map� u_int32_t avg_datagrants� u_int32_t num_req� u_int32_t avg_ ontentionslots� u_int32_t data_sent� u_int32_t fragmented_ ount� u_int32_t on atenation_ ount� u_ har num_IE� u_int32_t num_ req� u_int32_t num_piggyreq� u_int32_t num_ reqgrant� u_int32_t num_ reqdenied� u_int32_t total_num_ slots� u_int32_t total_num_mgmtslots4.5.1 Detailed Des riptionSimulation output statisti s variableGenerated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 18: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

12 WiMAX Class Do umentation4.5.2 Member Data Do umentation4.5.2.1 double bs_statisti s::avg_interdpr_map4.5.2.2 u_int32_t bs_statisti s::avg_datagrants4.5.2.3 u_int32_t bs_statisti s::num_req4.5.2.4 u_int32_t bs_statisti s::avg_ ontentionslots4.5.2.5 u_int32_t bs_statisti s::data_sent4.5.2.6 u_int32_t bs_statisti s::fragmented_ ount4.5.2.7 u_int32_t bs_statisti s:: on atenation_ ount4.5.2.8 u_ har bs_statisti s::num_IE4.5.2.9 u_int32_t bs_statisti s::num_ req4.5.2.10 u_int32_t bs_statisti s::num_piggyreq4.5.2.11 u_int32_t bs_statisti s::num_ reqgrant4.5.2.12 u_int32_t bs_statisti s::num_ reqdenied4.5.2.13 u_int32_t bs_statisti s::total_num_ slots4.5.2.14 u_int32_t bs_statisti s::total_num_mgmtslotsThe do umentation for this stru t was generated from the following �le:� ns-2.28/ma /hdr-802_16.h

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 19: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.6 bsqnode Stru t Referen e 134.6 bsqnode Stru t Referen e#in lude <hdr-802_16.h>Publi Attributes� Pa ket ∗ pkt� double enq_time� int index� int �ndex� qlist next4.6.1 Member Data Do umentation4.6.1.1 Pa ket∗ bsqnode::pkt4.6.1.2 double bsqnode::enq_time4.6.1.3 int bsqnode:: index4.6.1.4 int bsqnode::�ndex4.6.1.5 qlist bsqnode::nextThe do umentation for this stru t was generated from the following �le:� ns-2.28/ma /hdr-802_16.h

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 20: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

14 WiMAX Class Do umentation4.7 BsRng802_16Timer Class Referen e#in lude <ma -802_16-timers.h>Inheritan e diagram for BsRng802_16Timer::BsRng802_16Timer

Mac802_16Timer

Publi Member Fun tions� BsRng802_16Timer (Ma 802_16 ∗m)� void handle (Event ∗e)4.7.1 Constru tor & Destru tor Do umentation4.7.1.1 BsRng802_16Timer::BsRng802_16Timer (Ma 802_16 ∗ m) [inline℄4.7.2 Member Fun tion Do umentation4.7.2.1 void BsRng802_16Timer::handle (Event ∗ e) [virtual℄Reimplemented from Ma 802_16Timer (p. 86).The do umentation for this lass was generated from the following �les:� ns-2.28/ma /ma -802_16-timers.h� ns-2.28/ma /ma -802_16-timers.

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 21: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.8 BsServi eFlowSendTimer Class Referen e 154.8 BsServi eFlowSendTimer Class Referen e#in lude <ma -802_16-timers.h>Inheritan e diagram for BsServi eFlowSendTimer::BsServiceFlowSendTimer

Mac802_16Timer

Publi Member Fun tions� BsServi eFlowSendTimer (Ma 802_16 ∗m)� void handle (Event ∗e)4.8.1 Constru tor & Destru tor Do umentation4.8.1.1 BsServi eFlowSendTimer::BsServi eFlowSendTimer (Ma 802_16 ∗ m)[inline℄4.8.2 Member Fun tion Do umentation4.8.2.1 void BsServi eFlowSendTimer::handle (Event ∗ e) [virtual℄Reimplemented from Ma 802_16Timer (p. 86).The do umentation for this lass was generated from the following �les:� ns-2.28/ma /ma -802_16-timers.h� ns-2.28/ma /ma -802_16-timers.

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 22: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

16 WiMAX Class Do umentation4.9 BsSyn 802_16Timer Class Referen e#in lude <ma -802_16-timers.h>Inheritan e diagram for BsSyn 802_16Timer::BsSync802_16Timer

Mac802_16Timer

Publi Member Fun tions� BsSyn 802_16Timer (Ma 802_16 ∗m)� void handle (Event ∗e)4.9.1 Constru tor & Destru tor Do umentation4.9.1.1 BsSyn 802_16Timer::BsSyn 802_16Timer (Ma 802_16 ∗ m) [inline℄4.9.2 Member Fun tion Do umentation4.9.2.1 void BsSyn 802_16Timer::handle (Event ∗ e) [virtual℄Reimplemented from Ma 802_16Timer (p. 86).The do umentation for this lass was generated from the following �les:� ns-2.28/ma /ma -802_16-timers.h� ns-2.28/ma /ma -802_16-timers.

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 23: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.10 BsToken802_16Timer Class Referen e 174.10 BsToken802_16Timer Class Referen e#in lude <ma -802_16-timers.h>Inheritan e diagram for BsToken802_16Timer::BsToken802_16Timer

Mac802_16Timer

Publi Member Fun tions� BsToken802_16Timer (Ma 802_16 ∗m)� void handle (Event ∗e)4.10.1 Constru tor & Destru tor Do umentation4.10.1.1 BsToken802_16Timer::BsToken802_16Timer (Ma 802_16 ∗ m) [inline℄4.10.2 Member Fun tion Do umentation4.10.2.1 void BsToken802_16Timer::handle (Event ∗ e) [virtual℄Reimplemented from Ma 802_16Timer (p. 86).The do umentation for this lass was generated from the following �les:� ns-2.28/ma /ma -802_16-timers.h� ns-2.28/ma /ma -802_16-timers.

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 24: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

18 WiMAX Class Do umentation4.11 BsTxPkt802_16Timer Class Referen e#in lude <ma -802_16-timers.h>Inheritan e diagram for BsTxPkt802_16Timer::BsTxPkt802_16Timer

Mac802_16Timer

Publi Member Fun tions� BsTxPkt802_16Timer (Ma 802_16 ∗m)� void handle (Event ∗e)4.11.1 Constru tor & Destru tor Do umentation4.11.1.1 BsTxPkt802_16Timer::BsTxPkt802_16Timer (Ma 802_16 ∗ m)[inline℄4.11.2 Member Fun tion Do umentation4.11.2.1 void BsTxPkt802_16Timer::handle (Event ∗ e) [virtual℄Send TimerReimplemented from Ma 802_16Timer (p. 86).The do umentation for this lass was generated from the following �les:� ns-2.28/ma /ma -802_16-timers.h� ns-2.28/ma /ma -802_16-timers.

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 25: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.12 BsU d802_16Timer Class Referen e 194.12 BsU d802_16Timer Class Referen e#in lude <ma -802_16-timers.h>Inheritan e diagram for BsU d802_16Timer::BsUcd802_16Timer

Mac802_16Timer

Publi Member Fun tions� BsU d802_16Timer (Ma 802_16 ∗m)� void handle (Event ∗e)4.12.1 Detailed Des riptionTimers to s hedule transmition of Management messages4.12.2 Constru tor & Destru tor Do umentation4.12.2.1 BsU d802_16Timer::BsU d802_16Timer (Ma 802_16 ∗ m) [inline℄4.12.3 Member Fun tion Do umentation4.12.3.1 void BsU d802_16Timer::handle (Event ∗ e) [virtual℄Reimplemented from Ma 802_16Timer (p. 86).The do umentation for this lass was generated from the following �les:� ns-2.28/ma /ma -802_16-timers.h� ns-2.28/ma /ma -802_16-timers.

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 26: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

20 WiMAX Class Do umentation4.13 BsUplinkS hedWindowTimer Class Referen e#in lude <ma -802_16-timers.h>Inheritan e diagram for BsUplinkS hedWindowTimer::BsUplinkSchedWindowTimer

Mac802_16Timer

Publi Member Fun tions� BsUplinkS hedWindowTimer (Ma 802_16 ∗m)� void handle (Event ∗e)4.13.1 Detailed Des riptionWindow used to ontrol the provision of the minimum BW requested by rtPS and nrtPS servi es.4.13.2 Constru tor & Destru tor Do umentation4.13.2.1 BsUplinkS hedWindowTimer::BsUplinkS hedWindowTimer (Ma 802_16∗ m) [inline℄4.13.3 Member Fun tion Do umentation4.13.3.1 void BsUplinkS hedWindowTimer::handle (Event ∗ e) [virtual℄Reimplemented from Ma 802_16Timer (p. 86).The do umentation for this lass was generated from the following �les:� ns-2.28/ma /ma -802_16-timers.h� ns-2.28/ma /ma -802_16-timers.

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 27: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.14 downstream_ hannel Stru t Referen e 214.14 downstream_ hannel Stru t Referen e#in lude <hdr-802_16.h>Publi Attributes� double data_rate� double prop_delay� u_int32_t overhead_bytes4.14.1 Member Data Do umentation4.14.1.1 double downstream_ hannel::data_rate4.14.1.2 double downstream_ hannel::prop_delay4.14.1.3 u_int32_t downstream_ hannel::overhead_bytesThe do umentation for this stru t was generated from the following �le:� ns-2.28/ma /hdr-802_16.h

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 28: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

22 WiMAX Class Do umentation4.15 downstream_�ow_re ord Stru t Referen e#in lude <hdr-802_16.h>Publi Attributes� �ow_ lassi�er lassi�er� S hedType s hed_type� plist pa ket_list� u_int16_t max_qsize� u_ har state� Pa ket ∗ pkt� u_ har pending� allo ation_time ∗ allo _list� double ugsjitter� int jitterSamples� double last_granttime� double nominal_allo time� double last_jitter altime� double ginterval� u_int16_t gsize� double laten y� u_int32_t min_bw� u_int16_t �ow_id� PhsType PHS_pro�le� Pa ketQueue ∗ tokenq_� double tokens_� double rate_� int bu ket_� int tokenqlen_� double lastupdatetime_� int init_� Event intr� har rate ontrol� double util_total_bytes_DS� int util_total_pkts_DS� int total_pkts_dropped� int dropped_tokenq� double dsq_delay� int num_qsamples� int dropped_dsq4.15.1 Detailed Des riptionThis stru ture de�nes attributes of downstream servi e �ow of a SSGenerated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 29: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.15 downstream_�ow_re ord Stru t Referen e 234.15.2 Member Data Do umentation4.15.2.1 stru t �ow_ lassi�er downstream_�ow_re ord:: lassi�er4.15.2.2 S hedType downstream_�ow_re ord::s hed_type4.15.2.3 plist downstream_�ow_re ord::pa ket_list4.15.2.4 u_int16_t downstream_�ow_re ord::max_qsize4.15.2.5 u_ har downstream_�ow_re ord::state4.15.2.6 Pa ket∗ downstream_�ow_re ord::pkt4.15.2.7 u_ har downstream_�ow_re ord::pending4.15.2.8 stru t allo ation_time∗ downstream_�ow_re ord::allo _list4.15.2.9 double downstream_�ow_re ord::ugsjitter4.15.2.10 int downstream_�ow_re ord::jitterSamples4.15.2.11 double downstream_�ow_re ord::last_granttime4.15.2.12 double downstream_�ow_re ord::nominal_allo time4.15.2.13 double downstream_�ow_re ord::last_jitter altime4.15.2.14 double downstream_�ow_re ord::ginterval4.15.2.15 u_int16_t downstream_�ow_re ord::gsize4.15.2.16 double downstream_�ow_re ord::laten y4.15.2.17 u_int32_t downstream_�ow_re ord::min_bw4.15.2.18 u_int16_t downstream_�ow_re ord::�ow_id4.15.2.19 PhsType downstream_�ow_re ord::PHS_pro�le4.15.2.20 Pa ketQueue∗ downstream_�ow_re ord::tokenq_4.15.2.21 double downstream_�ow_re ord::tokens_4.15.2.22 double downstream_�ow_re ord::rate_4.15.2.23 int downstream_�ow_re ord::bu ket_4.15.2.24 int downstream_�ow_re ord::tokenqlen_4.15.2.25 double downstream_�ow_re ord::lastupdatetime_4.15.2.26 int downstream_�ow_re ord::init_4.15.2.27 Event downstream_�ow_re ord::intr4.15.2.28 har downstream_�ow_re ord::rate ontrol4.15.2.29 double downstream_�ow_re ord::util_total_bytes_DS4.15.2.30 int downstream_�ow_re ord::util_total_pkts_DS4.15.2.31 int downstream_�ow_re ord::total_pkts_dropped4.15.2.32 int downstream_�ow_re ord::dropped_tokenq4.15.2.33 double downstream_�ow_re ord::dsq_delay4.15.2.34 int downstream_�ow_re ord::num_qsamples4.15.2.35 int downstream_�ow_re ord::dropped_dsqThe do umentation for this stru t was generated from the following �le:

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 30: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

24 WiMAX Class Do umentation� ns-2.28/ma /hdr-802_16.h

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 31: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.16 downstream_s�ow Stru t Referen e 254.16 downstream_s�ow Stru t Referen e#in lude <hdr-802_16.h>Publi Attributes� downstream_�ow_re ord downstream_re ord4.16.1 Detailed Des riptionTo store the Upstream �ow information so that it ould be sent to BS during the RegistrationPhase4.16.2 Member Data Do umentation4.16.2.1 stru t downstream_�ow_re ord downstream_s�ow::downstream_re ordThe do umentation for this stru t was generated from the following �le:� ns-2.28/ma /hdr-802_16.h

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 32: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

26 WiMAX Class Do umentation4.17 �ow_ lassi�er Stru t Referen e#in lude <hdr-802_16.h>Publi Attributes� int32_t sr _ip� int32_t dst_ip� pa ket_t pkt_type4.17.1 Detailed Des riptionThis de�nes the lassi�er to be used for mat hing pa kets to upstream/downstream �ows4.17.2 Member Data Do umentation4.17.2.1 int32_t �ow_ lassi�er::sr _ip4.17.2.2 int32_t �ow_ lassi�er::dst_ip4.17.2.3 pa ket_t �ow_ lassi�er::pkt_typeThe do umentation for this stru t was generated from the following �le:� ns-2.28/ma /hdr-802_16.h

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 33: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.18 hdr_ma 802_16 Stru t Referen e 274.18 hdr_ma 802_16 Stru t Referen e#in lude <hdr-802_16.h>Publi Member Fun tions� ma 802_16_frame_hdr & dshdr ()� int & dt_ onv_overhead ()Stati Publi Member Fun tions� stati int & o�set ()� stati hdr_ma 802_16 ∗ a ess ( onst Pa ket ∗p)Publi Attributes� ma 802_16_frame_hdr dshdr_� int dt_ onv_overhead_Stati Publi Attributes� stati int o�set_4.18.1 Detailed Des ription802_16 pa ket header4.18.2 Member Fun tion Do umentation4.18.2.1 stati int& hdr_ma 802_16::o�set () [inline, stati ℄4.18.2.2 stati hdr_ma 802_16∗ hdr_ma 802_16::a ess ( onst Pa ket ∗ p)[inline, stati ℄4.18.2.3 stru t ma 802_16_frame_hdr& hdr_ma 802_16::dshdr () [inline℄4.18.2.4 int& hdr_ma 802_16::dt_ onv_overhead () [inline℄4.18.3 Member Data Do umentation4.18.3.1 stru t ma 802_16_frame_hdr hdr_ma 802_16::dshdr_4.18.3.2 int hdr_ma 802_16::dt_ onv_overhead_4.18.3.3 int hdr_ma 802_16::o�set_ [stati ℄The do umentation for this stru t was generated from the following �les:� ns-2.28/ma /hdr-802_16.hGenerated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 34: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

28 WiMAX Class Do umentation� ns-2.28/ma /ma -802_16-bs.

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 35: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.19 hdr_ma 802_16extd Stru t Referen e 294.19 hdr_ma 802_16extd Stru t Referen e#in lude <hdr-802_16.h>Publi Member Fun tions� int & num_hdr_ ()� ma 802_16_extended_header_element ∗ exthdr ()Stati Publi Member Fun tions� stati int & o�set ()� stati hdr_ma 802_16extd ∗ a ess ( onst Pa ket ∗p)Publi Attributes� ma 802_16_extended_header_element exthdr_ [NUM_EXTENDED_HDR_-ELEMENTS℄� int num_hdrStati Publi Attributes� stati int o�set_4.19.1 Detailed Des ription802_16 extended pa ket headerGenerated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 36: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

30 WiMAX Class Do umentation4.19.2 Member Fun tion Do umentation4.19.2.1 stati int& hdr_ma 802_16extd::o�set () [inline, stati ℄4.19.2.2 stati hdr_ma 802_16extd∗ hdr_ma 802_16extd::a ess ( onst Pa ket ∗p) [inline, stati ℄4.19.2.3 int& hdr_ma 802_16extd::num_hdr_ () [inline℄4.19.2.4 stru t ma 802_16_extended_header_element∗ hdr_ma 802_-16extd::exthdr () [inline℄4.19.3 Member Data Do umentation4.19.3.1 stru t ma 802_16_extended_header_element hdr_ma 802_-16extd::exthdr_[NUM_EXTENDED_HDR_ELEMENTS℄4.19.3.2 int hdr_ma 802_16extd::num_hdr4.19.3.3 int hdr_ma 802_16extd::o�set_ [stati ℄The do umentation for this stru t was generated from the following �les:� ns-2.28/ma /hdr-802_16.h� ns-2.28/ma /ma -802_16-bs.

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 37: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.20 hdr_ma 802_16map Stru t Referen e 314.20 hdr_ma 802_16map Stru t Referen e802_16 map pa ket header#in lude <hdr-802_16.h>Publi Member Fun tions� double & allo starttime_ ()� double & allo endtime_ ()� double & a ktime_ ()� u_ har & numIE_ ()� u_ har & bko�_start_ ()� u_ har & bko�_end_ ()Stati Publi Member Fun tions� stati int & o�set ()� stati hdr_ma 802_16map ∗ a ess ( onst Pa ket ∗p)Publi Attributes� double allo starttime� double allo endtime� double a ktime� u_ har numIE� u_ har bko�_start� u_ har bko�_endStati Publi Attributes� stati int o�set_4.20.1 Detailed Des ription802_16 map pa ket headerThe information elements will be send in DATA portion of pa ketGenerated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 38: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

32 WiMAX Class Do umentation4.20.2 Member Fun tion Do umentation4.20.2.1 stati int& hdr_ma 802_16map::o�set () [inline, stati ℄4.20.2.2 stati hdr_ma 802_16map∗ hdr_ma 802_16map::a ess ( onst Pa ket ∗p) [inline, stati ℄4.20.2.3 double& hdr_ma 802_16map::allo starttime_ () [inline℄4.20.2.4 double& hdr_ma 802_16map::allo endtime_ () [inline℄4.20.2.5 double& hdr_ma 802_16map::a ktime_ () [inline℄4.20.2.6 u_ har& hdr_ma 802_16map::numIE_ () [inline℄4.20.2.7 u_ har& hdr_ma 802_16map::bko�_start_ () [inline℄4.20.2.8 u_ har& hdr_ma 802_16map::bko�_end_ () [inline℄4.20.3 Member Data Do umentation4.20.3.1 double hdr_ma 802_16map::allo starttime4.20.3.2 double hdr_ma 802_16map::allo endtime4.20.3.3 double hdr_ma 802_16map::a ktime4.20.3.4 u_ har hdr_ma 802_16map::numIE4.20.3.5 u_ har hdr_ma 802_16map::bko�_start4.20.3.6 u_ har hdr_ma 802_16map::bko�_end4.20.3.7 int hdr_ma 802_16map::o�set_ [stati ℄The do umentation for this stru t was generated from the following �les:� ns-2.28/ma /hdr-802_16.h� ns-2.28/ma /ma -802_16-bs.

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 39: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.21 hdr_ma 802_16mgmt Stru t Referen e 334.21 hdr_ma 802_16mgmt Stru t Referen e#in lude <hdr-802_16.h>Publi Member Fun tions� int & dstaddr_ ()� int & sr addr_ ()� u_ har & type_ ()Stati Publi Member Fun tions� stati int & o�set ()� stati hdr_ma 802_16mgmt ∗ a ess ( onst Pa ket ∗p)Publi Attributes� int dstaddr� int sr addr� u_ har msg_payload_ [MANAGEMENT_MSG_PAYLOAD_SIZE℄� u_ har typeStati Publi Attributes� stati int o�set_4.21.1 Detailed Des ription802_16 management pa ket headerGenerated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 40: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

34 WiMAX Class Do umentation4.21.2 Member Fun tion Do umentation4.21.2.1 stati int& hdr_ma 802_16mgmt::o�set () [inline, stati ℄4.21.2.2 stati hdr_ma 802_16mgmt∗ hdr_ma 802_16mgmt::a ess ( onst Pa ket∗ p) [inline, stati ℄4.21.2.3 int& hdr_ma 802_16mgmt::dstaddr_ () [inline℄4.21.2.4 int& hdr_ma 802_16mgmt::sr addr_ () [inline℄4.21.2.5 u_ har& hdr_ma 802_16mgmt::type_ () [inline℄4.21.3 Member Data Do umentation4.21.3.1 int hdr_ma 802_16mgmt::dstaddr4.21.3.2 int hdr_ma 802_16mgmt::sr addr4.21.3.3 u_ har hdr_ma 802_16mgmt::msg_payload_[MANAGEMENT_-MSG_PAYLOAD_SIZE℄4.21.3.4 u_ har hdr_ma 802_16mgmt::type4.21.3.5 int hdr_ma 802_16mgmt::o�set_ [stati ℄The do umentation for this stru t was generated from the following �les:� ns-2.28/ma /hdr-802_16.h� ns-2.28/ma /ma -802_16-bs.

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 41: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.22 job Stru t Referen e 354.22 job Stru t Referen e#in lude <hdr-802_16.h>Publi Attributes� double release_time� double period� double deadline� u_int32_t mini_slots� jptr next� u_int16_t �ow_id� S hedType s lass� u_ har type� u_ har �ag� u_ har retry_ ount� double ugsjitter� int jitterSamples� double last_jitter altime4.22.1 Member Data Do umentation4.22.1.1 double job::release_time4.22.1.2 double job::period4.22.1.3 double job::deadline4.22.1.4 u_int32_t job::mini_slots4.22.1.5 jptr job::next4.22.1.6 u_int16_t job::�ow_id4.22.1.7 S hedType job::s lass4.22.1.8 u_ har job::type4.22.1.9 u_ har job::�ag4.22.1.10 u_ har job::retry_ ount4.22.1.11 double job::ugsjitter4.22.1.12 int job::jitterSamples4.22.1.13 double job::last_jitter altimeThe do umentation for this stru t was generated from the following �le:� ns-2.28/ma /hdr-802_16.hGenerated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 42: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

36 WiMAX Class Do umentation4.23 Ma 802_16 Class Referen e#in lude <ma -802_16.h>Inheritan e diagram for Ma 802_16::Mac802_16

Mac802_16BS Mac802_16SSPubli Member Fun tions� Ma 802_16 ()� virtual ∼Ma 802_16 ()� virtual void BsU dHandler (Event ∗e)� virtual void BsSyn Handler (Event ∗e)� virtual void BsRngHandler (Event ∗e)� virtual void BsMapHandler (Event ∗e)� virtual void SSRngHandler (Event ∗e)� virtual void SSSndTimerHandler (Event ∗e)� virtual void SSReqTimerHandler (Event ∗e)� virtual void Re vFrame (Pa ket ∗p, int i)� virtual void BsSendHandler (Event ∗e)� virtual void BsSndTimerHandler (Event ∗e)� virtual void BsWindowTimerHandler (Event ∗e)� virtual void BsTokenHandler (Event ∗e)� int ommand (int arg , onst har ∗ onst ∗argv)� void re vHandler (Event ∗e)� void sendHandler (Event ∗e)� void re v (Pa ket ∗p, Handler ∗h)� void on�gure_upstream ()� void set_bit (u_ har ∗, int, int)� void dump_pkt (Pa ket ∗)� har ClassifyDataMgmt (Pa ket ∗)� int is_idle ()� int mat h (Pa ket ∗, stru t �ow_ lassi�er)� int bit_on (u_ har, int)� u_int32_t al ulate_slots (double, double)� u_int32_t power (u_int32_t, u_int32_t)� double TX_Time (Pa ket ∗p, int)� Pa ket ∗ Allo Pkt (int)� void insert_allo list (aptr &, u_int16_t, double, double, u_int16_t, u_int32_t)� int CanBeSent (aptr &, Pa ket ∗, u_int32_t)� int len_queue (plist)� int CanErtPSBeSent (aptr &, Pa ket ∗)Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 43: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.23 Ma 802_16 Class Referen e 37Publi Attributes� TxPkt802_16Timer mhTxPkt_� RxPkt802_16Timer mhRxPkt_� upstream_ hannel up hannel� downstream_ hannel down hannel� har ollision� u_int16_t bytes_pminislot� u_int32_t minislots_pse � double size_mslots� u_int16_t size_ureqgrant� u_int32_t avg_pkts� u_int32_t avg_bytes� u_int32_t num_pkts� double num_bytes� u_int32_t total_num_sent_pkts� double total_num_sent_bytes� u_int32_t total_num_mgt_pkts_US� u_int32_t total_num_rng_pkts_US� u_int32_t total_num_ on at_pkts_US� u_int32_t total_num_frag_pkts_US� u_int32_t total_num_req_pkts_US� u_int32_t total_num_plaindata_pkts_US� u_int32_t total_num_ on atdata_pkts_US� u_int32_t total_num_frames_US� u_int32_t total_num_BE_pkts_US� u_int32_t total_num_RTVBR_pkts_US� u_int32_t total_num_UGS_pkts_US� u_int32_t total_num_OTHER_pkts_US� u_int32_t total_num_rx_pkts� double total_num_rx_bytes� double total_num_BW_bytesUP� double total_num_BW_bytesDOWN� double total_num_appbytesUS� double total_num_appbytesDS� u_int32_t total_pa kets_dropped� double last_BWCal Time� double last_rtime� u_int32_t avg_mgmtpkts� u_int32_t num_mgmtpkts� u_int32_t avg_mgmtbytes� u_int32_t num_mgmtbytes� double last_mmgmttime� Ma State rx_state_� Ma State tx_state_� int tx_a tive_Stati Publi Attributes� stati int lan_num� stati Ma 802_16BS ∗ bs_arr [NUM_802_16_LANS℄Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 44: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

38 WiMAX Class Do umentationFriends� lass TxPkt802_16Timer� lass RxPkt802_16Timer4.23.1 Detailed Des riptionMa 802_16 (p. 36) lass4.23.2 Constru tor & Destru tor Do umentation4.23.2.1 Ma 802_16::Ma 802_16 ()Constru tor fun tion4.23.2.2 virtual Ma 802_16::∼Ma 802_16 () [inline, virtual℄4.23.3 Member Fun tion Do umentation4.23.3.1 virtual void Ma 802_16::BsU dHandler (Event ∗ e) [inline, virtual℄Reimplemented in Ma 802_16BS (p. 51), and Ma 802_16SS (p. 72).4.23.3.2 virtual void Ma 802_16::BsSyn Handler (Event ∗ e) [inline, virtual℄Reimplemented in Ma 802_16BS (p. 51), and Ma 802_16SS (p. 72).4.23.3.3 virtual void Ma 802_16::BsRngHandler (Event ∗ e) [inline, virtual℄Reimplemented in Ma 802_16BS (p. 51), and Ma 802_16SS (p. 72).4.23.3.4 virtual void Ma 802_16::BsMapHandler (Event ∗ e) [inline, virtual℄Reimplemented in Ma 802_16BS (p. 50), and Ma 802_16SS (p. 71).4.23.3.5 virtual void Ma 802_16::SSRngHandler (Event ∗ e) [inline, virtual℄Reimplemented in Ma 802_16BS (p. 50), and Ma 802_16SS (p. 72).4.23.3.6 virtual void Ma 802_16::SSSndTimerHandler (Event ∗ e) [inline,virtual℄Reimplemented in Ma 802_16BS (p. 50), and Ma 802_16SS (p. 72).4.23.3.7 virtual void Ma 802_16::SSReqTimerHandler (Event ∗ e) [inline,virtual℄Reimplemented in Ma 802_16BS (p. 50), and Ma 802_16SS (p. 72).Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 45: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.23 Ma 802_16 Class Referen e 394.23.3.8 virtual void Ma 802_16::Re vFrame (Pa ket ∗ p, int i) [inline, virtual℄Reimplemented in Ma 802_16BS (p. 51), and Ma 802_16SS (p. 74).4.23.3.9 virtual void Ma 802_16::BsSendHandler (Event ∗ e) [inline, virtual℄Reimplemented in Ma 802_16BS (p. 54), and Ma 802_16SS (p. 72).4.23.3.10 virtual void Ma 802_16::BsSndTimerHandler (Event ∗ e) [inline,virtual℄Reimplemented in Ma 802_16BS (p. 59).4.23.3.11 virtual void Ma 802_16::BsWindowTimerHandler (Event ∗ e) [inline,virtual℄Reimplemented in Ma 802_16BS (p. 51).4.23.3.12 virtual void Ma 802_16::BsTokenHandler (Event ∗ e) [inline, virtual℄Reimplemented in Ma 802_16BS (p. 51), and Ma 802_16SS (p. 72).4.23.3.13 int Ma 802_16:: ommand (int arg , onst har ∗ onst ∗ argv)Reimplemented in Ma 802_16BS (p. 50), and Ma 802_16SS (p. 71).4.23.3.14 void Ma 802_16::re vHandler (Event ∗ e)4.23.3.15 void Ma 802_16::sendHandler (Event ∗ e)4.23.3.16 void Ma 802_16::re v (Pa ket ∗ p, Handler ∗ h)To handle in oming pa ket.4.23.3.17 void Ma 802_16:: on�gure_upstream ()To on�gure the mini-slot parameters4.23.3.18 void Ma 802_16::set_bit (u_ har ∗, int, int)4.23.3.19 void Ma 802_16::dump_pkt (Pa ket ∗)4.23.3.20 har Ma 802_16::ClassifyDataMgmt (Pa ket ∗ p)This returns a 0 if this frame ontains dataelse it returns a 1 in whi h ase it ontains a MAC spe i� header (i.e., request)Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 46: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

40 WiMAX Class Do umentation4.23.3.21 int Ma 802_16::is_idle ()Test if the hannel is idle.4.23.3.22 int Ma 802_16::mat h (Pa ket ∗, stru t �ow_ lassi�er)4.23.3.23 int Ma 802_16::bit_on (u_ har, int)4.23.3.24 u_int32_t Ma 802_16:: al ulate_slots (double stime, double etime)Parameters:stime starting time for the mapetime ending timeReturns:the number of slots in the map.4.23.3.25 u_int32_t Ma 802_16::power (u_int32_t bs, u_int32_t in)Cal ulate bs raised to in4.23.3.26 double Ma 802_16::TX_Time (Pa ket ∗ p, int)4.23.3.27 Pa ket ∗ Ma 802_16::Allo Pkt (int)4.23.3.28 void Ma 802_16::insert_allo list (aptr &, u_int16_t, double, double,u_int16_t, u_int32_t)4.23.3.29 int Ma 802_16::CanBeSent (aptr &, Pa ket ∗, u_int32_t)4.23.3.30 int Ma 802_16::len_queue (plist)4.23.3.31 int Ma 802_16::CanErtPSBeSent (aptr & allo _list, Pa ket ∗ p)Che k if there is a grant for the ertPS servi e and if this grant is greater than the pa ket size.Parameters:p,: The frame that already has been adjusted for all headersReturns:0: If there is no grant for ertPS servi e; 1: If there is a grant, but it is lesser than the pa ketsize; 2: If there is a grant greater or equal to the pa ket size;Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 47: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.23 Ma 802_16 Class Referen e 414.23.4 Friends And Related Fun tion Do umentation4.23.4.1 friend lass TxPkt802_16Timer [friend℄4.23.4.2 friend lass RxPkt802_16Timer [friend℄4.23.5 Member Data Do umentation4.23.5.1 TxPkt802_16Timer Ma 802_16::mhTxPkt_4.23.5.2 RxPkt802_16Timer Ma 802_16::mhRxPkt_4.23.5.3 stru t upstream_ hannel Ma 802_16::up hannel4.23.5.4 stru t downstream_ hannel Ma 802_16::down hannel4.23.5.5 har Ma 802_16:: ollision4.23.5.6 u_int16_t Ma 802_16::bytes_pminislot4.23.5.7 u_int32_t Ma 802_16::minislots_pse 4.23.5.8 double Ma 802_16::size_mslots4.23.5.9 u_int16_t Ma 802_16::size_ureqgrant4.23.5.10 u_int32_t Ma 802_16::avg_pkts4.23.5.11 u_int32_t Ma 802_16::avg_bytes4.23.5.12 u_int32_t Ma 802_16::num_pkts4.23.5.13 double Ma 802_16::num_bytes4.23.5.14 u_int32_t Ma 802_16::total_num_sent_pkts4.23.5.15 double Ma 802_16::total_num_sent_bytes4.23.5.16 u_int32_t Ma 802_16::total_num_mgt_pkts_US4.23.5.17 u_int32_t Ma 802_16::total_num_rng_pkts_US4.23.5.18 u_int32_t Ma 802_16::total_num_ on at_pkts_US4.23.5.19 u_int32_t Ma 802_16::total_num_frag_pkts_US4.23.5.20 u_int32_t Ma 802_16::total_num_req_pkts_US4.23.5.21 u_int32_t Ma 802_16::total_num_plaindata_pkts_US4.23.5.22 u_int32_t Ma 802_16::total_num_ on atdata_pkts_US4.23.5.23 u_int32_t Ma 802_16::total_num_frames_US4.23.5.24 u_int32_t Ma 802_16::total_num_BE_pkts_US4.23.5.25 u_int32_t Ma 802_16::total_num_RTVBR_pkts_US4.23.5.26 u_int32_t Ma 802_16::total_num_UGS_pkts_US4.23.5.27 u_int32_t Ma 802_16::total_num_OTHER_pkts_US4.23.5.28 u_int32_t Ma 802_16::total_num_rx_pkts4.23.5.29 double Ma 802_16::total_num_rx_bytes4.23.5.30 double Ma 802_16::total_num_BW_bytesUP4.23.5.31 double Ma 802_16::total_num_BW_bytesDOWN4.23.5.32 double Ma 802_16::total_num_appbytesUS4.23.5.33 double Ma 802_16::total_num_appbytesDS4.23.5.34 u_int32_t Ma 802_16::total_pa kets_dropped4.23.5.35 double Ma 802_16::last_BWCal Time4.23.5.36 double Ma 802_16::last_rtime4.23.5.37 u_int32_t Ma 802_16::avg_mgmtpkts4.23.5.38 u_int32_t Ma 802_16::num_mgmtpkts4.23.5.39 u_int32_t Ma 802_16::avg_mgmtbytes4.23.5.40 u_int32_t Ma 802_16::num_mgmtbytes4.23.5.41 double Ma 802_16::last_mmgmttime4.23.5.42 int Ma 802_16::lan_num [stati ℄4.23.5.43 Ma 802_16BS Ma 802_16::bs_arr [stati ℄4.23.5.44 Ma State Ma 802_16::rx_state_4.23.5.45 Ma State Ma 802_16::tx_state_4.23.5.46 int Ma 802_16::tx_a tive_The do umentation for this lass was generated from the following �les:

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 48: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

42 WiMAX Class Do umentation� ns-2.28/ma /ma -802_16.h� ns-2.28/ma /ma -802_16-base. � ns-2.28/ma /ma -802_16-bs. � ns-2.28/ma /ma -802_16-FSM.

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 49: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.24 ma 802_16_extended_header_element Stru t Referen e 434.24 ma 802_16_extended_header_element Stru t Refer-en e#in lude <hdr-802_16.h>Publi Attributes� u_ har eh_type: 4� u_ har eh_len: 4� u_int16_t eh_data [6℄4.24.1 Detailed Des ription802_16 Extended header element4.24.2 Member Data Do umentation4.24.2.1 u_ har ma 802_16_extended_header_element::eh_type4.24.2.2 u_ har ma 802_16_extended_header_element::eh_len4.24.2.3 u_int16_t ma 802_16_extended_header_element::eh_data[6℄The do umentation for this stru t was generated from the following �le:� ns-2.28/ma /hdr-802_16.h

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 50: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

44 WiMAX Class Do umentation4.25 ma 802_16_frame_hdr Stru t Referen e#in lude <hdr-802_16.h>Publi Attributes� u_ har f _type: 2� u_ har f _parm: 5� u_ har ehdr_on: 1� u_int16_t ma _param� u_int16_t len4.25.1 Detailed Des ription802_16 header format4.25.2 Member Data Do umentation4.25.2.1 u_ har ma 802_16_frame_hdr::f _type4.25.2.2 u_ har ma 802_16_frame_hdr::f _parm4.25.2.3 u_ har ma 802_16_frame_hdr::ehdr_on4.25.2.4 u_int16_t ma 802_16_frame_hdr::ma _param4.25.2.5 u_int16_t ma 802_16_frame_hdr::lenThe do umentation for this stru t was generated from the following �le:� ns-2.28/ma /hdr-802_16.h

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 51: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.26 Ma 802_16BS Class Referen e 454.26 Ma 802_16BS Class Referen e#in lude <ma -802_16.h>Inheritan e diagram for Ma 802_16BS::Mac802_16BS

Mac802_16

Publi Member Fun tions� int register_to_bs (int ma addr, u_int16_t priority, u_ har def_up, u_ har def_dn,stru t upstream_s�ow ∗UpEntry, u_ har UpSize, stru t downstream_s�ow ∗Down-Entry, u_ har DownSize)� int ompare_priority (priority_array_p A, priority_array_p B)� Ma 802_16BS ()� ∼Ma 802_16BS ()Publi Attributes� ss_re ord ∗ SSRe ord� u_int16_t CurrIndexSSTableProte ted Member Fun tions� int ommand (int arg , onst har ∗ onst ∗argv)Private Member Fun tions� void SSRngHandler (Event ∗e)� void SSSndTimerHandler (Event ∗e)� void SSReqTimerHandler (Event ∗e)� void Unlo kQueue ()� void BsMapHandler (Event ∗e)This is alled when a MAP is to be sent.� void BsSyn Handler (Event ∗e)� void BsU dHandler (Event ∗e)� void BsRngHandler (Event ∗e)� void BsWindowTimerHandler (Event ∗e)� void RateControl (Pa ket ∗, int, int, int)� double getupdatedtokens (int, int)� void BsTokenHandler (Event ∗)� void insert_tokenlist (double, int, int)� void sendUp (Pa ket ∗p)� void sendDown (Pa ket ∗p)Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 52: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

46 WiMAX Class Do umentation� void Re vFrame (Pa ket ∗, int)� void PassDownstream (Pa ket ∗)� void HandleInData (Pa ket ∗, int, int)� void HandleInMgmt (Pa ket ∗)� void HandleFrag (Pa ket ∗)� void HandleCon at (Pa ket ∗, int, int)� void ReleaseJobs ()� void �ll_job (stru t job ∗, har, har, double, u_int32_t, double, double, u_int16_t)� void InsertJob (stru t job ∗, int)� void HandleReq (u_int16_t, int, int, bool)� void tune_parameters ()� void allo _bw ()� void delete_joblist (int)� void PhUnsupress (Pa ket ∗, int, int)� void ApplyPhs (Pa ket ∗, int, int)� void MakeAperiodi Allo (stru t job ∗, mapptr, int)� void Allo MemSSre ord ()� void MakePeriodi Allo ation (int, mapptr, double)� void ReOrder (mapptr)� void MarkOtherSlots (mapptr, u_int32_t, int)� void jobdrop (mapptr)� void MarkGrantPending (u_int32_t ∗, double)� void SendMap ()� u_int32_t MarkUnusedSlots (u_int32_t)� void �nd_�owindex (u_int16_t, int ∗, int ∗)� void SendFrame (Pa ket ∗, int)� void BsSendHandler (Event ∗)� void dump_stats ()� void ParseExtHdr (Pa ket ∗)� void dumpUGSJITTER ( har ∗)� void UpdateJitter (int, u_int16_t, double)� int �nd_size_map ()� int NumContSlots (mapptr ∗)� int ChkQoSJobs (double, double)� int lassify (Pa ket ∗, har, int ∗)� int insert_mapjob (int, jptr, u_int32_t ∗, int)� int insert_mapjob (stru t job ∗, u_int32_t ∗)� int �nd_ss (int)� u_int32_t MarkOtherAllo (u_int32_t)� u_int32_t FillMap (int, int, int, int, int)� mapptr �nd_best_hole (u_int32_t)� mapptr �nd_next (mapptr)� mapptr �nd_prv (mapptr)� mapptr TryAllo (double, u_int32_t)� double determine_deadline ( har, int, int)� double FitMap (mapptr, double)� double Cal ulateA kTime ()� void print_job_list (int)� void print_map_list ()� void print_short_map_list (Pa ket ∗Pkt)Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 53: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.26 Ma 802_16BS Class Referen e 47This method dumps all IE's asso iated with the map.� void delete_maplist ()� void dumpBWBS ( har ∗�leName)� void dumpFinalBSStats ( har ∗�leName, int DSBW, int USBW)� void dumpFinalSIDStats (int index, int �ndex, har ∗�leName, int DSBW)� void dumpFinalDSSIDS ( har ∗�leName, int DSBW)� void dump802_16QueueStats ( har ∗�leName, int hannelBW)� void dump802_16UtilStats ( har ∗�leName, int hannelDSBW, int hannelUSBW)� void insert_pkt_at_Head (Pa ket ∗, int, int)� int len_mgmtqueue ()� Pa ket ∗ deque_pkt ()� int pa ketTra e (Pa ket ∗p, int dire tion)� void HandleOutData (Pa ket ∗, int, int)� int down_idle (int, int, EventType, Pa ket ∗)� int down_de ision (int, int, EventType, Pa ket ∗)� int down_tosend (int, int, EventType, Pa ket ∗)� int down_waitformap (int, int, EventType, Pa ket ∗)� void UpdateAllo ationTable (int, int)� void UpdateJitter (int, int)� bool insert_pkt (Pa ket ∗, int, int)� double timer_expiration (int, int, Pa ket ∗)� Pa ket ∗ deque_pkt (int, int)� void insert_mgmtpkt (Pa ket ∗, int, int)� void insert_sndlist (double, int, int)� void BsSndTimerHandler (Event ∗e)� void allo _ul_bw (double, double, u_int32_t)� void allo _dl_bw (double, double, u_int32_t)� void he kDeadline (double, double, u_int32_t &)� void he kMinimumBW (u_int32_t &, priority_array_p &, int &)� void MakeAllo ation (jptr, int, mapptr, har, int)� int CanBeSent (aptr &, Pa ket ∗)Private Attributes� double window_� Map802_16Timer mhMap_� BsRng802_16Timer mhRng_� BsU d802_16Timer mhU d_� BsSyn 802_16Timer mhSyn _� BsTxPkt802_16Timer mhBsTxPkt_� BsServi eFlowSendTimer mhBsSend_� BsUplinkS hedWindowTimer mhWdw_� BsToken802_16Timer mhToken_� tkptr TokenList� bs_ onf_param Conf_Table_� u_int16_t SizeSSTable� bs_statisti s SSStatisti s_� job ∗ job_list [8℄� mapptr mptrGenerated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 54: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

48 WiMAX Class Do umentation� bs_sptr BsSndList� double map_stime� double omap_stime� double map_etime� double omap_etime� double map_a ktime� double A kTime� double max_slots_pmap� double next_map� int numIE� int map_lookahead� int MAP_LOOKAHEAD� int max_burst_slots� int rem_overhead� int MapPropDelay� int size_rtqueue� int avg_szrtqueue� double last_mrqtime� int size_bfqueue� int avg_szbfqueue� double last_mbfqtime� int num_bfreq� int avg_bfreq� double last_mbfreq� int num_rtreq� int avg_rtreq� double last_mrtreq� double last_dmptime� u_int32_t num_dgrant� u_int32_t num_ ontention� u_int32_t num_req� u_int32_t num_gpend� u_int32_t avg_dgrant� u_int32_t avg_ ontention� u_int32_t avg_req� u_int32_t avg_gpend� u_int32_t dropped_tokenq� u_int32_t dropped_dsq� double proportion� u_ har ontention_thrhold� u_ har network_status� u_int32_t rtpoll_ddlinemiss� u_int32_t be�ort_ddlinemiss� int32_t num_rtslots� int32_t num_nrtslots� int32_t num_befslots� u_int32_t num_adjust_slots� Event intr� Event uintr� Event sintr Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 55: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.26 Ma 802_16BS Class Referen e 49� Event rintr� Event rxintr_� Event wintr� qlist txq_� int qnp_� int qnb_� int max_qnp_� int max_qnb_� int min_qnp_� int min_qnb_� int queue_total_bytes_in� int queue_total_bytes_out� double util_total_bytes_US� double util_total_bytes_DS� int util_total_pkts_US� int util_total_pkts_DS� double util_bytes_US� double util_bytes_DS� int qlim_� double lastDumpTime� double lastUtilDumpTime� int(Ma 802_16BS::∗ DOWNswit h [DOWNSTATES℄)(int, int, EventType, Pa ket ∗)Stati Private Attributes� stati int next_�owidFriends� lass Map802_16Timer� lass BsU d802_16Timer� lass BsRng802_16Timer� lass BsSyn 802_16Timer� lass BsTxPkt802_16Timer� lass BsServi eFlowSendTimer� lass BsToken802_16Timer4.26.1 Detailed Des riptionMa 802_16 (p. 36) lass4.26.2 Constru tor & Destru tor Do umentation4.26.2.1 Ma 802_16BS::Ma 802_16BS ()Constru torGenerated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 56: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

50 WiMAX Class Do umentation4.26.2.2 Ma 802_16BS::∼Ma 802_16BS () [inline℄4.26.3 Member Fun tion Do umentation4.26.3.1 int Ma 802_16BS::register_to_bs (int ma addr, u_int16_t priority,u_ har def_up, u_ har def_dn, stru t upstream_s�ow ∗ UpEntry,u_ har UpSize, stru t downstream_s�ow ∗ DownEntry, u_ harDownSize)4.26.3.2 int Ma 802_16BS:: ompare_priority (priority_array_p A,priority_array_p B)4.26.3.3 int Ma 802_16BS:: ommand (int arg , onst har ∗ onst ∗ argv)[prote ted℄Reimplemented from Ma 802_16 (p. 39).4.26.3.4 void Ma 802_16BS::SSRngHandler (Event ∗ e) [inline, private,virtual℄Reimplemented from Ma 802_16 (p. 38).4.26.3.5 void Ma 802_16BS::SSSndTimerHandler (Event ∗ e) [inline, private,virtual℄Reimplemented from Ma 802_16 (p. 38).4.26.3.6 void Ma 802_16BS::SSReqTimerHandler (Event ∗ e) [inline, private,virtual℄Reimplemented from Ma 802_16 (p. 38).4.26.3.7 void Ma 802_16BS::Unlo kQueue () [inline, private℄4.26.3.8 void Ma 802_16BS::BsMapHandler (Event ∗ e) [private, virtual℄This is alled when a MAP is to be sent.This is alled when a MAP is to be sent.� Overview:� Figure out the start/stop times for this MAP� Call al ulate_slots to make sure the MAP does not go > 4096 slots in the future (thiswould violate 802_16).� Call allo _bw() (p. 53) to assign slots� Figure out when to reset the bs 802_16 timer for the next MAPParameters:e timer event Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 57: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.26 Ma 802_16BS Class Referen e 51Reimplemented from Ma 802_16 (p. 38).4.26.3.9 void Ma 802_16BS::BsSyn Handler (Event ∗ e) [private, virtual℄Reimplemented from Ma 802_16 (p. 38).4.26.3.10 void Ma 802_16BS::BsU dHandler (Event ∗ e) [private, virtual℄Reimplemented from Ma 802_16 (p. 38).4.26.3.11 void Ma 802_16BS::BsRngHandler (Event ∗ e) [private, virtual℄Reimplemented from Ma 802_16 (p. 38).4.26.3.12 void Ma 802_16BS::BsWindowTimerHandler (Event ∗ e) [private,virtual℄Reimplemented from Ma 802_16 (p. 39).4.26.3.13 void Ma 802_16BS::RateControl (Pa ket ∗ p, int index, int �ndex, inttype) [private℄The type �led is used to indi ate whether pa ket was pi ked from IFQ queue or not..If yes, thenunlo k the IFQ4.26.3.14 double Ma 802_16BS::getupdatedtokens (int, int) [private℄4.26.3.15 void Ma 802_16BS::BsTokenHandler (Event ∗) [private, virtual℄Reimplemented from Ma 802_16 (p. 39).4.26.3.16 void Ma 802_16BS::insert_tokenlist (double, int, int) [private℄4.26.3.17 void Ma 802_16BS::sendUp (Pa ket ∗ p) [private℄Pa ket oming up from PHY layer...4.26.3.18 void Ma 802_16BS::sendDown (Pa ket ∗ p) [private℄Send pa ket down to the physi al layer...only pa kets passed by upper layers will be sent by thisfun tion..No Management messages..4.26.3.19 void Ma 802_16BS::Re vFrame (Pa ket ∗ p, int on at_�ag) [private,virtual℄Called from the re vHandler when a frame has arrived on the upstream hannel.Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 58: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

52 WiMAX Class Do umentationNeeded to make sure we in rement byte stats only on e as this routine is reentered if the frame is on atonated stati int Re vFrameEntered = 0; This routine will invoke HandleInData or Handle-InMgmt ....Parameters:p A pa ket that already has been adjusted for all headers on at_�ag true if we are being reentered due to a on atonated frame. In this ase, we'vealready ounted the pa ket, but we need to ount the size.Reimplemented from Ma 802_16 (p. 39).4.26.3.20 void Ma 802_16BS::PassDownstream (Pa ket ∗ p) [private℄A simple ethernet PDU is arried in the 802_16 payload.. No Fragmentation or Con atenation4.26.3.21 void Ma 802_16BS::HandleInData (Pa ket ∗ p, int index, int �ndex)[private℄overHeadBitsStripped is 1 if the pa ket already has had the OH bits taken o� (This o urs whenmultiple frames are on atonated)4.26.3.22 void Ma 802_16BS::HandleInMgmt (Pa ket ∗ p) [private℄This routine re eives a Mgt message of the following types:� ase 2: request header� ase 3: Fragmentation frame header� ase 26: Con atenation frame header� ase 1: RNG msgNote: if it's a on at frame- this means its a on at request.Parameters:p the pa ket4.26.3.23 void Ma 802_16BS::HandleFrag (Pa ket ∗ p) [private℄Parameters:p The frame ontaining a fragment4.26.3.24 void Ma 802_16BS::HandleCon at (Pa ket ∗, int, int) [private℄4.26.3.25 void Ma 802_16BS::ReleaseJobs () [private℄Fun tion alled during the starting of simulation to release all the UGS jobs & VBR uni ast reqjobs Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 59: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.26 Ma 802_16BS Class Referen e 534.26.3.26 void Ma 802_16BS::�ll_job (stru t job ∗ node, har s lass, hartype, double period, u_int32_t size, double release, double deadline,u_int16_t �ow_id) [private℄Parameters:node job queue element (i.e., a job)4.26.3.27 void Ma 802_16BS::InsertJob (stru t job ∗ node, int index) [private℄a job (bw request or periodi grant) in the job_list4.26.3.28 void Ma 802_16BS::HandleReq (u_int16_t req, int index, int �ndex,bool aggregate) [private℄Is alled when there has been a request for bw from a SS. The routine reates a new job entry(node)4.26.3.29 void Ma 802_16BS::tune_parameters () [private℄4.26.3.30 void Ma 802_16BS::allo _bw () [private℄This is alled when a MAP is to be sent. It allo ates the bw.4.26.3.31 void Ma 802_16BS::delete_joblist (int) [private℄4.26.3.32 void Ma 802_16BS::PhUnsupress (Pa ket ∗, int, int) [private℄4.26.3.33 void Ma 802_16BS::ApplyPhs (Pa ket ∗, int, int) [private℄4.26.3.34 void Ma 802_16BS::MakeAperiodi Allo (stru t job ∗, mapptr, int)[private℄4.26.3.35 void Ma 802_16BS::Allo MemSSre ord () [private℄4.26.3.36 void Ma 802_16BS::MakePeriodi Allo ation (int, mapptr, double)[private℄4.26.3.37 void Ma 802_16BS::ReOrder (mapptr) [private℄4.26.3.38 void Ma 802_16BS::MarkOtherSlots (mapptr t, u_int32_t num, int jk)[private℄This method marks the r and mgt slots in the map. jk will be used as sid for distinguishingbetween various slots. a 0 says its mgt , a 1 says it CR.Parameters:t The mapnum Number of slots.jk Indi ates if mgt or CR slots (value 0 and 1 respe tively)Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 60: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

54 WiMAX Class Do umentation4.26.3.39 void Ma 802_16BS::jobdrop (mapptr) [private℄4.26.3.40 void Ma 802_16BS::MarkGrantPending (u_int32_t ∗, double)[private℄4.26.3.41 void Ma 802_16BS::SendMap () [private℄This method reates the MAP message, reates the pa ket that ontains the message and sendsit.4.26.3.42 u_int32_t Ma 802_16BS::MarkUnusedSlots (u_int32_t num_slots)[private℄This method �lls unused slots of the urrent map as unused. Or, if FILLWITHCONTOPS isde�ned, it �lls with CR slots. The global mptr points to the urrent map.Parameters:num_slots Number of unused slots in the mapReturns:The �nal number of unused slots (hopefully 0 if FILLWITHCONTOPS is on)4.26.3.43 void Ma 802_16BS::�nd_�owindex (u_int16_t, int ∗, int ∗) [private℄4.26.3.44 void Ma 802_16BS::SendFrame (Pa ket ∗ p, int type) [private℄All frames that are to be sent over the DS hannel will be sent down through this method.4.26.3.45 void Ma 802_16BS::BsSendHandler (Event ∗) [private, virtual℄Reimplemented from Ma 802_16 (p. 39).4.26.3.46 void Ma 802_16BS::dump_stats () [private℄4.26.3.47 void Ma 802_16BS::ParseExtHdr (Pa ket ∗) [private℄4.26.3.48 void Ma 802_16BS::dumpUGSJITTER ( har ∗ outputFile) [private℄This is alled periodi ally (as of 3/26/05 it is piggyba ked o� the dumpBWBS me hanism). It omputes a jitter statisti based on stats gathered sin e the last time this method was alled.Ea h time a UGS allo ation is made, the jitter is updated. This running total of jitter is simplythe di�eren e between the s heduled allo ation time (based on the UGS grant interval) and thea tual.4.26.3.49 void Ma 802_16BS::UpdateJitter (int ugs, u_int16_t �ow_id, double t)[private℄Called when the BS has allo ated BW for this job in the next map.Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 61: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.26 Ma 802_16BS Class Referen e 55Parameters:�ow_id The �ow or job to look att The allo ated time (j->allo _stime) of the job4.26.3.50 int Ma 802_16BS::�nd_size_map () [private℄Cal ulate the size of MAP, all the IEs plus data-grant pending sizes..4.26.3.51 int Ma 802_16BS::NumContSlots (mapptr ∗) [private℄4.26.3.52 int Ma 802_16BS::ChkQoSJobs (double, double) [private℄4.26.3.53 int Ma 802_16BS:: lassify (Pa ket ∗ p, har dir, int ∗ �nd) [private℄Examines the pa ket and mat hes it to a �ow in the SSRe ord. The dir param determines if theupstream or downstream �ow are looked at.Parameters:p The pa ketdir DOWNSTREAM or UPSTREAM�nd This ptr variable is set with the index of the �ow table entry.Returns:The index of the mat hing ss's SSRe ord table entry.4.26.3.54 int Ma 802_16BS::insert_mapjob (int, jptr, u_int32_t ∗, int)[private℄4.26.3.55 int Ma 802_16BS::insert_mapjob (stru t job ∗, u_int32_t ∗) [private℄4.26.3.56 int Ma 802_16BS::�nd_ss (int t) [private℄Given the ma address parameter, this routine sear hes the SS table to return the SSRe ord tableindex of the orre t SS.4.26.3.57 u_int32_t Ma 802_16BS::MarkOtherAllo (u_int32_t num_slots)[private℄This fun tion will mark ontention-slots and SM slots in map listParameters:num_slots Number of slots in the mapGenerated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 62: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

56 WiMAX Class Do umentation4.26.3.58 u_int32_t Ma 802_16BS::FillMap (int i, int ugs, int rt_poll, intnrt_poll, int be) [private℄This is alled when a MAP is to be sent. The mptr ontains the start of the map.Returns:The number of slots used in the allo ation4.26.3.59 mapptr Ma 802_16BS::�nd_best_hole (u_int32_t n) [private℄This fun tion returns a pointer to the map node where the best hole beginsParameters:n The number of slots that we need to allo ateReturns:A ptr to a MAP4.26.3.60 mapptr Ma 802_16BS::�nd_next (mapptr m) [private℄Returns:The next job in the map list.4.26.3.61 mapptr Ma 802_16BS::�nd_prv (mapptr) [private℄4.26.3.62 mapptr Ma 802_16BS::TryAllo (double, u_int32_t) [private℄4.26.3.63 double Ma 802_16BS::determine_deadline ( har, int, int) [private℄4.26.3.64 double Ma 802_16BS::FitMap (mapptr j, double t) [private℄Try to �t job 'j' starting at 't'. Keep on trying till you rea h the end of the MAP..4.26.3.65 double Ma 802_16BS::Cal ulateA kTime () [private℄4.26.3.66 void Ma 802_16BS::print_job_list (int i) [private℄Prints to stdout the ontents of the desired job queue:� job_list[0℄ whi h is UGS periodi � job_list[1℄ whi h is rt-VBR periodi � job_list[2℄ whi h is rt-VBR non periodi � job_list[3℄ whi h is best e�ortParameters:i Indi ates whi h job list to print Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 63: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.26 Ma 802_16BS Class Referen e 574.26.3.67 void Ma 802_16BS::print_map_list () [private℄4.26.3.68 void Ma 802_16BS::print_short_map_list (Pa ket ∗ p) [private℄This method dumps all IE's asso iated with the map.This method dumps all IE's asso iated with the map. The format: ea h MAP will begin with a ode of 0 and have zero or more odes of 1,2,3.� 0 timestamp mapstart mapstop numberIE's� 1 timestamp �ow_id start stop release time deadline IUC numberslotsParameters:p The pa ket that ontains the map message4.26.3.69 void Ma 802_16BS::delete_maplist () [private℄4.26.3.70 void Ma 802_16BS::dumpBWBS ( har ∗ �leName) [private℄4.26.3.71 void Ma 802_16BS::dumpFinalBSStats ( har ∗ �leName, int DSBW, intUSBW) [private℄4.26.3.72 void Ma 802_16BS::dumpFinalSIDStats (int index, int �ndex, har ∗�leName, int DSBW) [private℄4.26.3.73 void Ma 802_16BS::dumpFinalDSSIDS ( har ∗ �leName, int DSBW)[private℄4.26.3.74 void Ma 802_16BS::dump802_16QueueStats ( har ∗ outputFile, int hannelBW) [private℄Called periodi ally by a TCL s ript to monitor the queue in the DS dire tion. This method also omputes the utilization of the DS hannel for ea h iteration.4.26.3.75 void Ma 802_16BS::dump802_16UtilStats ( har ∗ outputFile, intDSBW, int USBW) [private℄Called periodi ally by a TCL s ript to monitor the queue in the DS dire tion.4.26.3.76 void Ma 802_16BS::insert_pkt_at_Head (Pa ket ∗ p, int index, int�ndex) [private℄This method inserts the pa ket in the downstream Tx queue. It inserts at the head of the queue.If the Q is full, the pa ket at the tail is removed.Parameters:p ptr to the frame index Holds the SSRe ord table index asso iated with the SS that is the target.�ndex Holds the �ow re ord entry index.Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 64: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

58 WiMAX Class Do umentation4.26.3.77 int Ma 802_16BS::len_mgmtqueue () [private℄4.26.3.78 Pa ket ∗ Ma 802_16BS::deque_pkt () [private℄4.26.3.79 int Ma 802_16BS::pa ketTra e (Pa ket ∗ p, int dire tion) [private℄Parameters:p A 802_16 framedire tion dire tion is 0 when sent DS and 1 when arrival at USReturns:a 0 on su ess.4.26.3.80 void Ma 802_16BS::HandleOutData (Pa ket ∗ p, int index, int �ndex)[private℄Pa ket enters the BS for respe tive �ow from this fun tion4.26.3.81 int Ma 802_16BS::down_idle (int index, int �ndex, EventType e,Pa ket ∗ p) [private℄Parameters:tbindex denotes the servi e-�ow entry on whi h pa ket has been mapped4.26.3.82 int Ma 802_16BS::down_de ision (int, int, EventType, Pa ket ∗)[private℄4.26.3.83 int Ma 802_16BS::down_tosend (int, int, EventType, Pa ket ∗)[private℄4.26.3.84 int Ma 802_16BS::down_waitformap (int index, int �ndex, EventTypee, Pa ket ∗ p) [private℄This is alled when ertain events o ur while a downstream �ow is waiting for a MAP.4.26.3.85 void Ma 802_16BS::UpdateAllo ationTable (int index, int �ndex)[private℄This fun tion updates the allo ation table for a servi e-�ow when a MAP is re eived4.26.3.86 void Ma 802_16BS::UpdateJitter (int index, int �ndex) [private℄This is alled whenever a MAP is re eived by a UGS �ow. The statisti adds all error (s heduledallo ation time from a tual). Then the dumpUGSJitter method periodi ally obtains the meanjitter = runningJitter / samples Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 65: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.26 Ma 802_16BS Class Referen e 594.26.3.87 bool Ma 802_16BS::insert_pkt (Pa ket ∗, int, int) [private℄4.26.3.88 double Ma 802_16BS::timer_expiration (int, int, Pa ket ∗) [private℄4.26.3.89 Pa ket ∗ Ma 802_16BS::deque_pkt (int, int) [private℄4.26.3.90 void Ma 802_16BS::insert_mgmtpkt (Pa ket ∗ p, int index, int �ndex)[private℄This method inserts the pa ket in the downstream Tx queue. It drops the pa ket if it's full.Parameters:p ptr to the frame index Holds the SSRe ord table index asso iated with the SS that is the target.�ndex Holds the �ow re ord entry index.4.26.3.91 void Ma 802_16BS::insert_sndlist (double, int, int) [private℄4.26.3.92 void Ma 802_16BS::BsSndTimerHandler (Event ∗ e) [private,virtual℄Send timer to data pa kets from QoS s heduling servi esReimplemented from Ma 802_16 (p. 39).4.26.3.93 void Ma 802_16BS::allo _ul_bw (double map_stime, doublemap_etime, u_int32_t num_slots) [private℄This is alled when a MAP is to be sent. It allo ates bw to the UL subframe.4.26.3.94 void Ma 802_16BS::allo _dl_bw (double map_stime, doublemap_etime, u_int32_t num_slots) [private℄This is alled when a MAP is to be sent. It allo ates bw to the DL subframe.4.26.3.95 void Ma 802_16BS:: he kDeadline (double map_stime, doublesubframe_duration, u_int32_t & num_slots) [private℄ he k whi h rtPS requests must be sent in the next frame in order to satisfy the maximum laten yrequest.4.26.3.96 void Ma 802_16BS:: he kMinimumBW (u_int32_t & num_slots,priority_array_p & pri_array, int & size) [private℄Assign priority values for the requests in the intermetiate queue to de ide wi h ones will bes heduled. The priority omputation onsiders the min_bw request, ba klogged BW and grantedBW in order to provide the min_bw request of ea h �ow. The higher priority requests will beinserted in the high queue.Allo ate the array. Warning. You should deallo ate this array after using it.Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 66: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

60 WiMAX Class Do umentation4.26.3.97 void Ma 802_16BS::MakeAllo ation (jptr, int, mapptr, har, int)[private℄4.26.3.98 int Ma 802_16BS::CanBeSent (aptr & allo _list, Pa ket ∗ p) [private℄Parameters:p The frame that already has been adjusted for all headers

Returns:1, if this frame an be send; 0, if this frame an NOT be sendGenerated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 67: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.26 Ma 802_16BS Class Referen e 614.26.4 Friends And Related Fun tion Do umentation4.26.4.1 friend lass Map802_16Timer [friend℄4.26.4.2 friend lass BsU d802_16Timer [friend℄4.26.4.3 friend lass BsRng802_16Timer [friend℄4.26.4.4 friend lass BsSyn 802_16Timer [friend℄4.26.4.5 friend lass BsTxPkt802_16Timer [friend℄4.26.4.6 friend lass BsServi eFlowSendTimer [friend℄4.26.4.7 friend lass BsToken802_16Timer [friend℄4.26.5 Member Data Do umentation4.26.5.1 stru t ss_re ord∗ Ma 802_16BS::SSRe ord4.26.5.2 u_int16_t Ma 802_16BS::CurrIndexSSTable4.26.5.3 double Ma 802_16BS::window_ [private℄4.26.5.4 Map802_16Timer Ma 802_16BS::mhMap_ [private℄4.26.5.5 BsRng802_16Timer Ma 802_16BS::mhRng_ [private℄4.26.5.6 BsU d802_16Timer Ma 802_16BS::mhU d_ [private℄4.26.5.7 BsSyn 802_16Timer Ma 802_16BS::mhSyn _ [private℄4.26.5.8 BsTxPkt802_16Timer Ma 802_16BS::mhBsTxPkt_ [private℄4.26.5.9 BsServi eFlowSendTimer Ma 802_16BS::mhBsSend_ [private℄4.26.5.10 BsUplinkS hedWindowTimer Ma 802_16BS::mhWdw_ [private℄4.26.5.11 BsToken802_16Timer Ma 802_16BS::mhToken_ [private℄4.26.5.12 tkptr Ma 802_16BS::TokenList [private℄4.26.5.13 stru t bs_ onf_param Ma 802_16BS::Conf_Table_ [private℄4.26.5.14 u_int16_t Ma 802_16BS::SizeSSTable [private℄4.26.5.15 stru t bs_statisti s Ma 802_16BS::SSStatisti s_ [private℄4.26.5.16 stru t job∗ Ma 802_16BS::job_list[8℄ [private℄4.26.5.17 mapptr Ma 802_16BS::mptr [private℄4.26.5.18 bs_sptr Ma 802_16BS::BsSndList [private℄4.26.5.19 double Ma 802_16BS::map_stime [private℄4.26.5.20 double Ma 802_16BS::omap_stime [private℄4.26.5.21 double Ma 802_16BS::map_etime [private℄4.26.5.22 double Ma 802_16BS::omap_etime [private℄4.26.5.23 double Ma 802_16BS::map_a ktime [private℄4.26.5.24 double Ma 802_16BS::A kTime [private℄4.26.5.25 double Ma 802_16BS::max_slots_pmap [private℄4.26.5.26 double Ma 802_16BS::next_map [private℄4.26.5.27 int Ma 802_16BS::numIE [private℄4.26.5.28 int Ma 802_16BS::map_lookahead [private℄4.26.5.29 int Ma 802_16BS::MAP_LOOKAHEAD [private℄4.26.5.30 int Ma 802_16BS::max_burst_slots [private℄4.26.5.31 int Ma 802_16BS::rem_overhead [private℄4.26.5.32 int Ma 802_16BS::MapPropDelay [private℄4.26.5.33 int Ma 802_16BS::size_rtqueue [private℄4.26.5.34 int Ma 802_16BS::avg_szrtqueue [private℄4.26.5.35 double Ma 802_16BS::last_mrqtime [private℄4.26.5.36 int Ma 802_16BS::size_bfqueue [private℄4.26.5.37 int Ma 802_16BS::avg_szbfqueue [private℄4.26.5.38 double Ma 802_16BS::last_mbfqtime [private℄4.26.5.39 int Ma 802_16BS::num_bfreq [private℄4.26.5.40 int Ma 802_16BS::avg_bfreq [private℄4.26.5.41 double Ma 802_16BS::last_mbfreq [private℄4.26.5.42 int Ma 802_16BS::num_rtreq [private℄4.26.5.43 int Ma 802_16BS::avg_rtreq [private℄4.26.5.44 double Ma 802_16BS::last_mrtreq [private℄4.26.5.45 double Ma 802_16BS::last_dmptime [private℄4.26.5.46 u_int32_t Ma 802_16BS::num_dgrant [private℄4.26.5.47 u_int32_t Ma 802_16BS::num_ ontention [private℄4.26.5.48 u_int32_t Ma 802_16BS::num_req [private℄4.26.5.49 u_int32_t Ma 802_16BS::num_gpend [private℄4.26.5.50 u_int32_t Ma 802_16BS::avg_dgrant [private℄4.26.5.51 u_int32_t Ma 802_16BS::avg_ ontention [private℄4.26.5.52 u_int32_t Ma 802_16BS::avg_req [private℄4.26.5.53 u_int32_t Ma 802_16BS::avg_gpend [private℄4.26.5.54 u_int32_t Ma 802_16BS::dropped_tokenq [private℄4.26.5.55 u_int32_t Ma 802_16BS::dropped_dsq [private℄4.26.5.56 double Ma 802_16BS::proportion [private℄4.26.5.57 u_ har Ma 802_16BS:: ontention_thrhold [private℄4.26.5.58 u_ har Ma 802_16BS::network_status [private℄4.26.5.59 u_int32_t Ma 802_16BS::rtpoll_ddlinemiss [private℄4.26.5.60 u_int32_t Ma 802_16BS::be�ort_ddlinemiss [private℄4.26.5.61 int32_t Ma 802_16BS::num_rtslots [private℄4.26.5.62 int32_t Ma 802_16BS::num_nrtslots [private℄4.26.5.63 int32_t Ma 802_16BS::num_befslots [private℄4.26.5.64 u_int32_t Ma 802_16BS::num_adjust_slots [private℄4.26.5.65 Event Ma 802_16BS::intr [private℄4.26.5.66 Event Ma 802_16BS::uintr [private℄4.26.5.67 Event Ma 802_16BS::sintr [private℄4.26.5.68 Event Ma 802_16BS::rintr [private℄4.26.5.69 Event Ma 802_16BS::rxintr_ [private℄4.26.5.70 Event Ma 802_16BS::wintr [private℄4.26.5.71 int Ma 802_16BS::next_�owid [stati , private℄4.26.5.72 qlist Ma 802_16BS::txq_ [private℄4.26.5.73 int Ma 802_16BS::qnp_ [private℄4.26.5.74 int Ma 802_16BS::qnb_ [private℄4.26.5.75 int Ma 802_16BS::max_qnp_ [private℄4.26.5.76 int Ma 802_16BS::max_qnb_ [private℄4.26.5.77 int Ma 802_16BS::min_qnp_ [private℄4.26.5.78 int Ma 802_16BS::min_qnb_ [private℄4.26.5.79 int Ma 802_16BS::queue_total_bytes_in [private℄4.26.5.80 int Ma 802_16BS::queue_total_bytes_out [private℄4.26.5.81 double Ma 802_16BS::util_total_bytes_US [private℄4.26.5.82 double Ma 802_16BS::util_total_bytes_DS [private℄4.26.5.83 int Ma 802_16BS::util_total_pkts_US [private℄4.26.5.84 int Ma 802_16BS::util_total_pkts_DS [private℄4.26.5.85 double Ma 802_16BS::util_bytes_US [private℄4.26.5.86 double Ma 802_16BS::util_bytes_DS [private℄4.26.5.87 int Ma 802_16BS::qlim_ [private℄4.26.5.88 double Ma 802_16BS::lastDumpTime [private℄4.26.5.89 double Ma 802_16BS::lastUtilDumpTime [private℄4.26.5.90 int(Ma 802_16BS:: Ma 802_-16BS::DOWNswit h[DOWNSTATES℄)(int, int,EventType, Pa ket ) [private℄The do umentation for this lass was generated from the following �les:

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 68: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

62 WiMAX Class Do umentation� ns-2.28/ma /ma -802_16.h� ns-2.28/ma /ma -802_16-bs. � ns-2.28/ma /ma -802_16-FSM.

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 69: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.27 Ma 802_16BsClass Class Referen e 634.27 Ma 802_16BsClass Class Referen ePubli Member Fun tions� Ma 802_16BsClass ()� T lObje t ∗ reate (int, onst har ∗ onst ∗)4.27.1 Detailed Des riptionTCL Hooks for the simulator4.27.2 Constru tor & Destru tor Do umentation4.27.2.1 Ma 802_16BsClass::Ma 802_16BsClass () [inline℄4.27.3 Member Fun tion Do umentation4.27.3.1 T lObje t∗ Ma 802_16BsClass:: reate (int, onst har ∗ onst ∗) [inline℄The do umentation for this lass was generated from the following �le:� ns-2.28/ma /ma -802_16-bs.

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 70: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

64 WiMAX Class Do umentation4.28 Ma 802_16EHeaderClass Class Referen ePubli Member Fun tions� Ma 802_16EHeaderClass ()4.28.1 Detailed Des riptionMa 802_16EHeaderClass (p. 64) lass4.28.2 Constru tor & Destru tor Do umentation4.28.2.1 Ma 802_16EHeaderClass::Ma 802_16EHeaderClass () [inline℄The do umentation for this lass was generated from the following �le:� ns-2.28/ma /ma -802_16-bs.

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 71: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.29 Ma 802_16HeaderClass Class Referen e 654.29 Ma 802_16HeaderClass Class Referen ePubli Member Fun tions� Ma 802_16HeaderClass ()4.29.1 Detailed Des riptionMa 802_16HeaderClass (p. 65) lass4.29.2 Constru tor & Destru tor Do umentation4.29.2.1 Ma 802_16HeaderClass::Ma 802_16HeaderClass () [inline℄The do umentation for this lass was generated from the following �le:� ns-2.28/ma /ma -802_16-bs.

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 72: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

66 WiMAX Class Do umentation4.30 Ma 802_16MapHeaderClass Class Referen ePubli Member Fun tions� Ma 802_16MapHeaderClass ()4.30.1 Detailed Des riptionMa 802_16MHeaderClass (p. 67) lass4.30.2 Constru tor & Destru tor Do umentation4.30.2.1 Ma 802_16MapHeaderClass::Ma 802_16MapHeaderClass () [inline℄The do umentation for this lass was generated from the following �le:� ns-2.28/ma /ma -802_16-bs.

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 73: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.31 Ma 802_16MHeaderClass Class Referen e 674.31 Ma 802_16MHeaderClass Class Referen ePubli Member Fun tions� Ma 802_16MHeaderClass ()4.31.1 Detailed Des riptionMa 802_16MHeaderClass (p. 67) lass4.31.2 Constru tor & Destru tor Do umentation4.31.2.1 Ma 802_16MHeaderClass::Ma 802_16MHeaderClass () [inline℄The do umentation for this lass was generated from the following �le:� ns-2.28/ma /ma -802_16-bs.

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 74: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

68 WiMAX Class Do umentation4.32 Ma 802_16SS Class Referen e#in lude <ma -802_16.h>Inheritan e diagram for Ma 802_16SS::Mac802_16SS

Mac802_16

Publi Member Fun tions� Ma 802_16SS ()� ∼Ma 802_16SS ()Prote ted Member Fun tions� int ommand (int arg , onst har ∗ onst ∗argv)Private Member Fun tions� void BsMapHandler (Event ∗e)� void BsSyn Handler (Event ∗e)� void BsU dHandler (Event ∗e)� void BsRngHandler (Event ∗e)� void BsSendHandler (Event ∗e)� void BsTokenHandler (Event ∗e)� void SSRngHandler (Event ∗e)� void SSSndTimerHandler (Event ∗e)� void SSReqTimerHandler (Event ∗e)� void sendUp (Pa ket ∗p)� void sendDown (Pa ket ∗p)� void Initialize_entry ( har dire tion, har index)� void HandleMap (Pa ket ∗)� void HandleOutData (Pa ket ∗, har)� void SendData (Pa ket ∗, har)� int SendReq ( har, Pa ket ∗)� void de ide_frag (Pa ket ∗, har)� void send_frag_data (Pa ket ∗, har)� void �ll_extended_header (int, Pa ket ∗, har)� void send_ on at (Pa ket ∗, har)� void Re vFrame (Pa ket ∗, int)� void handle_indata (Pa ket ∗, har)� void handle_inmgmt (Pa ket ∗, har)� void SetDefaultFlow ()� void PhUnsupress (Pa ket ∗, har)� void ApplyPhs (Pa ket ∗, har)Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 75: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.32 Ma 802_16SS Class Referen e 69� void print_allo list ( har)� void print_short_map_list (Pa ket ∗Pkt)� void print_ lassi�ers ()� void dump_stats ()� har lassify (Pa ket ∗, har)� int he k_ on at_req ( har)� int he k_frag_req (u_int32_t, har)� int �ll_piggyba k_req ( har)� void MarkUsedContentionSlots (int, har)� void turn_o�_ ontention ( har)� int ba k_o� ( har, Pa ket ∗)� void insert_sndlist (double, har)� void insert_reqlist (double, har)� void refresh_reqlist ( har)� void reinsert_reqlist ( har)� void insert_pkt (Pa ket ∗, har)� void UpdateAllo ationTable ( har)� void HandleOtherMgmt (Pa ket ∗)� void print_ssallo list ()� void HandleOutMgmt (Pa ket ∗, har)� void FillPiggyReq ( har, Pa ket ∗)� int FillPiggyExtHdr ( har, Pa ket ∗, int)� void UpdateJitter ( har)� int CanBeSent (aptr &, Pa ket ∗, har)� int CanUni astReqBeSent ( har)� int CanContentionReqBeSent ( har)� int DataGrantPending ( har)� int MapSentAfterReq ( har)� int NumContentionSlots ( har)� void USRateMeasure ( har, Pa ket ∗)� void us_getupdatedtokens ( har)� int look_at_queue ( har)� int �lterACKPa kets (Pa ket ∗pkt, har tbindex)� int pa ketMat h (Pa ket ∗pkt1, Pa ket ∗pkt2)� double �nd_ ontention_slot ( har, u_int32_t)� double timer_expiration ( har, Pa ket ∗, int)� Pa ket ∗ deque_pkt ( har)� Pa ket ∗ pkt_lookup ( har tbindex, int i)� void dumpBWSS ( har ∗�leName)� void dumpUGSJITTER ( har, har ∗�lename)� void dumpFinalSSStats ( har ∗�leName)� void dump802_16QueueStats ( har ∗�leName, int hannelBW)� void dump802_16UtilStats ( har ∗�leName, int hannelDSBW, int hannelUSBW)� int pa ketTra e (Pa ket ∗p, int dire tion)� int timingsTra e (Pa ket ∗p, int id)� int ugs_idle ( har, EventType, Pa ket ∗)� int ugs_de ision ( har, EventType, Pa ket ∗)� int ugs_tosend ( har, EventType, Pa ket ∗)� int ugs_waitformap ( har, EventType, Pa ket ∗)� int rtpoll_idle ( har, EventType, Pa ket ∗)Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 76: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

70 WiMAX Class Do umentation� int rtpoll_de ision ( har, EventType, Pa ket ∗)� int rtpoll_tosend ( har, EventType, Pa ket ∗)� int rtpoll_waitformap ( har, EventType, Pa ket ∗)� int rtpoll_tosendreq ( har, EventType, Pa ket ∗)� int ertpoll_idle ( har, EventType, Pa ket ∗)� int ertpoll_de ision ( har, EventType, Pa ket ∗)� int ertpoll_tosend ( har, EventType, Pa ket ∗)� int ertpoll_waitformap ( har, EventType, Pa ket ∗)� int ertpoll_tosendreq ( har, EventType, Pa ket ∗)� int nrtpoll_idle ( har, EventType, Pa ket ∗)� int nrtpoll_de ision ( har, EventType, Pa ket ∗)� int nrtpoll_tosend ( har, EventType, Pa ket ∗)� int nrtpoll_waitformap ( har, EventType, Pa ket ∗)� int nrtpoll_tosendreq ( har, EventType, Pa ket ∗)� int nrtpoll_reqsent ( har, EventType, Pa ket ∗)� int nrtpoll_ ontention ( har, EventType, Pa ket ∗)� int be�ort_idle ( har, EventType, Pa ket ∗)� int be�ort_de ision ( har, EventType, Pa ket ∗)� int be�ort_tosend ( har, EventType, Pa ket ∗)� int be�ort_waitformap ( har, EventType, Pa ket ∗)� int be�ort_tosendreq ( har, EventType, Pa ket ∗)� int be�ort_reqsent ( har, EventType, Pa ket ∗)� int be�ort_ ontention ( har, EventType, Pa ket ∗)� int be�ort_rate he k ( har, EventType, Pa ket ∗)� void FillErtPSPiggyReq ( har, Pa ket ∗)� int SendErtPSReq ( har, Pa ket ∗)Private Attributes� RNG ∗ rng_� SSRng802_16Timer mhSSRng_� SSServi eFlowSendTimer mhSSSend_� SSServi eFlowRequestTimer mhReq_� Pa ket ∗ map_� har debug_ss� u_int32_t ss_id� u_ har my_lan� u_ har SizeUpFlowTable� upstream_s�ow UpFlowTable [MAX_NUM_UPFLOWS_PERSS℄� u_ har SizeDownFlowTable� downstream_s�ow DownFlowTable [MAX_NUM_DOWNFLOWS_PERSS℄� u_ har default_upstream_index_� u_ har default_dstream_index_� u_int16_t priority� double rng_freq� int bs_addr� double map_a ktime� u_int32_t total_num_frag� u_int32_t total_num_ ollisions� u_int32_t total_num_bko� Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 77: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.32 Ma 802_16SS Class Referen e 71� u_int32_t total_ ollision_drops� u_int32_t total_queue_drops� sptr SndList� rptr ReqList� rptr tempReqList� int(Ma 802_16SS::∗ UGSswit h [UGSSTATES℄)( har, EventType, Pa ket ∗)� int(Ma 802_16SS::∗ RTPOLLswit h [RTPOLLSTATES℄)( har, EventType, Pa ket ∗)� int(Ma 802_16SS::∗ ERTPOLLswit h [ERTPOLLSTATES℄)( har, EventType, Pa ket∗)� int(Ma 802_16SS::∗ NRTPOLLswit h [NRTPOLLSTATES℄)( har, EventType, Pa ket∗)� int(Ma 802_16SS::∗ BEFFORTswit h [BEFFORTSTATES℄)( har, EventType, Pa ket∗)� Event rintr� double last_dmptime� int reqFlag� int reqFlagCounterFriends� lass SSRng802_16Timer� lass SSServi eFlowSendTimer� lass SSServi eFlowRequestTimer4.32.1 Detailed Des riptionMa 802_16SS (p. 68) lass4.32.2 Constru tor & Destru tor Do umentation4.32.2.1 Ma 802_16SS::Ma 802_16SS ()Constru tor Fun tion4.32.2.2 Ma 802_16SS::∼Ma 802_16SS () [inline℄4.32.3 Member Fun tion Do umentation4.32.3.1 int Ma 802_16SS:: ommand (int arg , onst har ∗ onst ∗ argv)[prote ted℄Reimplemented from Ma 802_16 (p. 39).4.32.3.2 void Ma 802_16SS::BsMapHandler (Event ∗ e) [inline, private,virtual℄Reimplemented from Ma 802_16 (p. 38).Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 78: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

72 WiMAX Class Do umentation4.32.3.3 void Ma 802_16SS::BsSyn Handler (Event ∗ e) [inline, private,virtual℄Reimplemented from Ma 802_16 (p. 38).4.32.3.4 void Ma 802_16SS::BsU dHandler (Event ∗ e) [inline, private,virtual℄Reimplemented from Ma 802_16 (p. 38).4.32.3.5 void Ma 802_16SS::BsRngHandler (Event ∗ e) [inline, private,virtual℄Reimplemented from Ma 802_16 (p. 38).4.32.3.6 void Ma 802_16SS::BsSendHandler (Event ∗ e) [inline, private,virtual℄Reimplemented from Ma 802_16 (p. 39).4.32.3.7 void Ma 802_16SS::BsTokenHandler (Event ∗ e) [inline, private,virtual℄Reimplemented from Ma 802_16 (p. 39).4.32.3.8 void Ma 802_16SS::SSRngHandler (Event ∗ e) [private, virtual℄Reimplemented from Ma 802_16 (p. 38).4.32.3.9 void Ma 802_16SS::SSSndTimerHandler (Event ∗ e) [private, virtual℄Timer handler fun tionReimplemented from Ma 802_16 (p. 38).4.32.3.10 void Ma 802_16SS::SSReqTimerHandler (Event ∗ e) [private, virtual℄Reimplemented from Ma 802_16 (p. 38).4.32.3.11 void Ma 802_16SS::sendUp (Pa ket ∗ p) [private℄So a pa ket has been re eived by the PHY, and we want to send it up to the 802_16 link...4.32.3.12 void Ma 802_16SS::sendDown (Pa ket ∗ p) [private℄Send pa kets passed by LLC to physi al layer..So, NO MAC level Management Messages will besent via this fu ntion Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 79: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.32 Ma 802_16SS Class Referen e 734.32.3.13 void Ma 802_16SS::Initialize_entry ( har dire tion, har index)[private℄4.32.3.14 void Ma 802_16SS::HandleMap (Pa ket ∗ p) [private℄This routine invokes every �ow handler (in whatever state they are in) to pro ess the map. If a�ow sees an opportunity to send- it updates the SS's allo ation table.Parameters:p The pa ket ontaining the MAP4.32.3.15 void Ma 802_16SS::HandleOutData (Pa ket ∗ p, har tbindex) [private℄Pa ket enters the SM for respe tive �ow from this fun tion4.32.3.16 void Ma 802_16SS::SendData (Pa ket ∗, har) [private℄4.32.3.17 int Ma 802_16SS::SendReq ( har tbindex, Pa ket ∗ p) [private℄This is alled when the SS wants to send a request to the BS It is invoked o� the REQ_TIMERthread. The routine he k_ on at_req(tbindex) is alled to see if we an send a on at request.The routine also alls be�ort_rate he k to see if it is even allowed to request bandwidth yet(subje t to rate ontrol).Parameters:p This is the urrent pa ket that we want to send.Returns:A 0 if an error o urs and the request is not sent, else a 1.4.32.3.18 void Ma 802_16SS::de ide_frag (Pa ket ∗ p, har tbindex) [private℄This routine is alled at the slot time that has been allo ated as the beginning transmission timefor this pa ket.Parameters:p frame (not on atonated)tbindex index to US �ow table4.32.3.19 void Ma 802_16SS::send_frag_data (Pa ket ∗ p, har tbindex)[private℄This routine is alled when the pa ket p is a part of a frag or must be sent as a frag.Parameters:p frame (not on atonated)tbindex index to US �ow tableGenerated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 80: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

74 WiMAX Class Do umentation4.32.3.20 void Ma 802_16SS::�ll_extended_header (int i, Pa ket ∗ p, hartbindex) [private℄Parameters:i if (i == 1) it's a fragment, else not.4.32.3.21 void Ma 802_16SS::send_ on at (Pa ket ∗ p, har tbindex) [private℄This is alled by SendData when a on atonated frame is ready to be sent. The number to senddepends on the grant sizeParameters:p Pa ket to sendtbindex Flow ptr4.32.3.22 void Ma 802_16SS::Re vFrame (Pa ket ∗, int) [private, virtual℄Reimplemented from Ma 802_16 (p. 39).4.32.3.23 void Ma 802_16SS::handle_indata (Pa ket ∗, har) [private℄4.32.3.24 void Ma 802_16SS::handle_inmgmt (Pa ket ∗, har) [private℄4.32.3.25 void Ma 802_16SS::SetDefaultFlow () [private℄4.32.3.26 void Ma 802_16SS::PhUnsupress (Pa ket ∗, har) [private℄4.32.3.27 void Ma 802_16SS::ApplyPhs (Pa ket ∗, har) [private℄4.32.3.28 void Ma 802_16SS::print_allo list ( har) [private℄4.32.3.29 void Ma 802_16SS::print_short_map_list (Pa ket ∗ p) [private℄This method dumps all IE's asso iated with the map. The format: ea h MAP will begin with a ode of 0 and have zero or more odes of 1,2,3.� 0 timestamp SSID mapstart mapstop numberIE's maplength in slots� 1 timestamp �owid (null IE)� 2 timestamp �owid (indi ates a grant is pending to the SS)� 3 timestamp �owid starttime endtime iu ode slotsParameters:p The pa ket that ontains the map messageGenerated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 81: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.32 Ma 802_16SS Class Referen e 754.32.3.30 void Ma 802_16SS::print_ lassi�ers () [private℄4.32.3.31 void Ma 802_16SS::dump_stats () [private℄4.32.3.32 har Ma 802_16SS:: lassify (Pa ket ∗, har) [private℄4.32.3.33 int Ma 802_16SS:: he k_ on at_req ( har tbindex) [private℄returns a 1 if there is at least one pa ket waiting in the queue AND on at is enabled.4.32.3.34 int Ma 802_16SS:: he k_frag_req (u_int32_t, har) [private℄4.32.3.35 int Ma 802_16SS::�ll_piggyba k_req ( har) [private℄4.32.3.36 void Ma 802_16SS::MarkUsedContentionSlots (int, har) [private℄4.32.3.37 void Ma 802_16SS::turn_o�_ ontention ( har) [private℄4.32.3.38 int Ma 802_16SS::ba k_o� ( har, Pa ket ∗) [private℄4.32.3.39 void Ma 802_16SS::insert_sndlist (double, har) [private℄4.32.3.40 void Ma 802_16SS::insert_reqlist (double, har) [private℄4.32.3.41 void Ma 802_16SS::refresh_reqlist ( har) [private℄4.32.3.42 void Ma 802_16SS::reinsert_reqlist ( har) [private℄4.32.3.43 void Ma 802_16SS::insert_pkt (Pa ket ∗, har) [private℄4.32.3.44 void Ma 802_16SS::UpdateAllo ationTable ( har tbindex) [private℄This fun tion updates the allo ation table for a servi e-�ow when a MAP is re eived4.32.3.45 void Ma 802_16SS::HandleOtherMgmt (Pa ket ∗) [private℄4.32.3.46 void Ma 802_16SS::print_ssallo list () [private℄4.32.3.47 void Ma 802_16SS::HandleOutMgmt (Pa ket ∗, har) [private℄4.32.3.48 void Ma 802_16SS::FillPiggyReq ( har tbindex, Pa ket ∗ p) [private℄This is alled to see if a request an be piggyba ked to this pa ket, p. Nothing happens if (len_-queue(UpFlowTable[tbindex℄.pa ket_list) = 0). IF there is at least one pa ket in the queue, dequeit and save it in the �ow table: UpFlowTable[tbindex℄.pkt = deque_pkt(tbindex);This routine pulls this next pa ket, sees how many slots are required and then allsrate he k_returnval = FillPiggyExtHdr(tbindex,p,slots);This sets the urrent pa ket with a piggyba k request for bandwidth for the next pa ket that wasjust dequeuedGenerated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 82: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

76 WiMAX Class Do umentation4.32.3.49 int Ma 802_16SS::FillPiggyExtHdr ( har, Pa ket ∗, int) [private℄4.32.3.50 void Ma 802_16SS::UpdateJitter ( har tbindex) [private℄This is alled whenever a MAP is re eived by a UGS �ow. The statisti adds all error (s heduledallo ation time from a tual). Then the dumpUGSJitter method periodi ally obtains the meanjitter = runningJitter / samples4.32.3.51 int Ma 802_16SS::CanBeSent (aptr &, Pa ket ∗, har) [private℄4.32.3.52 int Ma 802_16SS::CanUni astReqBeSent ( har) [private℄4.32.3.53 int Ma 802_16SS::CanContentionReqBeSent ( har) [private℄4.32.3.54 int Ma 802_16SS::DataGrantPending ( har) [private℄4.32.3.55 int Ma 802_16SS::MapSentAfterReq ( har) [private℄4.32.3.56 int Ma 802_16SS::NumContentionSlots ( har) [private℄4.32.3.57 void Ma 802_16SS::USRateMeasure ( har tbindex, Pa ket ∗ p)[private℄This routine updates the available tokens subje t to the BW rate taking into a ount the trans-mission of this pa ket.4.32.3.58 void Ma 802_16SS::us_getupdatedtokens ( har tbindex) [private℄This routine omputes the available tokens subje t to BW rate limits.4.32.3.59 int Ma 802_16SS::look_at_queue ( har tbindex) [private℄This routine is for debug purposes. It displays pa kets in the queue.Parameters:tbindex Indi ates the servi e-�ow entry to whi h the pa ket has been mapped4.32.3.60 int Ma 802_16SS::�lterACKPa kets (Pa ket ∗ pkt, har tbindex)[private℄This routine is alled only if you want to do a k �ltering at a SS. Before the pa ket is inserted inthe queue (to await upstream transmission) pa kets that are already in the queue are s anned. Allolder ACK pa kets for this TCP onne tion (identi�ed by mat hing the �owid, sr /dst addr/port)and with a seqno less than the seqno of this ACK are removed from the queue and the pa ketsare freed.Parameters:pkt ptr to a pa ket that has arrived and is to be queuedtbindex Indi ates the servi e-�ow entry to whi h the pa ket has been mappedGenerated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 83: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.32 Ma 802_16SS Class Referen e 77Returns:The number of ACK pa kets that are remmoved from the Queue.4.32.3.61 int Ma 802_16SS::pa ketMat h (Pa ket ∗ pkt1, Pa ket ∗ pkt2) [private℄This routine ompares the 2 pa kets and sees it their �owid, sr /dst addr/port all mat h. If so,they are from the same �ow.Parameters:pkt1 : ptr to a one pa ketpkt2 : ptr to the se ond pa ketReturns:a 1 is pkt2 and pkt1 are from the same �ow. Else a 0.4.32.3.62 double Ma 802_16SS::�nd_ ontention_slot ( har tbindex, u_int32_tnum) [private℄Find the starting time of the 'num' ontention slot4.32.3.63 double Ma 802_16SS::timer_expiration ( har, Pa ket ∗, int) [private℄4.32.3.64 Pa ket ∗ Ma 802_16SS::deque_pkt ( har) [private℄4.32.3.65 Pa ket ∗ Ma 802_16SS::pkt_lookup ( har tbindex, int i) [private℄4.32.3.66 void Ma 802_16SS::dumpBWSS ( har ∗ �leName) [private℄4.32.3.67 void Ma 802_16SS::dumpUGSJITTER ( har tbindex, har ∗ outputFile)[private℄This is alled periodi ally (as of 3/26/05 it is piggyba ked o� the dumpBWSS me hanism). It omputes a jitter statisti based on stats gathered sin e the last time this method was alled.Ea h time a UGS allo ation is made, the jitter is updated. This running total of jitter is simplythe di�eren e between the s heduled allo ation time (based on the UGS grant interval) and thea tual.4.32.3.68 void Ma 802_16SS::dumpFinalSSStats ( har ∗ �leName) [private℄4.32.3.69 void Ma 802_16SS::dump802_16QueueStats ( har ∗ outputFile, int hannelBW) [private℄Is alled via a t l s ript to dump the queue length of The �rst upstream �ow in the tableGenerated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 84: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

78 WiMAX Class Do umentation4.32.3.70 void Ma 802_16SS::dump802_16UtilStats ( har ∗ �leName, int hannelDSBW, int hannelUSBW) [private℄4.32.3.71 int Ma 802_16SS::pa ketTra e (Pa ket ∗ p, int dire tion) [private℄Parameters:p A 802_16 frame.dire tion dire tion is 0 when sent DS and 1 when arrival at US.Returns:0 on su ess.4.32.3.72 int Ma 802_16SS::timingsTra e (Pa ket ∗ p, int id) [private℄Parameters:p A 802_16 frameid The ID that goes in the �rst �eld of the tra e line4.32.3.73 int Ma 802_16SS::ugs_idle ( har tbindex, EventType e, Pa ket ∗ p)[private℄Parameters:tbindex denotes the servi e-�ow entry on whi h pa ket has been mapped4.32.3.74 int Ma 802_16SS::ugs_de ision ( har, EventType, Pa ket ∗) [private℄4.32.3.75 int Ma 802_16SS::ugs_tosend ( har, EventType, Pa ket ∗) [private℄4.32.3.76 int Ma 802_16SS::ugs_waitformap ( har tbindex, EventType e, Pa ket ∗p) [private℄This is alled when ertain events o ur while a UGS �ow is waiting for a MAP.4.32.3.77 int Ma 802_16SS::rtpoll_idle ( har tbindex, EventType e, Pa ket ∗ p)[private℄Parameters:tbindex denotes the servi e-�ow entry on whi h pa ket has been mappedGenerated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 85: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.32 Ma 802_16SS Class Referen e 794.32.3.78 int Ma 802_16SS::rtpoll_de ision ( har, EventType, Pa ket ∗)[private℄4.32.3.79 int Ma 802_16SS::rtpoll_tosend ( har, EventType, Pa ket ∗) [private℄4.32.3.80 int Ma 802_16SS::rtpoll_waitformap ( har, EventType, Pa ket ∗)[private℄4.32.3.81 int Ma 802_16SS::rtpoll_tosendreq ( har, EventType, Pa ket ∗)[private℄4.32.3.82 int Ma 802_16SS::ertpoll_idle ( har tbindex, EventType e, Pa ket ∗ p)[private℄Parameters:tbindex denotes the servi e-�ow entry on whi h pa ket has been mapped4.32.3.83 int Ma 802_16SS::ertpoll_de ision ( har, EventType, Pa ket ∗)[private℄4.32.3.84 int Ma 802_16SS::ertpoll_tosend ( har, EventType, Pa ket ∗)[private℄4.32.3.85 int Ma 802_16SS::ertpoll_waitformap ( har, EventType, Pa ket ∗)[private℄4.32.3.86 int Ma 802_16SS::ertpoll_tosendreq ( har, EventType, Pa ket ∗)[private℄4.32.3.87 int Ma 802_16SS::nrtpoll_idle ( har tbindex, EventType e, Pa ket ∗ p)[private℄Parameters:tbindex denotes the servi e-�ow entry on whi h pa ket has been mappedGenerated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 86: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

80 WiMAX Class Do umentation4.32.3.88 int Ma 802_16SS::nrtpoll_de ision ( har, EventType, Pa ket ∗)[private℄4.32.3.89 int Ma 802_16SS::nrtpoll_tosend ( har, EventType, Pa ket ∗)[private℄4.32.3.90 int Ma 802_16SS::nrtpoll_waitformap ( har, EventType, Pa ket ∗)[private℄4.32.3.91 int Ma 802_16SS::nrtpoll_tosendreq ( har, EventType, Pa ket ∗)[private℄4.32.3.92 int Ma 802_16SS::nrtpoll_reqsent ( har, EventType, Pa ket ∗)[private℄4.32.3.93 int Ma 802_16SS::nrtpoll_ ontention ( har tbindex, EventType e,Pa ket ∗ p) [private℄Parameters:p The frame that already has bee adjusted for all headers4.32.3.94 int Ma 802_16SS::be�ort_idle ( har tbindex, EventType e, Pa ket ∗ p)[private℄Parameters:tbindex denotes the servi e-�ow entry on whi h pa ket has been mapped4.32.3.95 int Ma 802_16SS::be�ort_de ision ( har, EventType, Pa ket ∗)[private℄4.32.3.96 int Ma 802_16SS::be�ort_tosend ( har, EventType, Pa ket ∗)[private℄4.32.3.97 int Ma 802_16SS::be�ort_waitformap ( har, EventType, Pa ket ∗)[private℄4.32.3.98 int Ma 802_16SS::be�ort_tosendreq ( har, EventType, Pa ket ∗)[private℄4.32.3.99 int Ma 802_16SS::be�ort_reqsent ( har, EventType, Pa ket ∗)[private℄4.32.3.100 int Ma 802_16SS::be�ort_ ontention ( har tbindex, EventType e,Pa ket ∗ p) [private℄Parameters:p The frame that already has been adjusted for all headersGenerated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 87: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.32 Ma 802_16SS Class Referen e 814.32.3.101 int Ma 802_16SS::be�ort_rate he k ( har tbindex, EventType e,Pa ket ∗ p) [private℄This is alled at before sending a request for bandwidth (in luding a piggy req) to see if the rate ontrol has provided enough tokens. The dshdr_.ma _param ontains the number of slots in therequest for the ase of a REQ_TIMER. Normally this is 1 or 6 for a piggy request. For the aseof a PIGGY_REQ, the exthrd_[℄.eh_data[1℄ is set to # slots requested.Parameters:e Spe i�es the asyn h event that led to this invo ation: REQ_TIMER, PIGGYBACK_REQReturns:If 1, then an send, if -1, then an NOT send4.32.3.102 void Ma 802_16SS::FillErtPSPiggyReq ( har tbindex, Pa ket ∗ p)[private℄This is alled to send a request piggyba ked to pa ket p. The request informs the BS the newpa ket size of the ertPS servi e.4.32.3.103 int Ma 802_16SS::SendErtPSReq ( har tbindex, Pa ket ∗ p) [private℄This is alled when the ertPS servi e wants to send a request to the BS. It is invoked o� theREQ_TIMER thread. The request will inform the new pa ket size to the BS.Parameters:p This is the urrent pa ket that we want to send.Returns:0 if an error o urs and the request is not sent, else a 1.Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 88: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

82 WiMAX Class Do umentation4.32.4 Friends And Related Fun tion Do umentation4.32.4.1 friend lass SSRng802_16Timer [friend℄4.32.4.2 friend lass SSServi eFlowSendTimer [friend℄4.32.4.3 friend lass SSServi eFlowRequestTimer [friend℄4.32.5 Member Data Do umentation4.32.5.1 RNG∗ Ma 802_16SS::rng_ [private℄4.32.5.2 SSRng802_16Timer Ma 802_16SS::mhSSRng_ [private℄4.32.5.3 SSServi eFlowSendTimer Ma 802_16SS::mhSSSend_ [private℄4.32.5.4 SSServi eFlowRequestTimer Ma 802_16SS::mhReq_ [private℄4.32.5.5 Pa ket∗ Ma 802_16SS::map_ [private℄4.32.5.6 har Ma 802_16SS::debug_ss [private℄4.32.5.7 u_int32_t Ma 802_16SS::ss_id [private℄4.32.5.8 u_ har Ma 802_16SS::my_lan [private℄4.32.5.9 u_ har Ma 802_16SS::SizeUpFlowTable [private℄4.32.5.10 stru t upstream_s�ow Ma 802_16SS::UpFlowTable[MAX_NUM_-UPFLOWS_PERSS℄ [private℄4.32.5.11 u_ har Ma 802_16SS::SizeDownFlowTable [private℄4.32.5.12 stru t downstream_s�ow Ma 802_16SS::DownFlowTable[MAX_-NUM_DOWNFLOWS_PERSS℄ [private℄4.32.5.13 u_ har Ma 802_16SS::default_upstream_index_ [private℄4.32.5.14 u_ har Ma 802_16SS::default_dstream_index_ [private℄4.32.5.15 u_int16_t Ma 802_16SS::priority [private℄4.32.5.16 double Ma 802_16SS::rng_freq [private℄4.32.5.17 int Ma 802_16SS::bs_addr [private℄4.32.5.18 double Ma 802_16SS::map_a ktime [private℄4.32.5.19 u_int32_t Ma 802_16SS::total_num_frag [private℄4.32.5.20 u_int32_t Ma 802_16SS::total_num_ ollisions [private℄4.32.5.21 u_int32_t Ma 802_16SS::total_num_bko� [private℄4.32.5.22 u_int32_t Ma 802_16SS::total_ ollision_drops [private℄4.32.5.23 u_int32_t Ma 802_16SS::total_queue_drops [private℄4.32.5.24 sptr Ma 802_16SS::SndList [private℄4.32.5.25 rptr Ma 802_16SS::ReqList [private℄4.32.5.26 rptr Ma 802_16SS::tempReqList [private℄4.32.5.27 int(Ma 802_16SS:: Ma 802_16SS::UGSswit h[UGSSTATES℄)( har,EventType, Pa ket ) [private℄4.32.5.28 int(Ma 802_16SS:: Ma 802_-16SS::RTPOLLswit h[RTPOLLSTATES℄)( har,EventType, Pa ket ) [private℄4.32.5.29 int(Ma 802_16SS:: Ma 802_-16SS::ERTPOLLswit h[ERTPOLLSTATES℄)( har,EventType, Pa ket ) [private℄4.32.5.30 int(Ma 802_16SS:: Ma 802_-16SS::NRTPOLLswit h[NRTPOLLSTATES℄)( har,EventType, Pa ket ) [private℄4.32.5.31 int(Ma 802_16SS:: Ma 802_-16SS::BEFFORTswit h[BEFFORTSTATES℄)( har,EventType, Pa ket ) [private℄4.32.5.32 Event Ma 802_16SS::rintr [private℄4.32.5.33 double Ma 802_16SS::last_dmptime [private℄4.32.5.34 int Ma 802_16SS::reqFlag [private℄4.32.5.35 int Ma 802_16SS::reqFlagCounter [private℄The do umentation for this lass was generated from the following �les:

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 89: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.32 Ma 802_16SS Class Referen e 83� ns-2.28/ma /ma -802_16.h� ns-2.28/ma /ma -802_16-FSM. � ns-2.28/ma /ma -802_16-ss.

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 90: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

84 WiMAX Class Do umentation4.33 Ma 802_16SSClass Class Referen ePubli Member Fun tions� Ma 802_16SSClass ()� T lObje t ∗ reate (int, onst har ∗ onst ∗)4.33.1 Detailed Des riptionTCL Hooks for the simulator4.33.2 Constru tor & Destru tor Do umentation4.33.2.1 Ma 802_16SSClass::Ma 802_16SSClass () [inline℄4.33.3 Member Fun tion Do umentation4.33.3.1 T lObje t∗ Ma 802_16SSClass:: reate (int, onst har ∗ onst ∗) [inline℄The do umentation for this lass was generated from the following �le:� ns-2.28/ma /ma -802_16-ss.

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 91: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.34 Ma 802_16Timer Class Referen e 854.34 Ma 802_16Timer Class Referen e#in lude <ma -802_16-timers.h>Inheritan e diagram for Ma 802_16Timer::Mac802_16Timer

BsRng802_16Timer

BsServiceFlowSendTimer

BsSync802_16Timer

BsToken802_16Timer

BsTxPkt802_16Timer

BsUcd802_16Timer

BsUplinkSchedWindowTimer

Map802_16Timer

RxPkt802_16Timer

SSRng802_16Timer

SSServiceFlowRequestTimer

SSServiceFlowSendTimer

TxPkt802_16TimerPubli Member Fun tions� Ma 802_16Timer (Ma 802_16 ∗m)� virtual void handle (Event ∗e)� void start (Pa ket ∗e, double time)� virtual void stop (Pa ket ∗e)� int busy (void)� double expire (void)Prote ted Attributes� Ma 802_16 ∗ ma � int busy_� int paused_� Event intrGenerated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 92: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

86 WiMAX Class Do umentation� double stime� double rtime4.34.1 Detailed Des riptionBase lass for all the timer lasses4.34.2 Constru tor & Destru tor Do umentation4.34.2.1 Ma 802_16Timer::Ma 802_16Timer (Ma 802_16 ∗ m) [inline℄4.34.3 Member Fun tion Do umentation4.34.3.1 virtual void Ma 802_16Timer::handle (Event ∗ e) [inline, virtual℄Reimplemented in RxPkt802_16Timer (p. 94), TxPkt802_16Timer (p. 101), BsTx-Pkt802_16Timer (p. 18), Map802_16Timer (p. 87), BsU d802_16Timer (p. 19), Bs-Rng802_16Timer (p. 14), BsSyn 802_16Timer (p. 16), BsToken802_16Timer (p. 17),BsServi eFlowSendTimer (p. 15), BsUplinkS hedWindowTimer (p. 20), SSRng802_-16Timer (p. 97), SSServi eFlowSendTimer (p. 99), and SSServi eFlowRequestTimer(p. 98).4.34.3.2 void Ma 802_16Timer::start (Pa ket ∗ e, double time)4.34.3.3 void Ma 802_16Timer::stop (Pa ket ∗ e) [virtual℄4.34.3.4 int Ma 802_16Timer::busy (void) [inline℄4.34.3.5 double Ma 802_16Timer::expire (void) [inline℄4.34.4 Member Data Do umentation4.34.4.1 Ma 802_16∗ Ma 802_16Timer::ma [prote ted℄4.34.4.2 int Ma 802_16Timer::busy_ [prote ted℄4.34.4.3 int Ma 802_16Timer::paused_ [prote ted℄4.34.4.4 Event Ma 802_16Timer::intr [prote ted℄4.34.4.5 double Ma 802_16Timer::stime [prote ted℄4.34.4.6 double Ma 802_16Timer::rtime [prote ted℄The do umentation for this lass was generated from the following �les:� ns-2.28/ma /ma -802_16-timers.h� ns-2.28/ma /ma -802_16-timers. Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 93: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.35 Map802_16Timer Class Referen e 874.35 Map802_16Timer Class Referen e#in lude <ma -802_16-timers.h>Inheritan e diagram for Map802_16Timer::Map802_16Timer

Mac802_16Timer

Publi Member Fun tions� Map802_16Timer (Ma 802_16 ∗m)� void handle (Event ∗e)4.35.1 Detailed Des riptionTimers to s hedule transmition of MAPS.4.35.2 Constru tor & Destru tor Do umentation4.35.2.1 Map802_16Timer::Map802_16Timer (Ma 802_16 ∗ m) [inline℄4.35.3 Member Fun tion Do umentation4.35.3.1 void Map802_16Timer::handle (Event ∗ e) [virtual℄Reimplemented from Ma 802_16Timer (p. 86).The do umentation for this lass was generated from the following �les:� ns-2.28/ma /ma -802_16-timers.h� ns-2.28/ma /ma -802_16-timers.

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 94: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

88 WiMAX Class Do umentation4.36 map_ onf_param Stru t Referen e#in lude <hdr-802_16.h>Publi Attributes� double time_ overed� double map_interval� u_int32_t num_ ontention_slots� u_int32_t num_sm_slots� u_ har bko�_start� u_ har bko�_end4.36.1 Member Data Do umentation4.36.1.1 double map_ onf_param::time_ overed4.36.1.2 double map_ onf_param::map_interval4.36.1.3 u_int32_t map_ onf_param::num_ ontention_slots4.36.1.4 u_int32_t map_ onf_param::num_sm_slots4.36.1.5 u_ har map_ onf_param::bko�_start4.36.1.6 u_ har map_ onf_param::bko�_endThe do umentation for this stru t was generated from the following �le:� ns-2.28/ma /hdr-802_16.h

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 95: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.37 map_list Stru t Referen e 894.37 map_list Stru t Referen e#in lude <hdr-802_16.h>Publi Attributes� double allo _stime� double allo _etime� double release_time� double deadline� u_int32_t nslots� mapptr next� u_int16_t �ow_id� u_int16_t �ag4.37.1 Member Data Do umentation4.37.1.1 double map_list::allo _stime4.37.1.2 double map_list::allo _etime4.37.1.3 double map_list::release_time4.37.1.4 double map_list::deadline4.37.1.5 u_int32_t map_list::nslots4.37.1.6 mapptr map_list::next4.37.1.7 u_int16_t map_list::�ow_id4.37.1.8 u_int16_t map_list::�agThe do umentation for this stru t was generated from the following �le:� ns-2.28/ma /hdr-802_16.h

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 96: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

90 WiMAX Class Do umentation4.38 mgmt_ onf_param Stru t Referen e#in lude <hdr-802_16.h>Publi Attributes� double syn _msg_interval� double rng_msg_interval� double u d_msg_interval4.38.1 Detailed Des riptionThe frequen y of generation of management messages4.38.2 Member Data Do umentation4.38.2.1 double mgmt_ onf_param::syn _msg_interval4.38.2.2 double mgmt_ onf_param::rng_msg_interval4.38.2.3 double mgmt_ onf_param::u d_msg_intervalThe do umentation for this stru t was generated from the following �le:� ns-2.28/ma /hdr-802_16.h

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 97: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.39 pnode Stru t Referen e 914.39 pnode Stru t Referen e#in lude <hdr-802_16.h>Publi Attributes� Pa ket ∗ pkt� double enq_time� plist next4.39.1 Member Data Do umentation4.39.1.1 Pa ket∗ pnode::pkt4.39.1.2 double pnode::enq_time4.39.1.3 plist pnode::nextThe do umentation for this stru t was generated from the following �le:� ns-2.28/ma /hdr-802_16.h

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 98: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

92 WiMAX Class Do umentation4.40 priority_array Stru t Referen e#in lude <hdr-802_16.h>Publi Attributes� int priority� jptr job_pointer4.40.1 Detailed Des ription$A8 - auxiliar stru t to ompute the priority of the rtPS and nrtPS in the intermediate queue4.40.2 Member Data Do umentation4.40.2.1 int priority_array::priority4.40.2.2 jptr priority_array::job_pointerThe do umentation for this stru t was generated from the following �le:� ns-2.28/ma /hdr-802_16.h

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 99: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.41 req_timer_list Stru t Referen e 934.41 req_timer_list Stru t Referen e#in lude <hdr-802_16.h>Publi Attributes� double expiration_time� rptr next� u_ har rindex4.41.1 Member Data Do umentation4.41.1.1 double req_timer_list::expiration_time4.41.1.2 rptr req_timer_list::next4.41.1.3 u_ har req_timer_list::rindexThe do umentation for this stru t was generated from the following �le:� ns-2.28/ma /hdr-802_16.h

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 100: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

94 WiMAX Class Do umentation4.42 RxPkt802_16Timer Class Referen e#in lude <ma -802_16-timers.h>Inheritan e diagram for RxPkt802_16Timer::RxPkt802_16Timer

Mac802_16Timer

Publi Member Fun tions� RxPkt802_16Timer (Ma 802_16 ∗m)� void handle (Event ∗e)4.42.1 Detailed Des riptionTimers to ontrol pa ket sending and re eiving time.4.42.2 Constru tor & Destru tor Do umentation4.42.2.1 RxPkt802_16Timer::RxPkt802_16Timer (Ma 802_16 ∗ m) [inline℄4.42.3 Member Fun tion Do umentation4.42.3.1 void RxPkt802_16Timer::handle (Event ∗ e) [virtual℄Re eive TimerReimplemented from Ma 802_16Timer (p. 86).The do umentation for this lass was generated from the following �les:� ns-2.28/ma /ma -802_16-timers.h� ns-2.28/ma /ma -802_16-timers.

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 101: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.43 snd_timer_list Stru t Referen e 954.43 snd_timer_list Stru t Referen e#in lude <hdr-802_16.h>Publi Attributes� double expiration_time� sptr next� u_ har tindex4.43.1 Member Data Do umentation4.43.1.1 double snd_timer_list::expiration_time4.43.1.2 sptr snd_timer_list::next4.43.1.3 u_ har snd_timer_list::tindexThe do umentation for this stru t was generated from the following �le:� ns-2.28/ma /hdr-802_16.h

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 102: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

96 WiMAX Class Do umentation4.44 ss_re ord Stru t Referen e#in lude <hdr-802_16.h>Publi Attributes� downstream_�ow_re ord d_re [MAX_NUM_DOWNFLOWS_PERSS℄� up_�ow_re ord u_re [MAX_NUM_UPFLOWS_PERSS℄� int ss_ma addr� u_int16_t priority� u_ har SizeDnFlTable� u_ har SizeUpFlTable� u_ har default_upstream_index_� u_ har default_downstream_index_4.44.1 Member Data Do umentation4.44.1.1 stru t downstream_�ow_re ord ss_re ord::d_re [MAX_NUM_-DOWNFLOWS_PERSS℄4.44.1.2 stru t up_�ow_re ord ss_re ord::u_re [MAX_NUM_UPFLOWS_-PERSS℄4.44.1.3 int ss_re ord::ss_ma addr4.44.1.4 u_int16_t ss_re ord::priority4.44.1.5 u_ har ss_re ord::SizeDnFlTable4.44.1.6 u_ har ss_re ord::SizeUpFlTable4.44.1.7 u_ har ss_re ord::default_upstream_index_4.44.1.8 u_ har ss_re ord::default_downstream_index_The do umentation for this stru t was generated from the following �le:� ns-2.28/ma /hdr-802_16.h

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 103: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.45 SSRng802_16Timer Class Referen e 974.45 SSRng802_16Timer Class Referen e#in lude <ma -802_16-timers.h>Inheritan e diagram for SSRng802_16Timer::SSRng802_16Timer

Mac802_16Timer

Publi Member Fun tions� SSRng802_16Timer (Ma 802_16 ∗m)� void handle (Event ∗e)4.45.1 Detailed Des riptionTimers to s hedule transmition of Management messages4.45.2 Constru tor & Destru tor Do umentation4.45.2.1 SSRng802_16Timer::SSRng802_16Timer (Ma 802_16 ∗ m) [inline℄4.45.3 Member Fun tion Do umentation4.45.3.1 void SSRng802_16Timer::handle (Event ∗ e) [virtual℄Reimplemented from Ma 802_16Timer (p. 86).The do umentation for this lass was generated from the following �les:� ns-2.28/ma /ma -802_16-timers.h� ns-2.28/ma /ma -802_16-timers.

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 104: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

98 WiMAX Class Do umentation4.46 SSServi eFlowRequestTimer Class Referen e#in lude <ma -802_16-timers.h>Inheritan e diagram for SSServi eFlowRequestTimer::SSServiceFlowRequestTimer

Mac802_16Timer

Publi Member Fun tions� SSServi eFlowRequestTimer (Ma 802_16 ∗m)� void handle (Event ∗e)4.46.1 Detailed Des riptionREQUEST timer..(per servi e-�ow timer)4.46.2 Constru tor & Destru tor Do umentation4.46.2.1 SSServi eFlowRequestTimer::SSServi eFlowRequestTimer (Ma 802_16 ∗m) [inline℄4.46.3 Member Fun tion Do umentation4.46.3.1 void SSServi eFlowRequestTimer::handle (Event ∗ e) [virtual℄Reimplemented from Ma 802_16Timer (p. 86).The do umentation for this lass was generated from the following �les:� ns-2.28/ma /ma -802_16-timers.h� ns-2.28/ma /ma -802_16-timers.

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 105: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.47 SSServi eFlowSendTimer Class Referen e 994.47 SSServi eFlowSendTimer Class Referen e#in lude <ma -802_16-timers.h>Inheritan e diagram for SSServi eFlowSendTimer::SSServiceFlowSendTimer

Mac802_16Timer

Publi Member Fun tions� SSServi eFlowSendTimer (Ma 802_16 ∗m)� void handle (Event ∗e)4.47.1 Detailed Des riptionSEND timer..(per servi e-�ow timer)4.47.2 Constru tor & Destru tor Do umentation4.47.2.1 SSServi eFlowSendTimer::SSServi eFlowSendTimer (Ma 802_16 ∗ m)[inline℄4.47.3 Member Fun tion Do umentation4.47.3.1 void SSServi eFlowSendTimer::handle (Event ∗ e) [virtual℄Reimplemented from Ma 802_16Timer (p. 86).The do umentation for this lass was generated from the following �les:� ns-2.28/ma /ma -802_16-timers.h� ns-2.28/ma /ma -802_16-timers.

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 106: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

100 WiMAX Class Do umentation4.48 token_timer_list Stru t Referen e#in lude <hdr-802_16.h>Publi Attributes� double expiration_time� tkptr next� int index� int �ndex4.48.1 Member Data Do umentation4.48.1.1 double token_timer_list::expiration_time4.48.1.2 tkptr token_timer_list::next4.48.1.3 int token_timer_list:: index4.48.1.4 int token_timer_list::�ndexThe do umentation for this stru t was generated from the following �le:� ns-2.28/ma /hdr-802_16.h

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 107: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.49 TxPkt802_16Timer Class Referen e 1014.49 TxPkt802_16Timer Class Referen e#in lude <ma -802_16-timers.h>Inheritan e diagram for TxPkt802_16Timer::TxPkt802_16Timer

Mac802_16Timer

Publi Member Fun tions� TxPkt802_16Timer (Ma 802_16 ∗m)� void handle (Event ∗e)4.49.1 Constru tor & Destru tor Do umentation4.49.1.1 TxPkt802_16Timer::TxPkt802_16Timer (Ma 802_16 ∗ m) [inline℄4.49.2 Member Fun tion Do umentation4.49.2.1 void TxPkt802_16Timer::handle (Event ∗ e) [virtual℄Send TimerReimplemented from Ma 802_16Timer (p. 86).The do umentation for this lass was generated from the following �les:� ns-2.28/ma /ma -802_16-timers.h� ns-2.28/ma /ma -802_16-timers.

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 108: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

102 WiMAX Class Do umentation4.50 up_�ow_re ord Stru t Referen e#in lude <hdr-802_16.h>Publi Attributes� �ow_ lassi�er lassi�er� Pa ket ∗ frag_pkt� S hedType s hed_type� PhsType PHS_pro�le� double ginterval� u_int32_t frag_data� u_int16_t �ow_id� u_int16_t gsize� u_int16_t seq_num� u_ har �ag� double laten y� u_int32_t min_bw� double last_granttime� u_int16_t ba klogged� int16_t granted_bw4.50.1 Detailed Des riptionThis stru ture ontains all the information ex luding s heduling algorithm information about aSS at the BS node Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 109: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.50 up_�ow_re ord Stru t Referen e 1034.50.2 Member Data Do umentation4.50.2.1 stru t �ow_ lassi�er up_�ow_re ord:: lassi�er4.50.2.2 Pa ket∗ up_�ow_re ord::frag_pkt4.50.2.3 S hedType up_�ow_re ord::s hed_type4.50.2.4 PhsType up_�ow_re ord::PHS_pro�le4.50.2.5 double up_�ow_re ord::ginterval4.50.2.6 u_int32_t up_�ow_re ord::frag_data4.50.2.7 u_int16_t up_�ow_re ord::�ow_id4.50.2.8 u_int16_t up_�ow_re ord::gsize4.50.2.9 u_int16_t up_�ow_re ord::seq_num4.50.2.10 u_ har up_�ow_re ord::�ag4.50.2.11 double up_�ow_re ord::laten y4.50.2.12 u_int32_t up_�ow_re ord::min_bw4.50.2.13 double up_�ow_re ord::last_granttime4.50.2.14 u_int16_t up_�ow_re ord::ba klogged4.50.2.15 int16_t up_�ow_re ord::granted_bwThe do umentation for this stru t was generated from the following �le:� ns-2.28/ma /hdr-802_16.h

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 110: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

104 WiMAX Class Do umentation4.51 upstream_ hannel Stru t Referen e#in lude <hdr-802_16.h>Publi Attributes� double data_rate� double prop_delay� u_int32_t max_burst_size� u_int32_t overhead_bytes� u_ har physlots_p_minislot4.51.1 Detailed Des riptionThis stru ture de�nes all the user- on�gurable paramters for upstream hannel4.51.2 Member Data Do umentation4.51.2.1 double upstream_ hannel::data_rate4.51.2.2 double upstream_ hannel::prop_delay4.51.2.3 u_int32_t upstream_ hannel::max_burst_size4.51.2.4 u_int32_t upstream_ hannel::overhead_bytes4.51.2.5 u_ har upstream_ hannel::physlots_p_minislotThe do umentation for this stru t was generated from the following �le:� ns-2.28/ma /hdr-802_16.h

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 111: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.52 upstream_�ow_re ord Stru t Referen e 1054.52 upstream_�ow_re ord Stru t Referen e#in lude <hdr-802_16.h>Publi Attributes� �ow_ lassi�er lassi�er� S hedType s hed_type� PhsType PHS_pro�le� double ginterval� double laten y� u_int32_t min_bw� u_int16_t �ow_id� u_int16_t gsize� u_ har �ag4.52.1 Detailed Des riptionThis stru ture de�nes attributes of an upstream servi e �ow of a SS node4.52.2 Member Data Do umentation4.52.2.1 stru t �ow_ lassi�er upstream_�ow_re ord:: lassi�er4.52.2.2 S hedType upstream_�ow_re ord::s hed_type4.52.2.3 PhsType upstream_�ow_re ord::PHS_pro�le4.52.2.4 double upstream_�ow_re ord::ginterval4.52.2.5 double upstream_�ow_re ord::laten y4.52.2.6 u_int32_t upstream_�ow_re ord::min_bw4.52.2.7 u_int16_t upstream_�ow_re ord::�ow_id4.52.2.8 u_int16_t upstream_�ow_re ord::gsize4.52.2.9 u_ har upstream_�ow_re ord::�agThe do umentation for this stru t was generated from the following �le:� ns-2.28/ma /hdr-802_16.hGenerated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 112: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

106 WiMAX Class Do umentation4.53 upstream_s�ow Stru t Referen e#in lude <hdr-802_16.h>Publi Attributes� upstream_�ow_re ord upstream_re ord� allo ation_time ∗ allo _list� plist pa ket_list� u_int16_t max_qsize� Pa ket ∗ pkt� Pa ket ∗ frag_pkt� har debug� double map_a ktime� double req_time� double avg_queuing_delay� u_int32_t queuing_samples� double avg_req_stime� double enque_time� u_int32_t num_delay_samples� u_int32_t urr_gsize� u_int32_t num_pkt_snt� u_int32_t drop_ ount� u_int32_t seq_num� u_int32_t frag_data� double last_mfrtime� u_int32_t avg_pkts� u_int32_t avg_bytes� u_int32_t num_bytes� u_int32_t num_pkts� u_int32_t SID_num_sent_bytes� u_int32_t SID_num_sent_pkts� u_int32_t avg_slotspermap� u_int32_t totalACKs� u_int32_t totalACKsFiltered� u_int32_t total_piggyreq� u_int32_t total_ req� u_int32_t total_f oll� u_int32_t avg_f ont� u_int32_t f ont_ ount� u_int32_t total_ ollision_drops� u_int32_t total_queue_drops� int bs_addr� u_int16_t max_ on at_threshhold� u_ har state� u_int32_t bk_o�win� u_int32_t bk_o� ounter� u_int32_t bk_o�end� u_int32_t bk_o�start� u_ har num_retries Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 113: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.53 upstream_s�ow Stru t Referen e 107� u_ har max_retries� u_ har ontention_on� u_ har pending� Event intr� Event rintr� double ugsjitter� int jitterSamples� double last_granttime� double nominal_allo time� double last_jitter altime� double a eptan e_rate� double prev_a eptan e_rate� �oat wt_fa tor� u_int32_t num_slots_req� double tokens_� double rate_� int bu ket_� double lastupdatetime_� int init_� har rate ontrol� int totalPa ketsInCon atFrames� int totalCon atFrames� int not_requested_pkts� u_int16_t aggreqinterval� u_int16_t req_ ounterGenerated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 114: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

108 WiMAX Class Do umentation4.53.1 Member Data Do umentation4.53.1.1 stru t upstream_�ow_re ord upstream_s�ow::upstream_re ord4.53.1.2 stru t allo ation_time∗ upstream_s�ow::allo _list4.53.1.3 plist upstream_s�ow::pa ket_list4.53.1.4 u_int16_t upstream_s�ow::max_qsize4.53.1.5 Pa ket∗ upstream_s�ow::pkt4.53.1.6 Pa ket∗ upstream_s�ow::frag_pkt4.53.1.7 har upstream_s�ow::debug4.53.1.8 double upstream_s�ow::map_a ktime4.53.1.9 double upstream_s�ow::req_time4.53.1.10 double upstream_s�ow::avg_queuing_delay4.53.1.11 u_int32_t upstream_s�ow::queuing_samples4.53.1.12 double upstream_s�ow::avg_req_stime4.53.1.13 double upstream_s�ow::enque_time4.53.1.14 u_int32_t upstream_s�ow::num_delay_samples4.53.1.15 u_int32_t upstream_s�ow:: urr_gsize4.53.1.16 u_int32_t upstream_s�ow::num_pkt_snt4.53.1.17 u_int32_t upstream_s�ow::drop_ ount4.53.1.18 u_int32_t upstream_s�ow::seq_num4.53.1.19 u_int32_t upstream_s�ow::frag_data4.53.1.20 double upstream_s�ow::last_mfrtime4.53.1.21 u_int32_t upstream_s�ow::avg_pkts4.53.1.22 u_int32_t upstream_s�ow::avg_bytes4.53.1.23 u_int32_t upstream_s�ow::num_bytes4.53.1.24 u_int32_t upstream_s�ow::num_pkts4.53.1.25 u_int32_t upstream_s�ow::SID_num_sent_bytes4.53.1.26 u_int32_t upstream_s�ow::SID_num_sent_pkts4.53.1.27 u_int32_t upstream_s�ow::avg_slotspermap4.53.1.28 u_int32_t upstream_s�ow::totalACKs4.53.1.29 u_int32_t upstream_s�ow::totalACKsFiltered4.53.1.30 u_int32_t upstream_s�ow::total_piggyreq4.53.1.31 u_int32_t upstream_s�ow::total_ req4.53.1.32 u_int32_t upstream_s�ow::total_f oll4.53.1.33 u_int32_t upstream_s�ow::avg_f ont4.53.1.34 u_int32_t upstream_s�ow::f ont_ ount4.53.1.35 u_int32_t upstream_s�ow::total_ ollision_drops4.53.1.36 u_int32_t upstream_s�ow::total_queue_drops4.53.1.37 int upstream_s�ow::bs_addr4.53.1.38 u_int16_t upstream_s�ow::max_ on at_threshhold4.53.1.39 u_ har upstream_s�ow::state4.53.1.40 u_int32_t upstream_s�ow::bk_o�win4.53.1.41 u_int32_t upstream_s�ow::bk_o� ounter4.53.1.42 u_int32_t upstream_s�ow::bk_o�end4.53.1.43 u_int32_t upstream_s�ow::bk_o�start4.53.1.44 u_ har upstream_s�ow::num_retries4.53.1.45 u_ har upstream_s�ow::max_retries4.53.1.46 u_ har upstream_s�ow:: ontention_on4.53.1.47 u_ har upstream_s�ow::pending4.53.1.48 Event upstream_s�ow::intr4.53.1.49 Event upstream_s�ow::rintr4.53.1.50 double upstream_s�ow::ugsjitter4.53.1.51 int upstream_s�ow::jitterSamples4.53.1.52 double upstream_s�ow::last_granttime4.53.1.53 double upstream_s�ow::nominal_allo time4.53.1.54 double upstream_s�ow::last_jitter altime4.53.1.55 double upstream_s�ow::a eptan e_rate4.53.1.56 double upstream_s�ow::prev_a eptan e_rate4.53.1.57 �oat upstream_s�ow::wt_fa tor4.53.1.58 u_int32_t upstream_s�ow::num_slots_req4.53.1.59 double upstream_s�ow::tokens_4.53.1.60 double upstream_s�ow::rate_4.53.1.61 int upstream_s�ow::bu ket_4.53.1.62 double upstream_s�ow::lastupdatetime_4.53.1.63 int upstream_s�ow::init_4.53.1.64 har upstream_s�ow::rate ontrol4.53.1.65 int upstream_s�ow::totalPa ketsInCon atFrames4.53.1.66 int upstream_s�ow::totalCon atFrames4.53.1.67 int upstream_s�ow::not_requested_pkts4.53.1.68 u_int16_t upstream_s�ow::aggreqinterval4.53.1.69 u_int16_t upstream_s�ow::req_ ounterThe do umentation for this stru t was generated from the following �le:

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 115: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

4.53 upstream_s�ow Stru t Referen e 109� ns-2.28/ma /hdr-802_16.h

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 116: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

110 WiMAX Class Do umentation

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 117: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

Chapter 5WiMAX File Do umentation5.1 ns-2.28/ma /hdr-802_16.h File Referen e#in lude <arp.h>#in lude < onne tor.h>#in lude <delay.h>#in lude <ll.h>#in lude <ma .h>#in lude "ma -802_16-timers.h"#in lude <marshall.h>#in lude <pa ket.h>#in lude <queue.h>#in lude <random.h>Classes� stru t ma 802_16_frame_hdr� stru t ma 802_16_extended_header_element� stru t hdr_ma 802_16� stru t hdr_ma 802_16extd� stru t hdr_ma 802_16mgmt� stru t hdr_ma 802_16map802_16 map pa ket header� stru t pnode� stru t �ow_ lassi�er� stru t allo ation_time� stru t downstream_�ow_re ord� stru t upstream_�ow_re ord� stru t upstream_ hannel� stru t downstream_ hannel� stru t up_�ow_re ord

Page 118: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

112 WiMAX File Do umentation� stru t ss_re ord� stru t mgmt_ onf_param� stru t map_ onf_param� stru t bs_ onf_param� stru t bs_statisti s� stru t job� stru t map_list� stru t token_timer_list� stru t bsqnode� stru t bs_snd_timer_list� stru t a tive_�ows� stru t priority_array� stru t snd_timer_list� stru t req_timer_list� stru t upstream_s�ow� stru t downstream_s�owDe�nes� #de�ne EPSILON 0.0000000000005� #de�ne UPSTREAM 0� #de�ne DOWNSTREAM 1� #de�ne OFF 0� #de�ne ON 1� #de�ne BROADCAST_SID 1� #de�ne DATA_PKT 0� #de�ne MGMT_PKT 1� #de�ne SUPRESS_ALL_SIZE 100� #de�ne SUPRESS_TCPIP_SIZE 40� #de�ne SUPRESS_UDPIP_SIZE 28� #de�ne SUPRESS_MAC_SIZE 28� #de�ne DATA_GRANT 0� #de�ne UREQ_GRANT 1� #de�ne CONTENTION_GRANT 2� #de�ne SM_GRANT 3� #de�ne ETHER_HDR_LEN ((ETHER_ADDR_LEN << 1) + ETHER_TYPE_-LEN)� #de�ne MAC802_16_HDR_LEN 6� #de�ne MAX_NUM_IE 240� #de�ne MAX_GRANT 255� #de�ne MAX_RETRY 10� #de�ne SIZE_MGMT_HDR 24� #de�ne SIZE_MAP_HDR 4� #de�ne MANAGEMENT_MSG_PAYLOAD_SIZE 5� #de�ne NUM_EXTENDED_HDR_ELEMENTS 2� #de�ne MAX_NUM_DOWNFLOWS_PERSS 10� #de�ne MAX_NUM_UPFLOWS_PERSS 10� #de�ne NUM_802_16_LANS 5� #de�ne MAX_NUM_SS_NODES 500� #de�ne MAX_NUM_RETRIES 15Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 119: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

5.1 ns-2.28/ma /hdr-802_16.h File Referen e 113� #de�ne FRAG_ENABLE_BIT 8� #de�ne CONCAT_ENABLE_BIT 7� #de�ne FRAG_ON_BIT 6� #de�ne CONCAT_ON_BIT 5� #de�ne PIGGY_ENABLE_BIT 4� #de�ne NO_PIGGY_BIT 3� #de�ne PIGGY_NOT_SEND 2� #de�ne CONCAT_THRESHHOLD 1� #de�ne QUEUE_THRESHOLD 25� #de�ne UGSSTATES 4� #de�ne RTPOLLSTATES 6� #de�ne ERTPOLLSTATES 5� #de�ne NRTPOLLSTATES 7� #de�ne BEFFORTSTATES 8� #de�ne DOWNSTATES 4� #de�ne UGS_IDLE 0� #de�ne UGS_DECISION 1� #de�ne UGS_TOSEND 2� #de�ne UGS_WAITFORMAP 3� #de�ne RTPOLL_IDLE 0� #de�ne RTPOLL_DECISION 1� #de�ne RTPOLL_TOSEND 2� #de�ne RTPOLL_WAITFORMAP 3� #de�ne RTPOLL_TOSENDREQ 4� #de�ne RTPOLL_REQSENT 5� #de�ne ERTPOLL_IDLE 0� #de�ne ERTPOLL_DECISION 1� #de�ne ERTPOLL_TOSEND 2� #de�ne ERTPOLL_WAITFORMAP 3� #de�ne ERTPOLL_TOSENDREQ 4� #de�ne NRTPOLL_IDLE 0� #de�ne NRTPOLL_DECISION 1� #de�ne NRTPOLL_TOSEND 2� #de�ne NRTPOLL_WAITFORMAP 3� #de�ne NRTPOLL_TOSENDREQ 4� #de�ne NRTPOLL_REQSENT 5� #de�ne NRTPOLL_CONTENTION 6� #de�ne BEFFORT_IDLE 0� #de�ne BEFFORT_DECISION 1� #de�ne BEFFORT_TOSEND 2� #de�ne BEFFORT_WAITFORMAP 3� #de�ne BEFFORT_TOSENDREQ 4� #de�ne BEFFORT_REQSENT 5� #de�ne BEFFORT_CONTENTION 6� #de�ne BEFFORT_RATECHECK 7� #de�ne DOWN_IDLE 0� #de�ne DOWN_DECISION 1� #de�ne DOWN_TOSEND 2� #de�ne DOWN_WAITFORMAP 3� #de�ne T16_TIMER 1Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 120: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

114 WiMAX File Do umentationTypedefs� typedef pnode ∗ plist� typedef allo ation_time ∗ aptr� typedef job ∗ jptr� typedef map_list ∗ mapptr� typedef token_timer_list ∗ tkptr� typedef bsqnode ∗ qlist� typedef bs_snd_timer_list ∗ bs_sptr� typedef a tive_�ows ∗ a �ows_ptr� typedef priority_array ∗ priority_array_p� typedef snd_timer_list ∗ sptr� typedef req_timer_list ∗ rptrEnumerations� enum S hedType {UGS = 0x0000, RT_POLL = 0x0001, ERT_POLL = 0x0002,NRT_POLL = 0x0003,BEST_EFFORT = 0x0004 }� enum PhsType {SUPRESS_ALL = 0x0000, SUPRESS_TCPIP = 0x0001, SUPRESS_UDPIP =0x0002, SUPRESS_MAC = 0x0003,NO_SUPRESSION = 0x0004 }� enum EventType {PKT_ARRIVAL = 0x0000,MAP_ARRIVAL = 0x0001, SEND_TIMER = 0x0002,REQ_TIMER = 0x0003,SEND_PKT = 0x0004, SEND_UREQ = 0x0006, CONTENTION_ON = 0x0007,CONTENTION_SLOTS = 0x0008,CONTENTION_BKOFF = 0x0009, UNLOCK_QUEUE = 0x00010,PIGGYBACK_REQ = 0x00011 }5.1.1 Detailed Des riptionThis �le ontains:� the 802_16 frame formats (i.e., headers)� the map stru ture� the upstream �ow table stru ture� All global enum and de�nes needed by the odeGenerated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 121: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

5.1 ns-2.28/ma /hdr-802_16.h File Referen e 1155.1.2 De�ne Do umentation5.1.2.1 #de�ne BEFFORT_CONTENTION 65.1.2.2 #de�ne BEFFORT_DECISION 15.1.2.3 #de�ne BEFFORT_IDLE 05.1.2.4 #de�ne BEFFORT_RATECHECK 75.1.2.5 #de�ne BEFFORT_REQSENT 55.1.2.6 #de�ne BEFFORT_TOSEND 25.1.2.7 #de�ne BEFFORT_TOSENDREQ 45.1.2.8 #de�ne BEFFORT_WAITFORMAP 35.1.2.9 #de�ne BEFFORTSTATES 85.1.2.10 #de�ne BROADCAST_SID 15.1.2.11 #de�ne CONCAT_ENABLE_BIT 75.1.2.12 #de�ne CONCAT_ON_BIT 55.1.2.13 #de�ne CONCAT_THRESHHOLD 15.1.2.14 #de�ne CONTENTION_GRANT 25.1.2.15 #de�ne DATA_GRANT 05.1.2.16 #de�ne DATA_PKT 05.1.2.17 #de�ne DOWN_DECISION 15.1.2.18 #de�ne DOWN_IDLE 05.1.2.19 #de�ne DOWN_TOSEND 25.1.2.20 #de�ne DOWN_WAITFORMAP 35.1.2.21 #de�ne DOWNSTATES 45.1.2.22 #de�ne DOWNSTREAM 15.1.2.23 #de�ne EPSILON 0.00000000000055.1.2.24 #de�ne ERTPOLL_DECISION 15.1.2.25 #de�ne ERTPOLL_IDLE 05.1.2.26 #de�ne ERTPOLL_TOSEND 25.1.2.27 #de�ne ERTPOLL_TOSENDREQ 45.1.2.28 #de�ne ERTPOLL_WAITFORMAP 35.1.2.29 #de�ne ERTPOLLSTATES 55.1.2.30 #de�ne ETHER_HDR_LEN ((ETHER_ADDR_LEN << 1) +ETHER_TYPE_LEN)5.1.2.31 #de�ne FRAG_ENABLE_BIT 85.1.2.32 #de�ne FRAG_ON_BIT 65.1.2.33 #de�ne MAC802_16_HDR_LEN 65.1.2.34 #de�ne MANAGEMENT_MSG_PAYLOAD_SIZE 55.1.2.35 #de�ne MAX_GRANT 2555.1.2.36 #de�ne MAX_NUM_DOWNFLOWS_PERSS 105.1.2.37 #de�ne MAX_NUM_IE 2405.1.2.38 #de�ne MAX_NUM_RETRIES 155.1.2.39 #de�ne MAX_NUM_SS_NODES 5005.1.2.40 #de�ne MAX_NUM_UPFLOWS_PERSS 105.1.2.41 #de�ne MAX_RETRY 105.1.2.42 #de�ne MGMT_PKT 15.1.2.43 #de�ne NO_PIGGY_BIT 35.1.2.44 #de�ne NRTPOLL_CONTENTION 65.1.2.45 #de�ne NRTPOLL_DECISION 15.1.2.46 #de�ne NRTPOLL_IDLE 05.1.2.47 #de�ne NRTPOLL_REQSENT 55.1.2.48 #de�ne NRTPOLL_TOSEND 25.1.2.49 #de�ne NRTPOLL_TOSENDREQ 45.1.2.50 #de�ne NRTPOLL_WAITFORMAP 35.1.2.51 #de�ne NRTPOLLSTATES 75.1.2.52 #de�ne NUM_802_16_LANS 55.1.2.53 #de�ne NUM_EXTENDED_HDR_ELEMENTS 25.1.2.54 #de�ne OFF 05.1.2.55 #de�ne ON 15.1.2.56 #de�ne PIGGY_ENABLE_BIT 45.1.2.57 #de�ne PIGGY_NOT_SEND 25.1.2.58 #de�ne QUEUE_THRESHOLD 255.1.2.59 #de�ne RTPOLL_DECISION 15.1.2.60 #de�ne RTPOLL_IDLE 05.1.2.61 #de�ne RTPOLL_REQSENT 55.1.2.62 #de�ne RTPOLL_TOSEND 25.1.2.63 #de�ne RTPOLL_TOSENDREQ 45.1.2.64 #de�ne RTPOLL_WAITFORMAP 35.1.2.65 #de�ne RTPOLLSTATES 65.1.2.66 #de�ne SIZE_MAP_HDR 45.1.2.67 #de�ne SIZE_MGMT_HDR 245.1.2.68 #de�ne SM_GRANT 35.1.2.69 #de�ne SUPRESS_ALL_SIZE 1005.1.2.70 #de�ne SUPRESS_MAC_SIZE 285.1.2.71 #de�ne SUPRESS_TCPIP_SIZE 405.1.2.72 #de�ne SUPRESS_UDPIP_SIZE 285.1.2.73 #de�ne T16_TIMER 15.1.2.74 #de�ne UGS_DECISION 15.1.2.75 #de�ne UGS_IDLE 05.1.2.76 #de�ne UGS_TOSEND 25.1.2.77 #de�ne UGS_WAITFORMAP 35.1.2.78 #de�ne UGSSTATES 45.1.2.79 #de�ne UPSTREAM 05.1.2.80 #de�ne UREQ_GRANT 15.1.3 Typedef Do umentation5.1.3.1 typedef stru t a tive_�ows a �ows_ptr$A8 - auxiliar stru t to ompute the priority of the rtPS and nrtPS in the intermediate queue

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 122: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

116 WiMAX File Do umentation5.1.3.2 typedef stru t allo ation_time∗ aptr5.1.3.3 typedef stru t bs_snd_timer_list∗ bs_sptr5.1.3.4 typedef stru t job∗ jptrS heduling algorithm data stru tures5.1.3.5 typedef stru t map_list∗ mapptr5.1.3.6 typedef stru t pnode∗ plist5.1.3.7 typedef stru t priority_array∗ priority_array_p5.1.3.8 typedef stru t bsqnode∗ qlistPa ket queue stru ture5.1.3.9 typedef stru t req_timer_list∗ rptr5.1.3.10 typedef stru t snd_timer_list∗ sptr5.1.3.11 typedef stru t token_timer_list∗ tkptrList of token timer requests5.1.4 Enumeration Type Do umentation5.1.4.1 enum EventTypeEnumerator:PKT_ARRIVALMAP_ARRIVALSEND_TIMERREQ_TIMERSEND_PKTSEND_UREQCONTENTION_ONCONTENTION_SLOTSCONTENTION_BKOFFUNLOCK_QUEUEPIGGYBACK_REQ Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 123: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

5.1 ns-2.28/ma /hdr-802_16.h File Referen e 1175.1.4.2 enum PhsTypeEnumerator:SUPRESS_ALLSUPRESS_TCPIPSUPRESS_UDPIPSUPRESS_MACNO_SUPRESSION5.1.4.3 enum S hedTypeEnumerator:UGSRT_POLLERT_POLLNRT_POLLBEST_EFFORT

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 124: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

118 WiMAX File Do umentation5.2 ns-2.28/ma /ma -802_16-base. File Referen e#in lude "ma -802_16.h"#in lude "mobilenode.h"5.2.1 Detailed Des riptionThis �le ontains methods for the base Ma 802_16 (p. 36) lass.

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 125: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

5.3 ns-2.28/ma /ma -802_16-bs. File Referen e 1195.3 ns-2.28/ma /ma -802_16-bs. File Referen e#in lude "ma -802_16.h"#in lude "random.h"#in lude "math.h"#in lude "ping.h"Classes� lass Ma 802_16EHeaderClass� lass Ma 802_16HeaderClass� lass Ma 802_16MHeaderClass� lass Ma 802_16MapHeaderClass� lass Ma 802_16BsClassDe�nes� #de�ne FLOW_ID 0� #de�ne SS_ID 0� #de�ne DUMPBSMAP 0� #de�ne FILLWITHCONTOPS 0� #de�ne SHORT_STATS 1Fun tions� int ompare_priority ( onst void ∗a, onst void ∗b)Variables� int lan_num� Ma 802_16BS ∗ bs_arr [NUM_802_16_LANS℄� Ma 802_16EHeaderClass lass_hdr_ma 802_16extd� Ma 802_16HeaderClass lass_hdr_ma 802_16� Ma 802_16MHeaderClass lass_hdr_ma 802_16mgmt� Ma 802_16MapHeaderClass lass_hdr_ma 802_16map� Ma 802_16BsClass lass_ma _802_16bs� Ma 802_16BS ∗ global_ ompare_obj5.3.1 Detailed Des riptionThis �le ontains the BS obje t lass method implementations.Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 126: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

120 WiMAX File Do umentation5.3.2 De�ne Do umentation5.3.2.1 #de�ne DUMPBSMAP 05.3.2.2 #de�ne FILLWITHCONTOPS 05.3.2.3 #de�ne FLOW_ID 05.3.2.4 #de�ne SHORT_STATS 15.3.2.5 #de�ne SS_ID 05.3.3 Fun tion Do umentation5.3.3.1 int ompare_priority ( onst void ∗ a, onst void ∗ b)5.3.4 Variable Do umentation5.3.4.1 Ma 802_16BS∗ bs_arr[NUM_802_16_LANS℄5.3.4.2 Ma 802_16HeaderClass lass_hdr_ma 802_16 [stati ℄Ma 802_16HeaderClass (p. 65) lass5.3.4.3 Ma 802_16EHeaderClass lass_hdr_ma 802_16extd [stati ℄Ma 802_16EHeaderClass (p. 64) lass5.3.4.4 Ma 802_16MapHeaderClass lass_hdr_ma 802_16map [stati ℄Ma 802_16MHeaderClass (p. 67) lass5.3.4.5 Ma 802_16MHeaderClass lass_hdr_ma 802_16mgmt [stati ℄Ma 802_16MHeaderClass (p. 67) lass5.3.4.6 Ma 802_16BsClass lass_ma _802_16bs [stati ℄TCL Hooks for the simulator5.3.4.7 Ma 802_16BS∗ global_ ompare_obj5.3.4.8 int lan_numGenerated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 127: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

5.4 ns-2.28/ma /ma -802_16-FSM. File Referen e 1215.4 ns-2.28/ma /ma -802_16-FSM. File Referen e#in lude "ma -802_16.h"De�nes� #de�ne ACK_SUPPRESSION 0� #de�ne DUMPSSMAP 0� #de�ne DUMPSSID 0� #de�ne US_RATE_CONTROL 15.4.1 Detailed Des riptionThis �le ontains implementation of state ma hines for the three types of servi e-�ows5.4.2 De�ne Do umentation5.4.2.1 #de�ne ACK_SUPPRESSION 05.4.2.2 #de�ne DUMPSSID 05.4.2.3 #de�ne DUMPSSMAP 05.4.2.4 #de�ne US_RATE_CONTROL 1

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 128: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

122 WiMAX File Do umentation5.5 ns-2.28/ma /ma -802_16-ss. File Referen e#in lude "ma -802_16.h"#in lude "random.h"#in lude <stdio.h>#in lude "ping.h"Classes� lass Ma 802_16SSClassDe�nes� #de�ne US_RATE_CONTROL 1� #de�ne SHORT_STATS 1� #de�ne SET_RX_STATE(x)� #de�ne SET_TX_STATE(x)Variables� int lan_num� Ma 802_16BS ∗ bs_arr [NUM_802_16_LANS℄� Ma 802_16SSClass lass_ma _802_16ss5.5.1 Detailed Des riptionThis �le ontains the SS obje t lass method implementations5.5.2 De�ne Do umentation5.5.2.1 #de�ne SET_RX_STATE(x)Value:{ \rx_state_ = (x); \}5.5.2.2 #de�ne SET_TX_STATE(x)Value:{ \tx_state_ = (x); \} Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 129: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

5.5 ns-2.28/ma /ma -802_16-ss. File Referen e 1235.5.2.3 #de�ne SHORT_STATS 15.5.2.4 #de�ne US_RATE_CONTROL 15.5.3 Variable Do umentation5.5.3.1 Ma 802_16BS∗ bs_arr[NUM_802_16_LANS℄5.5.3.2 Ma 802_16SSClass lass_ma _802_16ss [stati ℄TCL Hooks for the simulator5.5.3.3 int lan_num

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 130: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

124 WiMAX File Do umentation5.6 ns-2.28/ma /ma -802_16-timers. File Referen e#in lude "ma -802_16.h"#in lude "ma -802_16-timers.h"5.6.1 Detailed Des riptionThis �le ontains ++ methods for implementing various timer lasses

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 131: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

5.7 ns-2.28/ma /ma -802_16-timers.h File Referen e 1255.7 ns-2.28/ma /ma -802_16-timers.h File Referen eClasses� lass Ma 802_16Timer� lass RxPkt802_16Timer� lass TxPkt802_16Timer� lass BsTxPkt802_16Timer� lass Map802_16Timer� lass BsU d802_16Timer� lass BsRng802_16Timer� lass BsSyn 802_16Timer� lass BsToken802_16Timer� lass BsServi eFlowSendTimer� lass BsUplinkS hedWindowTimer� lass SSRng802_16Timer� lass SSServi eFlowSendTimer� lass SSServi eFlowRequestTimer5.7.1 Detailed Des riptionThis �le ontains Timer lass de�nitions.

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 132: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

126 WiMAX File Do umentation5.8 ns-2.28/ma /ma -802_16.h File Referen e#in lude "hdr-802_16.h"Classes� lass Ma 802_16� lass Ma 802_16BS� lass Ma 802_16SSDe�nes� #de�ne SET_RX_STATE(x)� #de�ne SET_TX_STATE(x)� #de�ne UP_HIGH_QUEUE 0� #de�ne UP_INTERM_QUEUE 1� #de�ne UP_LOW_QUEUE 2� #de�ne DOWN_UGS_QUEUE 3� #de�ne DOWN_RT_QUEUE 4� #de�ne DOWN_ERT_QUEUE 5� #de�ne DOWN_NRT_QUEUE 6� #de�ne DOWN_BE_QUEUE 75.8.1 Detailed Des riptionThis �le ontains SS and BS lass de�nitions. Both of these lasses are derived from an abstra tbase lass5.8.2 De�ne Do umentation5.8.2.1 #de�ne DOWN_BE_QUEUE 75.8.2.2 #de�ne DOWN_ERT_QUEUE 55.8.2.3 #de�ne DOWN_NRT_QUEUE 65.8.2.4 #de�ne DOWN_RT_QUEUE 45.8.2.5 #de�ne DOWN_UGS_QUEUE 35.8.2.6 #de�ne SET_RX_STATE(x)Value:{ \rx_state_ = (x); \} Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 133: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

5.8 ns-2.28/ma /ma -802_16.h File Referen e 1275.8.2.7 #de�ne SET_TX_STATE(x)Value:{ \tx_state_ = (x); \}5.8.2.8 #de�ne UP_HIGH_QUEUE 05.8.2.9 #de�ne UP_INTERM_QUEUE 15.8.2.10 #de�ne UP_LOW_QUEUE 2

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 134: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

Index∼Ma 802_16Ma 802_16, 38∼Ma 802_16BSMa 802_16BS, 49∼Ma 802_16SSMa 802_16SS, 71a eptan e_rateupstream_s�ow, 108a esshdr_ma 802_16, 27hdr_ma 802_16extd, 30hdr_ma 802_16map, 32hdr_ma 802_16mgmt, 34a �ows_ptrhdr-802_16.h, 115ACK_SUPPRESSIONma -802_16-FSM. , 121A kTimeMa 802_16BS, 61a ktimehdr_ma 802_16map, 32a ktime_hdr_ma 802_16map, 32a tive_�ows, 7ba klogged_tmp, 7�ow_id, 7granted_bw_tmp, 7next, 7aggreqintervalupstream_s�ow, 108allo _bwMa 802_16BS, 53allo _dl_bwMa 802_16BS, 59allo _etimemap_list, 89allo _listdownstream_�ow_re ord, 23upstream_s�ow, 108allo _stimemap_list, 89allo _ul_bwMa 802_16BS, 59allo ation_time, 8

end_time, 8next, 8num_slots, 8start_time, 8type, 8used, 8allo endtimehdr_ma 802_16map, 32allo endtime_hdr_ma 802_16map, 32Allo MemSSre ordMa 802_16BS, 53Allo PktMa 802_16, 40allo starttimehdr_ma 802_16map, 32allo starttime_hdr_ma 802_16map, 32ApplyPhsMa 802_16BS, 53Ma 802_16SS, 74aptr hdr-802_16.h, 115avg_bfreqMa 802_16BS, 61avg_bytesMa 802_16, 41upstream_s�ow, 108avg_ ontentionMa 802_16BS, 61avg_ ontentionslotsbs_statisti s, 12avg_datagrantsbs_statisti s, 12avg_dgrantMa 802_16BS, 61avg_f ontupstream_s�ow, 108avg_gpendMa 802_16BS, 61avg_interdpr_mapbs_statisti s, 12avg_mgmtbytesMa 802_16, 41avg_mgmtpkts

Page 135: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

INDEX 129Ma 802_16, 41avg_pktsMa 802_16, 41upstream_s�ow, 108avg_queuing_delayupstream_s�ow, 108avg_reqMa 802_16BS, 61avg_req_stimeupstream_s�ow, 108avg_rtreqMa 802_16BS, 61avg_slotspermapupstream_s�ow, 108avg_szbfqueueMa 802_16BS, 61avg_szrtqueueMa 802_16BS, 61ba k_o�Ma 802_16SS, 75ba kloggedup_�ow_re ord, 103ba klogged_tmpa tive_�ows, 7BEFFORT_CONTENTIONhdr-802_16.h, 115be�ort_ ontentionMa 802_16SS, 80be�ort_ddlinemissMa 802_16BS, 61BEFFORT_DECISIONhdr-802_16.h, 115be�ort_de isionMa 802_16SS, 80BEFFORT_IDLEhdr-802_16.h, 115be�ort_idleMa 802_16SS, 80BEFFORT_RATECHECKhdr-802_16.h, 115be�ort_rate he kMa 802_16SS, 80BEFFORT_REQSENThdr-802_16.h, 115be�ort_reqsentMa 802_16SS, 80BEFFORT_TOSENDhdr-802_16.h, 115be�ort_tosendMa 802_16SS, 80BEFFORT_TOSENDREQhdr-802_16.h, 115be�ort_tosendreq

Ma 802_16SS, 80BEFFORT_WAITFORMAPhdr-802_16.h, 115be�ort_waitformapMa 802_16SS, 80BEFFORTSTATEShdr-802_16.h, 115BEFFORTswit hMa 802_16SS, 82BEST_EFFORThdr-802_16.h, 117bit_onMa 802_16, 40bk_o� ounterupstream_s�ow, 108bk_o�endupstream_s�ow, 108bk_o�startupstream_s�ow, 108bk_o�winupstream_s�ow, 108bko�_endhdr_ma 802_16map, 32map_ onf_param, 88bko�_end_hdr_ma 802_16map, 32bko�_starthdr_ma 802_16map, 32map_ onf_param, 88bko�_start_hdr_ma 802_16map, 32BROADCAST_SIDhdr-802_16.h, 115bs_addrMa 802_16SS, 82upstream_s�ow, 108bs_arrma -802_16-bs. , 120ma -802_16-ss. , 123Ma 802_16, 41bs_ onf_param, 9mapparam, 9mgtparam, 9bs_snd_timer_list, 10 index, 10expiration_time, 10�ndex, 10next, 10bs_sptrhdr-802_16.h, 116bs_statisti s, 11avg_ ontentionslots, 12avg_datagrants, 12avg_interdpr_map, 12Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 136: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

130 INDEX on atenation_ ount, 12data_sent, 12fragmented_ ount, 12num_ req, 12num_ reqdenied, 12num_ reqgrant, 12num_IE, 12num_piggyreq, 12num_req, 12total_num_ slots, 12total_num_mgmtslots, 12BsMapHandlerMa 802_16, 38Ma 802_16BS, 50Ma 802_16SS, 71bsqnode, 13 index, 13enq_time, 13�ndex, 13next, 13pkt, 13BsRng802_16Timer, 14BsRng802_16Timer, 14Ma 802_16BS, 61BsRng802_16TimerBsRng802_16Timer, 14handle, 14BsRngHandlerMa 802_16, 38Ma 802_16BS, 51Ma 802_16SS, 72BsSendHandlerMa 802_16, 39Ma 802_16BS, 54Ma 802_16SS, 72BsServi eFlowSendTimer, 15BsServi eFlowSendTimer, 15Ma 802_16BS, 61BsServi eFlowSendTimerBsServi eFlowSendTimer, 15handle, 15BsSndListMa 802_16BS, 61BsSndTimerHandlerMa 802_16, 39Ma 802_16BS, 59BsSyn 802_16Timer, 16BsSyn 802_16Timer, 16Ma 802_16BS, 61BsSyn 802_16TimerBsSyn 802_16Timer, 16handle, 16BsSyn HandlerMa 802_16, 38

Ma 802_16BS, 51Ma 802_16SS, 71BsToken802_16Timer, 17BsToken802_16Timer, 17Ma 802_16BS, 61BsToken802_16TimerBsToken802_16Timer, 17handle, 17BsTokenHandlerMa 802_16, 39Ma 802_16BS, 51Ma 802_16SS, 72BsTxPkt802_16Timer, 18BsTxPkt802_16Timer, 18Ma 802_16BS, 61BsTxPkt802_16TimerBsTxPkt802_16Timer, 18handle, 18BsU d802_16Timer, 19BsU d802_16Timer, 19Ma 802_16BS, 61BsU d802_16TimerBsU d802_16Timer, 19handle, 19BsU dHandlerMa 802_16, 38Ma 802_16BS, 51Ma 802_16SS, 72BsUplinkS hedWindowTimer, 20BsUplinkS hedWindowTimer, 20BsUplinkS hedWindowTimerBsUplinkS hedWindowTimer, 20handle, 20BsWindowTimerHandlerMa 802_16, 39Ma 802_16BS, 51bu ket_downstream_�ow_re ord, 23upstream_s�ow, 108busyMa 802_16Timer, 86busy_Ma 802_16Timer, 86bytes_pminislotMa 802_16, 41 al ulate_slotsMa 802_16, 40Cal ulateA kTimeMa 802_16BS, 56CanBeSentMa 802_16, 40Ma 802_16BS, 60Ma 802_16SS, 76Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 137: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

INDEX 131CanContentionReqBeSentMa 802_16SS, 76CanErtPSBeSentMa 802_16, 40CanUni astReqBeSentMa 802_16SS, 76 he k_ on at_reqMa 802_16SS, 75 he k_frag_reqMa 802_16SS, 75 he kDeadlineMa 802_16BS, 59 he kMinimumBWMa 802_16BS, 59ChkQoSJobsMa 802_16BS, 55 indexbs_snd_timer_list, 10bsqnode, 13token_timer_list, 100 lass_hdr_ma 802_16ma -802_16-bs. , 120 lass_hdr_ma 802_16extdma -802_16-bs. , 120 lass_hdr_ma 802_16mapma -802_16-bs. , 120 lass_hdr_ma 802_16mgmtma -802_16-bs. , 120 lass_ma _802_16bsma -802_16-bs. , 120 lass_ma _802_16ssma -802_16-ss. , 123 lassi�erdownstream_�ow_re ord, 23up_�ow_re ord, 103upstream_�ow_re ord, 105 lassifyMa 802_16BS, 55Ma 802_16SS, 75ClassifyDataMgmtMa 802_16, 39 ollisionMa 802_16, 41 ommandMa 802_16, 39Ma 802_16BS, 50Ma 802_16SS, 71 ompare_priorityma -802_16-bs. , 120Ma 802_16BS, 50CONCAT_ENABLE_BIThdr-802_16.h, 115CONCAT_ON_BIThdr-802_16.h, 115

CONCAT_THRESHHOLDhdr-802_16.h, 115 on atenation_ ountbs_statisti s, 12Conf_Table_Ma 802_16BS, 61 on�gure_upstreamMa 802_16, 39CONTENTION_BKOFFhdr-802_16.h, 116CONTENTION_GRANThdr-802_16.h, 115CONTENTION_ONhdr-802_16.h, 116 ontention_onupstream_s�ow, 108CONTENTION_SLOTShdr-802_16.h, 116 ontention_thrholdMa 802_16BS, 61 reateMa 802_16BsClass, 63Ma 802_16SSClass, 84 urr_gsizeupstream_s�ow, 108CurrIndexSSTableMa 802_16BS, 61d_re ss_re ord, 96DATA_GRANThdr-802_16.h, 115DATA_PKThdr-802_16.h, 115data_ratedownstream_ hannel, 21upstream_ hannel, 104data_sentbs_statisti s, 12DataGrantPendingMa 802_16SS, 76deadlinejob, 35map_list, 89debugupstream_s�ow, 108debug_ssMa 802_16SS, 82de ide_fragMa 802_16SS, 73default_downstream_index_ss_re ord, 96default_dstream_index_Ma 802_16SS, 82Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 138: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

132 INDEXdefault_upstream_index_Ma 802_16SS, 82ss_re ord, 96delete_joblistMa 802_16BS, 53delete_maplistMa 802_16BS, 57deque_pktMa 802_16BS, 58, 59Ma 802_16SS, 77determine_deadlineMa 802_16BS, 56DOWN_BE_QUEUEma -802_16.h, 126DOWN_DECISIONhdr-802_16.h, 115down_de isionMa 802_16BS, 58DOWN_ERT_QUEUEma -802_16.h, 126DOWN_IDLEhdr-802_16.h, 115down_idleMa 802_16BS, 58DOWN_NRT_QUEUEma -802_16.h, 126DOWN_RT_QUEUEma -802_16.h, 126DOWN_TOSENDhdr-802_16.h, 115down_tosendMa 802_16BS, 58DOWN_UGS_QUEUEma -802_16.h, 126DOWN_WAITFORMAPhdr-802_16.h, 115down_waitformapMa 802_16BS, 58down hannelMa 802_16, 41DownFlowTableMa 802_16SS, 82DOWNSTATEShdr-802_16.h, 115DOWNSTREAMhdr-802_16.h, 115downstream_ hannel, 21data_rate, 21overhead_bytes, 21prop_delay, 21downstream_�ow_re ord, 22allo _list, 23bu ket_, 23 lassi�er, 23

dropped_dsq, 23dropped_tokenq, 23dsq_delay, 23�ow_id, 23ginterval, 23gsize, 23init_, 23intr, 23jitterSamples, 23last_granttime, 23last_jitter altime, 23lastupdatetime_, 23laten y, 23max_qsize, 23min_bw, 23nominal_allo time, 23num_qsamples, 23pa ket_list, 23pending, 23PHS_pro�le, 23pkt, 23rate_, 23rate ontrol, 23s hed_type, 23state, 23tokenq_, 23tokenqlen_, 23tokens_, 23total_pkts_dropped, 23ugsjitter, 23util_total_bytes_DS, 23util_total_pkts_DS, 23downstream_re orddownstream_s�ow, 25downstream_s�ow, 25downstream_re ord, 25DOWNswit hMa 802_16BS, 61drop_ ountupstream_s�ow, 108dropped_dsqdownstream_�ow_re ord, 23Ma 802_16BS, 61dropped_tokenqdownstream_�ow_re ord, 23Ma 802_16BS, 61dshdrhdr_ma 802_16, 27dshdr_hdr_ma 802_16, 27dsq_delaydownstream_�ow_re ord, 23dst_ip�ow_ lassi�er, 26Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 139: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

INDEX 133dstaddrhdr_ma 802_16mgmt, 34dstaddr_hdr_ma 802_16mgmt, 34dt_ onv_overheadhdr_ma 802_16, 27dt_ onv_overhead_hdr_ma 802_16, 27dump802_16QueueStatsMa 802_16BS, 57Ma 802_16SS, 77dump802_16UtilStatsMa 802_16BS, 57Ma 802_16SS, 77dump_pktMa 802_16, 39dump_statsMa 802_16BS, 54Ma 802_16SS, 75DUMPBSMAPma -802_16-bs. , 120dumpBWBSMa 802_16BS, 57dumpBWSSMa 802_16SS, 77dumpFinalBSStatsMa 802_16BS, 57dumpFinalDSSIDSMa 802_16BS, 57dumpFinalSIDStatsMa 802_16BS, 57dumpFinalSSStatsMa 802_16SS, 77DUMPSSIDma -802_16-FSM. , 121DUMPSSMAPma -802_16-FSM. , 121dumpUGSJITTERMa 802_16BS, 54Ma 802_16SS, 77eh_datama 802_16_extended_header_element,43eh_lenma 802_16_extended_header_element,43eh_typema 802_16_extended_header_element,43ehdr_onma 802_16_frame_hdr, 44end_timeallo ation_time, 8

enq_timebsqnode, 13pnode, 91enque_timeupstream_s�ow, 108EPSILONhdr-802_16.h, 115ERT_POLLhdr-802_16.h, 117ERTPOLL_DECISIONhdr-802_16.h, 115ertpoll_de isionMa 802_16SS, 79ERTPOLL_IDLEhdr-802_16.h, 115ertpoll_idleMa 802_16SS, 79ERTPOLL_TOSENDhdr-802_16.h, 115ertpoll_tosendMa 802_16SS, 79ERTPOLL_TOSENDREQhdr-802_16.h, 115ertpoll_tosendreqMa 802_16SS, 79ERTPOLL_WAITFORMAPhdr-802_16.h, 115ertpoll_waitformapMa 802_16SS, 79ERTPOLLSTATEShdr-802_16.h, 115ERTPOLLswit hMa 802_16SS, 82ETHER_HDR_LENhdr-802_16.h, 115EventTypehdr-802_16.h, 116expiration_timebs_snd_timer_list, 10req_timer_list, 93snd_timer_list, 95token_timer_list, 100expireMa 802_16Timer, 86exthdrhdr_ma 802_16extd, 30exthdr_hdr_ma 802_16extd, 30f _parmma 802_16_frame_hdr, 44f _typema 802_16_frame_hdr, 44f ont_ ountGenerated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 140: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

134 INDEXupstream_s�ow, 108�ll_extended_headerMa 802_16SS, 73�ll_jobMa 802_16BS, 52�ll_piggyba k_reqMa 802_16SS, 75FillErtPSPiggyReqMa 802_16SS, 81FillMapMa 802_16BS, 55FillPiggyExtHdrMa 802_16SS, 75FillPiggyReqMa 802_16SS, 75FILLWITHCONTOPSma -802_16-bs. , 120�lterACKPa ketsMa 802_16SS, 76�nd_best_holeMa 802_16BS, 56�nd_ ontention_slotMa 802_16SS, 77�nd_�owindexMa 802_16BS, 54�nd_nextMa 802_16BS, 56�nd_prvMa 802_16BS, 56�nd_size_mapMa 802_16BS, 55�nd_ssMa 802_16BS, 55�ndexbs_snd_timer_list, 10bsqnode, 13token_timer_list, 100FitMapMa 802_16BS, 56�ag job, 35map_list, 89up_�ow_re ord, 103upstream_�ow_re ord, 105�ow_ lassi�er, 26dst_ip, 26pkt_type, 26sr _ip, 26FLOW_IDma -802_16-bs. , 120�ow_ida tive_�ows, 7downstream_�ow_re ord, 23job, 35

map_list, 89up_�ow_re ord, 103upstream_�ow_re ord, 105frag_dataup_�ow_re ord, 103upstream_s�ow, 108FRAG_ENABLE_BIThdr-802_16.h, 115FRAG_ON_BIThdr-802_16.h, 115frag_pktup_�ow_re ord, 103upstream_s�ow, 108fragmented_ ountbs_statisti s, 12getupdatedtokensMa 802_16BS, 51gintervaldownstream_�ow_re ord, 23up_�ow_re ord, 103upstream_�ow_re ord, 105global_ ompare_objma -802_16-bs. , 120granted_bwup_�ow_re ord, 103granted_bw_tmpa tive_�ows, 7gsizedownstream_�ow_re ord, 23up_�ow_re ord, 103upstream_�ow_re ord, 105handleBsRng802_16Timer, 14BsServi eFlowSendTimer, 15BsSyn 802_16Timer, 16BsToken802_16Timer, 17BsTxPkt802_16Timer, 18BsU d802_16Timer, 19BsUplinkS hedWindowTimer, 20Ma 802_16Timer, 86Map802_16Timer, 87RxPkt802_16Timer, 94SSRng802_16Timer, 97SSServi eFlowRequestTimer, 98SSServi eFlowSendTimer, 99TxPkt802_16Timer, 101handle_indataMa 802_16SS, 74handle_inmgmtMa 802_16SS, 74HandleCon atMa 802_16BS, 52Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 141: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

INDEX 135HandleFragMa 802_16BS, 52HandleInDataMa 802_16BS, 52HandleInMgmtMa 802_16BS, 52HandleMapMa 802_16SS, 73HandleOtherMgmtMa 802_16SS, 75HandleOutDataMa 802_16BS, 58Ma 802_16SS, 73HandleOutMgmtMa 802_16SS, 75HandleReqMa 802_16BS, 53hdr-802_16.ha �ows_ptr, 115aptr, 115BEFFORT_CONTENTION, 115BEFFORT_DECISION, 115BEFFORT_IDLE, 115BEFFORT_RATECHECK, 115BEFFORT_REQSENT, 115BEFFORT_TOSEND, 115BEFFORT_TOSENDREQ, 115BEFFORT_WAITFORMAP, 115BEFFORTSTATES, 115BEST_EFFORT, 117BROADCAST_SID, 115bs_sptr, 116CONCAT_ENABLE_BIT, 115CONCAT_ON_BIT, 115CONCAT_THRESHHOLD, 115CONTENTION_BKOFF, 116CONTENTION_GRANT, 115CONTENTION_ON, 116CONTENTION_SLOTS, 116DATA_GRANT, 115DATA_PKT, 115DOWN_DECISION, 115DOWN_IDLE, 115DOWN_TOSEND, 115DOWN_WAITFORMAP, 115DOWNSTATES, 115DOWNSTREAM, 115EPSILON, 115ERT_POLL, 117ERTPOLL_DECISION, 115ERTPOLL_IDLE, 115ERTPOLL_TOSEND, 115ERTPOLL_TOSENDREQ, 115ERTPOLL_WAITFORMAP, 115

ERTPOLLSTATES, 115ETHER_HDR_LEN, 115EventType, 116FRAG_ENABLE_BIT, 115FRAG_ON_BIT, 115jptr, 116MAC802_16_HDR_LEN, 115MANAGEMENT_MSG_PAYLOAD_-SIZE, 115MAP_ARRIVAL, 116mapptr, 116MAX_GRANT, 115MAX_NUM_DOWNFLOWS_PERSS,115MAX_NUM_IE, 115MAX_NUM_RETRIES, 115MAX_NUM_SS_NODES, 115MAX_NUM_UPFLOWS_PERSS, 115MAX_RETRY, 115MGMT_PKT, 115NO_PIGGY_BIT, 115NO_SUPRESSION, 117NRT_POLL, 117NRTPOLL_CONTENTION, 115NRTPOLL_DECISION, 115NRTPOLL_IDLE, 115NRTPOLL_REQSENT, 115NRTPOLL_TOSEND, 115NRTPOLL_TOSENDREQ, 115NRTPOLL_WAITFORMAP, 115NRTPOLLSTATES, 115NUM_802_16_LANS, 115NUM_EXTENDED_HDR_ELEMENTS,115OFF, 115ON, 115PhsType, 116PIGGY_ENABLE_BIT, 115PIGGY_NOT_SEND, 115PIGGYBACK_REQ, 116PKT_ARRIVAL, 116plist, 116priority_array_p, 116qlist, 116QUEUE_THRESHOLD, 115REQ_TIMER, 116rptr, 116RT_POLL, 117RTPOLL_DECISION, 115RTPOLL_IDLE, 115RTPOLL_REQSENT, 115RTPOLL_TOSEND, 115RTPOLL_TOSENDREQ, 115RTPOLL_WAITFORMAP, 115Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 142: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

136 INDEXRTPOLLSTATES, 115S hedType, 117SEND_PKT, 116SEND_TIMER, 116SEND_UREQ, 116SIZE_MAP_HDR, 115SIZE_MGMT_HDR, 115SM_GRANT, 115sptr, 116SUPRESS_ALL, 117SUPRESS_ALL_SIZE, 115SUPRESS_MAC, 117SUPRESS_MAC_SIZE, 115SUPRESS_TCPIP, 117SUPRESS_TCPIP_SIZE, 115SUPRESS_UDPIP, 117SUPRESS_UDPIP_SIZE, 115T16_TIMER, 115tkptr, 116UGS, 117UGS_DECISION, 115UGS_IDLE, 115UGS_TOSEND, 115UGS_WAITFORMAP, 115UGSSTATES, 115UNLOCK_QUEUE, 116UPSTREAM, 115UREQ_GRANT, 115hdr_ma 802_16, 27a ess, 27dshdr, 27dshdr_, 27dt_ onv_overhead, 27dt_ onv_overhead_, 27o�set, 27o�set_, 27hdr_ma 802_16extd, 29a ess, 30exthdr, 30exthdr_, 30num_hdr, 30num_hdr_, 30o�set, 30o�set_, 30hdr_ma 802_16map, 31a ess, 32a ktime, 32a ktime_, 32allo endtime, 32allo endtime_, 32allo starttime, 32allo starttime_, 32bko�_end, 32bko�_end_, 32

bko�_start, 32bko�_start_, 32numIE, 32numIE_, 32o�set, 32o�set_, 32hdr_ma 802_16mgmt, 33a ess, 34dstaddr, 34dstaddr_, 34msg_payload_, 34o�set, 34o�set_, 34sr addr, 34sr addr_, 34type, 34type_, 34init_downstream_�ow_re ord, 23upstream_s�ow, 108Initialize_entryMa 802_16SS, 72insert_allo listMa 802_16, 40insert_mapjobMa 802_16BS, 55insert_mgmtpktMa 802_16BS, 59insert_pktMa 802_16BS, 58Ma 802_16SS, 75insert_pkt_at_HeadMa 802_16BS, 57insert_reqlistMa 802_16SS, 75insert_sndlistMa 802_16BS, 59Ma 802_16SS, 75insert_tokenlistMa 802_16BS, 51InsertJobMa 802_16BS, 53intr downstream_�ow_re ord, 23Ma 802_16BS, 61Ma 802_16Timer, 86upstream_s�ow, 108is_idleMa 802_16, 39jitterSamplesdownstream_�ow_re ord, 23job, 35Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 143: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

INDEX 137upstream_s�ow, 108job, 35deadline, 35�ag, 35�ow_id, 35jitterSamples, 35last_jitter altime, 35mini_slots, 35next, 35period, 35release_time, 35retry_ ount, 35s lass, 35type, 35ugsjitter, 35job_listMa 802_16BS, 61job_pointerpriority_array, 92jobdropMa 802_16BS, 53jptr hdr-802_16.h, 116lan_numma -802_16-bs. , 120ma -802_16-ss. , 123Ma 802_16, 41last_BWCal TimeMa 802_16, 41last_dmptimeMa 802_16BS, 61Ma 802_16SS, 82last_granttimedownstream_�ow_re ord, 23up_�ow_re ord, 103upstream_s�ow, 108last_jitter altimedownstream_�ow_re ord, 23job, 35upstream_s�ow, 108last_mbfqtimeMa 802_16BS, 61last_mbfreqMa 802_16BS, 61last_mfrtimeupstream_s�ow, 108last_mmgmttimeMa 802_16, 41last_mrqtimeMa 802_16BS, 61last_mrtreqMa 802_16BS, 61last_rtime

Ma 802_16, 41lastDumpTimeMa 802_16BS, 61lastupdatetime_downstream_�ow_re ord, 23upstream_s�ow, 108lastUtilDumpTimeMa 802_16BS, 61laten ydownstream_�ow_re ord, 23up_�ow_re ord, 103upstream_�ow_re ord, 105len ma 802_16_frame_hdr, 44len_mgmtqueueMa 802_16BS, 57len_queueMa 802_16, 40look_at_queueMa 802_16SS, 76ma Ma 802_16Timer, 86ma -802_16-bs. bs_arr, 120 lass_hdr_ma 802_16, 120 lass_hdr_ma 802_16extd, 120 lass_hdr_ma 802_16map, 120 lass_hdr_ma 802_16mgmt, 120 lass_ma _802_16bs, 120 ompare_priority, 120DUMPBSMAP, 120FILLWITHCONTOPS, 120FLOW_ID, 120global_ ompare_obj, 120lan_num, 120SHORT_STATS, 120SS_ID, 120ma -802_16-FSM. ACK_SUPPRESSION, 121DUMPSSID, 121DUMPSSMAP, 121US_RATE_CONTROL, 121ma -802_16-ss. bs_arr, 123 lass_ma _802_16ss, 123lan_num, 123SET_RX_STATE, 122SET_TX_STATE, 122SHORT_STATS, 122US_RATE_CONTROL, 123ma -802_16.hDOWN_BE_QUEUE, 126DOWN_ERT_QUEUE, 126Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 144: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

138 INDEXDOWN_NRT_QUEUE, 126DOWN_RT_QUEUE, 126DOWN_UGS_QUEUE, 126SET_RX_STATE, 126SET_TX_STATE, 126UP_HIGH_QUEUE, 127UP_INTERM_QUEUE, 127UP_LOW_QUEUE, 127Ma 802_16, 36∼Ma 802_16, 38Allo Pkt, 40avg_bytes, 41avg_mgmtbytes, 41avg_mgmtpkts, 41avg_pkts, 41bit_on, 40bs_arr, 41BsMapHandler, 38BsRngHandler, 38BsSendHandler, 39BsSndTimerHandler, 39BsSyn Handler, 38BsTokenHandler, 39BsU dHandler, 38BsWindowTimerHandler, 39bytes_pminislot, 41 al ulate_slots, 40CanBeSent, 40CanErtPSBeSent, 40ClassifyDataMgmt, 39 ollision, 41 ommand, 39 on�gure_upstream, 39down hannel, 41dump_pkt, 39insert_allo list, 40is_idle, 39lan_num, 41last_BWCal Time, 41last_mmgmttime, 41last_rtime, 41len_queue, 40Ma 802_16, 38mat h, 40mhRxPkt_, 41mhTxPkt_, 41minislots_pse , 41num_bytes, 41num_mgmtbytes, 41num_mgmtpkts, 41num_pkts, 41power, 40re v, 39Re vFrame, 38

re vHandler, 39rx_state_, 41RxPkt802_16Timer, 41sendHandler, 39set_bit, 39size_mslots, 41size_ureqgrant, 41SSReqTimerHandler, 38SSRngHandler, 38SSSndTimerHandler, 38total_num_appbytesDS, 41total_num_appbytesUS, 41total_num_BE_pkts_US, 41total_num_BW_bytesDOWN, 41total_num_BW_bytesUP, 41total_num_ on at_pkts_US, 41total_num_ on atdata_pkts_US, 41total_num_frag_pkts_US, 41total_num_frames_US, 41total_num_mgt_pkts_US, 41total_num_OTHER_pkts_US, 41total_num_plaindata_pkts_US, 41total_num_req_pkts_US, 41total_num_rng_pkts_US, 41total_num_RTVBR_pkts_US, 41total_num_rx_bytes, 41total_num_rx_pkts, 41total_num_sent_bytes, 41total_num_sent_pkts, 41total_num_UGS_pkts_US, 41total_pa kets_dropped, 41tx_a tive_, 41tx_state_, 41TX_Time, 40TxPkt802_16Timer, 41up hannel, 41ma 802_16_extended_header_element, 43eh_data, 43eh_len, 43eh_type, 43ma 802_16_frame_hdr, 44ehdr_on, 44f _parm, 44f _type, 44len, 44ma _param, 44MAC802_16_HDR_LENhdr-802_16.h, 115Ma 802_16BS, 45∼Ma 802_16BS, 49A kTime, 61allo _bw, 53allo _dl_bw, 59allo _ul_bw, 59Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 145: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

INDEX 139Allo MemSSre ord, 53ApplyPhs, 53avg_bfreq, 61avg_ ontention, 61avg_dgrant, 61avg_gpend, 61avg_req, 61avg_rtreq, 61avg_szbfqueue, 61avg_szrtqueue, 61be�ort_ddlinemiss, 61BsMapHandler, 50BsRng802_16Timer, 61BsRngHandler, 51BsSendHandler, 54BsServi eFlowSendTimer, 61BsSndList, 61BsSndTimerHandler, 59BsSyn 802_16Timer, 61BsSyn Handler, 51BsToken802_16Timer, 61BsTokenHandler, 51BsTxPkt802_16Timer, 61BsU d802_16Timer, 61BsU dHandler, 51BsWindowTimerHandler, 51Cal ulateA kTime, 56CanBeSent, 60 he kDeadline, 59 he kMinimumBW, 59ChkQoSJobs, 55 lassify, 55 ommand, 50 ompare_priority, 50Conf_Table_, 61 ontention_thrhold, 61CurrIndexSSTable, 61delete_joblist, 53delete_maplist, 57deque_pkt, 58, 59determine_deadline, 56down_de ision, 58down_idle, 58down_tosend, 58down_waitformap, 58DOWNswit h, 61dropped_dsq, 61dropped_tokenq, 61dump802_16QueueStats, 57dump802_16UtilStats, 57dump_stats, 54dumpBWBS, 57dumpFinalBSStats, 57dumpFinalDSSIDS, 57

dumpFinalSIDStats, 57dumpUGSJITTER, 54�ll_job, 52FillMap, 55�nd_best_hole, 56�nd_�owindex, 54�nd_next, 56�nd_prv, 56�nd_size_map, 55�nd_ss, 55FitMap, 56getupdatedtokens, 51HandleCon at, 52HandleFrag, 52HandleInData, 52HandleInMgmt, 52HandleOutData, 58HandleReq, 53insert_mapjob, 55insert_mgmtpkt, 59insert_pkt, 58insert_pkt_at_Head, 57insert_sndlist, 59insert_tokenlist, 51InsertJob, 53intr, 61job_list, 61jobdrop, 53last_dmptime, 61last_mbfqtime, 61last_mbfreq, 61last_mrqtime, 61last_mrtreq, 61lastDumpTime, 61lastUtilDumpTime, 61len_mgmtqueue, 57Ma 802_16BS, 49MakeAllo ation, 59MakeAperiodi Allo , 53MakePeriodi Allo ation, 53Map802_16Timer, 61map_a ktime, 61map_etime, 61MAP_LOOKAHEAD, 61map_lookahead, 61map_stime, 61MapPropDelay, 61MarkGrantPending, 54MarkOtherAllo , 55MarkOtherSlots, 53MarkUnusedSlots, 54max_burst_slots, 61max_qnb_, 61max_qnp_, 61Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 146: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

140 INDEXmax_slots_pmap, 61mhBsSend_, 61mhBsTxPkt_, 61mhMap_, 61mhRng_, 61mhSyn _, 61mhToken_, 61mhU d_, 61mhWdw_, 61min_qnb_, 61min_qnp_, 61mptr, 61network_status, 61next_�owid, 61next_map, 61num_adjust_slots, 61num_befslots, 61num_bfreq, 61num_ ontention, 61num_dgrant, 61num_gpend, 61num_nrtslots, 61num_req, 61num_rtreq, 61num_rtslots, 61NumContSlots, 55numIE, 61omap_etime, 61omap_stime, 61pa ketTra e, 58ParseExtHdr, 54PassDownstream, 52PhUnsupress, 53print_job_list, 56print_map_list, 56print_short_map_list, 57proportion, 61qlim_, 61qnb_, 61qnp_, 61queue_total_bytes_in, 61queue_total_bytes_out, 61RateControl, 51Re vFrame, 51register_to_bs, 50ReleaseJobs, 52rem_overhead, 61ReOrder, 53rintr, 61rtpoll_ddlinemiss, 61rxintr_, 61sendDown, 51SendFrame, 54SendMap, 54

sendUp, 51sintr, 61size_bfqueue, 61size_rtqueue, 61SizeSSTable, 61SSRe ord, 61SSReqTimerHandler, 50SSRngHandler, 50SSSndTimerHandler, 50SSStatisti s_, 61timer_expiration, 59TokenList, 61TryAllo , 56tune_parameters, 53txq_, 61uintr, 61Unlo kQueue, 50UpdateAllo ationTable, 58UpdateJitter, 54, 58util_bytes_DS, 61util_bytes_US, 61util_total_bytes_DS, 61util_total_bytes_US, 61util_total_pkts_DS, 61util_total_pkts_US, 61window_, 61wintr, 61Ma 802_16BsClass, 63Ma 802_16BsClass, 63Ma 802_16BsClass reate, 63Ma 802_16BsClass, 63Ma 802_16EHeaderClass, 64Ma 802_16EHeaderClass, 64Ma 802_16EHeaderClassMa 802_16EHeaderClass, 64Ma 802_16HeaderClass, 65Ma 802_16HeaderClass, 65Ma 802_16HeaderClassMa 802_16HeaderClass, 65Ma 802_16MapHeaderClass, 66Ma 802_16MapHeaderClass, 66Ma 802_16MapHeaderClassMa 802_16MapHeaderClass, 66Ma 802_16MHeaderClass, 67Ma 802_16MHeaderClass, 67Ma 802_16MHeaderClassMa 802_16MHeaderClass, 67Ma 802_16SS, 68∼Ma 802_16SS, 71ApplyPhs, 74ba k_o�, 75be�ort_ ontention, 80be�ort_de ision, 80Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 147: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

INDEX 141be�ort_idle, 80be�ort_rate he k, 80be�ort_reqsent, 80be�ort_tosend, 80be�ort_tosendreq, 80be�ort_waitformap, 80BEFFORTswit h, 82bs_addr, 82BsMapHandler, 71BsRngHandler, 72BsSendHandler, 72BsSyn Handler, 71BsTokenHandler, 72BsU dHandler, 72CanBeSent, 76CanContentionReqBeSent, 76CanUni astReqBeSent, 76 he k_ on at_req, 75 he k_frag_req, 75 lassify, 75 ommand, 71DataGrantPending, 76debug_ss, 82de ide_frag, 73default_dstream_index_, 82default_upstream_index_, 82deque_pkt, 77DownFlowTable, 82dump802_16QueueStats, 77dump802_16UtilStats, 77dump_stats, 75dumpBWSS, 77dumpFinalSSStats, 77dumpUGSJITTER, 77ertpoll_de ision, 79ertpoll_idle, 79ertpoll_tosend, 79ertpoll_tosendreq, 79ertpoll_waitformap, 79ERTPOLLswit h, 82�ll_extended_header, 73�ll_piggyba k_req, 75FillErtPSPiggyReq, 81FillPiggyExtHdr, 75FillPiggyReq, 75�lterACKPa kets, 76�nd_ ontention_slot, 77handle_indata, 74handle_inmgmt, 74HandleMap, 73HandleOtherMgmt, 75HandleOutData, 73HandleOutMgmt, 75Initialize_entry, 72

insert_pkt, 75insert_reqlist, 75insert_sndlist, 75last_dmptime, 82look_at_queue, 76Ma 802_16SS, 71map_, 82map_a ktime, 82MapSentAfterReq, 76MarkUsedContentionSlots, 75mhReq_, 82mhSSRng_, 82mhSSSend_, 82my_lan, 82nrtpoll_ ontention, 80nrtpoll_de ision, 79nrtpoll_idle, 79nrtpoll_reqsent, 80nrtpoll_tosend, 80nrtpoll_tosendreq, 80nrtpoll_waitformap, 80NRTPOLLswit h, 82NumContentionSlots, 76pa ketMat h, 77pa ketTra e, 78PhUnsupress, 74pkt_lookup, 77print_allo list, 74print_ lassi�ers, 74print_short_map_list, 74print_ssallo list, 75priority, 82Re vFrame, 74refresh_reqlist, 75reinsert_reqlist, 75reqFlag, 82reqFlagCounter, 82ReqList, 82rintr, 82rng_, 82rng_freq, 82rtpoll_de ision, 78rtpoll_idle, 78rtpoll_tosend, 79rtpoll_tosendreq, 79rtpoll_waitformap, 79RTPOLLswit h, 82send_ on at, 74send_frag_data, 73SendData, 73sendDown, 72SendErtPSReq, 81SendReq, 73sendUp, 72Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 148: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

142 INDEXSetDefaultFlow, 74SizeDownFlowTable, 82SizeUpFlowTable, 82SndList, 82ss_id, 82SSReqTimerHandler, 72SSRng802_16Timer, 82SSRngHandler, 72SSServi eFlowRequestTimer, 82SSServi eFlowSendTimer, 82SSSndTimerHandler, 72tempReqList, 82timer_expiration, 77timingsTra e, 78total_ ollision_drops, 82total_num_bko�, 82total_num_ ollisions, 82total_num_frag, 82total_queue_drops, 82turn_o�_ ontention, 75ugs_de ision, 78ugs_idle, 78ugs_tosend, 78ugs_waitformap, 78UGSswit h, 82UpdateAllo ationTable, 75UpdateJitter, 76UpFlowTable, 82us_getupdatedtokens, 76USRateMeasure, 76Ma 802_16SSClass, 84 reate, 84Ma 802_16SSClass, 84Ma 802_16Timer, 85busy, 86busy_, 86expire, 86handle, 86intr, 86ma , 86Ma 802_16Timer, 86paused_, 86rtime, 86start, 86stime, 86stop, 86ma _paramma 802_16_frame_hdr, 44MakeAllo ationMa 802_16BS, 59MakeAperiodi Allo Ma 802_16BS, 53MakePeriodi Allo ationMa 802_16BS, 53

MANAGEMENT_MSG_PAYLOAD_SIZEhdr-802_16.h, 115Map802_16Timer, 87handle, 87Ma 802_16BS, 61Map802_16Timer, 87map_Ma 802_16SS, 82map_a ktimeMa 802_16BS, 61Ma 802_16SS, 82upstream_s�ow, 108MAP_ARRIVALhdr-802_16.h, 116map_ onf_param, 88bko�_end, 88bko�_start, 88map_interval, 88num_ ontention_slots, 88num_sm_slots, 88time_ overed, 88map_etimeMa 802_16BS, 61map_intervalmap_ onf_param, 88map_list, 89allo _etime, 89allo _stime, 89deadline, 89�ag, 89�ow_id, 89next, 89nslots, 89release_time, 89MAP_LOOKAHEADMa 802_16BS, 61map_lookaheadMa 802_16BS, 61map_stimeMa 802_16BS, 61mapparambs_ onf_param, 9MapPropDelayMa 802_16BS, 61mapptrhdr-802_16.h, 116MapSentAfterReqMa 802_16SS, 76MarkGrantPendingMa 802_16BS, 54MarkOtherAllo Ma 802_16BS, 55MarkOtherSlotsMa 802_16BS, 53Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 149: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

INDEX 143MarkUnusedSlotsMa 802_16BS, 54MarkUsedContentionSlotsMa 802_16SS, 75mat hMa 802_16, 40max_burst_sizeupstream_ hannel, 104max_burst_slotsMa 802_16BS, 61max_ on at_threshholdupstream_s�ow, 108MAX_GRANThdr-802_16.h, 115MAX_NUM_DOWNFLOWS_PERSShdr-802_16.h, 115MAX_NUM_IEhdr-802_16.h, 115MAX_NUM_RETRIEShdr-802_16.h, 115MAX_NUM_SS_NODEShdr-802_16.h, 115MAX_NUM_UPFLOWS_PERSShdr-802_16.h, 115max_qnb_Ma 802_16BS, 61max_qnp_Ma 802_16BS, 61max_qsizedownstream_�ow_re ord, 23upstream_s�ow, 108max_retriesupstream_s�ow, 108MAX_RETRYhdr-802_16.h, 115max_slots_pmapMa 802_16BS, 61mgmt_ onf_param, 90rng_msg_interval, 90syn _msg_interval, 90u d_msg_interval, 90MGMT_PKThdr-802_16.h, 115mgtparambs_ onf_param, 9mhBsSend_Ma 802_16BS, 61mhBsTxPkt_Ma 802_16BS, 61mhMap_Ma 802_16BS, 61mhReq_Ma 802_16SS, 82mhRng_

Ma 802_16BS, 61mhRxPkt_Ma 802_16, 41mhSSRng_Ma 802_16SS, 82mhSSSend_Ma 802_16SS, 82mhSyn _Ma 802_16BS, 61mhToken_Ma 802_16BS, 61mhTxPkt_Ma 802_16, 41mhU d_Ma 802_16BS, 61mhWdw_Ma 802_16BS, 61min_bwdownstream_�ow_re ord, 23up_�ow_re ord, 103upstream_�ow_re ord, 105min_qnb_Ma 802_16BS, 61min_qnp_Ma 802_16BS, 61mini_slotsjob, 35minislots_pse Ma 802_16, 41mptrMa 802_16BS, 61msg_payload_hdr_ma 802_16mgmt, 34my_lanMa 802_16SS, 82network_statusMa 802_16BS, 61nexta tive_�ows, 7allo ation_time, 8bs_snd_timer_list, 10bsqnode, 13job, 35map_list, 89pnode, 91req_timer_list, 93snd_timer_list, 95token_timer_list, 100next_�owidMa 802_16BS, 61next_mapMa 802_16BS, 61NO_PIGGY_BITGenerated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 150: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

144 INDEXhdr-802_16.h, 115NO_SUPRESSIONhdr-802_16.h, 117nominal_allo timedownstream_�ow_re ord, 23upstream_s�ow, 108not_requested_pktsupstream_s�ow, 108NRT_POLLhdr-802_16.h, 117NRTPOLL_CONTENTIONhdr-802_16.h, 115nrtpoll_ ontentionMa 802_16SS, 80NRTPOLL_DECISIONhdr-802_16.h, 115nrtpoll_de isionMa 802_16SS, 79NRTPOLL_IDLEhdr-802_16.h, 115nrtpoll_idleMa 802_16SS, 79NRTPOLL_REQSENThdr-802_16.h, 115nrtpoll_reqsentMa 802_16SS, 80NRTPOLL_TOSENDhdr-802_16.h, 115nrtpoll_tosendMa 802_16SS, 80NRTPOLL_TOSENDREQhdr-802_16.h, 115nrtpoll_tosendreqMa 802_16SS, 80NRTPOLL_WAITFORMAPhdr-802_16.h, 115nrtpoll_waitformapMa 802_16SS, 80NRTPOLLSTATEShdr-802_16.h, 115NRTPOLLswit hMa 802_16SS, 82ns-2.28/ma /hdr-802_16.h, 111ns-2.28/ma /ma -802_16-base. , 118ns-2.28/ma /ma -802_16-bs. , 119ns-2.28/ma /ma -802_16-FSM. , 121ns-2.28/ma /ma -802_16-ss. , 122ns-2.28/ma /ma -802_16-timers. , 124ns-2.28/ma /ma -802_16-timers.h, 125ns-2.28/ma /ma -802_16.h, 126nslotsmap_list, 89NUM_802_16_LANShdr-802_16.h, 115

num_adjust_slotsMa 802_16BS, 61num_befslotsMa 802_16BS, 61num_bfreqMa 802_16BS, 61num_bytesMa 802_16, 41upstream_s�ow, 108num_ ontentionMa 802_16BS, 61num_ ontention_slotsmap_ onf_param, 88num_ reqbs_statisti s, 12num_ reqdeniedbs_statisti s, 12num_ reqgrantbs_statisti s, 12num_delay_samplesupstream_s�ow, 108num_dgrantMa 802_16BS, 61NUM_EXTENDED_HDR_ELEMENTShdr-802_16.h, 115num_gpendMa 802_16BS, 61num_hdrhdr_ma 802_16extd, 30num_hdr_hdr_ma 802_16extd, 30num_IEbs_statisti s, 12num_mgmtbytesMa 802_16, 41num_mgmtpktsMa 802_16, 41num_nrtslotsMa 802_16BS, 61num_piggyreqbs_statisti s, 12num_pkt_sntupstream_s�ow, 108num_pktsMa 802_16, 41upstream_s�ow, 108num_qsamplesdownstream_�ow_re ord, 23num_reqbs_statisti s, 12Ma 802_16BS, 61num_retriesupstream_s�ow, 108num_rtreqGenerated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 151: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

INDEX 145Ma 802_16BS, 61num_rtslotsMa 802_16BS, 61num_slotsallo ation_time, 8num_slots_requpstream_s�ow, 108num_sm_slotsmap_ onf_param, 88NumContentionSlotsMa 802_16SS, 76NumContSlotsMa 802_16BS, 55numIEhdr_ma 802_16map, 32Ma 802_16BS, 61numIE_hdr_ma 802_16map, 32OFFhdr-802_16.h, 115o�sethdr_ma 802_16, 27hdr_ma 802_16extd, 30hdr_ma 802_16map, 32hdr_ma 802_16mgmt, 34o�set_hdr_ma 802_16, 27hdr_ma 802_16extd, 30hdr_ma 802_16map, 32hdr_ma 802_16mgmt, 34omap_etimeMa 802_16BS, 61omap_stimeMa 802_16BS, 61ON hdr-802_16.h, 115overhead_bytesdownstream_ hannel, 21upstream_ hannel, 104pa ket_listdownstream_�ow_re ord, 23upstream_s�ow, 108pa ketMat hMa 802_16SS, 77pa ketTra eMa 802_16BS, 58Ma 802_16SS, 78ParseExtHdrMa 802_16BS, 54PassDownstreamMa 802_16BS, 52paused_

Ma 802_16Timer, 86pendingdownstream_�ow_re ord, 23upstream_s�ow, 108periodjob, 35PHS_pro�ledownstream_�ow_re ord, 23up_�ow_re ord, 103upstream_�ow_re ord, 105PhsTypehdr-802_16.h, 116PhUnsupressMa 802_16BS, 53Ma 802_16SS, 74physlots_p_minislotupstream_ hannel, 104PIGGY_ENABLE_BIThdr-802_16.h, 115PIGGY_NOT_SENDhdr-802_16.h, 115PIGGYBACK_REQhdr-802_16.h, 116pkt bsqnode, 13downstream_�ow_re ord, 23pnode, 91upstream_s�ow, 108PKT_ARRIVALhdr-802_16.h, 116pkt_lookupMa 802_16SS, 77pkt_type�ow_ lassi�er, 26plisthdr-802_16.h, 116pnode, 91enq_time, 91next, 91pkt, 91powerMa 802_16, 40prev_a eptan e_rateupstream_s�ow, 108print_allo listMa 802_16SS, 74print_ lassi�ersMa 802_16SS, 74print_job_listMa 802_16BS, 56print_map_listMa 802_16BS, 56print_short_map_listMa 802_16BS, 57Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 152: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

146 INDEXMa 802_16SS, 74print_ssallo listMa 802_16SS, 75priorityMa 802_16SS, 82priority_array, 92ss_re ord, 96priority_array, 92job_pointer, 92priority, 92priority_array_phdr-802_16.h, 116prop_delaydownstream_ hannel, 21upstream_ hannel, 104proportionMa 802_16BS, 61qlim_Ma 802_16BS, 61qlisthdr-802_16.h, 116qnb_Ma 802_16BS, 61qnp_Ma 802_16BS, 61QUEUE_THRESHOLDhdr-802_16.h, 115queue_total_bytes_inMa 802_16BS, 61queue_total_bytes_outMa 802_16BS, 61queuing_samplesupstream_s�ow, 108rate_downstream_�ow_re ord, 23upstream_s�ow, 108RateControlMa 802_16BS, 51rate ontroldownstream_�ow_re ord, 23upstream_s�ow, 108re vMa 802_16, 39Re vFrameMa 802_16, 38Ma 802_16BS, 51Ma 802_16SS, 74re vHandlerMa 802_16, 39refresh_reqlistMa 802_16SS, 75register_to_bs

Ma 802_16BS, 50reinsert_reqlistMa 802_16SS, 75release_timejob, 35map_list, 89ReleaseJobsMa 802_16BS, 52rem_overheadMa 802_16BS, 61ReOrderMa 802_16BS, 53req_ ounterupstream_s�ow, 108req_timeupstream_s�ow, 108REQ_TIMERhdr-802_16.h, 116req_timer_list, 93expiration_time, 93next, 93rindex, 93reqFlagMa 802_16SS, 82reqFlagCounterMa 802_16SS, 82ReqListMa 802_16SS, 82retry_ ountjob, 35rindexreq_timer_list, 93rintrMa 802_16BS, 61Ma 802_16SS, 82upstream_s�ow, 108rng_Ma 802_16SS, 82rng_freqMa 802_16SS, 82rng_msg_intervalmgmt_ onf_param, 90rptr hdr-802_16.h, 116RT_POLLhdr-802_16.h, 117rtimeMa 802_16Timer, 86rtpoll_ddlinemissMa 802_16BS, 61RTPOLL_DECISIONhdr-802_16.h, 115rtpoll_de isionMa 802_16SS, 78Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 153: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

INDEX 147RTPOLL_IDLEhdr-802_16.h, 115rtpoll_idleMa 802_16SS, 78RTPOLL_REQSENThdr-802_16.h, 115RTPOLL_TOSENDhdr-802_16.h, 115rtpoll_tosendMa 802_16SS, 79RTPOLL_TOSENDREQhdr-802_16.h, 115rtpoll_tosendreqMa 802_16SS, 79RTPOLL_WAITFORMAPhdr-802_16.h, 115rtpoll_waitformapMa 802_16SS, 79RTPOLLSTATEShdr-802_16.h, 115RTPOLLswit hMa 802_16SS, 82rx_state_Ma 802_16, 41rxintr_Ma 802_16BS, 61RxPkt802_16Timer, 94Ma 802_16, 41RxPkt802_16Timer, 94RxPkt802_16Timerhandle, 94RxPkt802_16Timer, 94s hed_typedownstream_�ow_re ord, 23up_�ow_re ord, 103upstream_�ow_re ord, 105S hedTypehdr-802_16.h, 117s lassjob, 35send_ on atMa 802_16SS, 74send_frag_dataMa 802_16SS, 73SEND_PKThdr-802_16.h, 116SEND_TIMERhdr-802_16.h, 116SEND_UREQhdr-802_16.h, 116SendDataMa 802_16SS, 73sendDown

Ma 802_16BS, 51Ma 802_16SS, 72SendErtPSReqMa 802_16SS, 81SendFrameMa 802_16BS, 54sendHandlerMa 802_16, 39SendMapMa 802_16BS, 54SendReqMa 802_16SS, 73sendUpMa 802_16BS, 51Ma 802_16SS, 72seq_numup_�ow_re ord, 103upstream_s�ow, 108set_bitMa 802_16, 39SET_RX_STATEma -802_16-ss. , 122ma -802_16.h, 126SET_TX_STATEma -802_16-ss. , 122ma -802_16.h, 126SetDefaultFlowMa 802_16SS, 74SHORT_STATSma -802_16-bs. , 120ma -802_16-ss. , 122SID_num_sent_bytesupstream_s�ow, 108SID_num_sent_pktsupstream_s�ow, 108sintrMa 802_16BS, 61size_bfqueueMa 802_16BS, 61SIZE_MAP_HDRhdr-802_16.h, 115SIZE_MGMT_HDRhdr-802_16.h, 115size_mslotsMa 802_16, 41size_rtqueueMa 802_16BS, 61size_ureqgrantMa 802_16, 41SizeDnFlTabless_re ord, 96SizeDownFlowTableMa 802_16SS, 82SizeSSTableGenerated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 154: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

148 INDEXMa 802_16BS, 61SizeUpFlowTableMa 802_16SS, 82SizeUpFlTabless_re ord, 96SM_GRANThdr-802_16.h, 115snd_timer_list, 95expiration_time, 95next, 95tindex, 95SndListMa 802_16SS, 82sptr hdr-802_16.h, 116sr _ip�ow_ lassi�er, 26sr addrhdr_ma 802_16mgmt, 34sr addr_hdr_ma 802_16mgmt, 34SS_IDma -802_16-bs. , 120ss_idMa 802_16SS, 82ss_ma addrss_re ord, 96ss_re ord, 96d_re , 96default_downstream_index_, 96default_upstream_index_, 96priority, 96SizeDnFlTable, 96SizeUpFlTable, 96ss_ma addr, 96u_re , 96SSRe ordMa 802_16BS, 61SSReqTimerHandlerMa 802_16, 38Ma 802_16BS, 50Ma 802_16SS, 72SSRng802_16Timer, 97handle, 97Ma 802_16SS, 82SSRng802_16Timer, 97SSRngHandlerMa 802_16, 38Ma 802_16BS, 50Ma 802_16SS, 72SSServi eFlowRequestTimer, 98Ma 802_16SS, 82SSServi eFlowRequestTimer, 98SSServi eFlowRequestTimer

handle, 98SSServi eFlowRequestTimer, 98SSServi eFlowSendTimer, 99Ma 802_16SS, 82SSServi eFlowSendTimer, 99SSServi eFlowSendTimerhandle, 99SSServi eFlowSendTimer, 99SSSndTimerHandlerMa 802_16, 38Ma 802_16BS, 50Ma 802_16SS, 72SSStatisti s_Ma 802_16BS, 61startMa 802_16Timer, 86start_timeallo ation_time, 8statedownstream_�ow_re ord, 23upstream_s�ow, 108stimeMa 802_16Timer, 86stopMa 802_16Timer, 86SUPRESS_ALLhdr-802_16.h, 117SUPRESS_ALL_SIZEhdr-802_16.h, 115SUPRESS_MAChdr-802_16.h, 117SUPRESS_MAC_SIZEhdr-802_16.h, 115SUPRESS_TCPIPhdr-802_16.h, 117SUPRESS_TCPIP_SIZEhdr-802_16.h, 115SUPRESS_UDPIPhdr-802_16.h, 117SUPRESS_UDPIP_SIZEhdr-802_16.h, 115syn _msg_intervalmgmt_ onf_param, 90T16_TIMERhdr-802_16.h, 115tempReqListMa 802_16SS, 82time_ overedmap_ onf_param, 88timer_expirationMa 802_16BS, 59Ma 802_16SS, 77timingsTra eGenerated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 155: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

INDEX 149Ma 802_16SS, 78tindexsnd_timer_list, 95tkptrhdr-802_16.h, 116token_timer_list, 100 index, 100expiration_time, 100�ndex, 100next, 100TokenListMa 802_16BS, 61tokenq_downstream_�ow_re ord, 23tokenqlen_downstream_�ow_re ord, 23tokens_downstream_�ow_re ord, 23upstream_s�ow, 108total_ ollision_dropsMa 802_16SS, 82upstream_s�ow, 108total_ requpstream_s�ow, 108total_f ollupstream_s�ow, 108total_num_appbytesDSMa 802_16, 41total_num_appbytesUSMa 802_16, 41total_num_BE_pkts_USMa 802_16, 41total_num_bko�Ma 802_16SS, 82total_num_BW_bytesDOWNMa 802_16, 41total_num_BW_bytesUPMa 802_16, 41total_num_ ollisionsMa 802_16SS, 82total_num_ on at_pkts_USMa 802_16, 41total_num_ on atdata_pkts_USMa 802_16, 41total_num_ slotsbs_statisti s, 12total_num_fragMa 802_16SS, 82total_num_frag_pkts_USMa 802_16, 41total_num_frames_USMa 802_16, 41total_num_mgmtslotsbs_statisti s, 12

total_num_mgt_pkts_USMa 802_16, 41total_num_OTHER_pkts_USMa 802_16, 41total_num_plaindata_pkts_USMa 802_16, 41total_num_req_pkts_USMa 802_16, 41total_num_rng_pkts_USMa 802_16, 41total_num_RTVBR_pkts_USMa 802_16, 41total_num_rx_bytesMa 802_16, 41total_num_rx_pktsMa 802_16, 41total_num_sent_bytesMa 802_16, 41total_num_sent_pktsMa 802_16, 41total_num_UGS_pkts_USMa 802_16, 41total_pa kets_droppedMa 802_16, 41total_piggyrequpstream_s�ow, 108total_pkts_droppeddownstream_�ow_re ord, 23total_queue_dropsMa 802_16SS, 82upstream_s�ow, 108totalACKsupstream_s�ow, 108totalACKsFilteredupstream_s�ow, 108totalCon atFramesupstream_s�ow, 108totalPa ketsInCon atFramesupstream_s�ow, 108TryAllo Ma 802_16BS, 56tune_parametersMa 802_16BS, 53turn_o�_ ontentionMa 802_16SS, 75tx_a tive_Ma 802_16, 41tx_state_Ma 802_16, 41TX_TimeMa 802_16, 40TxPkt802_16Timer, 101Ma 802_16, 41TxPkt802_16Timer, 101Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 156: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

150 INDEXTxPkt802_16Timerhandle, 101TxPkt802_16Timer, 101txq_Ma 802_16BS, 61typeallo ation_time, 8hdr_ma 802_16mgmt, 34job, 35type_hdr_ma 802_16mgmt, 34u_re ss_re ord, 96u d_msg_intervalmgmt_ onf_param, 90UGShdr-802_16.h, 117UGS_DECISIONhdr-802_16.h, 115ugs_de isionMa 802_16SS, 78UGS_IDLEhdr-802_16.h, 115ugs_idleMa 802_16SS, 78UGS_TOSENDhdr-802_16.h, 115ugs_tosendMa 802_16SS, 78UGS_WAITFORMAPhdr-802_16.h, 115ugs_waitformapMa 802_16SS, 78ugsjitterdownstream_�ow_re ord, 23job, 35upstream_s�ow, 108UGSSTATEShdr-802_16.h, 115UGSswit hMa 802_16SS, 82uintrMa 802_16BS, 61UNLOCK_QUEUEhdr-802_16.h, 116Unlo kQueueMa 802_16BS, 50up_�ow_re ord, 102ba klogged, 103 lassi�er, 103�ag, 103�ow_id, 103frag_data, 103

frag_pkt, 103ginterval, 103granted_bw, 103gsize, 103last_granttime, 103laten y, 103min_bw, 103PHS_pro�le, 103s hed_type, 103seq_num, 103UP_HIGH_QUEUEma -802_16.h, 127UP_INTERM_QUEUEma -802_16.h, 127UP_LOW_QUEUEma -802_16.h, 127up hannelMa 802_16, 41UpdateAllo ationTableMa 802_16BS, 58Ma 802_16SS, 75UpdateJitterMa 802_16BS, 54, 58Ma 802_16SS, 76UpFlowTableMa 802_16SS, 82UPSTREAMhdr-802_16.h, 115upstream_ hannel, 104data_rate, 104max_burst_size, 104overhead_bytes, 104physlots_p_minislot, 104prop_delay, 104upstream_�ow_re ord, 105 lassi�er, 105�ag, 105�ow_id, 105ginterval, 105gsize, 105laten y, 105min_bw, 105PHS_pro�le, 105s hed_type, 105upstream_re ordupstream_s�ow, 108upstream_s�ow, 106a eptan e_rate, 108aggreqinterval, 108allo _list, 108avg_bytes, 108avg_f ont, 108avg_pkts, 108avg_queuing_delay, 108Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen

Page 157: Con - Unicamp · Con ten ts 1 WiMAX Hierarc hical Index 1.1 WiMAX Class Hierarc h y. 1 2 WiMAX Class Index 3 2.1 WiMAX Class List. 3 3 WiMAX File Index 5 3.1 WiMAX File List. 5 4

INDEX 151avg_req_stime, 108avg_slotspermap, 108bk_o� ounter, 108bk_o�end, 108bk_o�start, 108bk_o�win, 108bs_addr, 108bu ket_, 108 ontention_on, 108 urr_gsize, 108debug, 108drop_ ount, 108enque_time, 108f ont_ ount, 108frag_data, 108frag_pkt, 108init_, 108intr, 108jitterSamples, 108last_granttime, 108last_jitter altime, 108last_mfrtime, 108lastupdatetime_, 108map_a ktime, 108max_ on at_threshhold, 108max_qsize, 108max_retries, 108nominal_allo time, 108not_requested_pkts, 108num_bytes, 108num_delay_samples, 108num_pkt_snt, 108num_pkts, 108num_retries, 108num_slots_req, 108pa ket_list, 108pending, 108pkt, 108prev_a eptan e_rate, 108queuing_samples, 108rate_, 108rate ontrol, 108req_ ounter, 108req_time, 108rintr, 108seq_num, 108SID_num_sent_bytes, 108SID_num_sent_pkts, 108state, 108tokens_, 108total_ ollision_drops, 108total_ req, 108total_f oll, 108total_piggyreq, 108

total_queue_drops, 108totalACKs, 108totalACKsFiltered, 108totalCon atFrames, 108totalPa ketsInCon atFrames, 108ugsjitter, 108upstream_re ord, 108wt_fa tor, 108UREQ_GRANThdr-802_16.h, 115us_getupdatedtokensMa 802_16SS, 76US_RATE_CONTROLma -802_16-FSM. , 121ma -802_16-ss. , 123usedallo ation_time, 8USRateMeasureMa 802_16SS, 76util_bytes_DSMa 802_16BS, 61util_bytes_USMa 802_16BS, 61util_total_bytes_DSdownstream_�ow_re ord, 23Ma 802_16BS, 61util_total_bytes_USMa 802_16BS, 61util_total_pkts_DSdownstream_�ow_re ord, 23Ma 802_16BS, 61util_total_pkts_USMa 802_16BS, 61window_Ma 802_16BS, 61wintrMa 802_16BS, 61wt_fa torupstream_s�ow, 108

Generated on Fri Feb 8 16:42:33 2008 for WiMAX by Doxygen