diff options
author | sam <sam@FreeBSD.org> | 2005-07-30 03:28:41 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2005-07-30 03:28:41 +0000 |
commit | b88877a7682e50dd644feb9eec8ea9f64123dcdc (patch) | |
tree | 8fa2c4771ca91f3ebabb710d78f273bf717380c2 /sbin | |
parent | 9e1f21a348a1ee4cd2f5caf7ed4863bae3c9cda6 (diff) | |
download | FreeBSD-src-b88877a7682e50dd644feb9eec8ea9f64123dcdc.zip FreeBSD-src-b88877a7682e50dd644feb9eec8ea9f64123dcdc.tar.gz |
MFC: add fragthreshold parameter and accept - (or any) for rtsthreshold
Approved by: re (kensmith)
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/ifconfig/ifieee80211.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sbin/ifconfig/ifieee80211.c b/sbin/ifconfig/ifieee80211.c index a32a2ab..8481a55 100644 --- a/sbin/ifconfig/ifieee80211.c +++ b/sbin/ifconfig/ifieee80211.c @@ -632,6 +632,13 @@ DECL_CMD_FUNC(set80211fragthreshold, val, d) isundefarg(val) ? IEEE80211_FRAG_MAX : atoi(val), 0, NULL); } +static +DECL_CMD_FUNC(set80211fragthreshold, val, d) +{ + set80211(s, IEEE80211_IOC_FRAGTHRESHOLD, + isundefarg(val) ? IEEE80211_FRAG_MAX : atoi(val), 0, NULL); +} + static int getmaxrate(uint8_t rates[15], uint8_t nrates) { |