developer | 05f3b2b | 2024-08-19 19:17:34 +0800 | [diff] [blame^] | 1 | From c8d3c48f01b0007f7eeb132fb8bc0d2c0cb85ed7 Mon Sep 17 00:00:00 2001 |
developer | 66e89bc | 2024-04-23 14:50:01 +0800 | [diff] [blame] | 2 | From: Shayne Chen <shayne.chen@mediatek.com> |
| 3 | Date: Mon, 25 Dec 2023 11:24:01 +0800 |
developer | 05f3b2b | 2024-08-19 19:17:34 +0800 | [diff] [blame^] | 4 | Subject: [PATCH 08/13] survey bss rx time |
developer | 66e89bc | 2024-04-23 14:50:01 +0800 | [diff] [blame] | 5 | |
| 6 | --- |
| 7 | survey.c | 3 +++ |
| 8 | 1 file changed, 3 insertions(+) |
| 9 | |
| 10 | diff --git a/survey.c b/survey.c |
| 11 | index 7f5385e..53cec9d 100644 |
| 12 | --- a/survey.c |
| 13 | +++ b/survey.c |
| 14 | @@ -60,6 +60,9 @@ static int print_survey_handler(struct nl_msg *msg, void *arg) |
| 15 | if (sinfo[NL80211_SURVEY_INFO_CHANNEL_TIME_RX]) |
| 16 | printf("\tchannel receive time:\t\t%llu ms\n", |
| 17 | (unsigned long long)nla_get_u64(sinfo[NL80211_SURVEY_INFO_CHANNEL_TIME_RX])); |
| 18 | + if (sinfo[NL80211_SURVEY_INFO_TIME_BSS_RX]) |
| 19 | + printf("\tchannel BSS receive time:\t%llu ms\n", |
| 20 | + (unsigned long long)nla_get_u64(sinfo[NL80211_SURVEY_INFO_TIME_BSS_RX])); |
| 21 | if (sinfo[NL80211_SURVEY_INFO_CHANNEL_TIME_TX]) |
| 22 | printf("\tchannel transmit time:\t\t%llu ms\n", |
| 23 | (unsigned long long)nla_get_u64(sinfo[NL80211_SURVEY_INFO_CHANNEL_TIME_TX])); |
| 24 | -- |
developer | 42c7a43 | 2024-07-12 14:39:29 +0800 | [diff] [blame] | 25 | 2.18.0 |
developer | 66e89bc | 2024-04-23 14:50:01 +0800 | [diff] [blame] | 26 | |