Scroll to navigation

STRUCT STATION_INFO(9) Actions and configuration STRUCT STATION_INFO(9)

NAME

struct_station_info - station information

SYNOPSIS

struct station_info {
  u32 filled;
  u32 connected_time;
  u32 inactive_time;
  u32 rx_bytes;
  u32 tx_bytes;
  u16 llid;
  u16 plid;
  u8 plink_state;
  s8 signal;
  s8 signal_avg;
  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;
};  

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
signal strength of last received packet in dBm
signal_avg
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.

DESCRIPTION

Station information filled by driver for get_station and dump_station.

AUTHOR

Johannes Berg <johannes@sipsolutions.net>
Author.

COPYRIGHT

March 2016 Kernel Hackers Manual 3.2.