qcacmn: Drop Action frame in FW config by host

Propagation from qcacld-2.0 to qcacmn.

Several Action frame categories are not processed in host and they
are not forwarded to supplicant either, but they are dropped in host.
These unprocessed action frames are forwarded to host by FW and
wake up host unnecessarily which leads to battery drain. With this fix,
host conveys FW the disallowed action frames list at HDD startup
so that the remaining frames can be dropped in FW itself thereafter
when under WoW mode.

Change-Id: I40b49d42df94085784c8f1d8321de0ee61473ae0
CRs-Fixed: 999114
This commit is contained in:
Paul Zhang
2017-01-04 16:45:42 +08:00
committed by qcabuildsw
parent 4110f0ad84
commit a9ec943d9f
4 changed files with 29 additions and 3 deletions

View File

@@ -7084,4 +7084,20 @@ enum WMI_HOST_CALIBRATION_STATUS {
WMI_HOST_CALIBRATION_NOT_OK,
};
#define WMI_SUPPORTED_ACTION_CATEGORY 256
#define WMI_SUPPORTED_ACTION_CATEGORY_ELE_LIST (WMI_SUPPORTED_ACTION_CATEGORY/32)
/**
* struct action_wakeup_set_param - action wakeup set params
* @vdev_id: virtual device id
* @operation: 0 reset to fw default, 1 set the bits,
* 2 add the setting bits, 3 delete the setting bits
* @action_category_map: bit mapping.
*/
struct action_wakeup_set_param {
uint32_t vdev_id;
uint32_t operation;
uint32_t action_category_map[WMI_SUPPORTED_ACTION_CATEGORY_ELE_LIST];
};
#endif /* _WMI_UNIFIED_PARAM_H_ */