qcacmn: Address Unified WMI "get link status" deficiencies

The original implementation of the "get link status" feature contains
some design and implementation details that are not ideal, so fix the
following deficiencies:
- The link_status_params struct contains three fields that are unused.
- The only link_status_params field that is used, session_id, uses
  legacy terminology instead of converged terminology
- The wmi_unified_link_status_req_cmd() implementation uses a void
  pointer instead of the correct underlying type for the WMI handle.

Note that change I508ec083298caa45d4cbb1ba28b21e47e379a804
("qcacld-3.0: Align with revised "get link status" Unified WMI") is
interdependent with this change.

Change-Id: I057ca0aff4a627c7fcdb9f90a5da46473813f60a
CRs-Fixed: 2381364
This commit is contained in:
Jeff Johnson
2019-01-15 12:08:41 -08:00
committed by nshrivas
parent 62fe1e3f45
commit 6a00f1e830
4 changed files with 16 additions and 17 deletions

View File

@@ -2432,16 +2432,10 @@ struct ll_stats_get_params {
/**
* struct link_status_params - link stats parameter
* @msg_type: message type is same as the request type
* @msg_len: length of the entire request
* @link_status: wme ts spec flag
* @session_id: wsm ts spec flag
* @vdev_id: ID of the vdev for which link status is desired
*/
struct link_status_params {
uint16_t msg_type;
uint16_t msg_len;
uint8_t link_status;
uint8_t session_id;
uint8_t vdev_id;
};
/**