LinuxKPI: 802.11: add the key mgmt for TKIP and extra checks for CCMP
Set iv/icv_len for TKIP as well.
Add checks for both TKIP and CCMP that we do not get any unexpected
or unimplemented flags back from KEY_SET.
Sponsored by: The FreeBSD Foundation
(cherry picked from commit 92942717fd4cdcfac4c51a46accd3e5ed532cdb7)
(cherry picked from commit 91716e8dc1a3452fecedc724e5ef0274413ce7a0)