Skip to content

Commit c73ebc0

Browse files
committed
Miri Korenblit says: ==================== iwlwifi-next - iwlwifi features Mostly cleanups. A few fixes and small features. ==================== Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2 parents 5582cbd + e3ad987 commit c73ebc0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+782
-613
lines changed

MAINTAINERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12521,7 +12521,7 @@ M: Miri Korenblit <miriam.rachel.korenblit@intel.com>
1252112521
L: linux-wireless@vger.kernel.org
1252212522
S: Supported
1252312523
W: https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi
12524-
T: git git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi.git
12524+
T: git https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-next.git/
1252512525
F: drivers/net/wireless/intel/iwlwifi/
1252612526

1252712527
INTEL WMI SLIM BOOTLOADER (SBL) FIRMWARE UPDATE DRIVER

drivers/net/wireless/intel/iwlwifi/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ config IWLWIFI_OPMODE_MODULAR
9797
default y if IWLDVM=m
9898
default y if IWLMVM=m
9999
default y if IWLMLD=m
100+
default y if IWLWIFI_KUNIT_TESTS=m
100101

101102
comment "WARNING: iwlwifi is useless without IWLDVM or IWLMVM or IWLMLD"
102103
depends on IWLDVM=n && IWLMVM=n && IWLMLD=n

drivers/net/wireless/intel/iwlwifi/Makefile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ iwlwifi-objs += iwl-debug.o
77
iwlwifi-objs += iwl-nvm-utils.o
88
iwlwifi-objs += iwl-utils.o
99
iwlwifi-objs += iwl-phy-db.o iwl-nvm-parse.o
10-
iwlwifi-objs += pcie/drv.o pcie/rx.o pcie/tx.o pcie/trans.o
11-
iwlwifi-objs += pcie/ctxt-info.o pcie/ctxt-info-v2.o
12-
iwlwifi-objs += pcie/trans-gen2.o pcie/tx-gen2.o
10+
11+
# Bus
12+
iwlwifi-objs += pcie/ctxt-info.o pcie/ctxt-info-v2.o pcie/drv.o pcie/utils.o
13+
iwlwifi-objs += pcie/gen1_2/rx.o pcie/gen1_2/tx.o pcie/gen1_2/trans.o
14+
iwlwifi-objs += pcie/gen1_2/trans-gen2.o pcie/gen1_2/tx-gen2.o
1315

1416
CFLAGS_pcie/drv.o += -Wno-override-init
1517

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#define IWL_BZ_UCODE_API_MAX 99
1414

1515
/* Lowest firmware API version supported */
16-
#define IWL_BZ_UCODE_API_MIN 93
16+
#define IWL_BZ_UCODE_API_MIN 94
1717

1818
/* Memory offsets and lengths */
1919
#define IWL_BZ_SMEM_OFFSET 0x400000

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#define IWL_DR_UCODE_API_MAX 99
1313

1414
/* Lowest firmware API version supported */
15-
#define IWL_DR_UCODE_API_MIN 97
15+
#define IWL_DR_UCODE_API_MIN 98
1616

1717
/* Memory offsets and lengths */
1818
#define IWL_DR_SMEM_OFFSET 0x400000

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#define IWL_SC_UCODE_API_MAX 99
1414

1515
/* Lowest firmware API version supported */
16-
#define IWL_SC_UCODE_API_MIN 97
16+
#define IWL_SC_UCODE_API_MIN 98
1717

1818
/* NVM versions */
1919
#define IWL_SC_NVM_VERSION 0x0a1d

