aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/cfg80211.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r--include/net/cfg80211.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 8fd9eebd0cc9..69e2364889f1 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -424,6 +424,7 @@ struct station_parameters {
424 * @STATION_INFO_TX_RETRIES: @tx_retries filled 424 * @STATION_INFO_TX_RETRIES: @tx_retries filled
425 * @STATION_INFO_TX_FAILED: @tx_failed filled 425 * @STATION_INFO_TX_FAILED: @tx_failed filled
426 * @STATION_INFO_RX_DROP_MISC: @rx_dropped_misc filled 426 * @STATION_INFO_RX_DROP_MISC: @rx_dropped_misc filled
427 * @STATION_INFO_SIGNAL_AVG: @signal_avg filled
427 */ 428 */
428enum station_info_flags { 429enum station_info_flags {
429 STATION_INFO_INACTIVE_TIME = 1<<0, 430 STATION_INFO_INACTIVE_TIME = 1<<0,
@@ -439,6 +440,7 @@ enum station_info_flags {
439 STATION_INFO_TX_RETRIES = 1<<10, 440 STATION_INFO_TX_RETRIES = 1<<10,
440 STATION_INFO_TX_FAILED = 1<<11, 441 STATION_INFO_TX_FAILED = 1<<11,
441 STATION_INFO_RX_DROP_MISC = 1<<12, 442 STATION_INFO_RX_DROP_MISC = 1<<12,
443 STATION_INFO_SIGNAL_AVG = 1<<13,
442}; 444};
443 445
444/** 446/**
@@ -485,6 +487,7 @@ struct rate_info {
485 * @plid: mesh peer link id 487 * @plid: mesh peer link id
486 * @plink_state: mesh peer link state 488 * @plink_state: mesh peer link state
487 * @signal: signal strength of last received packet in dBm 489 * @signal: signal strength of last received packet in dBm
490 * @signal_avg: signal strength average in dBm
488 * @txrate: current unicast bitrate to this station 491 * @txrate: current unicast bitrate to this station
489 * @rx_packets: packets received from this station 492 * @rx_packets: packets received from this station
490 * @tx_packets: packets transmitted to this station 493 * @tx_packets: packets transmitted to this station
@@ -505,6 +508,7 @@ struct station_info {
505 u16 plid; 508 u16 plid;
506 u8 plink_state; 509 u8 plink_state;
507 s8 signal; 510 s8 signal;
511 s8 signal_avg;
508 struct rate_info txrate; 512 struct rate_info txrate;
509 u32 rx_packets; 513 u32 rx_packets;
510 u32 tx_packets; 514 u32 tx_packets;