1
0

0073-wifi-ath11k-rename-MBSSID-fields-in-wmi_vdev_up_cmd.patch 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. Rename trans_bssid to tx_vdev_bssid to make it similar to vdev_bssid.
  6. Rename profile_num to nontx_profile_cnt, and profile_idx to
  7. nontx_profile_idx which makes it clear that these store configurations
  8. related to MBSSID non-transmitting profiles.
  9. Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.7.0.1-01744-QCAHKSWPL_SILICONZ-1
  10. Signed-off-by: Aloka Dixit <quic_alokad@quicinc.com>
  11. Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
  12. Link: https://lore.kernel.org/r/20230405221648.17950-4-quic_alokad@quicinc.com
  13. ---
  14. drivers/net/wireless/ath/ath11k/wmi.c | 6 +++---
  15. drivers/net/wireless/ath/ath11k/wmi.h | 6 +++---
  16. 2 files changed, 6 insertions(+), 6 deletions(-)
  17. --- a/drivers/net/wireless/ath/ath11k/wmi.c
  18. +++ b/drivers/net/wireless/ath/ath11k/wmi.c
  19. @@ -1029,10 +1029,10 @@ int ath11k_wmi_vdev_up(struct ath11k *ar
  20. bss_conf = &arvif->vif->bss_conf;
  21. if (bss_conf->nontransmitted) {
  22. - ether_addr_copy(cmd->trans_bssid.addr,
  23. + ether_addr_copy(cmd->tx_vdev_bssid.addr,
  24. bss_conf->transmitter_bssid);
  25. - cmd->profile_idx = bss_conf->bssid_index;
  26. - cmd->profile_num = bss_conf->bssid_indicator;
  27. + cmd->nontx_profile_idx = bss_conf->bssid_index;
  28. + cmd->nontx_profile_cnt = bss_conf->bssid_indicator;
  29. }
  30. }
  31. --- a/drivers/net/wireless/ath/ath11k/wmi.h
  32. +++ b/drivers/net/wireless/ath/ath11k/wmi.h
  33. @@ -2625,9 +2625,9 @@ struct wmi_vdev_up_cmd {
  34. u32 vdev_id;
  35. u32 vdev_assoc_id;
  36. struct wmi_mac_addr vdev_bssid;
  37. - struct wmi_mac_addr trans_bssid;
  38. - u32 profile_idx;
  39. - u32 profile_num;
  40. + struct wmi_mac_addr tx_vdev_bssid;
  41. + u32 nontx_profile_idx;
  42. + u32 nontx_profile_cnt;
  43. } __packed;
  44. struct wmi_vdev_stop_cmd {