OSDN Git Service

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)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 2 Mar 2018 08:20:02 +0000 (10:20 +0200)
commit6508de0305d560235b366cc2cc98f7bcfb029e92
tree8ed239397c108311e1438075975eabbaee704633
parent7c305de2b9548ab6b65fce342c78618bbed5db73
iwlwifi: mvm: Correctly set the tid for mcast queue

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>
drivers/net/wireless/intel/iwlwifi/mvm/sta.c