---
name: "struct_station_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_station_info"
---

# struct\_station\_info(9)

station information

## NAME

struct\_station\_info - station information

## SYNOPSIS

```
struct station_info {
  u32 filled;
  u32 connected_time;
  u32 inactive_time;
  u64 rx_bytes;
  u64 tx_bytes;
  u16 llid;
  u16 plid;
  u8 plink_state;
  s8 signal;
  s8 signal_avg;
  u8 chains;
  s8 chain_signal[IEEE80211_MAX_CHAINS];
  s8 chain_signal_avg[IEEE80211_MAX_CHAINS];
  struct rate_info txrate;
  struct rate_info rxrate;
  u32 rx_packets;
  u32 tx_packets;
  u32 tx_retries;
  u32 tx_failed;
  u32 rx_dropped_misc;
  struct sta_bss_parameters bss_param;
  struct nl80211_sta_flag_update sta_flags;
  int generation;
  const u8 * assoc_req_ies;
  size_t assoc_req_ies_len;
  u32 beacon_loss_count;
  s64 t_offset;
  enum nl80211_mesh_power_mode local_pm;
  enum nl80211_mesh_power_mode peer_pm;
  enum nl80211_mesh_power_mode nonpeer_pm;
  u32 expected_throughput;
};
```

## MEMBERS

filled

bitflag of flags from enum station\_info\_flags

connected\_time

time(in secs) since a station is last connected

inactive\_time

time since last station activity (tx/rx) in milliseconds

rx\_bytes

bytes received from this station

tx\_bytes

bytes transmitted to this station

llid

mesh local link id

plid

mesh peer link id

plink\_state

mesh peer link state

signal

The signal strength, type depends on the wiphy's signal\_type. For CFG80211\_SIGNAL\_TYPE\_MBM, value is expressed in \_dBm\_.

signal\_avg

Average signal strength, type depends on the wiphy's signal\_type. For CFG80211\_SIGNAL\_TYPE\_MBM, value is expressed in \_dBm\_.

chains

bitmask for filled values in *chain\_signal*, *chain\_signal\_avg*

chain\_signal\[IEEE80211\_MAX\_CHAINS\]

per-chain signal strength of last received packet in dBm

chain\_signal\_avg\[IEEE80211\_MAX\_CHAINS\]

per-chain signal strength average in dBm

txrate

current unicast bitrate from this station

rxrate

current unicast bitrate to this station

rx\_packets

packets received from this station

tx\_packets

packets transmitted to this station

tx\_retries

cumulative retry counts

tx\_failed

number of failed transmissions (retries exceeded, no ACK)

rx\_dropped\_misc

Dropped for un-specified reason.

bss\_param

current BSS parameters

sta\_flags

station flags mask & values

generation

generation number for nl80211 dumps. This number should increase every time the list of stations changes, i.e. when a station is added or removed, so that userspace can tell whether it got a consistent snapshot.

assoc\_req\_ies

IEs from (Re)Association Request. This is used only when in AP mode with drivers that do not use user space MLME/SME implementation. The information is provided for the **cfg80211\_new\_sta** calls to notify user space of the IEs.

assoc\_req\_ies\_len

Length of assoc\_req\_ies buffer in octets.

beacon\_loss\_count

Number of times beacon loss event has triggered.

t\_offset

Time offset of the station relative to this host.

local\_pm

local mesh STA power save mode

peer\_pm

peer mesh STA power save mode

nonpeer\_pm

non-peer mesh STA power save mode

expected\_throughput

expected throughput in kbps (including 802.11 headers) towards this station.

## DESCRIPTION

Station information filled by driver for **get\_station** and dump\_station.

## AUTHOR

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

Author.

## COPYRIGHT
