linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Miri Korenblit <miriam.rachel.korenblit@intel.com>
To: johannes@sipsolutions.net
Cc: linux-wireless@vger.kernel.org,
	Anjaneyulu <pagadala.yesu.anjaneyulu@intel.com>
Subject: [PATCH 08/11] wifi: iwlwifi: mvm: Add support for PPAG cmd v6
Date: Mon, 15 Apr 2024 11:54:41 +0300	[thread overview]
Message-ID: <20240415114847.e1893fe24ea3.Ic84cf576de0883c2184c939bdfad4b110a8a1815@changeid> (raw)
In-Reply-To: <20240415085444.3840884-1-miriam.rachel.korenblit@intel.com>

From: Anjaneyulu <pagadala.yesu.anjaneyulu@intel.com>

Add support for enablement of PPAG for
 - VLP for 6 GHz mode in CANADA, USA and ETSI countries.
 - LPI for 6 GHz mode in CANADA.
 - SP for 6 GHz mode in CANADA, USA and ETSI countries.

Signed-off-by: Anjaneyulu <pagadala.yesu.anjaneyulu@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
---
 drivers/net/wireless/intel/iwlwifi/fw/api/power.h  | 2 +-
 drivers/net/wireless/intel/iwlwifi/fw/regulatory.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/wireless/intel/iwlwifi/fw/api/power.h b/drivers/net/wireless/intel/iwlwifi/fw/api/power.h
index ce18ef9d3128..8f84d4733b63 100644
--- a/drivers/net/wireless/intel/iwlwifi/fw/api/power.h
+++ b/drivers/net/wireless/intel/iwlwifi/fw/api/power.h
@@ -567,7 +567,7 @@ enum iwl_ppag_flags {
  * union iwl_ppag_table_cmd - union for all versions of PPAG command
  * @v1: version 1
  * @v2: version 2
- * version 3, 4 and 5 are the same structure as v2,
+ * version 3, 4, 5 and 6 are the same structure as v2,
  *	but has a different format of the flags bitmap
  * @flags: values from &enum iwl_ppag_flags
  * @gain: table of antenna gain values per chain and sub-band
diff --git a/drivers/net/wireless/intel/iwlwifi/fw/regulatory.c b/drivers/net/wireless/intel/iwlwifi/fw/regulatory.c
index a3bf16b8b5fd..6d4b9334702e 100644
--- a/drivers/net/wireless/intel/iwlwifi/fw/regulatory.c
+++ b/drivers/net/wireless/intel/iwlwifi/fw/regulatory.c
@@ -347,7 +347,7 @@ int iwl_fill_ppag_table(struct iwl_fw_runtime *fwrt,
 					"PPAG table rev is %d, send truncated table\n",
 					fwrt->ppag_ver);
 		}
-	} else if (cmd_ver >= 2 && cmd_ver <= 5) {
+	} else if (cmd_ver >= 2 && cmd_ver <= 6) {
 		num_sub_bands = IWL_NUM_SUB_BANDS_V2;
 		gain = cmd->v2.gain[0];
 		*cmd_size = sizeof(cmd->v2);
-- 
2.34.1


  parent reply	other threads:[~2024-04-15  8:55 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-15  8:54 [PATCH 00/11] wifi: iwlwifi: updates - 2024-04-15 Miri Korenblit
2024-04-15  8:54 ` [PATCH 01/11] wifi: iwlwifi: bump FW API to 91 for BZ/SC devices Miri Korenblit
2024-04-15  8:54 ` [PATCH 02/11] wifi: iwlwifi: mvm: Refactor tracking of scan UIDs Miri Korenblit
2024-04-15  8:54 ` [PATCH 03/11] wifi: iwlwifi: mvm: move phy band to nl80211 band helper Miri Korenblit
2024-04-15  8:54 ` [PATCH 04/11] wifi: iwlwifi: mvm: extend STEP URM workaround for new devices Miri Korenblit
2024-04-15  8:54 ` [PATCH 05/11] wifi: iwlwifi: move WTAS macro to api file Miri Korenblit
2024-04-15  8:54 ` [PATCH 06/11] wifi: iwlwifi: add a device ID for BZ-W Miri Korenblit
2024-04-15  8:54 ` [PATCH 07/11] wifi: iwlwifi: move lari_config handlig to regulatory Miri Korenblit
2024-04-15  8:54 ` Miri Korenblit [this message]
2024-04-15  8:54 ` [PATCH 09/11] wifi: iwlwifi: Add support for LARI_CONFIG_CHANGE_CMD v10 Miri Korenblit
2024-04-15  8:54 ` [PATCH 10/11] wifi: iwlwifi: mvm: remove old PASN station when adding a new one Miri Korenblit
2024-04-15  8:54 ` [PATCH 11/11] wifi: iwlwifi: mvm: return uid from iwl_mvm_build_scan_cmd Miri Korenblit

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240415114847.e1893fe24ea3.Ic84cf576de0883c2184c939bdfad4b110a8a1815@changeid \
    --to=miriam.rachel.korenblit@intel.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=pagadala.yesu.anjaneyulu@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).