qcacmn: Send multiple WMI_SCAN_CHAN_LIST_CMDID messages if required
If more than MAX_NUM_CHAN_PER_WMI_CMD are present, wmi buffer size can exceed the maximum allocated buffer size. So iterate over the channel list, and send multiple messages till channel list is empty. Also check if 6 ghz channel is a PSC channel and mark channel flag accordingly. Change-Id: I977a2d220c750cec1f261377b3838360bd8c0df3 CRs-Fixed: 2522763
This commit is contained in:
@@ -613,6 +613,7 @@ typedef enum {
|
||||
* @allow_vht: VHT allowed on chan
|
||||
* @set_agile: is agile mode
|
||||
* @allow_he: HE allowed on chan
|
||||
* @psc_channel: 6 ghz preferred scan chan
|
||||
* @phy_mode: phymode (vht80 or ht40 or ...)
|
||||
* @cfreq1: centre frequency on primary
|
||||
* @cfreq2: centre frequency on secondary
|
||||
@@ -636,7 +637,8 @@ struct channel_param {
|
||||
allow_ht:1,
|
||||
allow_vht:1,
|
||||
set_agile:1,
|
||||
allow_he:1;
|
||||
allow_he:1,
|
||||
psc_channel:1;
|
||||
uint32_t phy_mode;
|
||||
uint32_t cfreq1;
|
||||
uint32_t cfreq2;
|
||||
|
Reference in New Issue
Block a user