MFC: add fragthreshold parameter and accept - (or any) for rtsthreshold
Approved by: re (kensmith)
This commit is contained in:
parent
ab8ab90c5b
commit
4e5771359e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=148553
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user