]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
nl80211: better describe field in struct nl80211_bss_select_rssi_adjust
authorArend Van Spriel <arend.vanspriel@broadcom.com>
Fri, 16 Dec 2016 12:15:54 +0000 (12:15 +0000)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 16 Dec 2016 12:32:49 +0000 (13:32 +0100)
The two fields in struct nl80211_bss_select_rssi_adjust did not state
their type or unit. Adding documentation.

Reported-by: Jouni Malinen <j@w1.fi>
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/uapi/linux/nl80211.h

index 6b76e3b0c18eac57491268b5ce395050914cef99..d74e10b1246ac01ea00bb2532154f24d990e1957 100644 (file)
@@ -4964,8 +4964,9 @@ enum nl80211_sched_scan_plan {
 /**
  * struct nl80211_bss_select_rssi_adjust - RSSI adjustment parameters.
  *
- * @band: band of BSS that must match for RSSI value adjustment.
- * @delta: value used to adjust the RSSI value of matching BSS.
+ * @band: band of BSS that must match for RSSI value adjustment. The value
+ *     of this field is according to &enum nl80211_band.
+ * @delta: value used to adjust the RSSI value of matching BSS in dB.
  */
 struct nl80211_bss_select_rssi_adjust {
        __u8 band;