diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-11-24 16:18:36 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-11-24 16:18:36 -0500 |
commit | ccb14354017272ddac002e859a2711610b6af174 (patch) | |
tree | fa39f9b944508e596763c49b0088dc1cc2e263ca /include | |
parent | f8afa42b01c7a9f45b7cbaadb0481a0eeb96f18d (diff) |
Revert "nl80211/mac80211: Report signal average"
This reverts commit 86107fd170bc379869250eb7e1bd393a3a70e8ae.
This patch inadvertantly changed the userland ABI.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/nl80211.h | 2 | ||||
-rw-r--r-- | include/net/cfg80211.h | 4 |
2 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h index 1ce3775e9e26..037b4e498890 100644 --- a/include/linux/nl80211.h +++ b/include/linux/nl80211.h | |||
@@ -1161,7 +1161,6 @@ enum nl80211_rate_info { | |||
1161 | * @__NL80211_STA_INFO_AFTER_LAST: internal | 1161 | * @__NL80211_STA_INFO_AFTER_LAST: internal |
1162 | * @NL80211_STA_INFO_MAX: highest possible station info attribute | 1162 | * @NL80211_STA_INFO_MAX: highest possible station info attribute |
1163 | * @NL80211_STA_INFO_SIGNAL: signal strength of last received PPDU (u8, dBm) | 1163 | * @NL80211_STA_INFO_SIGNAL: signal strength of last received PPDU (u8, dBm) |
1164 | * @NL80211_STA_INFO_SIGNAL_AVG: signal strength average (u8, dBm) | ||
1165 | * @NL80211_STA_INFO_TX_BITRATE: current unicast tx rate, nested attribute | 1164 | * @NL80211_STA_INFO_TX_BITRATE: current unicast tx rate, nested attribute |
1166 | * containing info as possible, see &enum nl80211_sta_info_txrate. | 1165 | * containing info as possible, see &enum nl80211_sta_info_txrate. |
1167 | * @NL80211_STA_INFO_RX_PACKETS: total received packet (u32, from this station) | 1166 | * @NL80211_STA_INFO_RX_PACKETS: total received packet (u32, from this station) |
@@ -1179,7 +1178,6 @@ enum nl80211_sta_info { | |||
1179 | NL80211_STA_INFO_PLID, | 1178 | NL80211_STA_INFO_PLID, |
1180 | NL80211_STA_INFO_PLINK_STATE, | 1179 | NL80211_STA_INFO_PLINK_STATE, |
1181 | NL80211_STA_INFO_SIGNAL, | 1180 | NL80211_STA_INFO_SIGNAL, |
1182 | NL80211_STA_INFO_SIGNAL_AVG, | ||
1183 | NL80211_STA_INFO_TX_BITRATE, | 1181 | NL80211_STA_INFO_TX_BITRATE, |
1184 | NL80211_STA_INFO_RX_PACKETS, | 1182 | NL80211_STA_INFO_RX_PACKETS, |
1185 | NL80211_STA_INFO_TX_PACKETS, | 1183 | NL80211_STA_INFO_TX_PACKETS, |
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 69e2364889f1..8fd9eebd0cc9 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
@@ -424,7 +424,6 @@ 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 | ||
428 | */ | 427 | */ |
429 | enum station_info_flags { | 428 | enum station_info_flags { |
430 | STATION_INFO_INACTIVE_TIME = 1<<0, | 429 | STATION_INFO_INACTIVE_TIME = 1<<0, |
@@ -440,7 +439,6 @@ enum station_info_flags { | |||
440 | STATION_INFO_TX_RETRIES = 1<<10, | 439 | STATION_INFO_TX_RETRIES = 1<<10, |
441 | STATION_INFO_TX_FAILED = 1<<11, | 440 | STATION_INFO_TX_FAILED = 1<<11, |
442 | STATION_INFO_RX_DROP_MISC = 1<<12, | 441 | STATION_INFO_RX_DROP_MISC = 1<<12, |
443 | STATION_INFO_SIGNAL_AVG = 1<<13, | ||
444 | }; | 442 | }; |
445 | 443 | ||
446 | /** | 444 | /** |
@@ -487,7 +485,6 @@ struct rate_info { | |||
487 | * @plid: mesh peer link id | 485 | * @plid: mesh peer link id |
488 | * @plink_state: mesh peer link state | 486 | * @plink_state: mesh peer link state |
489 | * @signal: signal strength of last received packet in dBm | 487 | * @signal: signal strength of last received packet in dBm |
490 | * @signal_avg: signal strength average in dBm | ||
491 | * @txrate: current unicast bitrate to this station | 488 | * @txrate: current unicast bitrate to this station |
492 | * @rx_packets: packets received from this station | 489 | * @rx_packets: packets received from this station |
493 | * @tx_packets: packets transmitted to this station | 490 | * @tx_packets: packets transmitted to this station |
@@ -508,7 +505,6 @@ struct station_info { | |||
508 | u16 plid; | 505 | u16 plid; |
509 | u8 plink_state; | 506 | u8 plink_state; |
510 | s8 signal; | 507 | s8 signal; |
511 | s8 signal_avg; | ||
512 | struct rate_info txrate; | 508 | struct rate_info txrate; |
513 | u32 rx_packets; | 509 | u32 rx_packets; |
514 | u32 tx_packets; | 510 | u32 tx_packets; |