Skip to content

Commit 1c58274

Browse files
author
CKI KWF Bot
committed
Merge: Wireless core and drivers rebase to v6.16
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/1606 JIRA: https://issues.redhat.com/browse/RHEL-122256 Tested: basic testing with several supported WiFi cards (Intel, Qualcomm, Mediatek and Realtek). Wireless core and drivers update to v6.16. Upstream status: linux.git Depends: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/1603 This fixes will be included in the rebase to 6.17 (dependency): Omitted-fix: 9359816 wifi: iwlwifi: mvm: assume '1' as the default mac_config_cmd version Omitted-fix: b3a431f wifi: mt76: mt7925: fix off by one in mt7925_mcu_hw_scan() Omitted-fix: 22c55fb wifi: ath12k: Set EMLSR support flag in MLO flags for EML-capable stations Omitted-fix: 46345ed wifi: iwlwifi: Fix botched indexing conversion Omitted-fix: 1fe44a8 wifi: cfg80211: fix S1G beacon head validation in nl80211 Omitted-fix: 79390f6 wifi: ath12k: use plain access for descriptor length Omitted-fix: 4aba95f wifi: ath11k: use plain accesses for monitor descriptor Omitted-fix: 3a690e9 wifi: ath11k: use plain access for descriptor length Omitted-fix: 0ce92d5 wifi: iwlwifi: mld: Revert "wifi: iwlwifi: mld: add kunit test for emlsr with bt on" Omitted-fix: 7cc5f89 wifi: iwlwifi: mld: Revert "wifi: iwlwifi: mld: allow EMLSR with 2.4 GHz when BT is ON" Omitted-fix: b79742b wifi: ath12k: Enable REO queue lookup table feature on QCN9274 hw2.0 Omitted-fix: 204bb85 wifi: brcmfmac: cyw: Fix __counted_by to be LE variant Omitted-fix: f2d7c3c wifi: brcmfmac: fix EXTSAE WPA3 connection failure due to AUTH TX failure Omitted-fix: 586e3cb wifi: iwlwifi: fix byte count table for old devices Omitted-fix: a38108a wifi: iwlwifi: pcie: fix byte count table for some devices Omitted-fix: 22e6bdb wifi: iwlwifi: cfg: restore some 1000 series configs Omitted-fix: 019f71a wifi: iwlwifi: cfg: add back more lost PCI IDs Omitted-fix: 2682e7a wifi: iwlwifi: fix 130/1030 configs Omitted-fix: e5d110f wifi: iwlwifi: pcie: fix locking on invalid TOP reset Omitted-fix: 9975aee wifi: mac80211: use RCU-safe iteration in ieee80211_csa_finish Omitted-fix: 437c7a2 wifi: ath12k: update channel list in worker when wait flag is set Omitted-fix: c4825d5 wifi: ath12k: bring DFS support back for WCN7850 Omitted-fix: afcefc5 wifi: ath12k: Fix packets received in WBM error ring with REO LUT enabled Omitted-fix: 8f94804 wifi: ath11k: fix suspend use-after-free after probe failure Omitted-fix: 36b75dc wifi: mac80211: consider links for validating SCAN_FLAG_AP in scan request during MLO Omitted-fix: bba2f9f wifi: ath12k: initialize eirp_power before use Omitted-fix: ea2b0af wifi: ath12k: fix overflow warning on num_pwr_levels Omitted-fix: a9f0064 wifi: rtw89: fix leak in rtw89_core_send_nullfunc() Omitted-fix: 7ca61ed wifi: ath12k: Fix peer lookup in ath12k_dp_mon_rx_deliver_msdu() Omitted-fix: 0eb002c wifi: ath11k: Add missing platform IDs for quirk table Already applied fixes: Omitted-fix: 43049a3 iwlwifi: pcie: fix non-MSIX handshake register Omitted-fix: 092d41f wifi: iwlwifi: mld: inform trans on init failure Omitted-fix: b6abf63 wifi: iwlwifi: clean up config macro Unrelated fixes:: Omitted-fix: 2df1580 ipa: fix compile-testing with qcom-mdt=m Postponed: Omitted-fix: 3592c00 wifi: iwlwifi: mvm: fix beacon template/fixed rate Signed-off-by: Jose Ignacio Tornos Martinez <jtornosm@redhat.com> Approved-by: Murphy Zhou <xzhou@redhat.com> Approved-by: mheib <mheib@redhat.com> Approved-by: Michal Schmidt <mschmidt@redhat.com> Approved-by: Davide Caratti <dcaratti@redhat.com> Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com> Merged-by: CKI GitLab Kmaint Pipeline Bot <26919896-cki-kmaint-pipeline-bot@users.noreply.gitlab.com>
2 parents 635d4b9 + c0fc82b commit 1c58274

