nl80211: better describe field in struct nl80211_bss_select_rssi_adjust

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>
This commit is contained in:
Arend Van Spriel 2016-12-16 12:15:54 +00:00 коммит произвёл Johannes Berg
Родитель 505a2e882b
Коммит e77a8be9a0
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -4964,8 +4964,9 @@ enum nl80211_sched_scan_plan {
/** /**
* struct nl80211_bss_select_rssi_adjust - RSSI adjustment parameters. * struct nl80211_bss_select_rssi_adjust - RSSI adjustment parameters.
* *
* @band: band of BSS that must match for RSSI value adjustment. * @band: band of BSS that must match for RSSI value adjustment. The value
* @delta: value used to adjust the RSSI value of matching BSS. * 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 { struct nl80211_bss_select_rssi_adjust {
__u8 band; __u8 band;