[PATCH] nl80211: better describe field in struct nl80211_bss_select_rssi_adjust

Subsystems: 802.11 (including cfg80211/nl80211), the rest

STALE3516d

2 messages, 2 authors, 2016-12-16 · open the first message on its own page

[PATCH] nl80211: better describe field in struct nl80211_bss_select_rssi_adjust

From: Arend van Spriel <arend.vanspriel@broadcom.com>
Date: 2016-12-16 12:16:00

The two fields in struct nl80211_bss_select_rssi_adjust did not state
their type or unit. Adding documentation.

Reported-by: Jouni Malinen <redacted>
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
---
 include/uapi/linux/nl80211.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h
index 6b76e3b..d74e10b 100644
--- a/include/uapi/linux/nl80211.h
+++ b/include/uapi/linux/nl80211.h
@@ -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;
-- 
1.9.1

Re: [PATCH] nl80211: better describe field in struct nl80211_bss_select_rssi_adjust

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2016-12-16 12:34:18

On Fri, 2016-12-16 at 12:15 +0000, Arend van Spriel wrote:
The two fields in struct nl80211_bss_select_rssi_adjust did not state
their type or unit. Adding documentation.
Applied, thanks :)

johannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help