File tree

463 files changed

+24153
-9877
lines changed

Some content is hidden

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

463 files changed

+24153
-9877
lines changed

Documentation/devicetree/bindings/net/wireless/qcom,ath12k.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ properties:
2222
reg:
2323
maxItems: 1
2424

25+
firmware-name:
26+
maxItems: 1
27+
description:
28+
If present, a board or platform specific string used to lookup
29+
usecase-specific firmware files for the device.
30+
2531
vddaon-supply:
2632
description: VDD_AON supply regulator handle
2733

drivers/net/wireless/ath/ath10k/ahb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ static int ath10k_ahb_resource_init(struct ath10k *ar)
497497

498498
ath10k_dbg(ar, ATH10K_DBG_BOOT, "irq: %d\n", ar_ahb->irq);
499499

500-
ath10k_dbg(ar, ATH10K_DBG_BOOT, "mem: 0x%pK mem_len: %lu gcc mem: 0x%pK tcsr_mem: 0x%pK\n",
500+
ath10k_dbg(ar, ATH10K_DBG_BOOT, "mem: 0x%p mem_len: %lu gcc mem: 0x%p tcsr_mem: 0x%p\n",
501501
ar_ahb->mem, ar_ahb->mem_len,
502502
ar_ahb->gcc_mem, ar_ahb->tcsr_mem);
503503
return 0;

drivers/net/wireless/ath/ath10k/bmi.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ static int ath10k_bmi_lz_data_large(struct ath10k *ar, const void *buffer, u32 l
349349
int ret;
350350
size_t buf_len;
351351

352-
ath10k_dbg(ar, ATH10K_DBG_BMI, "large bmi lz data buffer 0x%pK length %d\n",
352+
ath10k_dbg(ar, ATH10K_DBG_BMI, "large bmi lz data buffer 0x%p length %d\n",
353353
buffer, length);
354354

355355
if (ar->bmi.done_sent) {
@@ -395,7 +395,7 @@ int ath10k_bmi_lz_data(struct ath10k *ar, const void *buffer, u32 length)
395395
u32 txlen;
396396
int ret;
397397

398-
ath10k_dbg(ar, ATH10K_DBG_BMI, "bmi lz data buffer 0x%pK length %d\n",
398+
ath10k_dbg(ar, ATH10K_DBG_BMI, "bmi lz data buffer 0x%p length %d\n",
399399
buffer, length);
400400

401401
if (ar->bmi.done_sent) {
@@ -461,7 +461,7 @@ int ath10k_bmi_fast_download(struct ath10k *ar,
461461
int ret;
462462

463463
ath10k_dbg(ar, ATH10K_DBG_BMI,
464-
"bmi fast download address 0x%x buffer 0x%pK length %d\n",
464+
"bmi fast download address 0x%x buffer 0x%p length %d\n",
465465
address, buffer, length);
466466

467467
ret = ath10k_bmi_lz_stream_start(ar, address);

drivers/net/wireless/ath/ath10k/ce.c

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ static inline u32 shadow_sr_wr_ind_addr(struct ath10k *ar,
8080

8181
static inline unsigned int
8282
ath10k_set_ring_byte(unsigned int offset,
83-
struct ath10k_hw_ce_regs_addr_map *addr_map)
83+
const struct ath10k_hw_ce_regs_addr_map *addr_map)
8484
{
8585
return ((offset << addr_map->lsb) & addr_map->mask);
8686
}
@@ -203,7 +203,7 @@ static inline void ath10k_ce_src_ring_dmax_set(struct ath10k *ar,
203203
u32 ce_ctrl_addr,
204204
unsigned int n)
205205
{
206-
struct ath10k_hw_ce_ctrl1 *ctrl_regs = ar->hw_ce_regs->ctrl1_regs;
206+
const struct ath10k_hw_ce_ctrl1 *ctrl_regs = ar->hw_ce_regs->ctrl1_regs;
207207

208208
u32 ctrl1_addr = ath10k_ce_read32(ar, ce_ctrl_addr +
209209
ctrl_regs->addr);
@@ -217,7 +217,7 @@ static inline void ath10k_ce_src_ring_byte_swap_set(struct ath10k *ar,
217217
u32 ce_ctrl_addr,
218218
unsigned int n)
219219
{
220-
struct ath10k_hw_ce_ctrl1 *ctrl_regs = ar->hw_ce_regs->ctrl1_regs;
220+
const struct ath10k_hw_ce_ctrl1 *ctrl_regs = ar->hw_ce_regs->ctrl1_regs;
221221

222222
u32 ctrl1_addr = ath10k_ce_read32(ar, ce_ctrl_addr +
223223
ctrl_regs->addr);
@@ -231,7 +231,7 @@ static inline void ath10k_ce_dest_ring_byte_swap_set(struct ath10k *ar,
231231
u32 ce_ctrl_addr,
232232
unsigned int n)
233233
{
234-
struct ath10k_hw_ce_ctrl1 *ctrl_regs = ar->hw_ce_regs->ctrl1_regs;
234+
const struct ath10k_hw_ce_ctrl1 *ctrl_regs = ar->hw_ce_regs->ctrl1_regs;
235235

236236
u32 ctrl1_addr = ath10k_ce_read32(ar, ce_ctrl_addr +
237237
ctrl_regs->addr);
@@ -313,7 +313,7 @@ static inline void ath10k_ce_src_ring_highmark_set(struct ath10k *ar,
313313
u32 ce_ctrl_addr,
314314
unsigned int n)
315315
{
316-
struct ath10k_hw_ce_dst_src_wm_regs *srcr_wm = ar->hw_ce_regs->wm_srcr;
316+
const struct ath10k_hw_ce_dst_src_wm_regs *srcr_wm = ar->hw_ce_regs->wm_srcr;
317317
u32 addr = ath10k_ce_read32(ar, ce_ctrl_addr + srcr_wm->addr);
318318

319319
ath10k_ce_write32(ar, ce_ctrl_addr + srcr_wm->addr,
@@ -325,7 +325,7 @@ static inline void ath10k_ce_src_ring_lowmark_set(struct ath10k *ar,
325325
u32 ce_ctrl_addr,
326326
unsigned int n)
327327
{
328-
struct ath10k_hw_ce_dst_src_wm_regs *srcr_wm = ar->hw_ce_regs->wm_srcr;
328+
const struct ath10k_hw_ce_dst_src_wm_regs *srcr_wm = ar->hw_ce_regs->wm_srcr;
329329
u32 addr = ath10k_ce_read32(ar, ce_ctrl_addr + srcr_wm->addr);
330330

331331
ath10k_ce_write32(ar, ce_ctrl_addr + srcr_wm->addr,
@@ -337,7 +337,7 @@ static inline void ath10k_ce_dest_ring_highmark_set(struct ath10k *ar,
337337
u32 ce_ctrl_addr,
338338
unsigned int n)
339339
{
340-
struct ath10k_hw_ce_dst_src_wm_regs *dstr_wm = ar->hw_ce_regs->wm_dstr;
340+
const struct ath10k_hw_ce_dst_src_wm_regs *dstr_wm = ar->hw_ce_regs->wm_dstr;
341341
u32 addr = ath10k_ce_read32(ar, ce_ctrl_addr + dstr_wm->addr);
342342

343343
ath10k_ce_write32(ar, ce_ctrl_addr + dstr_wm->addr,
@@ -349,7 +349,7 @@ static inline void ath10k_ce_dest_ring_lowmark_set(struct ath10k *ar,
349349
u32 ce_ctrl_addr,
350350
unsigned int n)
351351
{
352-
struct ath10k_hw_ce_dst_src_wm_regs *dstr_wm = ar->hw_ce_regs->wm_dstr;
352+
const struct ath10k_hw_ce_dst_src_wm_regs *dstr_wm = ar->hw_ce_regs->wm_dstr;
353353
u32 addr = ath10k_ce_read32(ar, ce_ctrl_addr + dstr_wm->addr);
354354

355355
ath10k_ce_write32(ar, ce_ctrl_addr + dstr_wm->addr,
@@ -360,7 +360,7 @@ static inline void ath10k_ce_dest_ring_lowmark_set(struct ath10k *ar,
360360
static inline void ath10k_ce_copy_complete_inter_enable(struct ath10k *ar,
361361
u32 ce_ctrl_addr)
362362
{
363-
struct ath10k_hw_ce_host_ie *host_ie = ar->hw_ce_regs->host_ie;
363+
const struct ath10k_hw_ce_host_ie *host_ie = ar->hw_ce_regs->host_ie;
364364

365365
u32 host_ie_addr = ath10k_ce_read32(ar, ce_ctrl_addr +
366366
ar->hw_ce_regs->host_ie_addr);
@@ -372,7 +372,7 @@ static inline void ath10k_ce_copy_complete_inter_enable(struct ath10k *ar,
372372
static inline void ath10k_ce_copy_complete_intr_disable(struct ath10k *ar,
373373
u32 ce_ctrl_addr)
374374
{
375-
struct ath10k_hw_ce_host_ie *host_ie = ar->hw_ce_regs->host_ie;
375+
const struct ath10k_hw_ce_host_ie *host_ie = ar->hw_ce_regs->host_ie;
376376

377377
u32 host_ie_addr = ath10k_ce_read32(ar, ce_ctrl_addr +
378378
ar->hw_ce_regs->host_ie_addr);
@@ -384,7 +384,7 @@ static inline void ath10k_ce_copy_complete_intr_disable(struct ath10k *ar,
384384
static inline void ath10k_ce_watermark_intr_disable(struct ath10k *ar,
385385
u32 ce_ctrl_addr)
386386
{
387-
struct ath10k_hw_ce_host_wm_regs *wm_regs = ar->hw_ce_regs->wm_regs;
387+
const struct ath10k_hw_ce_host_wm_regs *wm_regs = ar->hw_ce_regs->wm_regs;
388388

389389
u32 host_ie_addr = ath10k_ce_read32(ar, ce_ctrl_addr +
390390
ar->hw_ce_regs->host_ie_addr);
@@ -396,7 +396,7 @@ static inline void ath10k_ce_watermark_intr_disable(struct ath10k *ar,
396396
static inline void ath10k_ce_error_intr_disable(struct ath10k *ar,
397397
u32 ce_ctrl_addr)
398398
{
399-
struct ath10k_hw_ce_misc_regs *misc_regs = ar->hw_ce_regs->misc_regs;
399+
const struct ath10k_hw_ce_misc_regs *misc_regs = ar->hw_ce_regs->misc_regs;
400400

401401
u32 misc_ie_addr = ath10k_ce_read32(ar,
402402
ce_ctrl_addr + ar->hw_ce_regs->misc_ie_addr);
@@ -410,7 +410,7 @@ static inline void ath10k_ce_engine_int_status_clear(struct ath10k *ar,
410410
u32 ce_ctrl_addr,
411411
unsigned int mask)
412412
{
413-
struct ath10k_hw_ce_host_wm_regs *wm_regs = ar->hw_ce_regs->wm_regs;
413+
const struct ath10k_hw_ce_host_wm_regs *wm_regs = ar->hw_ce_regs->wm_regs;
414414

415415
ath10k_ce_write32(ar, ce_ctrl_addr + wm_regs->addr, mask);
416416
}
@@ -1230,7 +1230,7 @@ void ath10k_ce_per_engine_service(struct ath10k *ar, unsigned int ce_id)
12301230
{
12311231
struct ath10k_ce *ce = ath10k_ce_priv(ar);
12321232
struct ath10k_ce_pipe *ce_state = &ce->ce_states[ce_id];
1233-
struct ath10k_hw_ce_host_wm_regs *wm_regs = ar->hw_ce_regs->wm_regs;
1233+
const struct ath10k_hw_ce_host_wm_regs *wm_regs = ar->hw_ce_regs->wm_regs;
12341234
u32 ctrl_addr = ce_state->ctrl_addr;
12351235

12361236
/*
@@ -1388,7 +1388,7 @@ static int ath10k_ce_init_src_ring(struct ath10k *ar,
13881388
ath10k_ce_src_ring_highmark_set(ar, ctrl_addr, nentries);
13891389

13901390
ath10k_dbg(ar, ATH10K_DBG_BOOT,
1391-
"boot init ce src ring id %d entries %d base_addr %pK\n",
1391+
"boot init ce src ring id %d entries %d base_addr %p\n",
13921392
ce_id, nentries, src_ring->base_addr_owner_space);
13931393

13941394
return 0;
@@ -1426,7 +1426,7 @@ static int ath10k_ce_init_dest_ring(struct ath10k *ar,
14261426
ath10k_ce_dest_ring_highmark_set(ar, ctrl_addr, nentries);
14271427

14281428
ath10k_dbg(ar, ATH10K_DBG_BOOT,
1429-
"boot ce dest ring id %d entries %d base_addr %pK\n",
1429+
"boot ce dest ring id %d entries %d base_addr %p\n",
14301430
ce_id, nentries, dest_ring->base_addr_owner_space);
14311431

14321432
return 0;

drivers/net/wireless/ath/ath10k/core.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1200,7 +1200,7 @@ static int ath10k_download_fw(struct ath10k *ar)
12001200
}
12011201

12021202
ath10k_dbg(ar, ATH10K_DBG_BOOT,
1203-
"boot uploading firmware image %pK len %d\n",
1203+
"boot uploading firmware image %p len %d\n",
12041204
data, data_len);
12051205

12061206
/* Check if device supports to download firmware via
@@ -1826,7 +1826,7 @@ static int ath10k_download_and_run_otp(struct ath10k *ar)
18261826

18271827
if (!ar->running_fw->fw_file.otp_data ||
18281828
!ar->running_fw->fw_file.otp_len) {
1829-
ath10k_warn(ar, "Not running otp, calibration will be incorrect (otp-data %pK otp_len %zd)!\n",
1829+
ath10k_warn(ar, "Not running otp, calibration will be incorrect (otp-data %p otp_len %zd)!\n",
18301830
ar->running_fw->fw_file.otp_data,
18311831
ar->running_fw->fw_file.otp_len);
18321832
return 0;

drivers/net/wireless/ath/ath10k/htc.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ static struct sk_buff *ath10k_htc_build_tx_ctrl_skb(void *ar)
3434
skb_cb = ATH10K_SKB_CB(skb);
3535
memset(skb_cb, 0, sizeof(*skb_cb));
3636

37-
ath10k_dbg(ar, ATH10K_DBG_HTC, "%s: skb %pK\n", __func__, skb);
37+
ath10k_dbg(ar, ATH10K_DBG_HTC, "%s: skb %p\n", __func__, skb);
3838
return skb;
3939
}
4040

@@ -54,7 +54,7 @@ void ath10k_htc_notify_tx_completion(struct ath10k_htc_ep *ep,
5454
struct ath10k *ar = ep->htc->ar;
5555
struct ath10k_htc_hdr *hdr;
5656

57-
ath10k_dbg(ar, ATH10K_DBG_HTC, "%s: ep %d skb %pK\n", __func__,
57+
ath10k_dbg(ar, ATH10K_DBG_HTC, "%s: ep %d skb %p\n", __func__,
5858
ep->eid, skb);
5959

6060
/* A corner case where the copy completion is reaching to host but still
@@ -515,7 +515,7 @@ void ath10k_htc_rx_completion_handler(struct ath10k *ar, struct sk_buff *skb)
515515
/* zero length packet with trailer data, just drop these */
516516
goto out;
517517

518-
ath10k_dbg(ar, ATH10K_DBG_HTC, "htc rx completion ep %d skb %pK\n",
518+
ath10k_dbg(ar, ATH10K_DBG_HTC, "htc rx completion ep %d skb %p\n",
519519
eid, skb);
520520
ep->ep_ops.ep_rx_complete(ar, skb);
521521

drivers/net/wireless/ath/ath10k/htt_rx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1374,7 +1374,7 @@ static void ath10k_process_rx(struct ath10k *ar, struct sk_buff *skb)
13741374
}
13751375

13761376
ath10k_dbg(ar, ATH10K_DBG_DATA,
1377-
"rx skb %pK len %u peer %pM %s %s sn %u %s%s%s%s%s%s %srate_idx %u vht_nss %u freq %u band %u flag 0x%x fcs-err %i mic-err %i amsdu-more %i\n",
1377+
"rx skb %p len %u peer %pM %s %s sn %u %s%s%s%s%s%s %srate_idx %u vht_nss %u freq %u band %u flag 0x%x fcs-err %i mic-err %i amsdu-more %i\n",
13781378
skb,
13791379
skb->len,
13801380
ieee80211_get_SA(hdr),

0 commit comments

Comments
 (0)