mirror of
https://github.com/opnsense/src.git
synced 2026-07-15 20:13:02 -04:00
MFC: add fragthreshold parameter and accept - (or any) for rtsthreshold
Approved by: re (kensmith)
This commit is contained in:
parent
ab8ab90c5b
commit
4e5771359e
1 changed files with 7 additions and 0 deletions
|
|
@ -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 a new issue