mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
wifi: iwlwifi: mvm: Add support for PPAG cmd v6
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> Link: https://msgid.link/20240415114847.e1893fe24ea3.Ic84cf576de0883c2184c939bdfad4b110a8a1815@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
committed by
Johannes Berg
parent
aa80f4844b
commit
c60fc06def
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user