3 @@ -46,6 +46,8 @@ static int print_survey_handler(struct n
4 if (sinfo[NL80211_SURVEY_INFO_FREQUENCY])
5 printf("\tfrequency:\t%u MHz\n",
6 nla_get_u32(sinfo[NL80211_SURVEY_INFO_FREQUENCY]));
7 + if (sinfo[NL80211_SURVEY_INFO_IN_USE])
8 + printf("\tin use\n");
9 if (sinfo[NL80211_SURVEY_INFO_NOISE])
10 printf("\tnoise:\t\t%d dBm\n",
11 (int8_t)nla_get_u8(sinfo[NL80211_SURVEY_INFO_NOISE]));