qcacmn: Add twt req and responder flags in peer assoc params
WMI_PEER_TWT_REQ and WMI_PEER_TWT_RESP flags are introduced in peer flags sent to FW in PEER_ASSOC_CMD. Add corresponding flags in host structure to indicate peer's support for TWT requester and TWT responder. Change-Id: Ic5edb594a95b255fe8ce1091d96c4d886b4d6170 CRs-Fixed: 2290026
This commit is contained in:

committed by
nshrivas

parent
b277479e83
commit
ad6f6e23b0
@@ -2313,6 +2313,12 @@ static inline void copy_peer_flags_tlv(
|
||||
**/
|
||||
if (param->peer_ht_rates.num_rates == 0)
|
||||
cmd->peer_flags &= ~WMI_PEER_HT;
|
||||
|
||||
if (param->twt_requester)
|
||||
cmd->peer_flags |= WMI_PEER_TWT_REQ;
|
||||
|
||||
if (param->twt_responder)
|
||||
cmd->peer_flags |= WMI_PEER_TWT_RESP;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user