handoff (wimax of nist)
參考:http://godpk.blogspot.com/2007_04_01_archive.html
WimaxCtrlAgent =
NIST供16e掃描/換手
NIST除了提供IEEE 802.16d的功能外
也提供IEEE 802.16e通訊協定的掃描與換手
當SS想要尋找鄰近可連線的基地台時
該SS便會傳送掃描請求(Scan Request)給目前的基地台
當基地台收到掃描請求時
基地台會分配掃描間隔(Scanning Interval),
如此基地台與SS就可暫時停止封包傳輸以避免封包遺失。
NIST模組中的WiMAXCtrl代理人(Agent)類別便是用來負責分配掃描間隔以與基地台同步,
同時也傳送鄰居通告(Neighbor Advertisement)給SS。
備註:
My Documents/ns2package/ns-2.29/wimax/scheduling/wimaxctrlagent.h
My Documents/ns2package/ns-2.29/wimax/scheduling/wimaxctrlagent.cc
My Documents/ns2package/ns-2.29/wimax/mac802_16timer.h
My Documents/ns2package/ns-2.29/wimax/mac802_16timer.cc
WiMAX module of NIST :
其service flow未開發完成(但有handoff)
ps.l2handover.tcl??
NIST Handover 重要function :
Define old link(ss & old BS) and new link(ss & new BS)
void Mac::send_link_handover_imminent (int macTerminal, int oldPoA, int macPoA){ if (mih_ && ((subscribedEventList_ >> MIH_LINK_HANDOVER_IMMINENT)& 0x1) ) {
link_handover_imminent_t *e = (link_handover_imminent_t*) malloc (sizeof (link_handover_imminent_t)); e->linkIdentifier.type = linkType_; e->linkIdentifier.macMobileTerminal = macTerminal; e->linkIdentifier.macPoA = oldPoA; e->newLinkIdentifier.type = linkType_; e->newLinkIdentifier.macMobileTerminal = macTerminal; e->newLinkIdentifier.macPoA = macPoA; e->macOldAccessRouter = oldPoA; e->macNewAccessRouter = macPoA; mih_->recv_event (MIH_LINK_HANDOVER_IMMINENT, e); } //else we don't need to do anything}
設定 SS 跟BS連接:
$init_node($i) base-station [AddrParams addr2id [$bstationWIMAX($i) node-addr]] ;
發生Handoff 之前的 函數執行順序 :
process_link_going_down
process_link_down
NIST Scan 流程 :
1. SSscheduler::pause_scanning ()
2. Mac::send_scan_result (void *res, int size)
3. MIHAgent::process_scan_response (Mac *mac, void *rsp, int size)
3.1 MIHScan::process_scan_response (int macAddr, void *rsp, int size)
4. Handover1::process_scan_conf (struct mih_scan_rsp *rsp)
封包在模組之間的流程 :
mac-802.16.cc -> phy.cc -> wirlessphy.cc->channel.cc-> channel.cc (WirelessChannel::sendUp(Packet* p, Phy *tifp)) ->
NS2 trace format:
For example:
s -t 5.144001358 -Hs 1 -Hd -2
-Ni 1 -Nx 50.00 -Ny 50.00 -Nz 0.00
-Ne -1.000000
-Nl MAC
-Nw --- -Ma 0 -Md 0 -Ms 0 -Mt 0
在 5.144001358, node 1 傳送給 node 2
node 1 的 x座標50 ,y座標50,z座標 0 ,
Node Energy Level = -1
Network trace Level = MAC
Drop Reason = null
BS 發送 鄰近BS相關資訊 :
At 0.504001 in BS 0 send_nbr_adv (nb_neighbor=1)
BS0 送出鄰近BS資訊, nb_neighbor=1 代表有一個鄰近BS
ps. 找send_Beacon_frame??
or 自己建造?
NIST 建立packet 的一些動作 :
mac_->getPacket ();
struct hdr_cmn *ch = HDR_CMN(rep);
rep->allocdata (sizeof (struct mac802_16_rng_rsp_frame));
mac802_16_rng_rsp_frame *frame = (mac802_16_rng_rsp_frame*) rep->accessdata();
frame->type = MAC_RNG_RSP;
frame->uc_id = ulsubframe->getChannelID();
frame->rng_status = RNG_SUCCESS;
frame->ss_mac_address = req->ss_mac_address;
frame->basic_cid = basic->get_cid();
frame->primary_cid = primary->get_cid();
ch->size() = RNG_RSP_SIZE;
Burst *b = map_->getDlSubframe()->getPdu ()->getBurst (0);
double txtime = mac_->getPhy()->getTrxTime (ch->size(),map_->getDlSubframe()->getProfile (b->getIUC())->getEncoding());
ch->txtime() = txtime;
mac_->getCManager()->get_connection (BROADCAST_CID, false)->enqueue (rep);
<h3>CreateAllocationStartTime(int NodeID) :</h3>
AllocationStartTime_link* Mac802_16::CreateAllocationStartTime(int NodeID)
{
AllocationStartTime_link *tmp = new AllocationStartTime_link;
tmp->NodeID = NodeID;
tmp->AllocationStartTime = 0;
if(!AllocationStartTime_link_head) {
AllocationStartTime_link_head = AllocationStartTime_link_tail = tmp;
tmp->next = NULL;
}
else {
AllocationStartTime_link_tail->next = tmp;
AllocationStartTime_link_tail = tmp;
tmp->next = NULL;
}
return tmp;
}
handoff (wimax of nist)相关推荐
- 异构网络垂直切换算法LTE/WIMAX切换
1.问题描述: 异构网络垂直切换算法LTE/WIMAX切换 2.部分程序: %% the simulation of this program is for heterogeneous ...
- NIST 网络安全相关标准 美国 (简单整理)
系列 编号 英文名 中文名 状态 时间 ITL Bulleti Security Considerations for Exchanging Files Over the Internet 通过Int ...
- WiFi、WiMAX、WBMA与3G的比较
第三代移动通信系统(3G)的标准由ITU-R提出,因为其主要工作频段在2000MHz左右,并具有最高速率为2000Kbps的业务才能,一般被称为IMT-2000.3G系统能够满足高速率传输以支撑多媒体 ...
- WiFi、WiMAX、WBMA与3G的比较(图)
WiFi.WiMAX.WBMA与3G的比较(图) http://www.chinatelecom.com.cn 2004年09月08日 中国电信股份有限公司北京研究院 孙震强 摘要:本文通过分析WiF ...
- LTE和Wimax异构网络垂直切换matlab仿真
目录 1.算法描述 2.仿真效果预览 3.MATLAB核心程序 4.完整MATLAB 1.算法描述 随着通信产业的迅猛发展,用户对通信有了更高的期望,不仅要求有 稳定的语音通信,而且要求能够进行数据和 ...
- 干货:NIST评测(SRE19)获胜团队声纹识别技术分析 | CSDN博文精选
作者 | xjdier 来源 | CSDN博文精选 (*点击阅读原文,查看作者更多精彩文章) 近日,NIST说话人识别技术评测 (Speaker Recognition Evaluation,SRE) ...
- 格灵深瞳算法团队获得NIST人脸识别竞赛全球第一
点击上方"深度学习技术前沿",选择"星标"公众号 资源干货,第一时间送达 作者:Devymex Wang https://zhuanlan.zhihu.com/ ...
- 理解Hinted Handoff
Hinted Handoff在读Dynamo论文的时候,对这个名字就不是很理解.现在要深入了解Cassandra,想要翻译这个词,在网上找了一下,大概两种翻 译: 1)提示移交: 2)永远可写入. 我 ...
- NIST 人脸识别竞赛 FRVT(Face Recognition Vendor Test)
1FRVT(人脸识别供应商测试) 1.1 FTVT官网 1.FRVT官网 FRVT:https://www.nist.gov/programs-projects/face-recognition-ve ...
最新文章
- 【收藏清单】AI学习资料汇总——你想要的AI资源,这里都有
- params.has(paddings) in function 'cv::dnn::PaddingLayerImpl::PaddingLayerImpl'
- java中static{}语句块详解
- Technical attribute VS Read only attribute
- 王爽 汇编语言第三版 第9章 转移指令的原理
- 电学 —— LC 振荡电路
- Android播放音频的两种方式
- 银行舆情监测-TOOM舆情监测系统
- 由三目运算符想出的PHP改进建议
- 关于ColorPicker颜色拾取器的使用方法
- 三菱PLC水处理程序加触摸屏程序 三菱PLC水处理程序加触摸屏程序
- 达梦安装与基本使用【进阶】
- 由火车上的查票事件所引起的思考
- 雷建平:我亲历的中概股上市潮
- linux 两个文件比较是否完全相同
- arduino动态刷新显示_360Hz刷新率加Fast IPS,这是电竞显示器的未来?不见得
- Lind.DDD.Caching分布式数据集缓存介绍
- Linux vsftpd安装配置使用(详细)
- 小米网抢购系统开发实践阅读心得
- 教你在文件夹名称插入文字重命名
热门文章
- 洛谷P4170 [CQOI2007]涂色题解
- 重型鼓音源混音教程|没有鼓手没关系,教你如何用Guitar Pro 5的midi鼓变成真鼓声!(鼠标党必备)| MZD studios
- 直播预告 | 投资上千万,下载才几千!移动应用开发的下一站在哪里?
- Algorithms for Recovery and Isolation Exploiting Semantics
- 13种老人不适合带孩子_老人带小孩要注意的13种不恰当行为必须纠正!
- docker查找占用主机磁盘空间最大的容器
- 科大讯飞:电信客户流失预测挑战赛baseline——Datawhale6月组队打卡笔记(1)
- 做销售的要背下来!太经典了
- 新论文 | 钢混组合梁多尺度BIM正向设计研究
- 郑州时代科技计算机专业介绍,2021郑州的中专排名郑州时代科技中等职业学校毕业可以升大专吗...