]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
wl1251: enforce changed hw encryption support on monitor state change
authorDavid Gnedt <david.gnedt@davizone.at>
Tue, 7 Jan 2014 12:11:27 +0000 (13:11 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 9 Jan 2014 15:56:37 +0000 (10:56 -0500)
commitb90a1165a72fabdc260abaa9eeadcbfd29e267eb
tree1923b8dd3291449b8df96b9ef2ca20ffd4523486
parent3d49da748bc957ec65aa80ab7322ca463d280466
wl1251: enforce changed hw encryption support on monitor state change

The firmware doesn't support per packet encryption selection, so disable hw
encryption support completely while a monitor interface is present to support
injection of packets (which shouldn't get encrypted by hw).
To enforce the changed hw encryption support force a disassociation on
non-monitor interfaces.
For disassociation a workaround using hw connection monitor is employed,
which temporary enables hw connection manager flag.

Signed-off-by: David Gnedt <david.gnedt@davizone.at>
Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ti/wl1251/main.c