@@ -23,7 +23,8 @@ enum iwl_regulatory_and_nvm_subcmd_ids {
23
23
* &struct iwl_lari_config_change_cmd_v4,
24
24
* &struct iwl_lari_config_change_cmd_v5,
25
25
* &struct iwl_lari_config_change_cmd_v6,
26
- * &struct iwl_lari_config_change_cmd_v7 or
26
+ * &struct iwl_lari_config_change_cmd_v7,
27
+ * &struct iwl_lari_config_change_cmd_v10 or
27
28
* &struct iwl_lari_config_change_cmd
28
29
*/
29
30
LARI_CONFIG_CHANGE = 0x1 ,
@@ -648,7 +649,7 @@ struct iwl_lari_config_change_cmd_v7 {
648
649
/* LARI_CHANGE_CONF_CMD_S_VER_9 */
649
650
650
651
/**
651
- * struct iwl_lari_config_change_cmd - change LARI configuration
652
+ * struct iwl_lari_config_change_cmd_v10 - change LARI configuration
652
653
* @config_bitmap: Bitmap of the config commands. Each bit will trigger a
653
654
* different predefined FW config operation.
654
655
* @oem_uhb_allow_bitmap: Bitmap of UHB enabled MCC sets.
@@ -674,7 +675,7 @@ struct iwl_lari_config_change_cmd_v7 {
674
675
* bit1: enable 320Mhz in South Korea.
675
676
* bit 2 - 31: reserved.
676
677
*/
677
- struct iwl_lari_config_change_cmd {
678
+ struct iwl_lari_config_change_cmd_v10 {
678
679
__le32 config_bitmap ;
679
680
__le32 oem_uhb_allow_bitmap ;
680
681
__le32 oem_11ax_allow_bitmap ;
@@ -686,6 +687,51 @@ struct iwl_lari_config_change_cmd {
686
687
} __packed ;
687
688
/* LARI_CHANGE_CONF_CMD_S_VER_10 */
688
689
690
+ /**
691
+ * struct iwl_lari_config_change_cmd - change LARI configuration
692
+ * @config_bitmap: Bitmap of the config commands. Each bit will trigger a
693
+ * different predefined FW config operation.
694
+ * @oem_uhb_allow_bitmap: Bitmap of UHB enabled MCC sets.
695
+ * @oem_11ax_allow_bitmap: Bitmap of 11ax allowed MCCs. There are two bits
696
+ * per country, one to indicate whether to override and the other to
697
+ * indicate the value to use.
698
+ * @oem_unii4_allow_bitmap: Bitmap of unii4 allowed MCCs.There are two bits
699
+ * per country, one to indicate whether to override and the other to
700
+ * indicate allow/disallow unii4 channels.
701
+ * For LARI cmd version 11 - bits 0:5 are supported.
702
+ * @chan_state_active_bitmap: Bitmap to enable different bands per country
703
+ * or region.
704
+ * Each bit represents a country or region, and a band to activate
705
+ * according to the BIOS definitions.
706
+ * For LARI cmd version 11 - bits 0:4 are supported.
707
+ * @force_disable_channels_bitmap: Bitmap of disabled bands/channels.
708
+ * Each bit represents a set of channels in a specific band that should be
709
+ * disabled
710
+ * @edt_bitmap: Bitmap of energy detection threshold table.
711
+ * Disable/enable the EDT optimization method for different band.
712
+ * @oem_320mhz_allow_bitmap: 320Mhz bandwidth enablement bitmap per MCC.
713
+ * bit0: enable 320Mhz in Japan.
714
+ * bit1: enable 320Mhz in South Korea.
715
+ * bit 2 - 31: reserved.
716
+ * @oem_11be_allow_bitmap: Bitmap of 11be allowed MCCs. No need to mask out the
717
+ * unsupported bits
718
+ * bit0: enable 11be in China(CB/CN).
719
+ * bit1: enable 11be in South Korea.
720
+ * bit 2 - 31: reserved.
721
+ */
722
+ struct iwl_lari_config_change_cmd {
723
+ __le32 config_bitmap ;
724
+ __le32 oem_uhb_allow_bitmap ;
725
+ __le32 oem_11ax_allow_bitmap ;
726
+ __le32 oem_unii4_allow_bitmap ;
727
+ __le32 chan_state_active_bitmap ;
728
+ __le32 force_disable_channels_bitmap ;
729
+ __le32 edt_bitmap ;
730
+ __le32 oem_320mhz_allow_bitmap ;
731
+ __le32 oem_11be_allow_bitmap ;
732
+ } __packed ;
733
+ /* LARI_CHANGE_CONF_CMD_S_VER_11 */
734
+
689
735
/* Activate UNII-1 (5.2GHz) for World Wide */
690
736
#define ACTIVATE_5G2_IN_WW_MASK BIT(4)
691
737
0 commit comments