OSDN Git Service

iwlwifi: mvm: support RLC configuration command
authorJohannes Berg <johannes.berg@intel.com>
Sat, 4 Dec 2021 06:35:52 +0000 (08:35 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 7 Dec 2021 18:06:35 +0000 (20:06 +0200)
commitc48e93a65487aedc9334bcaec4abce63e204241f
treee2a881b7e529844826d784790c39b6d93aa963ed
parent2dc977423cbf762bbc6a7237b4294a9099ad10d3
iwlwifi: mvm: support RLC configuration command

There's an RLC configuration command in the firmware that's
going to replace the chain information in the PHY context.
Add support for this command, while leaving the PHY context
fields unset when we know the RLC command will be used.

Also add support to send only the RLC configuration command
if only the # of chains used on the PHY context changes.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20211204083238.55faa3782bb0.I3f9d0071e680cab513c59b093d0827af99d41c51@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/api/datapath.h
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h
drivers/net/wireless/intel/iwlwifi/mvm/ops.c
drivers/net/wireless/intel/iwlwifi/mvm/phy-ctxt.c