PERFORCE change 117519 for review

Sam Leffler sam at FreeBSD.org
Fri Apr 6 16:46:03 UTC 2007


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

Change 117519 by sam at sam_ebb on 2007/04/06 16:45:13

	don't lock down ic_des_mode when operating as ap; this is
	no longer required because we can now completely specify
	a channel to use (including flags which used to sometimes
	be inferred by the curent mode)

Affected files ...

.. //depot/projects/wifi/sys/net80211/ieee80211.c#48 edit

Differences ...

==== //depot/projects/wifi/sys/net80211/ieee80211.c#48 (text+ko) ====

@@ -771,21 +771,6 @@
 		newopmode = IEEE80211_M_STA;
 
 	/*
-	 * Autoselect doesn't make sense when operating as an AP.
-	 * If no phy mode has been selected, pick one and lock it
-	 * down so rate tables can be used in forming beacon frames
-	 * and the like.
-	 */
-	if (newopmode == IEEE80211_M_HOSTAP &&
-	    newphymode == IEEE80211_MODE_AUTO) {
-		for (j = IEEE80211_MODE_11A; j < IEEE80211_MODE_MAX; j++)
-			if (isset(ic->ic_modecaps, j)) {
-				newphymode = j;
-				break;
-			}
-	}
-
-	/*
 	 * Handle phy mode change.
 	 */
 	if (ic->ic_des_mode != newphymode) {		/* change phy mode */


More information about the p4-projects mailing list