qcacld-3.0: Remove ValidChannelList from tSirRoamOffloadScanReq
The separate ValidChannelList & ValidChannelCount fields in tSirRoamOffloadScanReq are obsolete since the valid channels are now handled as part of the ConnectedNetwork struct, therefore remove support for these obsolete fields. Change-Id: Ic413d52f95fcc7082e1dfdd28d28513d6a7a2e7d CRs-Fixed: 2370961
This commit is contained in:
@@ -2393,8 +2393,6 @@ typedef struct sSirRoamOffloadScanReq {
|
|||||||
uint16_t NeighborScanChannelMinTime;
|
uint16_t NeighborScanChannelMinTime;
|
||||||
uint16_t NeighborScanChannelMaxTime;
|
uint16_t NeighborScanChannelMaxTime;
|
||||||
uint16_t EmptyRefreshScanPeriod;
|
uint16_t EmptyRefreshScanPeriod;
|
||||||
uint8_t ValidChannelCount;
|
|
||||||
uint8_t ValidChannelList[SIR_ROAM_MAX_CHANNELS];
|
|
||||||
bool IsESEAssoc;
|
bool IsESEAssoc;
|
||||||
bool is_11r_assoc;
|
bool is_11r_assoc;
|
||||||
uint8_t nProbes;
|
uint8_t nProbes;
|
||||||
|
@@ -17757,10 +17757,9 @@ csr_fetch_valid_ch_lst(struct mac_context *mac_ctx,
|
|||||||
*ch_lst;
|
*ch_lst;
|
||||||
ch_lst++;
|
ch_lst++;
|
||||||
}
|
}
|
||||||
req_buf->ValidChannelCount = num_channels;
|
|
||||||
|
|
||||||
req_buf->ChannelCacheType = CHANNEL_LIST_DYNAMIC;
|
req_buf->ChannelCacheType = CHANNEL_LIST_DYNAMIC;
|
||||||
req_buf->ConnectedNetwork.ChannelCount = num_channels;
|
req_buf->ConnectedNetwork.ChannelCount = num_channels;
|
||||||
|
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user