qcacld-3.0: Replace channel id with frequency
Replace channel ID with channel frequency in tSirMacChanNum
limReassocChannelId under struct pe_session
Change-Id: Ice8565ebcfcb863b7da7ec14a36b3abf3332ebab
CRs-Fixed: 2556247
This commit is contained in:
parent
eee30a7889
commit
9bcf639924
@ -192,7 +192,7 @@ struct pe_session {
|
||||
|
||||
/* Parameters For Reassociation */
|
||||
tSirMacAddr limReAssocbssId;
|
||||
tSirMacChanNum limReassocChannelId;
|
||||
uint32_t lim_reassoc_chan_freq;
|
||||
/* CB paramaters required/duplicated for Reassoc since re-assoc mantains its own params in lim */
|
||||
uint8_t reAssocHtSupportedChannelWidthSet;
|
||||
uint8_t reAssocHtRecommendedTxWidthSet;
|
||||
|
@ -513,7 +513,7 @@ void lim_fill_ft_session(struct mac_context *mac,
|
||||
/* Copy The channel Id to the session Table */
|
||||
bss_chan_id =
|
||||
wlan_reg_freq_to_chan(mac->pdev, pbssDescription->chan_freq);
|
||||
ft_session->limReassocChannelId = bss_chan_id;
|
||||
ft_session->lim_reassoc_chan_freq = pbssDescription->chan_freq;
|
||||
ft_session->curr_op_freq = pbssDescription->chan_freq;
|
||||
ft_session->limRFBand = lim_get_rf_band(wlan_reg_freq_to_chan(
|
||||
mac->pdev, ft_session->curr_op_freq));
|
||||
|
@ -1912,10 +1912,8 @@ static void __lim_process_sme_reassoc_req(struct mac_context *mac_ctx,
|
||||
session_entry->pLimReAssocReq->bssDescription.bssId,
|
||||
sizeof(tSirMacAddr));
|
||||
|
||||
session_entry->limReassocChannelId = wlan_reg_freq_to_chan(
|
||||
mac_ctx->pdev,
|
||||
session_entry->pLimReAssocReq->bssDescription.chan_freq);
|
||||
|
||||
session_entry->lim_reassoc_chan_freq =
|
||||
session_entry->pLimReAssocReq->bssDescription.chan_freq;
|
||||
session_entry->reAssocHtSupportedChannelWidthSet =
|
||||
(session_entry->pLimReAssocReq->cbMode) ? 1 : 0;
|
||||
session_entry->reAssocHtRecommendedTxWidthSet =
|
||||
|
@ -63,8 +63,7 @@ void lim_update_re_assoc_globals(struct mac_context *mac, tpSirAssocRsp pAssocRs
|
||||
/* Update the current Bss Information */
|
||||
qdf_mem_copy(pe_session->bssId,
|
||||
pe_session->limReAssocbssId, sizeof(tSirMacAddr));
|
||||
pe_session->curr_op_freq = wlan_reg_chan_to_freq(
|
||||
mac->pdev, pe_session->limReassocChannelId);
|
||||
pe_session->curr_op_freq = pe_session->lim_reassoc_chan_freq;
|
||||
pe_session->htSecondaryChannelOffset =
|
||||
pe_session->reAssocHtSupportedChannelWidthSet;
|
||||
pe_session->htRecommendedTxWidthSet =
|
||||
|
Loading…
Reference in New Issue
Block a user