wl12xx: fix Tx security sequence number handling
authorOz Krakowski <ozk@ti.com>
Sun, 26 Jun 2011 07:36:02 +0000 (10:36 +0300)
committerLuciano Coelho <coelho@ti.com>
Tue, 5 Jul 2011 18:33:19 +0000 (21:33 +0300)
Do not reset the security sequence number when issuing a join command or
interface is removed. Instead, reset the counter only during the unjoin
command.

Added the notion of counter wrap-around to the LSB number in
wl1271_tx_complete_packet.

Added post recovery padding to adjust for potential security number
progress during the recovery process by the firmware and avoid
potential interop issues in encrypted networks.

Signed-off-by: Oz Krakowski <ozk@ti.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>

No differences found