iwlwifi: mvm: Correctly set the tid for mcast queue
authorIlan Peer <ilan.peer@intel.com>
Thu, 25 Jan 2018 13:22:41 +0000 (15:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 May 2018 05:52:10 +0000 (07:52 +0200)
commit2b6e7f2ff81a612cce9cccfc64264b8598fa4b4e
tree169eb658d0ae2edba599ef6b512bfaeffe3cce73
parent3f2eb4ded1ecb3853c2f0a4fc802fab0b36afb32
iwlwifi: mvm: Correctly set the tid for mcast queue

[ Upstream commit 6508de0305d560235b366cc2cc98f7bcfb029e92 ]

In the scheduler config command, the meaning of tid == 0xf was intended
to indicate the configuration is for management frames. However,
tid == 0xf was also used for the multicast queue that was meant only
for multicast data frames, which resulted with the FW not encrypting
multicast data frames.

As multicast frames do not have a QoS header, fix this by setting
tid == 0, to indicate that this is a data queue and not management
one.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/intel/iwlwifi/mvm/sta.c