qcacmn: Add pdev mlme component attribute

With the addition of the pdev restart command to handle multivdev restart,
a placeholder is required at the mlme to hold pdev restart attribute.

Change-Id: I885bf71d0e7977452120714a659e839769ade33e
CRs-Fixed: 2492531
This commit is contained in:
Santosh Anbu
2019-07-17 08:14:44 +05:30
committed by nshrivas
parent c3001e4291
commit f0a42162ac

View File

@@ -22,6 +22,17 @@
#include <qdf_timer.h>
#include <include/wlan_vdev_mlme.h>
/*
* struct pdev_restart_attr - Pdev restart attributes
* @vdev: vdev on which the pdev restart cmd was enqueued
* @restart_bmap: Bitmap for vdev requesting multivdev restart
*/
struct pdev_restart_attr {
struct wlan_objmgr_vdev *vdev;
unsigned long restart_bmap[2];
};
/**
* struct pdev_mlme_obj - PDEV MLME component object
* @pdev: PDEV object
@@ -42,6 +53,7 @@ struct pdev_mlme_obj {
unsigned long restart_pend_vdev_bmap[2];
unsigned long restart_send_vdev_bmap[2];
unsigned long start_send_vdev_arr[2];
struct pdev_restart_attr pdev_restart;
};
#endif