File tree Expand file tree Collapse file tree 3 files changed +11
-10
lines changed
drivers/net/wireless/intel/iwlwifi Expand file tree Collapse file tree 3 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -46,9 +46,9 @@ enum iwl_regulatory_and_nvm_subcmd_ids {
46
46
SAR_OFFSET_MAPPING_TABLE_CMD = 0x4 ,
47
47
48
48
/**
49
- * @UATS_TABLE_CMD : &struct iwl_uats_table_cmd
49
+ * @MCC_ALLOWED_AP_TYPE_CMD : &struct iwl_mcc_allowed_ap_type_cmd
50
50
*/
51
- UATS_TABLE_CMD = 0x5 ,
51
+ MCC_ALLOWED_AP_TYPE_CMD = 0x5 ,
52
52
53
53
/**
54
54
* @PNVM_INIT_COMPLETE_NTFY: &struct iwl_pnvm_init_complete_ntfy
@@ -701,13 +701,13 @@ struct iwl_pnvm_init_complete_ntfy {
701
701
#define UATS_TABLE_COL_SIZE 13
702
702
703
703
/**
704
- * struct iwl_uats_table_cmd - struct for UATS_TABLE_CMD
704
+ * struct iwl_mcc_allowed_ap_type_cmd - struct for MCC_ALLOWED_AP_TYPE_CMD
705
705
* @offset_map: mapping a mcc to UHB AP type support (UATS) allowed
706
706
* @reserved: reserved
707
707
*/
708
- struct iwl_uats_table_cmd {
708
+ struct iwl_mcc_allowed_ap_type_cmd {
709
709
u8 offset_map [UATS_TABLE_ROW_SIZE ][UATS_TABLE_COL_SIZE ];
710
710
__le16 reserved ;
711
- } __packed ; /* UATS_TABLE_CMD_S_VER_1 */
711
+ } __packed ; /* MCC_ALLOWED_AP_TYPE_CMD_API_S_VER_1 */
712
712
713
713
#endif /* __iwl_fw_api_nvm_reg_h__ */
Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ struct iwl_fw_runtime {
182
182
u8 ppag_ver ;
183
183
struct iwl_sar_offset_mapping_cmd sgom_table ;
184
184
bool sgom_enabled ;
185
- struct iwl_uats_table_cmd uats_table ;
185
+ struct iwl_mcc_allowed_ap_type_cmd uats_table ;
186
186
u8 uefi_tables_lock_status ;
187
187
bool uats_enabled ;
188
188
};
Original file line number Diff line number Diff line change @@ -494,7 +494,7 @@ static void iwl_mvm_uats_init(struct iwl_mvm *mvm)
494
494
int ret ;
495
495
struct iwl_host_cmd cmd = {
496
496
.id = WIDE_ID (REGULATORY_AND_NVM_GROUP ,
497
- UATS_TABLE_CMD ),
497
+ MCC_ALLOWED_AP_TYPE_CMD ),
498
498
.flags = 0 ,
499
499
.data [0 ] = & mvm -> fwrt .uats_table ,
500
500
.len [0 ] = sizeof (mvm -> fwrt .uats_table ),
@@ -516,7 +516,7 @@ static void iwl_mvm_uats_init(struct iwl_mvm *mvm)
516
516
IWL_FW_CMD_VER_UNKNOWN );
517
517
if (cmd_ver != 1 ) {
518
518
IWL_DEBUG_RADIO (mvm ,
519
- "UATS_TABLE_CMD ver %d not supported\n" ,
519
+ "MCC_ALLOWED_AP_TYPE_CMD ver %d not supported\n" ,
520
520
cmd_ver );
521
521
return ;
522
522
}
@@ -529,9 +529,10 @@ static void iwl_mvm_uats_init(struct iwl_mvm *mvm)
529
529
530
530
ret = iwl_mvm_send_cmd (mvm , & cmd );
531
531
if (ret < 0 )
532
- IWL_ERR (mvm , "failed to send UATS_TABLE_CMD (%d)\n" , ret );
532
+ IWL_ERR (mvm , "failed to send MCC_ALLOWED_AP_TYPE_CMD (%d)\n" ,
533
+ ret );
533
534
else
534
- IWL_DEBUG_RADIO (mvm , "UATS_TABLE_CMD sent to FW\n" );
535
+ IWL_DEBUG_RADIO (mvm , "MCC_ALLOWED_AP_TYPE_CMD sent to FW\n" );
535
536
}
536
537
537
538
static int iwl_mvm_sgom_init (struct iwl_mvm * mvm )
You can’t perform that action at this time.
0 commit comments