PERFORCE change 149118 for review

Sam Leffler sam at FreeBSD.org
Wed Sep 3 15:49:02 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=149118

Change 149118 by sam at 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


More information about the p4-projects mailing list