wifi: iwlwifi: bump core version for BZ/SC/DR

Start supporting Core 100 FW on those devices.
In addition, the move to the new Core scheme (instead of API scheme)
will start Core 100 and not 99, as planned. Adjust for that as well.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20251019114304.00c28b4259da.Idd6281cd647f1b33f2572a8c107c3a3228e03665@changeid
This commit is contained in:
Johannes Berg
2025-10-19 11:45:09 +03:00
committed by Miri Korenblit
parent f67cf9aaae
commit 50d0cafec6
4 changed files with 5 additions and 5 deletions

View File

@@ -10,7 +10,7 @@
#include "fw/api/txq.h"
/* Highest firmware core release supported */
#define IWL_BZ_UCODE_CORE_MAX 99
#define IWL_BZ_UCODE_CORE_MAX 100
/* Lowest firmware API version supported */
#define IWL_BZ_UCODE_API_MIN 100

View File

@@ -9,7 +9,7 @@
#include "fw/api/txq.h"
/* Highest firmware core release supported */
#define IWL_DR_UCODE_CORE_MAX 99
#define IWL_DR_UCODE_CORE_MAX 100
/* Lowest firmware API version supported */
#define IWL_DR_UCODE_API_MIN 100

View File

@@ -10,7 +10,7 @@
#include "fw/api/txq.h"
/* Highest firmware core release supported */
#define IWL_SC_UCODE_CORE_MAX 99
#define IWL_SC_UCODE_CORE_MAX 100
/* Lowest firmware API version supported */
#define IWL_SC_UCODE_API_MIN 100

View File

@@ -348,8 +348,8 @@ static int iwl_request_firmware(struct iwl_drv *drv, bool first)
if (first)
drv->fw_index = ucode_api_max;
else if (drv->fw_index == ENCODE_CORE_AS_API(99))
drv->fw_index = 101; /* last API-scheme number below core 99 */
else if (drv->fw_index == ENCODE_CORE_AS_API(100))
drv->fw_index = 102; /* last API-scheme number below core 100 */
else
drv->fw_index--;