qcacld-3.0: Don't set nw_type to 11B if HE capable
When STA is HE capable, don't set nw_type to 11B. Change-Id: Ia11d2ed416324bd94b1b84a571a34245ef22951b CRs-Fixed: 2807888
This commit is contained in:
@@ -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;
|
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
|
#else
|
||||||
static void lim_update_he_stbc_capable(tpAddStaParams add_sta_params)
|
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,
|
static void lim_update_he_mcs_12_13(tpAddStaParams add_sta_params,
|
||||||
tpDphHashNode sta_ds)
|
tpDphHashNode sta_ds)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
static bool lim_is_add_sta_params_he_capable(tpAddStaParams add_sta_params)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -2456,7 +2466,8 @@ lim_add_sta(struct mac_context *mac_ctx,
|
|||||||
|
|
||||||
add_sta_params->nwType = session_entry->nwType;
|
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;
|
nw_type_11b = 1;
|
||||||
for (i = 0; i < SIR_NUM_11A_RATES; i++) {
|
for (i = 0; i < SIR_NUM_11A_RATES; i++) {
|
||||||
if (sirIsArate(sta_ds->supportedRates.llaRates[i] &
|
if (sirIsArate(sta_ds->supportedRates.llaRates[i] &
|
||||||
|
Reference in New Issue
Block a user