|
@@ -2108,6 +2108,11 @@ static void lim_update_he_mcs_12_13(tpAddStaParams add_sta_params,
|
|
|
add_sta_params->he_mcs_12_13_map = sta_ds->he_mcs_12_13_map;
|
|
|
}
|
|
|
|
|
|
+static bool lim_is_add_sta_params_he_capable(tpAddStaParams add_sta_params)
|
|
|
+{
|
|
|
+ return add_sta_params->he_capable;
|
|
|
+}
|
|
|
+
|
|
|
#else
|
|
|
static void lim_update_he_stbc_capable(tpAddStaParams add_sta_params)
|
|
|
{}
|
|
@@ -2115,6 +2120,11 @@ static void lim_update_he_stbc_capable(tpAddStaParams add_sta_params)
|
|
|
static void lim_update_he_mcs_12_13(tpAddStaParams add_sta_params,
|
|
|
tpDphHashNode sta_ds)
|
|
|
{}
|
|
|
+
|
|
|
+static bool lim_is_add_sta_params_he_capable(tpAddStaParams add_sta_params)
|
|
|
+{
|
|
|
+ return false;
|
|
|
+}
|
|
|
#endif
|
|
|
|
|
|
/**
|
|
@@ -2456,7 +2466,8 @@ lim_add_sta(struct mac_context *mac_ctx,
|
|
|
|
|
|
add_sta_params->nwType = session_entry->nwType;
|
|
|
|
|
|
- if (!(add_sta_params->htCapable || add_sta_params->vhtCapable)) {
|
|
|
+ if (!(add_sta_params->htCapable || add_sta_params->vhtCapable ||
|
|
|
+ lim_is_add_sta_params_he_capable(add_sta_params))) {
|
|
|
nw_type_11b = 1;
|
|
|
for (i = 0; i < SIR_NUM_11A_RATES; i++) {
|
|
|
if (sirIsArate(sta_ds->supportedRates.llaRates[i] &
|