qcacld-3.0: Send Peer TWT caps in PEER ASSOC
Parse the association response frame to read the peer TWT extended capabilities and fill them in the WMI PEER ASSOC command and send it to the firmware. Change-Id: I07f21010abbdaa20e212abae127009dd11e6ab7d CRs-Fixed: 2264690
Этот коммит содержится в:

коммит произвёл
nshrivas

родитель
ba0b4fc472
Коммит
4f849e5032
@@ -309,6 +309,10 @@ typedef struct {
|
||||
#endif
|
||||
uint8_t stbc_capable;
|
||||
uint8_t max_amsdu_num;
|
||||
#ifdef WLAN_SUPPORT_TWT
|
||||
uint8_t twt_requestor;
|
||||
uint8_t twt_responder;
|
||||
#endif
|
||||
} tAddStaParams, *tpAddStaParams;
|
||||
|
||||
/**
|
||||
|
@@ -30,12 +30,27 @@
|
||||
* Return: None
|
||||
*/
|
||||
void wma_send_twt_enable_cmd(uint32_t pdev_id, uint32_t congestion_timeout);
|
||||
|
||||
/**
|
||||
* wma_set_twt_peer_caps() - Fill the peer TWT capabilities
|
||||
* @params: STA context params which will store the capabilities
|
||||
* @cmd: Command in which the capabilities should be populated
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void wma_set_twt_peer_caps(tpAddStaParams params,
|
||||
struct peer_assoc_params *cmd);
|
||||
#else
|
||||
static inline void wma_send_twt_enable_cmd(uint32_t pdev_id,
|
||||
uint32_t congestion_timeout)
|
||||
{
|
||||
WMA_LOGD(FL("TWT not supported as WLAN_SUPPORT_TWT is disabled"));
|
||||
}
|
||||
|
||||
static inline void wma_set_twt_peer_caps(tpAddStaParams params,
|
||||
struct peer_assoc_params *cmd)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __WMA_HE_H */
|
||||
|
Ссылка в новой задаче
Block a user