Fix typo in various licenses: merchantibility -> merchantability
kernel: Use nitems() from <sys/param.h> instead of custom defineSince <sys/param.h> is already included in these files.
ath_hal: Avoid empty macros.Fix just two callsights to have a terminating semicolon (rest have it)and remove it from the macros.
kernel/ath_hal: Add missing header to fix build with -Wundef.
kernel/ath: Limit check index variables before using them.
kernel - Cleanup gcc warnings* Cleanup gcc warnings at higher optimization levels. This will allow us to build kernels -O2 or -O3.
Various typo and wording fixes.
kernel/ath: Fix building with AH_DEBUG.
wlan - Sync contrib/dev/ath from FreeBSD part 3/N* Make adjustments to contrib/dev/ath for DragonFly and fix C syntax bugs that fail with gcc-5.
wlan - Sync contrib/dev/ath from FreeBSD part 2/N* Sync contrib/dev/ath from FreeBSD, fbsd git dd885b9a0a0e, May 11 2016.
kern ath drivers: Fix loops bounds (real bug x2) + sourceThe ar9300 source had a couple of logic ambiguities causing[-Werror=logical-not-parenthesis] warnings. The other two used thewrong variab
kern ath drivers: Fix loops bounds (real bug x2) + sourceThe ar9300 source had a couple of logic ambiguities causing[-Werror=logical-not-parenthesis] warnings. The other two used thewrong variable for the upper bounds of the loop. I assume it wascorrect once but the code changed, and the author neglected to use thenext edges max value.
show more ...
kernel/ath - Synchronize with FreeBSD* Synchronize ath with FreeBSD.
ath - incremental update ar9300 from FreeBSD* Update to fbsd 61ad4c7509a280c218a389f91026136cec60708e (Aug 11 2014).* Minor adjustments to the ar9300 hal, plus sysctl support for forced cold
ath - incremental update ar9300 from FreeBSD* Update to fbsd 61ad4c7509a280c218a389f91026136cec60708e (Aug 11 2014).* Minor adjustments to the ar9300 hal, plus sysctl support for forced cold reset.
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 w
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.
Fix a number of typos in messages and manual pages.
kernel/ath: Make it compile into the kernel again and re-add to GENERIC.Full list of changes:* Adjust the 'files' file for changed ath_hal path and additional source.* Add options from FreeBS
kernel/ath: Make it compile into the kernel again and re-add to GENERIC.Full list of changes:* Adjust the 'files' file for changed ath_hal path and additional source.* Add options from FreeBSD and comment those out which are not compiling/used. Add the remaining ones to the LINT kernels for additional build checking.* Fix some typos in the ar9300 code.* Use ath_hal_ether_sprintf() where needed.* Add some casts to work around -Wenum-compare and -Wformat breakage.* Comment out some unused struct ifp's and FreeBSD's ktr.* Slightly readjust ATH_RXBUF and ATH_TXBUF handling to let the kernel options of the same name override the defaults. In the GENERIC kernel and module everything stays the same.* Use the (slightly better structured) FreeBSD Makefile for ath_hal.All kernels compile with ath(4) as of this commit.
ath - AR9300 Basic re-port, base code compile* printf->kprintf.* Minor compile fixes.
ath - Reimport fresh from FreeBSD 01-Jan-2014 for re-port* Bring in ar9300 contrib files
Open source ath(4) HAL code.Submitted-by: Alexander Polakov <polachok@gmail.com>Obtained-from: FreeBSD 7.2
- Add noise floor to stats- Include current tx rate in stats- Remove stub radar support- Update ath_hal(4) to 0.9.20.3: o Add support for newer parts that do not require separate keycache
- Add noise floor to stats- Include current tx rate in stats- Remove stub radar support- Update ath_hal(4) to 0.9.20.3: o Add support for newer parts that do not require separate keycache entries for tx+rx mic keys o No more ds_vdata in tx/rx descriptors o Split h/w tx/rx descriptor from s/w status o As part of the descriptor split change the rate control module API so the ath_buf is passed in to the module so it can fetch both descriptor and status information as needed- Replace replace h/w descriptor struct's with proper mask+shift defs for ath(4) sample TX rate control algorithm.- Due to the license change in ah_osdep.[ch] (now dual-BSD/GPL), move them out of sys/contrib/dev/ath/dragonfly and put them into sys/dev/ath/ath- Nuke the local patch for ah_osdep.c, ah_osdep.c can be modified directly.Obtained-from: FreeBSD (sam@freebsd.org)
Rename printf -> kprintf in sys/ and add some defines where necessary(files which are used in userland, too).
Rename kvprintf -> kvcprintf (call-back version)Rename vprintf -> kvprintfRename vsprintf -> kvsprintfRename vsnprintf -> kvsnprintf
Do a major clean-up of the BUSDMA architecture. A large number ofessentially machine-independant drivers use the structures and definitionsin machine-dependant directories that are really machine-
Do a major clean-up of the BUSDMA architecture. A large number ofessentially machine-independant drivers use the structures and definitionsin machine-dependant directories that are really machine-independant innature.Split <machine/bus_dma.h> into machine-depdendant and machine-independant partsand make the primary access run through <sys/bus_dma.h>.Remove <machine/bus.h>, <machine/bus_memio.h> and <machine/bus_pio.h>. Theoptimizations related to bus_memio.h and bus_pio.h made a huge mess,introduced machine-specific knowledge into essentially machine-independantdrivers, and required specific #include file orderings to do their job.They may be reintroduced in some other form later on.Move <machine/resource.h> to <sys/bus_resource.h>. The contents of the fileis machine-independant or can be made a superset across many platforms.Make <sys/bus.h> include <sys/bus_dma.h> and <sys/bus_resource.h> andinclude <sys/bus.h> where necessary. Remove all #include's of<machine/resource.h> and <machine/bus.h>. That is, make the BUSDMAinfrastructure integral to I/O-mapped and memory-mapped accesses to devicesand remove a large chunk of machine-specific dependancies from drivers.bus_if.h and device_if.h are now required to be present when using <sys/bus.h>.
Rename malloc->kmalloc, free->kfree, and realloc->krealloc. Pass 1
12