[PATCH 5.10 128/133] wifi: iwlwifi: add a few rate index validity checks