/** * \fn txMgmtQ_EnableLink * \brief Enable all queues transmission for the link * * \param hTxMgmtQ - The module's object * \return void * \sa txMgmtQ_DisableLink */ static void txMgmtQ_EnableLink (TTxMgmtQ *pTxMgmtQ, TI_UINT32 uHlid) { TMgmtLinkQ *pLinkQ = &pTxMgmtQ->aMgmtLinkQ[uHlid]; pLinkQ->bEnabled = TI_TRUE; /* If the queues are not empty, run the scheduler and if they become empty update the SM. */ runSchedulerNotFromSm (pTxMgmtQ); }
/** * \fn txMgmtQ_WakeAll * \brief Enable all queues transmission * * This function is called by the Tx-Port when the whole Mgmt-queue is enabled. * It sets the common queues enable indication and calls the scheduler. * * \note * \param hTxMgmtQ - The module's object * \return void * \sa txMgmtQ_StopAll */ void txMgmtQ_WakeAll (TI_HANDLE hTxMgmtQ) { TTxMgmtQ *pTxMgmtQ = (TTxMgmtQ *)hTxMgmtQ; /* Enable the Mgmt Tx port */ pTxMgmtQ->bMgmtPortEnable = TI_TRUE; /* If the queues are not empty, run the scheduler and if they become empty update the SM. */ runSchedulerNotFromSm (pTxMgmtQ); }
/** * \fn txMgmtQ_UpdateBusyMap * \brief Update the queues busy map * * This function is called by the txCtrl if the backpressure map per TID is changed. * This could be as a result of Tx-Complete, admission change or association. * The function modifies the internal queues Busy indication and calls the scheduler. * * \note * \param hTxMgmtQ - The module's object * \param uTidBitMap - The busy TIDs bitmap * \return void * \sa txMgmtQ_StopQueue */ void txMgmtQ_UpdateBusyMap (TI_HANDLE hTxMgmtQ, TI_UINT32 uTidBitMap) { TTxMgmtQ *pTxMgmtQ = (TTxMgmtQ *)hTxMgmtQ; /* Update the Queue(s) busy map. */ updateQueuesBusyMap (pTxMgmtQ, uTidBitMap); /* If the queues are not empty, run the scheduler and if they become empty update the SM. */ runSchedulerNotFromSm (pTxMgmtQ); }