Author: adrian
Date: Thu Jun 14 04:14:06 2012
New Revision: 237043
URL: http://svn.freebsd.org/changeset/base/237043

Log:
  Disable BGSCAN for 802.11n for now.  Until scanning during traffic is
  fixed for 802.11n TX, this needs to be disabled or users wlil see randomly
  hanging aggregation sessions.
  
  Whilst I'm here, remove the warning about 802.11n being full of dragons.
  It's nowhere near that scary now.

Modified:
  head/sys/dev/ath/if_ath.c

Modified: head/sys/dev/ath/if_ath.c
==============================================================================
--- head/sys/dev/ath/if_ath.c   Thu Jun 14 04:09:20 2012        (r237042)
+++ head/sys/dev/ath/if_ath.c   Thu Jun 14 04:14:06 2012        (r237043)
@@ -524,7 +524,9 @@ ath_attach(u_int16_t devid, struct ath_s
                | IEEE80211_C_SHPREAMBLE        /* short preamble supported */
                | IEEE80211_C_SHSLOT            /* short slot time supported */
                | IEEE80211_C_WPA               /* capable of WPA1+WPA2 */
+#ifndef        ATH_ENABLE_11N
                | IEEE80211_C_BGSCAN            /* capable of bg scanning */
+#endif
                | IEEE80211_C_TXFRAG            /* handle tx frags */
 #ifdef ATH_ENABLE_DFS
                | IEEE80211_C_DFS               /* Enable radar detection */
@@ -660,12 +662,6 @@ ath_attach(u_int16_t devid, struct ath_s
                (void) ath_hal_settxchainmask(sc->sc_ah, tx_chainmask);
        }
 
-       /*
-        * The if_ath 11n support is completely not ready for normal use.
-        * Enabling this option will likely break everything and everything.
-        * Don't think of doing that unless you know what you're doing.
-        */
-
 #ifdef ATH_ENABLE_11N
        /*
         * Query HT capabilities
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to