qcacmn: Add status and num_extra_peers in wmi ready extract API
Add status recieved as part if WMI ready event into wmi_ready host param structure to enable the removal of seperate API to extract status. Add new param introduced by FW to indicate number of extra peers FW is allocated for its internal use. Change-Id: I7a9ed64d4a9d1f38397197c4c4a4114d8365eef7 CRs-Fixed: 2149878
This commit is contained in:

committed by
snandini

parent
24d3845b13
commit
e27364f3ef
@@ -8007,21 +8007,27 @@ struct get_arp_stats {
|
||||
|
||||
/**
|
||||
* struct wmi_host_ready_ev_param - Data revieved in ready event
|
||||
* @status: FW init status. Success or Failure.
|
||||
* @num_dscp_table: Number of DSCP table supported in FW
|
||||
* @num_extra_mac_addr: Extra mac address present in ready event. Used
|
||||
* in DBDC mode to provide multiple mac per pdev.
|
||||
* @num_total_peer: Total number of peers FW could allocate. Zero means
|
||||
* FW could allocate num peers requested by host in init.
|
||||
* Otherwise, host need update it max_peer to this value.
|
||||
* @num_extra_peer: Number of extra peers created and used within FW. Host
|
||||
* should expect peer_id can be num_total_peer + num_extra_peer
|
||||
* but it can create only upto num_total_peer.
|
||||
* @agile_capability: Boolean specification of whether the target supports
|
||||
* agile DFS, by means of using one 80 MHz radio chain for
|
||||
* radar detection, concurrently with using another radio
|
||||
* chain for non-160 MHz regular operation.
|
||||
*/
|
||||
struct wmi_host_ready_ev_param {
|
||||
uint32_t status;
|
||||
uint32_t num_dscp_table;
|
||||
uint32_t num_extra_mac_addr;
|
||||
uint32_t num_total_peer;
|
||||
uint32_t num_extra_peer;
|
||||
bool agile_capability;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user