mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
qcacld-3.0: Replace channel with frequency in new_bss_info
Replace channel ID with frequency in struct new_bss_info. Change-Id: Iaa18ef613f204207a333683b3caff9f228574cff CRs-Fixed: 2492012
This commit is contained in:
parent
deb9936ddb
commit
529006bb2f
3 changed files with 7 additions and 4 deletions
|
|
@ -1158,7 +1158,7 @@ typedef enum eSirSmeStatusChangeCode {
|
|||
|
||||
struct new_bss_info {
|
||||
struct qdf_mac_addr bssId;
|
||||
uint8_t channelNumber;
|
||||
uint32_t freq;
|
||||
uint8_t reserved;
|
||||
tSirMacSSid ssId;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1249,7 +1249,8 @@ void lim_ibss_add_bss_rsp_when_coalescing(struct mac_context *mac, void *msg,
|
|||
|
||||
qdf_mem_zero((void *)&newBssInfo, sizeof(newBssInfo));
|
||||
qdf_mem_copy(newBssInfo.bssId.bytes, pHdr->bssId, QDF_MAC_ADDR_SIZE);
|
||||
newBssInfo.channelNumber = (tSirMacChanNum) pAddBss->currentOperChannel;
|
||||
newBssInfo.freq = wlan_reg_chan_to_freq(mac->pdev,
|
||||
pAddBss->currentOperChannel);
|
||||
qdf_mem_copy((uint8_t *) &newBssInfo.ssId,
|
||||
(uint8_t *) &pBeacon->ssId, pBeacon->ssId.length + 1);
|
||||
|
||||
|
|
|
|||
|
|
@ -11802,7 +11802,9 @@ csr_roam_diag_joined_new_bss(struct mac_context *mac_ctx,
|
|||
pNewBss->ssId.length = HOST_LOG_MAX_SSID_SIZE;
|
||||
qdf_mem_copy(pIbssLog->ssid, pNewBss->ssId.ssId,
|
||||
pNewBss->ssId.length);
|
||||
pIbssLog->operatingChannel = pNewBss->channelNumber;
|
||||
pIbssLog->operatingChannel = wlan_reg_freq_to_chan
|
||||
(mac_ctx->pdev,
|
||||
pNewBss->freq);
|
||||
}
|
||||
bi = mac_ctx->mlme_cfg->sap_cfg.beacon_interval;
|
||||
/* U8 is not enough for beacon interval */
|
||||
|
|
@ -14280,7 +14282,7 @@ static void csr_roam_update_connected_profile_from_new_bss(struct mac_context *m
|
|||
if (pNewBss) {
|
||||
/* Set the operating channel. */
|
||||
pSession->connectedProfile.operationChannel =
|
||||
pNewBss->channelNumber;
|
||||
wlan_reg_freq_to_chan(mac->pdev, pNewBss->freq);
|
||||
/* move the BSSId from the BSS description into the connected
|
||||
* state information.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue