Skip to contentSkip to conversation

nl80211: allow configuration of BSS selection

RFC Superseded Arend van Spriel 2 participants 7 messages Jan 26, 2016 – Jan 28, 2016

Subsystems (2)

v4 of 11 Superseded Latest is v11 →

lore
Share & tools
lore
#0 lore raw

v4 cover nl80211: allow configuration of BSS selection

This patch series adds support for configuration of BSS selection done by the driver and/or firmware. It allows user-space to pass selection behaviour with the NL80211_CMD_CONNECT using NL80211_ATTR_BSS_SELECT. When user-space does provide this attribute and no explicit BSSID is provided it will pass the BSS selection behaviour to the driver if the driver supports it.

When multiple BSS-es are found belonging to the same ESS, ie. Infra-BSS with same SSID, this can be used to select a BSS. The behaviours defined are:

1. RSSI based selection.
2. Band selection, RSSI based selection.
3. RSSI adjustment in given band, RSSI based selection.

V2:
- incorporate comments from Johannes Berg (may have missed some).
- split nl80211 patch in two separate patches.

V3:
- remove enum nl80211_bss_select_primitive.
- reword documentation of nl80211_bss_select_attr enum values.

V4:
- remove documentation reference to removed primitive.

Arend van Spriel (2):
nl80211: add feature for BSS selection support
brcmfmac: add support for nl80211 BSS_SELECT feature

 .../broadcom/brcm80211/brcmfmac/cfg80211.c         | 63 +++++++++++++++++-
 .../wireless/broadcom/brcm80211/brcmfmac/common.c  | 38 ++++++-----
 .../wireless/broadcom/brcm80211/brcmfmac/core.h    |  1 +
 include/net/cfg80211.h                             | 34 ++++++++++
 include/uapi/linux/nl80211.h                       | 42 ++++++++++++
 net/wireless/core.c                                |  4 ++
 net/wireless/nl80211.c                             | 76 ++++++++++++++++++++++
 7 files changed, 240 insertions(+), 18 deletions(-)
Signature · 1 line
1.9.1
#1 lore raw

RFC v4 1/2 nl80211: add feature for BSS selection support

Introducing a new feature that the driver can use to indicate the driver/firmware supports configuration of BSS selection criteria upon CONNECT command. This can be useful when multiple BSS-es are found belonging to the same ESS, ie. Infra-BSS with same SSID. The criteria can then be used to offload selection of a preferred BSS.

---
 include/net/cfg80211.h       | 34 ++++++++++++++++++++
 include/uapi/linux/nl80211.h | 42 ++++++++++++++++++++++++
 net/wireless/core.c          |  4 +++
 net/wireless/nl80211.c       | 76 ++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 156 insertions(+)
include/net/cfg80211.h +34 -0
index 9bcaaf7..f571f4a 100644
@@ -1854,6 +1854,33 @@ struct cfg80211_ibss_params {
 };
 
 /**
+ * struct cfg80211_bss_select_adjust - BSS selection with RSSI adjustment.
+ *
+ * @band: band of BSS which should match for RSSI level adjustment.
+ * @delta: value of RSSI level adjustment.
+ */
+struct cfg80211_bss_select_adjust {
+	enum nl80211_band band;
+	s8 delta;
+};
+
+/**
+ * struct cfg80211_bss_selection - connection parameters for BSS selection.
+ *
+ * @behaviour: requested BSS selection behaviour.
+ * @param: parameters for requestion behaviour.
+ * @band_pref: preferred band for %NL80211_BSS_SELECT_ATTR_BAND_PREF.
+ * @adjust: parameters for %NL80211_BSS_SELECT_ATTR_RSSI_ADJUST.
+ */
+struct cfg80211_bss_selection {
+	enum nl80211_bss_select_attr behaviour;
+	union {
+		enum nl80211_band band_pref;
+		struct cfg80211_bss_select_adjust adjust;
+	} param;
+};
+
+/**
  * struct cfg80211_connect_params - Connection parameters
  *
  * This structure provides information needed to complete IEEE 802.11
@@ -1888,6 +1915,7 @@ struct cfg80211_ibss_params {
  * @ht_capa_mask:  The bits of ht_capa which are to be used.
  * @vht_capa:  VHT Capability overrides
  * @vht_capa_mask: The bits of vht_capa which are to be used.
+ * @bss_select: criteria to be used for BSS selection.
  */
 struct cfg80211_connect_params {
 	struct ieee80211_channel *channel;
@@ -1910,6 +1938,7 @@ struct cfg80211_connect_params {
 	struct ieee80211_ht_cap ht_capa_mask;
 	struct ieee80211_vht_cap vht_capa;
 	struct ieee80211_vht_cap vht_capa_mask;
+	struct cfg80211_bss_selection bss_select;
 };
 
 /**
@@ -3178,6 +3207,9 @@ struct wiphy_vendor_command {
  *	low rssi when a frame is heard on different channel, then it should set
  *	this variable to the maximal offset for which it can compensate.
  *	This value should be set in MHz.
+ * @bss_select_support: bitmask indicating the BSS selection criteria supported
+ *	by the driver in the .connect() callback. The bit position maps to the
+ *	attribute indices defined in &enum nl80211_bss_select_attr.
  */
 struct wiphy {
 	/* assign these fields before you register the wiphy */
@@ -3300,6 +3332,8 @@ struct wiphy {
 	u8 max_num_csa_counters;
 	u8 max_adj_channel_rssi_comp;
 
+	u32 bss_select_support;
+
 	char priv[0] __aligned(NETDEV_ALIGN);
 };
 
include/uapi/linux/nl80211.h +42 -0

58 lines not on this page · raw message

net/wireless/core.c +4 -0
index 3a9c41b..f6b2976 100644
@@ -626,6 +626,10 @@ int wiphy_register(struct wiphy *wiphy)
 		     !rdev->ops->set_mac_acl)))
 		return -EINVAL;
 
+	if (WARN_ON(wiphy->bss_select_support &&
+		    (wiphy->bss_select_support & ~(BIT(NL80211_BSS_SELECT_ATTR_MAX) - 1))))
+		return -EINVAL;
+
 	if (wiphy->addresses)
 		memcpy(wiphy->perm_addr, wiphy->addresses[0].addr, ETH_ALEN);
 
net/wireless/nl80211.c +76 -0

100 lines not on this page · raw message

Signature · 1 line
1.9.1
maintainer
#2 lore raw

Re: [RFC V4 1/2] nl80211: add feature for BSS selection support

Quoted 6 lines · Arend van Spriel


+ * @behaviour: requested BSS selection behaviour.
+ * @param: parameters for requestion behaviour.
+ * @band_pref: preferred band for %NL80211_BSS_SELECT_ATTR_BAND_PREF.
+ * @adjust: parameters for %NL80211_BSS_SELECT_ATTR_RSSI_ADJUST.

Sadly, I don't think this works with kernel-doc. You'd have to split it out into a named union to get this working properly.

Quoted 8 lines

+/**
+ * enum nl80211_bss_select_attr - attributes for bss selection.
+ *
+ * @__NL80211_BSS_SELECT_ATTR_INVALID: reserved.
+ * @NL80211_BSS_SELECT_ATTR_RSSI: Flag indicating only RSSI-based BSS selection
+ * is requested.
+ * @NL80211_BSS_SELECT_ATTR_BAND_PREF: attribute indicating BSS
+ *> > selection should be done such that the specified band is preferred.

Quoted 8 lines

+ *> > When there are multiple BSS-es in the preferred band, the driver
+ *> > shall use RSSI-based BSS selection as a second step. The value of
+ *> > this attribute is according to &enum nl80211_band (u32).
+ * @NL80211_BSS_SELECT_ATTR_RSSI_ADJUST: When present the RSSI level for
+ *> > BSS-es in the specified band is to be adjusted before doing
+ *> > RSSI-based BSS selection. The attribute value is a packed two-byte
+ *> > value. The lower byte contains the adjustment value (s8) and the
+ * high byte contains the band according &enum nl80211_band.

I think it might be nicer to define an explicit struct for this, then you don't have to use u8 for the band in one attribute and u32 for the band in the other attribute either.

As long as there's no u64 in the struct that's pretty much safe - if u64 is needed use compat_u64 :)

Quoted 6 lines

+ * @NL80211_BSS_SELECT_ATTR_MAX: highest bss select attribute number.
+ *@__NL80211_BSS_SELECT_ATTR_AFTER_LAST: internal use.
+ *
+ * These attributes are found within %NL80211_ATTR_BSS_SELECT and
+ * indicate the required BSS selection behaviour which the driver
+ * should use.

You should probably indicate that only a single one can ever be specified?

net/wireless/nl80211.c nl80211_plan_policy[NL80211_SCHED_SCAN_PLAN_MAX + 1] = { · line 492

Quoted 5 lines
net/wireless/nl80211.c +5 -0
+static const struct nla_policy
+nl80211_bss_select_policy[NL80211_BSS_SELECT_ATTR_MAX + 1] = {
+	[NL80211_BSS_SELECT_ATTR_RSSI] = { .type = NLA_FLAG },
+	[NL80211_BSS_SELECT_ATTR_BAND_PREF] = { .type = NLA_U32 },
+	[NL80211_BSS_SELECT_ATTR_RSSI_ADJUST] = { .type = NLA_U8 },

The RSSI_ADJUST here seems wrong in any case? Should've been NLA_U16 now?

net/wireless/nl80211.c static int validate_scan_freqs(struct nlattr *freqs) · line 5786

Quoted 12 lines
net/wireless/nl80211.c +0 -0
@@ -5753,6 +5778,42 @@ static int validate_scan_freqs(struct nlattr
 *freqs)
  	return n_channels;
  }

(quoted diff) +2 -0
+static int parse_bss_select(struct nlattr *nla,
+			    struct cfg80211_bss_selection

*bss_select)

net/wireless/nl80211.c +4 -0
+{
+	struct nlattr *attr[NL80211_BSS_SELECT_ATTR_MAX + 1];
+	u16 band_delta;
+	int err;

This should perhaps reject specification of multiple attributes, since otherwise the order of the code here dictates which one "wins".

But these are small things - looks good!

johannes

#3 lore raw

Re: [RFC V4 1/2] nl80211: add feature for BSS selection support

Quoted 10 lines · Johannes Berg
Quoted 6 lines · Arend van Spriel

+ * @behaviour: requested BSS selection behaviour.
+ * @param: parameters for requestion behaviour.
+ * @band_pref: preferred band for %NL80211_BSS_SELECT_ATTR_BAND_PREF.
+ * @adjust: parameters for %NL80211_BSS_SELECT_ATTR_RSSI_ADJUST.

Sadly, I don't think this works with kernel-doc. You'd have to split it out into a named union to get this working properly.

Yeah. I did not run kernel-doc. Will look into it.

Quoted 17 lines
Quoted 8 lines

+/**
+ * enum nl80211_bss_select_attr - attributes for bss selection.
+ *
+ * @__NL80211_BSS_SELECT_ATTR_INVALID: reserved.
+ * @NL80211_BSS_SELECT_ATTR_RSSI: Flag indicating only RSSI-based BSS selection
+ * is requested.
+ * @NL80211_BSS_SELECT_ATTR_BAND_PREF: attribute indicating BSS
+ *> > selection should be done such that the specified band is preferred.

Quoted 8 lines

+ *> > When there are multiple BSS-es in the preferred band, the driver
+ *> > shall use RSSI-based BSS selection as a second step. The value of
+ *> > this attribute is according to &enum nl80211_band (u32).
+ * @NL80211_BSS_SELECT_ATTR_RSSI_ADJUST: When present the RSSI level for
+ *> > BSS-es in the specified band is to be adjusted before doing
+ *> > RSSI-based BSS selection. The attribute value is a packed two-byte
+ *> > value. The lower byte contains the adjustment value (s8) and the
+ * high byte contains the band according &enum nl80211_band.

Quoted 6 lines

I think it might be nicer to define an explicit struct for this, then you don't have to use u8 for the band in one attribute and u32 for the band in the other attribute either.

As long as there's no u64 in the struct that's pretty much safe - if u64 is needed use compat_u64 :)

So you mean mapping the explicit structure over the nla_data()?

Quoted 9 lines
Quoted 6 lines

+ * @NL80211_BSS_SELECT_ATTR_MAX: highest bss select attribute number.
+ *@__NL80211_BSS_SELECT_ATTR_AFTER_LAST: internal use.
+ *
+ * These attributes are found within %NL80211_ATTR_BSS_SELECT and
+ * indicate the required BSS selection behaviour which the driver
+ * should use.

You should probably indicate that only a single one can ever be specified?

Realized that was missing indeed. Will add it.

Quoted 8 lines

net/wireless/nl80211.c nl80211_plan_policy[NL80211_SCHED_SCAN_PLAN_MAX + 1] = { · line 492

Quoted 5 lines
net/wireless/nl80211.c +5 -0
+static const struct nla_policy
+nl80211_bss_select_policy[NL80211_BSS_SELECT_ATTR_MAX + 1] = {
+	[NL80211_BSS_SELECT_ATTR_RSSI] = { .type = NLA_FLAG },
+	[NL80211_BSS_SELECT_ATTR_BAND_PREF] = { .type = NLA_U32 },
+	[NL80211_BSS_SELECT_ATTR_RSSI_ADJUST] = { .type = NLA_U8 },

The RSSI_ADJUST here seems wrong in any case? Should've been NLA_U16 now?

It should have, yes.

Quoted 5 lines
Quoted 5 lines
net/wireless/nl80211.c +0 -0
@@ -5753,6 +5778,42 @@ static int validate_scan_freqs(struct nlattr
 *freqs)
 	return n_channels;
 }
 
Quoted 10 lines

net/wireless/nl80211.c static int validate_scan_freqs(struct nlattr *freqs) · line 5786

Quoted 7 lines
net/wireless/nl80211.c +6 -0
+static int parse_bss_select(struct nlattr *nla,
+			    struct cfg80211_bss_selection
 *bss_select)
+{
+	struct nlattr *attr[NL80211_BSS_SELECT_ATTR_MAX + 1];
+	u16 band_delta;
+	int err;

This should perhaps reject specification of multiple attributes, since otherwise the order of the code here dictates which one "wins".

I was waiting for your opinion on this as it did not feel right to me either.

Quoted 1 line

But these are small things - looks good!

Thanks. Will work on final patch (famous last words).

Regards,
Arend

maintainer
#4 lore raw

Re: [RFC V4 1/2] nl80211: add feature for BSS selection support

Quoted 1 line · Arend van Spriel

So you mean mapping the explicit structure over the nla_data()?

Yes, see "struct nl80211_sta_flag_update" for example.

Quoted 5 lines
Quoted 3 lines

The RSSI_ADJUST here seems wrong in any case? Should've been NLA_U16
now?

It should have, yes.

Now of course it will have to change for again for the struct :)

johannes

#5 lore raw

RFC v4 2/2 brcmfmac: add support for nl80211 BSS_SELECT feature

In reply to Arend van Spriel

Announce support for nl80211 feature BSS_SELECT and process BSS selection behaviour provided in .connect() callback.

---
 .../broadcom/brcm80211/brcmfmac/cfg80211.c         | 63 ++++++++++++++++++++--
 .../wireless/broadcom/brcm80211/brcmfmac/common.c  | 38 +++++++------
 .../wireless/broadcom/brcm80211/brcmfmac/core.h    |  1 +
 3 files changed, 84 insertions(+), 18 deletions(-)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c +60 -3
index 7b01e4d..d90378e 100644
@@ -238,6 +238,20 @@ struct parsed_vndr_ies {
 	struct parsed_vndr_ie_info ie_info[VNDR_IE_PARSE_LIMIT];
 };
 
+static u8 nl80211_band_to_fwil(enum nl80211_band band)
+{
+	switch (band) {
+	case NL80211_BAND_2GHZ:
+		return WLC_BAND_2G;
+	case NL80211_BAND_5GHZ:
+		return WLC_BAND_5G;
+	default:
+		WARN_ON(1);
+		break;
+	}
+	return 0;
+}
+
 static u16 chandef_to_chanspec(struct brcmu_d11inf *d11inf,
 			       struct cfg80211_chan_def *ch)
 {
@@ -1737,6 +1751,43 @@ enum nl80211_auth_type brcmf_war_auth_type(struct brcmf_if *ifp,
 	return type;
 }
 
+static void brcmf_set_join_pref(struct brcmf_if *ifp,
+				struct cfg80211_bss_selection *bss_select)
+{
+	struct brcmf_join_pref_params join_pref_params[2];
+	enum nl80211_band band;
+	int err, i = 0;
+
+	join_pref_params[i].len = 2;
+	join_pref_params[i].rssi_gain = 0;
+	switch (bss_select->behaviour) {
+	case NL80211_BSS_SELECT_ATTR_BAND_PREF:
+		join_pref_params[i].type = BRCMF_JOIN_PREF_BAND;
+		band = bss_select->param.band_pref;
+		join_pref_params[i].band = nl80211_band_to_fwil(band);
+		i++;
+		break;
+	case NL80211_BSS_SELECT_ATTR_RSSI_ADJUST:
+		join_pref_params[i].type = BRCMF_JOIN_PREF_RSSI_DELTA;
+		band = bss_select->param.adjust.band;
+		join_pref_params[i].band = nl80211_band_to_fwil(band);
+		join_pref_params[i].rssi_gain = bss_select->param.adjust.delta;
+		i++;
+		break;
+	case NL80211_BSS_SELECT_ATTR_RSSI:
+	default:
+		break;
+	}
+	join_pref_params[i].type = BRCMF_JOIN_PREF_RSSI;
+	join_pref_params[i].len = 2;
+	join_pref_params[i].rssi_gain = 0;
+	join_pref_params[i].band = 0;
+	err = brcmf_fil_iovar_data_set(ifp, "join_pref", join_pref_params,
+				       sizeof(join_pref_params));
+	if (err)
+		brcmf_err("Set join_pref error (%d)\n", err);
+}
+
 static s32
 brcmf_cfg80211_connect(struct wiphy *wiphy, struct net_device *ndev,
 		       struct cfg80211_connect_params *sme)
@@ -1862,11 +1913,13 @@ brcmf_cfg80211_connect(struct wiphy *wiphy, struct net_device *ndev,
 	ext_join_params->scan_le.scan_type = -1;
 	ext_join_params->scan_le.home_time = cpu_to_le32(-1);
 
-	if (sme->bssid)
+	if (sme->bssid) {
 		memcpy(&ext_join_params->assoc_le.bssid, sme->bssid, ETH_ALEN);
-	else
+		brcmf_c_set_joinpref_default(ifp);
+	} else {
 		eth_broadcast_addr(ext_join_params->assoc_le.bssid);
-
+		brcmf_set_join_pref(ifp, &sme->bss_select);
+	}
 	if (cfg->channel) {
 		ext_join_params->assoc_le.chanspec_num = cpu_to_le32(1);
 
@@ -6179,6 +6232,10 @@ static int brcmf_setup_wiphy(struct wiphy *wiphy, struct brcmf_if *ifp)
 	wiphy->signal_type = CFG80211_SIGNAL_TYPE_MBM;
 	wiphy->cipher_suites = __wl_cipher_suites;
 	wiphy->n_cipher_suites = ARRAY_SIZE(__wl_cipher_suites);
+	wiphy->bss_select_support = BIT(NL80211_BSS_SELECT_ATTR_RSSI) |
+				    BIT(NL80211_BSS_SELECT_ATTR_BAND_PREF) |
+				    BIT(NL80211_BSS_SELECT_ATTR_RSSI_ADJUST);
+
 	wiphy->flags |= WIPHY_FLAG_PS_ON_BY_DEFAULT |
 			WIPHY_FLAG_OFFCHAN_TX |
 			WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL;
drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c +23 -15
index 4265b50..b9e81fb 100644
@@ -32,7 +32,7 @@ const u8 ALLFFMAC[ETH_ALEN] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff };
 #define BRCMF_DEFAULT_SCAN_CHANNEL_TIME	40
 #define BRCMF_DEFAULT_SCAN_UNASSOC_TIME	40
 
-/* boost value for RSSI_DELTA in preferred join selection */
+/* default boost value for RSSI_DELTA in preferred join selection */
 #define BRCMF_JOIN_PREF_RSSI_BOOST	8
 
 #define BRCMF_DEFAULT_TXGLOM_SIZE	32  /* max tx frames in glom chain */
@@ -76,11 +76,31 @@ MODULE_PARM_DESC(ignore_probe_fail, "always succeed probe for debugging");
 
 struct brcmf_mp_global_t brcmf_mp_global;
 
+void brcmf_c_set_joinpref_default(struct brcmf_if *ifp)
+{
+	struct brcmf_join_pref_params join_pref_params[2];
+	int err;
+
+	/* Setup join_pref to select target by RSSI (boost on 5GHz) */
+	join_pref_params[0].type = BRCMF_JOIN_PREF_RSSI_DELTA;
+	join_pref_params[0].len = 2;
+	join_pref_params[0].rssi_gain = BRCMF_JOIN_PREF_RSSI_BOOST;
+	join_pref_params[0].band = WLC_BAND_5G;
+
+	join_pref_params[1].type = BRCMF_JOIN_PREF_RSSI;
+	join_pref_params[1].len = 2;
+	join_pref_params[1].rssi_gain = 0;
+	join_pref_params[1].band = 0;
+	err = brcmf_fil_iovar_data_set(ifp, "join_pref", join_pref_params,
+				       sizeof(join_pref_params));
+	if (err)
+		brcmf_err("Set join_pref error (%d)\n", err);
+}
+
 int brcmf_c_preinit_dcmds(struct brcmf_if *ifp)
 {
 	s8 eventmask[BRCMF_EVENTING_MASK_LEN];
 	u8 buf[BRCMF_DCMD_SMLEN];
-	struct brcmf_join_pref_params join_pref_params[2];
 	struct brcmf_rev_info_le revinfo;
 	struct brcmf_rev_info *ri;
 	char *ptr;
@@ -147,19 +167,7 @@ int brcmf_c_preinit_dcmds(struct brcmf_if *ifp)
 		goto done;
 	}
 
-	/* Setup join_pref to select target by RSSI(with boost on 5GHz) */
-	join_pref_params[0].type = BRCMF_JOIN_PREF_RSSI_DELTA;
-	join_pref_params[0].len = 2;
-	join_pref_params[0].rssi_gain = BRCMF_JOIN_PREF_RSSI_BOOST;
-	join_pref_params[0].band = WLC_BAND_5G;
-	join_pref_params[1].type = BRCMF_JOIN_PREF_RSSI;
-	join_pref_params[1].len = 2;
-	join_pref_params[1].rssi_gain = 0;
-	join_pref_params[1].band = 0;
-	err = brcmf_fil_iovar_data_set(ifp, "join_pref", join_pref_params,
-				       sizeof(join_pref_params));
-	if (err)
-		brcmf_err("Set join_pref error (%d)\n", err);
+	brcmf_c_set_joinpref_default(ifp);
 
 	/* Setup event_msgs, enable E_IF */
 	err = brcmf_fil_iovar_data_get(ifp, "event_msgs", eventmask,
drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.h +1 -0
index 8f39435..c9a1a13 100644
@@ -220,5 +220,6 @@ void brcmf_txflowblock_if(struct brcmf_if *ifp,
 void brcmf_txfinalize(struct brcmf_if *ifp, struct sk_buff *txp, bool success);
 void brcmf_netif_rx(struct brcmf_if *ifp, struct sk_buff *skb);
 void brcmf_net_setcarrier(struct brcmf_if *ifp, bool on);
+void brcmf_c_set_joinpref_default(struct brcmf_if *ifp);
 
 #endif /* BRCMFMAC_CORE_H */
Signature · 1 line
1.9.1
maintainer
#6 lore raw

Re: [RFC V4 2/2] brcmfmac: add support for nl80211 BSS_SELECT feature

drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct parsed_vndr_ies { · line 249

Quoted 11 lines · Arend van Spriel

drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c +9 -0
+static u8 nl80211_band_to_fwil(enum nl80211_band band)
+{
+	switch (band) {
+	case NL80211_BAND_2GHZ:
+		return WLC_BAND_2G;
+	case NL80211_BAND_5GHZ:
+		return WLC_BAND_5G;
+	default:
+		WARN_ON(1);

This, btw, is trivially triggerable - you need to check in nl80211 that the specified band is actually supported by the driver, otherwise even non-sense like "17" can be specified.

johannes