OSDN Git Service

iwlwifi: mvm: add explicit check for non-data frames in get Tx rate
authorKrishnanand Prabhu <krishnanand.prabhu@intel.com>
Sun, 17 Jan 2021 14:52:30 +0000 (16:52 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 5 Feb 2021 09:55:18 +0000 (11:55 +0200)
commit6761a718263a0cff8b31c30b61c92acc14db853f
tree6fdab0abe4abf094e4d292addf78a7e174c049f4
parent33fa519ac6184a73704dab877483daf2b5f8a279
iwlwifi: mvm: add explicit check for non-data frames in get Tx rate

In roaming flows and during reassociation, its possible that data frames
such as EAPOLs for 4 way handshake/ 802.1x authentication are initially set
to higher MCS rate. Though these are pruned down to a lower legacy rate
before sending to the FW, driver also emits a kernel warning - intended for
non-data frames. Add checks to avoid such warnings for data frames, while
also enhancing the debug data printed.

Signed-off-by: Krishnanand Prabhu <krishnanand.prabhu@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210117164916.d9ded010c4ce.Ie1d5a33d7175c0bcb35c10b5729748646671da31@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/tx.c