首页 > 其他 > 详细

ns2出现Client: Handoff Attempt的情况解决

时间:2014-04-23 14:27:25      阅读:429      评论:0      收藏:0      [点我收藏+]

找到mac/mac-802_11.cc,这是系统本身一个bug,对于adhoc网络无需进行切换尝试。

if (*rcount == 3 && handoff == 0) {
> //start handoff process
> printf("Client %d: Handoff Attempted\n",index_);
> associated = 0;
> authenticated = 0;
> handoff = 1;
> ScanType_ = ACTIVE;
> sendPROBEREQ(MAC_BROADCAST);
> return;
> }
改为
if (infra_mode_ && *rcount == 3 && handoff == 0) {
> //start handoff process
> printf("Client %d: Handoff Attempted\n",index_);
> associated = 0;
> authenticated = 0;
> handoff = 1;
> ScanType_ = ACTIVE;
> sendPROBEREQ(MAC_BROADCAST);
> return;
> }

ns2出现Client: Handoff Attempt的情况解决,布布扣,bubuko.com

ns2出现Client: Handoff Attempt的情况解决

原文:http://www.cnblogs.com/buptmuye/p/3681740.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!