int ath12k_wmi_cmd_send(struct ath12k_wmi_pdev *wmi, struct sk_buff *skb,
                        u32 cmd_id)
 {
-       struct ath12k_wmi_base *wmi_sc = wmi->wmi_ab;
+       struct ath12k_wmi_base *wmi_ab = wmi->wmi_ab;
        int ret = -EOPNOTSUPP;
 
        might_sleep();
 
-       wait_event_timeout(wmi_sc->tx_credits_wq, ({
+       wait_event_timeout(wmi_ab->tx_credits_wq, ({
                ret = ath12k_wmi_cmd_send_nowait(wmi, skb, cmd_id);
 
-               if (ret && test_bit(ATH12K_FLAG_CRASH_FLUSH, &wmi_sc->ab->dev_flags))
+               if (ret && test_bit(ATH12K_FLAG_CRASH_FLUSH, &wmi_ab->ab->dev_flags))
                        ret = -ESHUTDOWN;
 
                (ret != -EAGAIN);
        }), WMI_SEND_TIMEOUT_HZ);
 
        if (ret == -EAGAIN)
-               ath12k_warn(wmi_sc->ab, "wmi command %d timeout\n", cmd_id);
+               ath12k_warn(wmi_ab->ab, "wmi command %d timeout\n", cmd_id);
 
        return ret;
 }
        return 0;
 }
 
-struct sk_buff *ath12k_wmi_alloc_skb(struct ath12k_wmi_base *wmi_sc, u32 len)
+struct sk_buff *ath12k_wmi_alloc_skb(struct ath12k_wmi_base *wmi_ab, u32 len)
 {
        struct sk_buff *skb;
-       struct ath12k_base *ab = wmi_sc->ab;
+       struct ath12k_base *ab = wmi_ab->ab;
        u32 round_len = roundup(len, 4);
 
        skb = ath12k_htc_alloc_skb(ab, WMI_SKB_HEADROOM + round_len);
 
 int ath12k_wmi_cmd_init(struct ath12k_base *ab)
 {
-       struct ath12k_wmi_base *wmi_sc = &ab->wmi_ab;
+       struct ath12k_wmi_base *wmi_ab = &ab->wmi_ab;
        struct ath12k_wmi_init_cmd_arg arg = {};
 
        if (test_bit(WMI_TLV_SERVICE_REG_CC_EXT_EVENT_SUPPORT,
 
        ab->hw_params->wmi_init(ab, &arg.res_cfg);
 
-       arg.num_mem_chunks = wmi_sc->num_mem_chunks;
-       arg.hw_mode_id = wmi_sc->preferred_hw_mode;
-       arg.mem_chunks = wmi_sc->mem_chunks;
+       arg.num_mem_chunks = wmi_ab->num_mem_chunks;
+       arg.hw_mode_id = wmi_ab->preferred_hw_mode;
+       arg.mem_chunks = wmi_ab->mem_chunks;
 
        if (ab->hw_params->single_pdev_only)
                arg.hw_mode_id = WMI_HOST_HW_MODE_MAX;
        arg.num_band_to_mac = ab->num_radios;
        ath12k_fill_band_to_mac_param(ab, arg.band_to_mac);
 
-       return ath12k_init_cmd_send(&wmi_sc->wmi[0], &arg);
+       return ath12k_init_cmd_send(&wmi_ab->wmi[0], &arg);
 }
 
 int ath12k_wmi_vdev_spectral_conf(struct ath12k *ar,