OSDN Git Service

iwlwifi: mvm: fix wrong DCM TLC config
authorShaul Triebitz <shaul.triebitz@intel.com>
Sun, 16 Sep 2018 06:58:15 +0000 (09:58 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 25 Jan 2019 18:57:19 +0000 (20:57 +0200)
commit7703238ef7e56b96eb0d23e629245b1d56241224
tree1c2775e2a6d7742de79d7db233345f651103902f
parent99be6166a4a0179b3a7e7986ea022136b812f95a
iwlwifi: mvm: fix wrong DCM TLC config

When configuring TLC DCM flag:
1. check the peer's RX DCM capabilities (since we TX)
2. do not set DCM_NSS_2 since we do not support it

Signed-off-by: Shaul Triebitz <shaul.triebitz@intel.com>
Fixes: 423584dd8060 ("iwlwifi: rs-fw: support dcm")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c