Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Sep 2008 15:49:01 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 149118 for review
Message-ID:  <200809031549.m83Fn1x2001343@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=149118

Change 149118 by sam@sam_ebb on 2008/09/03 15:48:06

	return the negotiated ampdu density only for sta mode; for others
	we use the local configuration

Affected files ...

.. //depot/projects/vap/sys/net80211/ieee80211_ioctl.c#62 edit

Differences ...

==== //depot/projects/vap/sys/net80211/ieee80211_ioctl.c#62 (text+ko) ====

@@ -995,7 +995,8 @@
 			ireq->i_val = vap->iv_ampdu_limit;
 		break;
 	case IEEE80211_IOC_AMPDU_DENSITY:
-		if (vap->iv_state == IEEE80211_S_RUN)
+		if (vap->iv_opmode == IEEE80211_M_STA &&
+		    vap->iv_state == IEEE80211_S_RUN)
 			ireq->i_val = MS(vap->iv_bss->ni_htparam,
 			    IEEE80211_HTCAP_MPDUDENSITY);
 		else



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809031549.m83Fn1x2001343>