Author: adrian
Date: Sat May 14 23:45:16 2016
New Revision: 299797
URL: https://svnweb.freebsd.org/changeset/base/299797

Log:
  [bwn] disable writing slottime timing out to improve performance.
  
  this is from b43 linux, there's a comment in there which notes
  one nic family suffers performance degredation with this being set.

Modified:
  head/sys/dev/bwn/if_bwn.c

Modified: head/sys/dev/bwn/if_bwn.c
==============================================================================
--- head/sys/dev/bwn/if_bwn.c   Sat May 14 23:44:30 2016        (r299796)
+++ head/sys/dev/bwn/if_bwn.c   Sat May 14 23:45:16 2016        (r299797)
@@ -6381,10 +6381,15 @@ static void
 bwn_set_slot_time(struct bwn_mac *mac, uint16_t time)
 {
 
+       /* XXX should exit if 5GHz band .. */
        if (mac->mac_phy.type != BWN_PHYTYPE_G)
                return;
+
        BWN_WRITE_2(mac, 0x684, 510 + time);
+       /* Disabled in Linux b43, can adversely effect performance */
+#if 0
        bwn_shm_write_2(mac, BWN_SHARED, 0x0010, time);
+#endif
 }
 
 static struct bwn_dma_ring *
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to