]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: drop UNKNOWN security type frames
authorSara Sharon <sara.sharon@intel.com>
Mon, 26 Mar 2018 10:07:03 +0000 (13:07 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 30 May 2018 06:08:06 +0000 (09:08 +0300)
commita43f62a0301a5a314f71279066f3d892642153a6
tree67dcc0c4436b043a655bbc18c1d81f12c8c4caef
parent2cab03e006cf2975e3faf896f29b6eab143f9a02
iwlwifi: mvm: drop UNKNOWN security type frames

In some cases we may get from FW errored frames with
UNKNOWN security type.

This may happen in unsecured aggregation flow, where
the first packet had a CRC error in the WEP bit, which
was followed by a failure to decrypt and was dropped.

The next frames in the aggregation "inherit" the bad metadata
of the first packet.

Make sure to drop such frames since RADA and other offloads
will not operate correctly which may have unexpected results.

In case of AP it also causes to TX AMSDU frames to the peers,
resulting with assert 0x104B.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/api/rx.h
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c