Skip to content

Commit 6795a37

Browse files
DanielAmosiInteljmberg-intel
authored andcommitted
wifi: iwlwifi: Print a specific device name.
For FM and GL, the name printed on the logs was "TBD". Change that to print the accurate name. Signed-off-by: Daniel Amosi <[email protected]> Signed-off-by: Miri Korenblit <[email protected]> Link: https://msgid.link/20240320232419.6fc9ad1396ca.I207626ce5e2ada170a7c01dccf5226110d09f135@changeid Signed-off-by: Johannes Berg <[email protected]>
1 parent 21317d1 commit 6795a37

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

drivers/net/wireless/intel/iwlwifi/cfg/bz.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ const struct iwl_cfg_trans_params iwl_bz_trans_cfg = {
149149
};
150150

151151
const char iwl_bz_name[] = "Intel(R) TBD Bz device";
152+
const char iwl_fm_name[] = "Intel(R) Wi-Fi 7 BE201 320MHz";
153+
const char iwl_gl_name[] = "Intel(R) Wi-Fi 7 BE200 320MHz";
152154
const char iwl_mtp_name[] = "Intel(R) Wi-Fi 7 BE202 160MHz";
153155

154156
const struct iwl_cfg iwl_cfg_bz = {

drivers/net/wireless/intel/iwlwifi/iwl-config.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,8 @@ extern const char iwl_ax221_name[];
541541
extern const char iwl_ax231_name[];
542542
extern const char iwl_ax411_name[];
543543
extern const char iwl_bz_name[];
544+
extern const char iwl_fm_name[];
545+
extern const char iwl_gl_name[];
544546
extern const char iwl_mtp_name[];
545547
extern const char iwl_sc_name[];
546548
extern const char iwl_sc2_name[];

drivers/net/wireless/intel/iwlwifi/pcie/drv.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -997,18 +997,19 @@ VISIBLE_IF_IWLWIFI_KUNIT const struct iwl_dev_info iwl_dev_info_table[] = {
997997
iwlax411_2ax_cfg_so_gf4_a0, iwl_ax411_name),
998998

999999
/* Bz */
1000+
/* FIXME: need to change the naming according to the actual CRF */
10001001
_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
10011002
IWL_CFG_MAC_TYPE_BZ, IWL_CFG_ANY,
10021003
IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_ANY,
10031004
IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_ANY,
1004-
iwl_cfg_bz, iwl_bz_name),
1005+
iwl_cfg_bz, iwl_fm_name),
10051006

10061007
/* Ga (Gl) */
10071008
_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
10081009
IWL_CFG_MAC_TYPE_GL, IWL_CFG_ANY,
10091010
IWL_CFG_RF_TYPE_FM, IWL_CFG_ANY, IWL_CFG_ANY,
10101011
IWL_CFG_320, IWL_CFG_ANY, IWL_CFG_NO_CDB,
1011-
iwl_cfg_gl, iwl_bz_name),
1012+
iwl_cfg_gl, iwl_gl_name),
10121013
_IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
10131014
IWL_CFG_MAC_TYPE_GL, IWL_CFG_ANY,
10141015
IWL_CFG_RF_TYPE_FM, IWL_CFG_ANY, IWL_CFG_ANY,

0 commit comments

Comments
 (0)