qcacld-3.0: Block the TWT setup till notify event is received
Currently, TWT setup is allowed after roaming even if TWT notify from firmware is not received. Block the TWT setup till notify event is received from firmware. Change-Id: Ia6ff8fe9e05f32ddf6dbdd608d9090b612237f26 CRs-Fixed: 2870610
This commit is contained in:
@@ -98,14 +98,11 @@ struct twt_session_info {
|
||||
* struct twt_context - TWT context
|
||||
* @peer_capability: TWT peer capability bitmap. Refer enum
|
||||
* wlan_twt_capabilities for representation.
|
||||
* @wait_for_notify: TWT session teardown received, wait for
|
||||
* notify event from firmware before next TWT setup is done.
|
||||
* @num_twt_sessions: Maximum supported TWT sessions.
|
||||
* @session_info: TWT session related parameters for each session
|
||||
*/
|
||||
struct twt_context {
|
||||
uint8_t peer_capability;
|
||||
bool wait_for_notify;
|
||||
uint8_t num_twt_sessions;
|
||||
struct twt_session_info session_info[WLAN_MAX_TWT_SESSIONS_PER_PEER];
|
||||
};
|
||||
|
Reference in New Issue
Block a user