ifnet: Allow drivers to adjust mbuf cluster/jcluster limits This is mainly for raising mbuf clusters/jclusters limits to a high enough value for device reception queues, e.g. modern network devices w/ multiple reception queues and each reception queue could consume >=512 mbuf clusters.
wlan: Let driver holds WLAN serializer for ieee80211_ifattach Looks like almost all building drivers (except, ndis(4) and wpi(4)) hold WLAN serializer for ieee80211_ifattach(), so we release the WLAN serializer in ieee80211_ifattach() before the if_attach(). This reverts 4109d03b12096f353e4036119a0d6357fa1ec67e and part of a583ece6b440118aa26f3eb162a1df7f2821f923. Reported-by: marino@
wlan/atheros - Synchronize sleep state code from FreeBSD * Synchronize Adrian Chadd's sleep state code and wlan updates. * With this commit if the wlan or ath interface is in a 'down' state, it will use full sleep mode and save power. * We get all of ATH through today but the 802_11 changes are a bit too substantial so this commit only brings in the sleep state code through today (3-May-2014). * There is a bunch of other 802_11 work that needs to be brought in but it's like 20,000 lines of patches so... not today. * Verified operational on Acer C720 chromebook. full-sleep mode saves 0.3-0.4W. Network sleep mode code is also verified to be operational but does not appear to save any power at the moment. Also verified: beacons are working properly for wakeups on packet reception.
kernel/802_11: More ratectl fixes (fixes an ath(4) panic). Set the default rate control algorithm to NONE instead of AMRR and add some missing ieee80211_ratectl_node_init()s which I had overlooked earlier. Reported-by: Johannes Hofmann <johannes.hofmann@gmx.de> Tested-by: Imre Vadasz <imre@vdsz.com>