diff options
author | sam <sam@FreeBSD.org> | 2007-11-02 05:22:25 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2007-11-02 05:22:25 +0000 |
commit | e6720edef5fd9a70a152ea6edfe19c4568c5cb74 (patch) | |
tree | 31ef816fec1ce8d9e6eb861a98c569ed24053ce5 /sys/net80211/ieee80211_freebsd.c | |
parent | 141114012a310427586190ec6c1ff78e7b0e6654 (diff) | |
download | FreeBSD-src-e6720edef5fd9a70a152ea6edfe19c4568c5cb74.zip FreeBSD-src-e6720edef5fd9a70a152ea6edfe19c4568c5cb74.tar.gz |
sync 11n support with vap code base; many changes based on interop
testing with all major vendors
MFC after: 1 week
Diffstat (limited to 'sys/net80211/ieee80211_freebsd.c')
-rw-r--r-- | sys/net80211/ieee80211_freebsd.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_freebsd.c b/sys/net80211/ieee80211_freebsd.c index f9c1abd..1cb7813 100644 --- a/sys/net80211/ieee80211_freebsd.c +++ b/sys/net80211/ieee80211_freebsd.c @@ -54,6 +54,27 @@ int ieee80211_debug = 0; SYSCTL_INT(_net_wlan, OID_AUTO, debug, CTLFLAG_RW, &ieee80211_debug, 0, "debugging printfs"); #endif +extern int ieee80211_recv_bar_ena; +SYSCTL_INT(_net_wlan, OID_AUTO, recv_bar, CTLFLAG_RW, &ieee80211_recv_bar_ena, + 0, "BAR frame processing (ena/dis)"); + +#ifdef IEEE80211_AMPDU_AGE +static int +ieee80211_sysctl_ampdu_age(SYSCTL_HANDLER_ARGS) +{ + extern int ieee80211_ampdu_age; + int ampdu_age = ticks_to_msecs(ieee80211_ampdu_age); + int error; + + error = sysctl_handle_int(oidp, &du_age, 0, req); + if (error || !req->newptr) + return error; + ieee80211_ampdu_age = msecs_to_ticks(ampdu_age); + return 0; +} +SYSCTL_PROC(_net_wlan, OID_AUTO, "ampdu_age", CTLFLAG_RW, NULL, 0, + ieee80211_sysctl_ampdu_age, "A", "AMPDU max reorder age (ms)"); +#endif static int ieee80211_sysctl_inact(SYSCTL_HANDLER_ARGS) |