]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Various iwn(4) fixes.
authorAdrian Chadd <adrian@FreeBSD.org>
Sat, 16 May 2015 05:59:25 +0000 (05:59 +0000)
committerAdrian Chadd <adrian@FreeBSD.org>
Sat, 16 May 2015 05:59:25 +0000 (05:59 +0000)
commit64b9bdcf18c60c056310723c8eacdb2e7e6640a4
tree463268c1f5e09bfa82ca85cf0a3daf140c660c2c
parent0e4ebe6c4d3d8575dc9beaae80e44b44e626191d
Various iwn(4) fixes.

* simplify channel logic for determining RF gain setting in scan setup
* don't set TX timer on error
* free node references for unsent frames on device stop
* set maxfrags to IWN_MAX_SCATTER-1 (first segment is used by TX command)
* add missing IWN_UNLOCK() from interrupt path when the hardware
  disappears.
* pass control frames to host
* nitems() instead of local macro

Tested:

* Intel 5100, STA mode

PR: kern/196264
Submitted by: Andriy Voskoboinyk <s3erios@gmail.com>
sys/dev/iwn/if_iwn.c