qcacmn: Use freq in cfg80211_scan instead of channel

Currently in the scan path frequencies received
in the scan request are getting converted to channel
number and again converted to frequncies.

For 6GHz support in the scan path do not convert
frequency to channel number, instead use frequncies
received in scan request to send the scan command to
FW, remove the dummy conversion from chan to freq and
freq to chan.

Change-Id: Ieab7dded0678fac54796bba3b1b210c910f6173e
CRs-fixed: 2534897
这个提交包含在:
Ashish Kumar Dhanotiya
2019-09-11 20:47:36 +05:30
提交者 nshrivas
父节点 62547ed826
当前提交 39c6d8bd13
修改 2 个文件,包含 15 行新增12 行删除

查看文件

@@ -28,13 +28,13 @@
#include <qdf_atomic.h>
#include <wlan_cmn_ieee80211.h>
#include <wlan_mgmt_txrx_utils_api.h>
#include <reg_services_public_struct.h>
typedef uint16_t wlan_scan_requester;
typedef uint32_t wlan_scan_id;
#define WLAN_SCAN_MAX_NUM_SSID 16
#define WLAN_SCAN_MAX_NUM_BSSID 4
#define WLAN_SCAN_MAX_NUM_CHANNELS 68
#define SCM_CANCEL_SCAN_WAIT_TIME 50
#define SCM_CANCEL_SCAN_WAIT_ITERATION 600
@@ -761,7 +761,7 @@ struct chan_info {
*/
struct chan_list {
uint32_t num_chan;
struct chan_info chan[WLAN_SCAN_MAX_NUM_CHANNELS];
struct chan_info chan[NUM_CHANNELS];
};
/**