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;
u64 rx_bytes;
u64 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;
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;
};
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_.
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
DESCRIPTION
Station information filled by driver for get_station and dump_station.
AUTHOR
Johannes Berg <johannes@sipsolutions.net>
Author.
COPYRIGHT Kernel Hackers Manual 3.10 June 2014 STRUCT STATION_INFO(9)
Check Out this Related Man Page
ENUM STATION_INFO_FL(9) Actions and configuration ENUM STATION_INFO_FL(9)NAME
enum_station_info_flags - station information flags
SYNOPSIS
enum station_info_flags {
STATION_INFO_INACTIVE_TIME,
STATION_INFO_RX_BYTES,
STATION_INFO_TX_BYTES,
STATION_INFO_LLID,
STATION_INFO_PLID,
STATION_INFO_PLINK_STATE,
STATION_INFO_SIGNAL,
STATION_INFO_TX_BITRATE,
STATION_INFO_RX_PACKETS,
STATION_INFO_TX_PACKETS,
STATION_INFO_TX_RETRIES,
STATION_INFO_TX_FAILED,
STATION_INFO_RX_DROP_MISC,
STATION_INFO_SIGNAL_AVG,
STATION_INFO_RX_BITRATE,
STATION_INFO_BSS_PARAM,
STATION_INFO_CONNECTED_TIME,
STATION_INFO_ASSOC_REQ_IES,
STATION_INFO_STA_FLAGS,
STATION_INFO_BEACON_LOSS_COUNT,
STATION_INFO_T_OFFSET,
STATION_INFO_LOCAL_PM,
STATION_INFO_PEER_PM,
STATION_INFO_NONPEER_PM,
STATION_INFO_RX_BYTES64,
STATION_INFO_TX_BYTES64
};
CONSTANTS
STATION_INFO_INACTIVE_TIME
inactive_time filled
STATION_INFO_RX_BYTES
rx_bytes filled
STATION_INFO_TX_BYTES
tx_bytes filled
STATION_INFO_LLID
llid filled
STATION_INFO_PLID
plid filled
STATION_INFO_PLINK_STATE
plink_state filled
STATION_INFO_SIGNAL
signal filled
STATION_INFO_TX_BITRATE
txrate fields are filled (tx_bitrate, tx_bitrate_flags and tx_bitrate_mcs)
STATION_INFO_RX_PACKETS
rx_packets filled with 32-bit value
STATION_INFO_TX_PACKETS
tx_packets filled with 32-bit value
STATION_INFO_TX_RETRIES
tx_retries filled
STATION_INFO_TX_FAILED
tx_failed filled
STATION_INFO_RX_DROP_MISC
rx_dropped_misc filled
STATION_INFO_SIGNAL_AVG
signal_avg filled
STATION_INFO_RX_BITRATE
rxrate fields are filled
STATION_INFO_BSS_PARAM
bss_param filled
STATION_INFO_CONNECTED_TIME
connected_time filled
STATION_INFO_ASSOC_REQ_IES
assoc_req_ies filled
STATION_INFO_STA_FLAGS
sta_flags filled
STATION_INFO_BEACON_LOSS_COUNT
beacon_loss_count filled
STATION_INFO_T_OFFSET
t_offset filled
STATION_INFO_LOCAL_PM
local_pm filled
STATION_INFO_PEER_PM
peer_pm filled
STATION_INFO_NONPEER_PM
nonpeer_pm filled
STATION_INFO_RX_BYTES64
rx_bytes filled with 64-bit value
STATION_INFO_TX_BYTES64
tx_bytes filled with 64-bit value
DESCRIPTION
Used by the driver to indicate which info in struct station_info it has filled in during get_station or dump_station.
AUTHOR
Johannes Berg <johannes@sipsolutions.net>
Author.
COPYRIGHT Kernel Hackers Manual 3.10 June 2014 ENUM STATION_INFO_FL(9)