1STRUCT STATION_INFO(9)     Actions and configuration    STRUCT STATION_INFO(9)
2
3
4

NAME

6       struct_station_info - station information
7

SYNOPSIS

9       struct station_info {
10         u64 filled;
11         u32 connected_time;
12         u32 inactive_time;
13         u64 rx_bytes;
14         u64 tx_bytes;
15         u16 llid;
16         u16 plid;
17         u8 plink_state;
18         s8 signal;
19         s8 signal_avg;
20         u8 chains;
21         s8 chain_signal[IEEE80211_MAX_CHAINS];
22         s8 chain_signal_avg[IEEE80211_MAX_CHAINS];
23         struct rate_info txrate;
24         struct rate_info rxrate;
25         u32 rx_packets;
26         u32 tx_packets;
27         u32 tx_retries;
28         u32 tx_failed;
29         u32 rx_dropped_misc;
30         struct sta_bss_parameters bss_param;
31         struct nl80211_sta_flag_update sta_flags;
32         int generation;
33         const u8 * assoc_req_ies;
34         size_t assoc_req_ies_len;
35         u32 beacon_loss_count;
36         s64 t_offset;
37         enum nl80211_mesh_power_mode local_pm;
38         enum nl80211_mesh_power_mode peer_pm;
39         enum nl80211_mesh_power_mode nonpeer_pm;
40         u32 expected_throughput;
41         u64 rx_beacon;
42         u64 rx_duration;
43         u8 rx_beacon_signal_avg;
44         struct cfg80211_tid_stats pertid[IEEE80211_NUM_TIDS + 1];
45       };
46

MEMBERS

48       filled
49           bitflag of flags using the bits of enum nl80211_sta_info to
50           indicate the relevant values in this struct for them
51
52       connected_time
53           time(in secs) since a station is last connected
54
55       inactive_time
56           time since last station activity (tx/rx) in milliseconds
57
58       rx_bytes
59           bytes (size of MPDUs) received from this station
60
61       tx_bytes
62           bytes (size of MPDUs) transmitted to this station
63
64       llid
65           mesh local link id
66
67       plid
68           mesh peer link id
69
70       plink_state
71           mesh peer link state
72
73       signal
74           The signal strength, type depends on the wiphy's signal_type. For
75           CFG80211_SIGNAL_TYPE_MBM, value is expressed in _dBm_.
76
77       signal_avg
78           Average signal strength, type depends on the wiphy's signal_type.
79           For CFG80211_SIGNAL_TYPE_MBM, value is expressed in _dBm_.
80
81       chains
82           bitmask for filled values in chain_signal, chain_signal_avg
83
84       chain_signal[IEEE80211_MAX_CHAINS]
85           per-chain signal strength of last received packet in dBm
86
87       chain_signal_avg[IEEE80211_MAX_CHAINS]
88           per-chain signal strength average in dBm
89
90       txrate
91           current unicast bitrate from this station
92
93       rxrate
94           current unicast bitrate to this station
95
96       rx_packets
97           packets (MSDUs & MMPDUs) received from this station
98
99       tx_packets
100           packets (MSDUs & MMPDUs) transmitted to this station
101
102       tx_retries
103           cumulative retry counts (MPDUs)
104
105       tx_failed
106           number of failed transmissions (MPDUs) (retries exceeded, no ACK)
107
108       rx_dropped_misc
109           Dropped for un-specified reason.
110
111       bss_param
112           current BSS parameters
113
114       sta_flags
115           station flags mask & values
116
117       generation
118           generation number for nl80211 dumps. This number should increase
119           every time the list of stations changes, i.e. when a station is
120           added or removed, so that userspace can tell whether it got a
121           consistent snapshot.
122
123       assoc_req_ies
124           IEs from (Re)Association Request. This is used only when in AP mode
125           with drivers that do not use user space MLME/SME implementation.
126           The information is provided for the cfg80211_new_sta calls to
127           notify user space of the IEs.
128
129       assoc_req_ies_len
130           Length of assoc_req_ies buffer in octets.
131
132       beacon_loss_count
133           Number of times beacon loss event has triggered.
134
135       t_offset
136           Time offset of the station relative to this host.
137
138       local_pm
139           local mesh STA power save mode
140
141       peer_pm
142           peer mesh STA power save mode
143
144       nonpeer_pm
145           non-peer mesh STA power save mode
146
147       expected_throughput
148           expected throughput in kbps (including 802.11 headers) towards this
149           station.
150
151       rx_beacon
152           number of beacons received from this peer
153
154       rx_duration
155           aggregate PPDU duration(usecs) for all the frames from a peer
156
157       rx_beacon_signal_avg
158           signal strength average (in dBm) for beacons received from this
159           peer
160
161       pertid[IEEE80211_NUM_TIDS + 1]
162           per-TID statistics, see struct cfg80211_tid_stats, using the last
163           (IEEE80211_NUM_TIDS) index for MSDUs not encapsulated in QoS-MPDUs.
164

DESCRIPTION

166       Station information filled by driver for get_station and dump_station.
167

AUTHOR

169       Johannes Berg <johannes@sipsolutions.net>
170           Author.
171
173Kernel Hackers Manual 3.10         June 2019            STRUCT STATION_INFO(9)
Impressum