Lines Matching refs:brecvBuffp
180 static MbBeacon *brecvBuffp; // Beacon receive buffer. variable
699 brecvBuffp = (MbBeacon *) bssDescp->gameInfo.userGameInfo; in MB_RecvGameInfoBeacon()
702 if (MBi_calc_cksum((u16 *)&brecvBuffp->data, MB_BEACON_DATA_SIZE)) in MB_RecvGameInfoBeacon()
779 if (info->gameInfo.ggid != brecvBuffp->ggid) in MBi_GetStoreElement()
789 if (mbrsp->list[i].gameInfo.fileNo != brecvBuffp->fileNo) in MBi_GetStoreElement()
814 mbrsp->list[i].gameInfo.seqNoFixed = brecvBuffp->seqNoFixed; in MBi_GetStoreElement()
957 if (info->beaconNo == brecvBuffp->beaconNo) in MBi_AnalyzeBeacon()
972 info->beaconNo = brecvBuffp->beaconNo; in MBi_AnalyzeBeacon()
974 info->gameInfo.ggid = brecvBuffp->ggid; // Gets ggid. in MBi_AnalyzeBeacon()
975 info->gameInfo.fileNo = brecvBuffp->fileNo; // Gets fileNo. in MBi_AnalyzeBeacon()
982 if (brecvBuffp->dataAttr == MB_BEACON_DATA_ATTR_VOLAT) in MBi_AnalyzeBeacon()
1015 if (mbrsp->list[index].gameInfo.seqNoFixed == brecvBuffp->seqNoFixed) in MBi_CheckSeqNoFixed()
1023 mbrsp->list[index].gameInfo.seqNoFixed = brecvBuffp->seqNoFixed; in MBi_CheckSeqNoFixed()
1033 if (mbrsp->list[index].gameInfo.seqNoVolat != brecvBuffp->seqNoVolat) in MBi_CheckSeqNoVolat()
1072 if (grecvp->gameInfo.seqNoFixed == brecvBuffp->seqNoFixed) in MBi_RecvFixedBeacon()
1074 if (grecvp->getFragmentFlag & (0x01 << brecvBuffp->data.fixed.fragmentNo)) in MBi_RecvFixedBeacon()
1081 if (brecvBuffp->dataAttr == MB_BEACON_DATA_ATTR_FIXED_NORMAL) in MBi_RecvFixedBeacon()
1089 dstp += MB_BEACON_FIXED_DATA_SIZE * brecvBuffp->data.fixed.fragmentNo; in MBi_RecvFixedBeacon()
1092 if ((u32)dstp + brecvBuffp->data.fixed.size > lastAddr) in MBi_RecvFixedBeacon()
1100 MB_DEBUG_OUTPUT("recv fragment= %2d adr = 0x%x", brecvBuffp->data.fixed.fragmentNo, dstp); in MBi_RecvFixedBeacon()
1101 MI_CpuCopy16(brecvBuffp->data.fixed.data, dstp, brecvBuffp->data.fixed.size); in MBi_RecvFixedBeacon()
1102 grecvp->gameInfo.dataAttr = brecvBuffp->dataAttr; in MBi_RecvFixedBeacon()
1103 grecvp->getFragmentFlag |= 0x01 << brecvBuffp->data.fixed.fragmentNo; in MBi_RecvFixedBeacon()
1104 grecvp->allFragmentFlag = (u32)((0x01 << brecvBuffp->data.fixed.fragmentMaxNum) - 1); in MBi_RecvFixedBeacon()
1119 grecvp->gameInfo.volat.userVolatData[i] = brecvBuffp->data.volat.userVolatData[i]; in MBi_RecvVolatBeacon()
1121 MI_CpuCopy16(brecvBuffp, &grecvp->bssDesc.gameInfo.userGameInfo, WM_SIZE_USER_GAMEINFO); in MBi_RecvVolatBeacon()
1124 if (grecvp->gameInfo.seqNoVolat != brecvBuffp->seqNoVolat) in MBi_RecvVolatBeacon()
1126 if ((u8)(grecvp->gameInfo.seqNoVolat + 1) == brecvBuffp->seqNoVolat) in MBi_RecvVolatBeacon()
1130 if (brecvBuffp->data.volat.changePlayerFlag & (0x02 << i)) in MBi_RecvVolatBeacon()
1135 grecvp->getPlayerFlag &= ~brecvBuffp->data.volat.changePlayerFlag; in MBi_RecvVolatBeacon()
1145 grecvp->gameInfo.seqNoVolat = brecvBuffp->seqNoVolat; in MBi_RecvVolatBeacon()
1147 else if (grecvp->getPlayerFlag == brecvBuffp->data.volat.nowPlayerFlag) in MBi_RecvVolatBeacon()
1153 grecvp->gameInfo.volat.nowPlayerNum = brecvBuffp->data.volat.nowPlayerNum; in MBi_RecvVolatBeacon()
1154 grecvp->gameInfo.volat.nowPlayerFlag = brecvBuffp->data.volat.nowPlayerFlag; in MBi_RecvVolatBeacon()
1155 grecvp->gameInfo.volat.changePlayerFlag = brecvBuffp->data.volat.changePlayerFlag; in MBi_RecvVolatBeacon()
1161 int playerNo = (int)brecvBuffp->data.volat.member[i].playerNo; in MBi_RecvVolatBeacon()
1167 MI_CpuCopy16(&brecvBuffp->data.volat.member[i], in MBi_RecvVolatBeacon()