@@ -5987,6 +5987,11 @@ ath12k_mac_vdev_start_restart(struct ath12k_vif *arvif,
arg.pref_tx_streams = ar->num_tx_chains;
arg.pref_rx_streams = ar->num_rx_chains;
+ /* Fill the MBSSID flags to indicate AP is non MBSSID by default
+ * Corresponding flags would be updated with MBSSID support.
+ */
+ arg.mbssid_flags = WMI_VDEV_FLAGS_NON_MBSSID_AP;
+
if (arvif->vdev_type == WMI_VDEV_TYPE_AP) {
arg.ssid = arvif->u.ap.ssid;
arg.ssid_len = arvif->u.ap.ssid_len;
@@ -1024,6 +1024,7 @@ int ath12k_wmi_vdev_start(struct ath12k *ar, struct wmi_vdev_start_req_arg *arg,
cmd->regdomain = cpu_to_le32(arg->regdomain);
cmd->he_ops = cpu_to_le32(arg->he_ops);
cmd->punct_bitmap = cpu_to_le32(arg->punct_bitmap);
+ cmd->mbssid_flags = cpu_to_le32(arg->mbssid_flags);
if (!restart) {
if (arg->ssid) {
@@ -2269,6 +2269,14 @@ struct ath12k_wmi_hal_reg_capabilities_ext_arg {
u32 high_5ghz_chan;
};
+enum {
+ WMI_VDEV_FLAGS_NON_MBSSID_AP = BIT(0),
+ WMI_VDEV_FLAGS_TRANSMIT_AP = BIT(1),
+ WMI_VDEV_FLAGS_NON_TRANSMIT_AP = BIT(2),
+ WMI_VDEV_FLAGS_EMA_MODE = BIT(3),
+ WMI_VDEV_FLAGS_SCAN_MODE_VAP = BIT(4),
+};
+
#define WMI_HOST_MAX_PDEV 3
struct ath12k_wmi_host_mem_chunk_params {