X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Flib%2Fnet%2Fblip%2FIPDispatchP.nc;h=86556537e366d417ee3355849be356018f15abca;hb=30164611e5ab7e8a2b4d24c7d16256c1865b4e20;hp=a83eee85125b084c72cc9d7feb420c1d3bdd42e4;hpb=efbd5d9ccde06b90cb240f6ce00fd96ed4829821;p=tinyos-2.x.git diff --git a/tos/lib/net/blip/IPDispatchP.nc b/tos/lib/net/blip/IPDispatchP.nc index a83eee85..86556537 100644 --- a/tos/lib/net/blip/IPDispatchP.nc +++ b/tos/lib/net/blip/IPDispatchP.nc @@ -102,7 +102,7 @@ module IPDispatchP { interface Boot; interface SplitControl as RadioControl; - interface CC2420Packet; + interface ReadLqi; interface Packet; #ifndef SIM @@ -486,7 +486,7 @@ module IPDispatchP { // - if not, dispatch from here. metadata.sender = call Ieee154Packet.source(msg); - metadata.lqi = call CC2420Packet.getLqi(msg); + metadata.lqi = call ReadLqi.read(msg); real_payload_length = ntohs(ip->plen); adjustPlen(ip, &u_info); @@ -670,7 +670,7 @@ module IPDispatchP { BLIP_STATS_INCR(stats.rx_total); call IPRouting.reportReception(call Ieee154Packet.source(msg), - call CC2420Packet.getLqi(msg)); + call ReadLqi.read(msg)); lowmsg.headers = getHeaderBitmap(&lowmsg); if (lowmsg.headers == LOWPAN_NALP_PATTERN) {