qcacld-3.0: Update scan channel list with HE capability
Update the scan channel list with HE capability information when the channel list is sent to FW so that FW includes the HE capabilities IE in the probe request frame during scan. Change-Id: I1ad3b15e447845ac06d30e92195b5e4ab8a78d9d CRs-Fixed: 2467024
This commit is contained in:

committato da
nshrivas

parent
a00fba01ae
commit
acf277ac9a
@@ -2582,6 +2582,7 @@ typedef struct sSirUpdateChan {
|
||||
uint8_t ht_en;
|
||||
uint8_t vht_en;
|
||||
uint8_t vht_24_en;
|
||||
bool he_en;
|
||||
tSirUpdateChanParam chanParam[1];
|
||||
} tSirUpdateChanList, *tpSirUpdateChanList;
|
||||
|
||||
|
@@ -1158,6 +1158,12 @@ QDF_STATUS csr_update_channel_list(struct mac_context *mac)
|
||||
eCSR_CFG_DOT11_MODE_11N_ONLY)) {
|
||||
pChanList->ht_en = true;
|
||||
}
|
||||
if ((mac->roam.configParam.uCfgDot11Mode == eCSR_CFG_DOT11_MODE_AUTO) ||
|
||||
(mac->roam.configParam.uCfgDot11Mode == eCSR_CFG_DOT11_MODE_11AX) ||
|
||||
(mac->roam.configParam.uCfgDot11Mode ==
|
||||
eCSR_CFG_DOT11_MODE_11AX_ONLY))
|
||||
pChanList->he_en = true;
|
||||
|
||||
msg.type = WMA_UPDATE_CHAN_LIST_REQ;
|
||||
msg.reserved = 0;
|
||||
msg.bodyptr = pChanList;
|
||||
|
@@ -152,6 +152,9 @@ QDF_STATUS wma_update_channel_list(WMA_HANDLE handle,
|
||||
if (chan_list->ht_en)
|
||||
chan_p->allow_ht = 1;
|
||||
|
||||
if (chan_list->he_en)
|
||||
chan_p->allow_he = 1;
|
||||
|
||||
if (chan_list->chanParam[i].half_rate)
|
||||
chan_p->half_rate = 1;
|
||||
else if (chan_list->chanParam[i].quarter_rate)
|
||||
|
Fai riferimento in un nuovo problema
Block a user