]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
wifi: iwlwifi: mvm: enable antenna selection for AX210 family
authorItamar Shalev <itamar.shalev@intel.com>
Mon, 9 Jun 2025 18:21:15 +0000 (21:21 +0300)
committerMiri Korenblit <miriam.rachel.korenblit@intel.com>
Wed, 25 Jun 2025 07:57:32 +0000 (10:57 +0300)
Support for the `set antenna` command on AX210 family.

Signed-off-by: Itamar Shalev <itamar.shalev@intel.com>
Tested-by: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250609211928.098c7bc296f6.I1cb4e99aa2f5a3852e24e2d32795bae3a4a73742@changeid
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c

index 0f056a6641bd48e80088790de2d5cf56182c61aa..f99dc8624bd16a4fa64b41e5a7c350ce83f436ed 100644 (file)
@@ -312,7 +312,8 @@ int iwl_mvm_op_set_antenna(struct ieee80211_hw *hw, u32 tx_ant, u32 rx_ant)
 
        /* This has been tested on those devices only */
        if (mvm->trans->mac_cfg->device_family != IWL_DEVICE_FAMILY_9000 &&
-           mvm->trans->mac_cfg->device_family != IWL_DEVICE_FAMILY_22000)
+           mvm->trans->mac_cfg->device_family != IWL_DEVICE_FAMILY_22000 &&
+           mvm->trans->mac_cfg->device_family != IWL_DEVICE_FAMILY_AX210)
                return -EOPNOTSUPP;
 
        if (!mvm->nvm_data)