mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
qcacmn: Convert legacy channel usage
Modify the following API's code and parameters to make sure it is using frequency instead of channel: csr_update_scan_entry_associnfo Change-Id: Id289c2bd2e2cdf3f6a5e16028bbafb3df4049dac CRs-Fixed: 2563874
This commit is contained in:
parent
f3cc90e236
commit
aae613c904
2 changed files with 3 additions and 5 deletions
|
|
@ -1517,9 +1517,7 @@ QDF_STATUS scm_scan_update_mlme_by_bssinfo(struct wlan_objmgr_pdev *pdev,
|
|||
entry = cur_node->entry;
|
||||
if (qdf_is_macaddr_equal(&bss_info->bssid, &entry->bssid) &&
|
||||
(util_is_ssid_match(&bss_info->ssid, &entry->ssid)) &&
|
||||
(bss_info->chan == wlan_reg_freq_to_chan(
|
||||
pdev,
|
||||
entry->channel.chan_freq))) {
|
||||
(bss_info->freq == entry->channel.chan_freq)) {
|
||||
/* Acquire db lock to prevent simultaneous update */
|
||||
qdf_spin_lock_bh(&scan_db->scan_db_lock);
|
||||
qdf_mem_copy(&entry->mlme_info, mlme,
|
||||
|
|
|
|||
|
|
@ -240,12 +240,12 @@ struct mlme_info {
|
|||
|
||||
/**
|
||||
* struct bss_info - information required to uniquely define a bss
|
||||
* @chan: bss operating primary channel index
|
||||
* @freq: freq of operating primary channel
|
||||
* @ssid: ssid of bss
|
||||
* @bssid: bssid of bss
|
||||
*/
|
||||
struct bss_info {
|
||||
uint8_t chan;
|
||||
uint32_t freq;
|
||||
struct wlan_ssid ssid;
|
||||
struct qdf_mac_addr bssid;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue