Skip to content

Commit 1fb053d

Browse files
jmberg-intelMiriam-Rachel
authored andcommitted
wifi: iwlwifi: cfg: remove unnecessary configs
Since there are two bytes hole in struct iwl_dev_info, add a subdev_mask to match with. Also, since the PCI IDs list needs to match first, and the dev-info list is matched from the bottom up, remove unnecessary entries. With this, even though there are new entries from previous changes, the overall size is slightly reduced. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://patch.msgid.link/20250502155404.689f9b335cbe.I66f1344b6ac7aa3665696637c97fa843c2307423@changeid
1 parent 2870c09 commit 1fb053d

File tree

2 files changed

+111
-559
lines changed

2 files changed

+111
-559
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,7 @@ struct iwl_cfg {
459459
struct iwl_dev_info {
460460
u16 device;
461461
u16 subdevice;
462+
u16 subdevice_mask;
462463
u16 rf_type;
463464
u8 mac_type;
464465
u8 bw_limit;

0 commit comments

Comments
 (0)