drivers/net/wireless/intel/iwlwifi/dvm/agn.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,8 @@ static inline void iwl_dvm_set_pmi(struct iwl_priv *priv, bool state)
397397
* returns a (newly allocated) struct containing all the
398398
* relevant values for driver use. The struct must be freed
399399
* later with iwl_free_nvm_data().
400+
*
401+
* Return: the parsed NVM data
400402
*/
401403
struct iwl_nvm_data *
402404
iwl_parse_eeprom_data(struct iwl_trans *trans, const struct iwl_rf_cfg *cfg,

drivers/net/wireless/intel/iwlwifi/dvm/commands.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
22
/*
3-
* Copyright (C) 2005-2014, 2023-2024 Intel Corporation
3+
* Copyright (C) 2005-2014, 2023-2025 Intel Corporation
44
*/
55
/*
66
* Please use this file (commands.h) only for uCode API definitions.
@@ -614,7 +614,7 @@ struct iwl_rxon_time_cmd {
614614
* REPLY_CHANNEL_SWITCH = 0x72 (command, has simple generic response)
615615
*/
616616
/**
617-
* struct iwl5000_channel_switch_cmd
617+
* struct iwl5000_channel_switch_cmd - channel switch command (5000 series)
618618
* @band: 0- 5.2GHz, 1- 2.4GHz
619619
* @expect_beacon: 0- resume transmits after channel switch
620620
* 1- wait for beacon to resume transmits
@@ -635,7 +635,7 @@ struct iwl5000_channel_switch_cmd {
635635
} __packed;
636636

637637
/**
638-
* struct iwl6000_channel_switch_cmd
638+
* struct iwl6000_channel_switch_cmd - channel switch command (6000 series)
639639
* @band: 0- 5.2GHz, 1- 2.4GHz
640640
* @expect_beacon: 0- resume transmits after channel switch
641641
* 1- wait for beacon to resume transmits
@@ -791,7 +791,7 @@ struct iwl_keyinfo {
791791
} __packed;
792792

793793
/**
794-
* struct sta_id_modify
794+
* struct sta_id_modify - station modify command
795795
* @addr: station's MAC address
796796
* @reserved1: reserved for alignment
797797
* @sta_id: index of station in uCode's station table
@@ -2026,7 +2026,7 @@ struct iwl_spectrum_notification {
20262026
u8 channel;
20272027
u8 type; /* see enum iwl_measurement_type */
20282028
u8 reserved1;
2029-
/* NOTE: cca_ofdm, cca_cck, basic_type, and histogram are only only
2029+
/* NOTE: cca_ofdm, cca_cck, basic_type, and histogram are only
20302030
* valid if applicable for measurement type requested. */
20312031
__le32 cca_ofdm; /* cca fraction time in 40Mhz clock periods */
20322032
__le32 cca_cck; /* cca fraction time in 44Mhz clock periods */
@@ -2992,7 +2992,7 @@ struct iwl_missed_beacon_notif {
29922992
#define SENSITIVITY_CMD_CONTROL_WORK_TABLE cpu_to_le16(1)
29932993

29942994
/**
2995-
* struct iwl_sensitivity_cmd
2995+
* struct iwl_sensitivity_cmd - sensitivity configuration command
29962996
* @control: (1) updates working table, (0) updates default table
29972997
* @table: energy threshold values, use HD_* as index into table
29982998
*
@@ -3848,7 +3848,7 @@ struct iwlagn_wowlan_status {
38483848
#define IWL_MIN_SLOT_TIME 20
38493849

38503850
/**
3851-
* struct iwl_wipan_slot
3851+
* struct iwl_wipan_slot - WiPAN slot configuration
38523852
* @width: Time in TU
38533853
* @type:
38543854
* 0 - BSS
@@ -3868,7 +3868,7 @@ struct iwl_wipan_slot {
38683868
#define IWL_WIPAN_PARAMS_FLG_FULL_SLOTTED_MODE BIT(5)
38693869

38703870
/**
3871-
* struct iwl_wipan_params_cmd
3871+
* struct iwl_wipan_params_cmd - WiPAN parameters
38723872
* @flags:
38733873
* bit0: reserved
38743874
* bit1: CP leave channel with CTS

drivers/net/wireless/intel/iwlwifi/dvm/dev.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ struct iwl_qos_info {
104104
};
105105

106106
/**
107-
* enum iwl_agg_state
107+
* enum iwl_agg_state - aggregation state
108108
*
109109
* The state machine of the BA agreement establishment / tear down.
110110
* These states relate to a specific RA / TID.
@@ -519,7 +519,7 @@ enum iwl_scan_type {
519519
};
520520

521521
/**
522-
* struct iwl_hw_params
522+
* struct iwl_hw_params - HW parameters
523523
*
524524
* Holds the module parameters
525525
*

drivers/net/wireless/intel/iwlwifi/dvm/devices.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ static void iwl1000_nic_config(struct iwl_priv *priv)
5555
* iwl_beacon_time_mask_low - mask of lower 32 bit of beacon time
5656
* @priv: pointer to iwl_priv data structure
5757
* @tsf_bits: number of bits need to shift for masking)
58+
* Return: low 32 bits of beacon time mask
5859
*/
5960
static inline u32 iwl_beacon_time_mask_low(struct iwl_priv *priv,
6061
u16 tsf_bits)
@@ -66,6 +67,7 @@ static inline u32 iwl_beacon_time_mask_low(struct iwl_priv *priv,
6667
* iwl_beacon_time_mask_high - mask of higher 32 bit of beacon time
6768
* @priv: pointer to iwl_priv data structure
6869
* @tsf_bits: number of bits need to shift for masking)
70+
* Return: high 32 bits of beacon time mask
6971
*/
7072
static inline u32 iwl_beacon_time_mask_high(struct iwl_priv *priv,
7173
u16 tsf_bits)

0 commit comments

Comments
 (0)