aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2012-03-15 13:25:41 -0400
committerJohn W. Linville <linville@tuxdriver.com>2012-03-26 15:07:25 -0400
commit66266b3ab4871958ed6a1e43f502cadaf3becfc8 (patch)
tree202d9da52387cd9ea0997d79c9e83bed15a9fab1 /include
parente92109be7a6a04808c3ed586475ba1e5ea56ecbd (diff)
cfg80211: allow CFG80211_SIGNAL_TYPE_UNSPEC in station_info
The station_info struct had demanded dBm signal values, but the cfg80211 wireless extensions implementation was also accepting "unspecified" (i.e. RSSI) unit values while the nl80211 code was completely unaware of them. Resolve this by formally allowing the "unspecified" units while making nl80211 ignore them. Signed-off-by: John W. Linville <linville@tuxdriver.com> Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/cfg80211.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 69b7ad3a9925..5ccac722739f 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -619,8 +619,10 @@ struct sta_bss_parameters {
619 * @llid: mesh local link id 619 * @llid: mesh local link id
620 * @plid: mesh peer link id 620 * @plid: mesh peer link id
621 * @plink_state: mesh peer link state 621 * @plink_state: mesh peer link state
622 * @signal: signal strength of last received packet in dBm 622 * @signal: the signal strength, type depends on the wiphy's signal_type
623 * @signal_avg: signal strength average in dBm 623 NOTE: For CFG80211_SIGNAL_TYPE_MBM, value is expressed in _dBm_.
624 * @signal_avg: avg signal strength, type depends on the wiphy's signal_type
625 NOTE: For CFG80211_SIGNAL_TYPE_MBM, value is expressed in _dBm_.
624 * @txrate: current unicast bitrate from this station 626 * @txrate: current unicast bitrate from this station
625 * @rxrate: current unicast bitrate to this station 627 * @rxrate: current unicast bitrate to this station
626 * @rx_packets: packets received from this station 628 * @rx_packets: packets received from this station