023a1dbb9fc03ec095930c937c4b53866080e07c
[librecmc/librecmc.git] /
1 From cf604e72bc6e6db68c7fcaa8779b03ec14b8d2fa Mon Sep 17 00:00:00 2001
2 From: Aloka Dixit <quic_alokad@quicinc.com>
3 Date: Fri, 5 May 2023 16:11:27 +0300
4 Subject: [PATCH 73/77] wifi: ath11k: rename MBSSID fields in wmi_vdev_up_cmd
5
6 Rename trans_bssid to tx_vdev_bssid to make it similar to vdev_bssid.
7
8 Rename profile_num to nontx_profile_cnt, and profile_idx to
9 nontx_profile_idx which makes it clear that these store configurations
10 related to MBSSID non-transmitting profiles.
11
12 Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.7.0.1-01744-QCAHKSWPL_SILICONZ-1
13
14 Signed-off-by: Aloka Dixit <quic_alokad@quicinc.com>
15 Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
16 Link: https://lore.kernel.org/r/20230405221648.17950-4-quic_alokad@quicinc.com
17 ---
18  drivers/net/wireless/ath/ath11k/wmi.c | 6 +++---
19  drivers/net/wireless/ath/ath11k/wmi.h | 6 +++---
20  2 files changed, 6 insertions(+), 6 deletions(-)
21
22 --- a/drivers/net/wireless/ath/ath11k/wmi.c
23 +++ b/drivers/net/wireless/ath/ath11k/wmi.c
24 @@ -1029,10 +1029,10 @@ int ath11k_wmi_vdev_up(struct ath11k *ar
25                 bss_conf = &arvif->vif->bss_conf;
26  
27                 if (bss_conf->nontransmitted) {
28 -                       ether_addr_copy(cmd->trans_bssid.addr,
29 +                       ether_addr_copy(cmd->tx_vdev_bssid.addr,
30                                         bss_conf->transmitter_bssid);
31 -                       cmd->profile_idx = bss_conf->bssid_index;
32 -                       cmd->profile_num = bss_conf->bssid_indicator;
33 +                       cmd->nontx_profile_idx = bss_conf->bssid_index;
34 +                       cmd->nontx_profile_cnt = bss_conf->bssid_indicator;
35                 }
36         }
37  
38 --- a/drivers/net/wireless/ath/ath11k/wmi.h
39 +++ b/drivers/net/wireless/ath/ath11k/wmi.h
40 @@ -2625,9 +2625,9 @@ struct wmi_vdev_up_cmd {
41         u32 vdev_id;
42         u32 vdev_assoc_id;
43         struct wmi_mac_addr vdev_bssid;
44 -       struct wmi_mac_addr trans_bssid;
45 -       u32 profile_idx;
46 -       u32 profile_num;
47 +       struct wmi_mac_addr tx_vdev_bssid;
48 +       u32 nontx_profile_idx;
49 +       u32 nontx_profile_cnt;
50  } __packed;
51  
52  struct wmi_vdev_stop_cmd {