Changeset View
Changeset View
Standalone View
Standalone View
sys/net80211/ieee80211_ht.c
Show First 20 Lines • Show All 133 Lines • ▼ Show 20 Lines | const struct ieee80211_mcs_rates ieee80211_htrates[IEEE80211_HTRATE_MAXSIZE] = { | ||||
{ 312, 347, 648, 720 }, /* MCS 72 */ | { 312, 347, 648, 720 }, /* MCS 72 */ | ||||
{ 351, 390, 729, 810 }, /* MCS 73 */ | { 351, 390, 729, 810 }, /* MCS 73 */ | ||||
{ 390, 433, 810, 900 }, /* MCS 74 */ | { 390, 433, 810, 900 }, /* MCS 74 */ | ||||
{ 390, 433, 810, 900 }, /* MCS 75 */ | { 390, 433, 810, 900 }, /* MCS 75 */ | ||||
{ 429, 477, 891, 990 }, /* MCS 76 */ | { 429, 477, 891, 990 }, /* MCS 76 */ | ||||
}; | }; | ||||
static int ieee80211_ampdu_age = -1; /* threshold for ampdu reorder q (ms) */ | static int ieee80211_ampdu_age = -1; /* threshold for ampdu reorder q (ms) */ | ||||
SYSCTL_PROC(_net_wlan, OID_AUTO, ampdu_age, CTLTYPE_INT | CTLFLAG_RW, | SYSCTL_PROC(_net_wlan, OID_AUTO, ampdu_age, | ||||
CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_NEEDGIANT, | |||||
&ieee80211_ampdu_age, 0, ieee80211_sysctl_msecs_ticks, "I", | &ieee80211_ampdu_age, 0, ieee80211_sysctl_msecs_ticks, "I", | ||||
"AMPDU max reorder age (ms)"); | "AMPDU max reorder age (ms)"); | ||||
static int ieee80211_recv_bar_ena = 1; | static int ieee80211_recv_bar_ena = 1; | ||||
SYSCTL_INT(_net_wlan, OID_AUTO, recv_bar, CTLFLAG_RW, &ieee80211_recv_bar_ena, | SYSCTL_INT(_net_wlan, OID_AUTO, recv_bar, CTLFLAG_RW, &ieee80211_recv_bar_ena, | ||||
0, "BAR frame processing (ena/dis)"); | 0, "BAR frame processing (ena/dis)"); | ||||
static int ieee80211_addba_timeout = -1;/* timeout for ADDBA response */ | static int ieee80211_addba_timeout = -1;/* timeout for ADDBA response */ | ||||
SYSCTL_PROC(_net_wlan, OID_AUTO, addba_timeout, CTLTYPE_INT | CTLFLAG_RW, | SYSCTL_PROC(_net_wlan, OID_AUTO, addba_timeout, | ||||
CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_NEEDGIANT, | |||||
&ieee80211_addba_timeout, 0, ieee80211_sysctl_msecs_ticks, "I", | &ieee80211_addba_timeout, 0, ieee80211_sysctl_msecs_ticks, "I", | ||||
"ADDBA request timeout (ms)"); | "ADDBA request timeout (ms)"); | ||||
static int ieee80211_addba_backoff = -1;/* backoff after max ADDBA requests */ | static int ieee80211_addba_backoff = -1;/* backoff after max ADDBA requests */ | ||||
SYSCTL_PROC(_net_wlan, OID_AUTO, addba_backoff, CTLTYPE_INT | CTLFLAG_RW, | SYSCTL_PROC(_net_wlan, OID_AUTO, addba_backoff, | ||||
CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_NEEDGIANT, | |||||
&ieee80211_addba_backoff, 0, ieee80211_sysctl_msecs_ticks, "I", | &ieee80211_addba_backoff, 0, ieee80211_sysctl_msecs_ticks, "I", | ||||
"ADDBA request backoff (ms)"); | "ADDBA request backoff (ms)"); | ||||
static int ieee80211_addba_maxtries = 3;/* max ADDBA requests before backoff */ | static int ieee80211_addba_maxtries = 3;/* max ADDBA requests before backoff */ | ||||
SYSCTL_INT(_net_wlan, OID_AUTO, addba_maxtries, CTLFLAG_RW, | SYSCTL_INT(_net_wlan, OID_AUTO, addba_maxtries, CTLFLAG_RW, | ||||
&ieee80211_addba_maxtries, 0, "max ADDBA requests sent before backoff"); | &ieee80211_addba_maxtries, 0, "max ADDBA requests sent before backoff"); | ||||
static int ieee80211_bar_timeout = -1; /* timeout waiting for BAR response */ | static int ieee80211_bar_timeout = -1; /* timeout waiting for BAR response */ | ||||
static int ieee80211_bar_maxtries = 50;/* max BAR requests before DELBA */ | static int ieee80211_bar_maxtries = 50;/* max BAR requests before DELBA */ | ||||
static ieee80211_recv_action_func ht_recv_action_ba_addba_request; | static ieee80211_recv_action_func ht_recv_action_ba_addba_request; | ||||
▲ Show 20 Lines • Show All 3,213 Lines • Show Last 20 Lines |