qcacmn: Add support for FW cap for chan_width_switch_cmd

WMI_PEER_CHAN_WIDTH_SWITCH_CMDID sent from host fragments the
command based on the size of the WMI buffer.

Add support to instead use a FW regulated value taken from the
WMI service ready extended_2 event.

CRs-Fixed: 2684788
Change-Id: Iaeccf785c64b385bf2ad6bc372da239981143fa0
This commit is contained in:
Aditya Sathish
2020-05-13 01:11:32 +05:30
committed by nshrivas
父節點 5c4527f338
當前提交 a88235db0e
共有 4 個文件被更改,包括 23 次插入1 次删除

查看文件

@@ -2796,11 +2796,13 @@ struct peer_chan_width_switch_info {
/**
* struct peer_chan_width_switch_params - Peer channel width capability wrapper
* @num_peers: Total number of peers connected to AP
* @max_peers_per_cmd: Peer limit per WMI command
* @chan_width_peer_list: List of capabilities for all connected peers
*/
struct peer_chan_width_switch_params {
uint32_t num_peers;
uint32_t max_peers_per_cmd;
struct peer_chan_width_switch_info *chan_width_peer_list;
};