Fix typo.
Right now LOCK_DEBUG is enabled if KTR is on.
This is to support LOCK_LOG_* functionality effectively in debugging
environments but it is overkill because really LOCK_DEBUG should be on
only if (KTR_COMPILE & KTR_LOCK) is true.
Fix this by applying the correct logic.
In this process, move the KTR classes to its own header to reduce
namespace pollution.

Sponsored by:	EMC / Isilon storage division
Reviewed by:	jhb
maintain key set/delete order

update setting key functions
style(9) related changes
garbage collection
remove redundant register configurations
redo setting AMPDU buffer size
reduce the calling frequency of run_drain_fifo()
update writing beacon

* correct txop for beacon
* stop beacon Tx while updating beacon, otherwise beacon may corrupt
* clear leftover bits, just in case (new beacon maybe shorter)
add missing parentheses
prevent from using GF phy when there is a non-HT node
increase Tx ring count to 64

enough to prevent "tx ring full"
to prevent LORs, call some functions without holding driver lock
increment Tx seq # when passing packets to USB stack
Merge branch 'CURRENT' (commit 'b0719187')
Merge subtree 'usb-wlan' (commit 'b358edc8')