Then you should add a couple of comments explaining why you're doing what
you're doing.


On 27 October 2013 00:03, Dominik Kukacka <notifications@github.com> wrote:

> In pcap.js:
>
> > @@ -389,6 +389,10 @@ decode.ieee802_11_frame = function (raw_packet, offset) {
> >      ret.dhost = unpack.ethernet_addr(raw_packet, offset); offset += 6;
> >      ret.fragSeq = unpack.uint16_be(raw_packet, offset); offset += 2;
> >
> > +    var strength = raw_packet[22];
> > +    ret.strength = -Math.abs(265 - strength);
>
> I am sorry I cannot really any reference. I just analyzed the packets in
> wireshark :/
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/mranney/node_pcap/pull/78/files#r7234577>
> .
>



-- 
Thanks
Ujjwal