arg->ppet.numss_m1 = le32_to_cpu(ev->ppet.numss_m1);
arg->ppet.ru_bit_mask = le32_to_cpu(ev->ppet.ru_info);
- for (i = 0; i < PSOC_HOST_MAX_NUM_SS; i++)
+ for (i = 0; i < WMI_MAX_NUM_SS; i++)
arg->ppet.ppet16_ppet8_ru3_ru0[i] =
le32_to_cpu(ev->ppet.ppet16_ppet8_ru3_ru0[i]);
cap_band->he_ppet.numss_m1 = le32_to_cpu(mac_caps->he_ppet2g.numss_m1);
cap_band->he_ppet.ru_bit_mask = le32_to_cpu(mac_caps->he_ppet2g.ru_info);
- for (i = 0; i < PSOC_HOST_MAX_NUM_SS; i++)
+ for (i = 0; i < WMI_MAX_NUM_SS; i++)
cap_band->he_ppet.ppet16_ppet8_ru3_ru0[i] =
le32_to_cpu(mac_caps->he_ppet2g.ppet16_ppet8_ru3_ru0[i]);
}
cap_band->he_ppet.numss_m1 = le32_to_cpu(mac_caps->he_ppet5g.numss_m1);
cap_band->he_ppet.ru_bit_mask = le32_to_cpu(mac_caps->he_ppet5g.ru_info);
- for (i = 0; i < PSOC_HOST_MAX_NUM_SS; i++)
+ for (i = 0; i < WMI_MAX_NUM_SS; i++)
cap_band->he_ppet.ppet16_ppet8_ru3_ru0[i] =
le32_to_cpu(mac_caps->he_ppet5g.ppet16_ppet8_ru3_ru0[i]);
cap_band->he_ppet.numss_m1 = le32_to_cpu(mac_caps->he_ppet5g.numss_m1);
cap_band->he_ppet.ru_bit_mask = le32_to_cpu(mac_caps->he_ppet5g.ru_info);
- for (i = 0; i < PSOC_HOST_MAX_NUM_SS; i++)
+ for (i = 0; i < WMI_MAX_NUM_SS; i++)
cap_band->he_ppet.ppet16_ppet8_ru3_ru0[i] =
le32_to_cpu(mac_caps->he_ppet5g.ppet16_ppet8_ru3_ru0[i]);
}
cpu_to_le32(arg->peer_he_cap_phyinfo[i]);
cmd->peer_ppet.numss_m1 = cpu_to_le32(arg->peer_ppet.numss_m1);
cmd->peer_ppet.ru_info = cpu_to_le32(arg->peer_ppet.ru_bit_mask);
- for (i = 0; i < PSOC_HOST_MAX_NUM_SS; i++)
+ for (i = 0; i < WMI_MAX_NUM_SS; i++)
cmd->peer_ppet.ppet16_ppet8_ru3_ru0[i] =
cpu_to_le32(arg->peer_ppet.ppet16_ppet8_ru3_ru0[i]);
return le32_to_cpu((__force __le32)val);
}
-#define PSOC_HOST_MAX_NUM_SS (8)
-
/* defines to set Packet extension values which can be 0 us, 8 usec or 16 usec */
#define MAX_HE_NSS 8
#define MAX_HE_MODULATION 8
struct ath12k_wmi_ppe_threshold_arg {
u32 numss_m1;
u32 ru_bit_mask;
- u32 ppet16_ppet8_ru3_ru0[PSOC_HOST_MAX_NUM_SS];
+ u32 ppet16_ppet8_ru3_ru0[WMI_MAX_NUM_SS];
};
#define PSOC_HOST_MAX_PHY_SIZE (3)