mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 07:22:33 +00:00
13 lines
630 B
Diff
13 lines
630 B
Diff
|
--- a/survey.c
|
||
|
+++ b/survey.c
|
||
|
@@ -60,6 +60,9 @@ static int print_survey_handler(struct n
|
||
|
if (sinfo[NL80211_SURVEY_INFO_CHANNEL_TIME_RX])
|
||
|
printf("\tchannel receive time:\t\t%llu ms\n",
|
||
|
(unsigned long long)nla_get_u64(sinfo[NL80211_SURVEY_INFO_CHANNEL_TIME_RX]));
|
||
|
+ if (sinfo[NL80211_SURVEY_INFO_TIME_BSS_RX])
|
||
|
+ printf("\tchannel BSS receive time:\t%llu ms\n",
|
||
|
+ (unsigned long long)nla_get_u64(sinfo[NL80211_SURVEY_INFO_TIME_BSS_RX]));
|
||
|
if (sinfo[NL80211_SURVEY_INFO_CHANNEL_TIME_TX])
|
||
|
printf("\tchannel transmit time:\t\t%llu ms\n",
|
||
|
(unsigned long long)nla_get_u64(sinfo[NL80211_SURVEY_INFO_CHANNEL_TIME_TX]));
|