qcacmn: Use FW macro to set BCAST_TWT flag in TWT_enable cmd

Add b_twt_enable variable to enable/disable broadcast TWT in
wmi_twt_enable_param structure and use FW macro in WMI layer
to enable/disable BCAST_TWT in TWT_ENABLE cmd.

Change-Id: I892e922dda14d16019f3f433f885d1eb5b7169fc
CRs-Fixed: 2793360
这个提交包含在:
Shashikala Prabhu
2020-10-08 14:08:12 +05:30
提交者 snandini
父节点 f01c97ca5b
当前提交 31f750cb6f
修改 2 个文件,包含 12 行新增3 行删除

查看文件

@@ -62,7 +62,9 @@
* TWT slots for STAs. (units = milliseconds)
* @remove_sta_slot_interval: Inrerval between decisions making to remove TWT
* slot of STAs. (units = milliseconds)
* @flags: Flag to enable or disable capabilities, example bcast twt.
* @b_twt_enable: Enable or disable broadcast TWT.
* @b_twt_legacy_mbss_enable: Enable or disable legacy MBSSID TWT.
* @b_twt_ax_mbss_enable: Enable or disable 11AX MBSSID TWT.
*/
struct wmi_twt_enable_param {
uint32_t pdev_id;
@@ -82,7 +84,9 @@ struct wmi_twt_enable_param {
uint32_t mode_check_interval;
uint32_t add_sta_slot_interval;
uint32_t remove_sta_slot_interval;
uint32_t flags;
uint32_t b_twt_enable:1,
b_twt_legacy_mbss_enable:1,
b_twt_ax_mbss_enable:1;
};
/* status code of enabling TWT