summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/intel/iwlwifi/fw/api/mac.h
diff options
context:
space:
mode:
authorDaniel Gabay <daniel.gabay@intel.com>2024-08-08 23:22:37 +0300
committerJohannes Berg <johannes.berg@intel.com>2024-08-27 10:28:54 +0200
commitb2a7c91bf93865a34e04707ef600c1c363d79125 (patch)
treee953ea2973a1890f2bfb017c582b4fc3e131364c /drivers/net/wireless/intel/iwlwifi/fw/api/mac.h
parent1524173a3745899612c71d9e83ff8fe29dbb2cfb (diff)
downloadlinux-b2a7c91bf93865a34e04707ef600c1c363d79125.tar.gz
linux-b2a7c91bf93865a34e04707ef600c1c363d79125.tar.bz2
linux-b2a7c91bf93865a34e04707ef600c1c363d79125.zip
wifi: iwlwifi: mvm: Offload RLC/SMPS functionality to firmware
Currently, the driver handles SMPS decisions by tracking AP capabilities, BT coexistence changes, sending necessary SMPS frames to the AP, and updating firmware with RX chain info using the RLC_CONFIG_CMD. Starting with version 3 of the RLC_CONFIG_CMD, the firmware takes over this responsibility. It now tracks SMPS, sends frames, and configures the RLC. In this patch: 1. Stop sending RLC_CONFIG_CMD when firmware supports RLC offload (version 3), as rlc.rx_chain_info is not needed by firmware, and no other field in the cmd is used. 2. Prevent the driver from forwarding any SMPS requests to mac80211, i.e., the driver should not transmit SMPS frames to the AP as firmware handles that. 3. Set NL80211_FEATURE_DYNAMIC_SMPS and NL80211_FEATURE_STATIC_SMPS conditionally based on RLC version. Signed-off-by: Daniel Gabay <daniel.gabay@intel.com> Reviewed-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://patch.msgid.link/20240808232017.45da23be1f65.I0d46db82dd990a82e8a66876fe2f5310bc9513be@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/fw/api/mac.h')
0 files changed, 0 insertions, 0 deletions