From: James Prestwood <prestwoj@gmail.com>
To: iwd@lists.01.org
Subject: [PATCH 5/6] rrm: include actual scan start time in report
Date: Wed, 20 Nov 2019 09:25:58 -0800 [thread overview]
Message-ID: <20191120172559.21029-5-prestwoj@gmail.com> (raw)
In-Reply-To: <20191120172559.21029-1-prestwoj@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 520 bytes --]
---
src/rrm.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/rrm.c b/src/rrm.c
index 2b0a22fb..a231f7e9 100644
--- a/src/rrm.c
+++ b/src/rrm.c
@@ -249,8 +249,7 @@ static size_t build_report_for_bss(struct rrm_beacon_req_info *beacon,
*to++ = beacon->oper_class;
*to++ = scan_freq_to_channel(bss->frequency, NULL);
- /* skip start time */
- memset(to, 0, 8);
+ l_put_le64(bss->start_time_tsf, to);
to += 8;
l_put_le16(beacon->duration, to);
to += 2;
--
2.17.1
next prev parent reply other threads:[~2019-11-20 17:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-20 17:25 [PATCH 1/6] monitor: print START_TIME_TSF/BSSID values James Prestwood
2019-11-20 17:25 ` [PATCH 2/6] scan: parse parent TSF value in scan results James Prestwood
2019-11-20 17:25 ` [PATCH 3/6] rrm: include actual parent TSF value James Prestwood
2019-11-20 17:25 ` [PATCH 4/6] scan: parse the scan start time James Prestwood
2019-11-20 17:25 ` James Prestwood [this message]
2019-11-20 17:25 ` [PATCH 6/6] rrm: add packed struct for beacon reports James Prestwood
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191120172559.21029-5-prestwoj@gmail.com \
--to=prestwoj@gmail.com \
--cc=iwd@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox