qcacld-3.0: Replace WLAN_ALL_SESSIONS_DIALOG_ID with TWT_ALL_SESSIONS_DIALOG_ID

There are duplicate macros for the same purpose, hence
replace WLAN_ALL_SESSIONS_DIALOG_ID with TWT_ALL_SESSIONS_DIALOG_ID.

Change-Id: I63130869eed8dffcce85fe6a04586592ab3eaca2
CRs-Fixed: 3047686
这个提交包含在:
Srinivas Girigowda
2021-09-28 20:05:38 -07:00
提交者 Madan Koyyalamudi
父节点 fb87ff490c
当前提交 a58817a89b
修改 9 个文件,包含 46 行新增48 行删除

查看文件

@@ -80,8 +80,6 @@ enum wlan_twt_session_state {
WLAN_TWT_SETUP_STATE_SUSPEND = 2,
};
#define WLAN_ALL_SESSIONS_DIALOG_ID 255
#ifdef WLAN_SUPPORT_TWT
#define WLAN_MAX_TWT_SESSIONS_PER_PEER 1

查看文件

@@ -278,7 +278,7 @@ ucfg_mlme_is_twt_setup_in_progress(struct wlan_objmgr_psoc *psoc,
*
* Check if the number of active TWT sessions is equal to the maximum number
* of TWT sessions supported. Only count the TWT session slot if it not
* WLAN_ALL_SESSIONS_DIALOG_ID and dialog id is different from input dialog_id,
* TWT_ALL_SESSIONS_DIALOG_ID and dialog id is different from input dialog_id,
* because if same dialog_id already exists in the TWT sessions, we should
* return false since re-negotiation is supported on existing dialog_id.
*