diff options
author | Stefan Sperling <stsp@cvs.openbsd.org> | 2016-01-06 19:56:51 +0000 |
---|---|---|
committer | Stefan Sperling <stsp@cvs.openbsd.org> | 2016-01-06 19:56:51 +0000 |
commit | d575727a699b5ec3165be3e08326b53b4e0cb80c (patch) | |
tree | 54f4a9517c3f5ead6fddf9299540da741c45543d /sys/dev | |
parent | 52b6752f60789fae7f60401ddd3c639f23a989a6 (diff) |
Initialize the A-MPDU parameters field in HT capability elements.
ok kettenis@
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/if_iwm.c | 3 | ||||
-rw-r--r-- | sys/dev/pci/if_iwn.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/pci/if_iwm.c b/sys/dev/pci/if_iwm.c index 25321a67828..ac84f2a832c 100644 --- a/sys/dev/pci/if_iwm.c +++ b/sys/dev/pci/if_iwm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_iwm.c,v 1.73 2016/01/06 09:15:31 stsp Exp $ */ +/* $OpenBSD: if_iwm.c,v 1.74 2016/01/06 19:56:50 stsp Exp $ */ /* * Copyright (c) 2014 genua mbh <info@genua.de> @@ -6778,6 +6778,7 @@ iwm_attach(struct device *parent, struct device *self, void *aux) ic->ic_htxcaps = 0; ic->ic_txbfcaps = 0; ic->ic_aselcaps = 0; + ic->ic_ampdu_params = IEEE80211_AMPDU_PARAM_SS_4; ic->ic_sup_rates[IEEE80211_MODE_11A] = ieee80211_std_rateset_11a; ic->ic_sup_rates[IEEE80211_MODE_11B] = ieee80211_std_rateset_11b; diff --git a/sys/dev/pci/if_iwn.c b/sys/dev/pci/if_iwn.c index cc7bf093c9c..84d91ad62f2 100644 --- a/sys/dev/pci/if_iwn.c +++ b/sys/dev/pci/if_iwn.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_iwn.c,v 1.151 2016/01/06 09:17:42 stsp Exp $ */ +/* $OpenBSD: if_iwn.c,v 1.152 2016/01/06 19:56:50 stsp Exp $ */ /*- * Copyright (c) 2007-2010 Damien Bergamini <damien.bergamini@free.fr> @@ -458,6 +458,7 @@ iwn_attach(struct device *parent, struct device *self, void *aux) ic->ic_htxcaps = 0; ic->ic_txbfcaps = 0; ic->ic_aselcaps = 0; + ic->ic_ampdu_params = IEEE80211_AMPDU_PARAM_SS_4; #ifdef notyet if (sc->sc_flags & IWN_FLAG_HAS_11N) { |