Search Linux Wireless

Re: [PATCH 2/2] ath9k: pulse detection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux