On 02/09/2011 04:15 PM, Vasanth Thiagarajan wrote: > > + /* update 64-bit time stamp with that of rs */ > + /* TODO: do this per-wiphy */ > + ts = rs->rs_tstamp; > + if (ts <= (last_ts & 0xffffffff)) > > last_ts is not initialized. true, but does not really matter since only deltas are relevant. > + ts_hi++; > + last_ts = ((u64)ts_hi << 32) | ts; > + > + > + if (rs->rs_datalen != 0) { > + char *vdata = (char *)ds->ds_vdata + rs->rs_datalen - 3; > + dur = (u32) vdata[0]; > + } > + > + /* ZKU: reverse measured scaling factor of 2/3 for duration */ > > ZKU ?? > thats me :) Sorry letting you read the code. It is meant only to test the proposed approach. I missed to change the prefix to RFC. Zefir > Vasanth-- > To unsubscribe from this list: send the line "unsubscribe linux-wireless" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html