---
name: "struct_survey_info"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/struct_survey_info"
---

# struct\_survey\_info(9)

channel survey response

## NAME

struct\_survey\_info - channel survey response

## SYNOPSIS

```
struct survey_info {
  struct ieee80211_channel * channel;
  u64 channel_time;
  u64 channel_time_busy;
  u64 channel_time_ext_busy;
  u64 channel_time_rx;
  u64 channel_time_tx;
  u32 filled;
  s8 noise;
};
```

## MEMBERS

channel

the channel this survey record reports, mandatory

channel\_time

amount of time in ms the radio spent on the channel

channel\_time\_busy

amount of time the primary channel was sensed busy

channel\_time\_ext\_busy

amount of time the extension channel was sensed busy

channel\_time\_rx

amount of time the radio spent receiving data

channel\_time\_tx

amount of time the radio spent transmitting data

filled

bitflag of flags from enum survey\_info\_flags

noise

channel noise in dBm. This and all following fields are optional

## DESCRIPTION

Used by **dump\_survey** to report back per-channel survey information.

This structure can later be expanded with things like channel duty cycle etc.

## AUTHOR

**Johannes Berg** \<johannes@sipsolutions.net\>

Author.

## COPYRIGHT
