mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
qcacmn: Address review comments for activation cb reason change
There were minor review comments for the change for adding activation reason also to activation sb which was not addressed in the changeset since it had all the necessaary approvals and it was in path for merge. Addressed all the comments as part of this change. Change-Id: I8035adf2dce152e60eef1494aa7f100c2d567f41 CRs-Fixed: 2361327
This commit is contained in:
parent
40d1bc8914
commit
50f2998dfa
2 changed files with 12 additions and 1 deletions
|
|
@ -500,6 +500,15 @@ void *wlan_serialization_get_active_cmd(struct wlan_objmgr_psoc *psoc,
|
|||
|
||||
/* Preprocessor Definitions and Constants */
|
||||
|
||||
/**
|
||||
* enum ser_queue_reason- reason for changes to serialization queue
|
||||
* @: SER_REQUEST: queue updated for serialization request
|
||||
* @: SER_REMOVE : queue updated for serialization remove request
|
||||
* @: SER_CANCEL : queue updated for serialization cancel request
|
||||
* @: SER_TIMEOUT : queue updated for command timeout
|
||||
* @: SER_ACTIVATION_FAILED : queue updated since command activation failed
|
||||
* @: SER_PENDING_TO_ACTIVE : queue updated for pending to active movement
|
||||
*/
|
||||
enum ser_queue_reason {
|
||||
SER_REQUEST,
|
||||
SER_REMOVE,
|
||||
|
|
@ -708,6 +717,7 @@ enum wlan_serialization_cmd_status {
|
|||
* @is_high_priority: Normal/High Priority at which the cmd has to be queued
|
||||
* @is_blocking: Is the command blocking
|
||||
* @queue_disable: Should the command disable the queues
|
||||
* @activation_reason: reason the activation cb was called
|
||||
* @cmd_timeout_cb: Command timeout callback
|
||||
* @cmd_timeout_duration: Timeout duration in milliseconds
|
||||
* @vdev: VDEV object associated to the command
|
||||
|
|
@ -726,7 +736,7 @@ struct wlan_serialization_command {
|
|||
is_blocking:1,
|
||||
queue_disable:1,
|
||||
activation_reason:3;
|
||||
uint16_t cmd_timeout_duration;
|
||||
uint32_t cmd_timeout_duration;
|
||||
union {
|
||||
struct wlan_objmgr_vdev *vdev;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -77,6 +77,7 @@ wlan_serialization_enqueue_cmd(struct wlan_serialization_command *cmd,
|
|||
* wlan_serialization_activate_cmd() - activate cmd in active queue
|
||||
* @cmd_list: Command needs to be activated
|
||||
* @ser_pdev_obj: Serialization private pdev object
|
||||
* @ser_reason: reason the activation cb would be called
|
||||
*
|
||||
* Return: Status of activation of the command
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue