qcacmn: Drop beacon/probe frames posted on Scan Queue if queue is full
Drop beacon/probe frames before posting on Scan queue if the queue already has too many beacon/probes to process. Also add scheduler API to get the queue size given the module ID. Change-Id: I9153c7e77e74377863774b68e8163839e992358d CRs-Fixed: 2298584
This commit is contained in:
@@ -283,4 +283,14 @@ QDF_STATUS scheduler_deregister_wma_legacy_handler(void);
|
||||
*/
|
||||
void scheduler_mc_timer_callback(unsigned long data);
|
||||
|
||||
/**
|
||||
* scheduler_get_queue_size() - Get the current size of the scheduler queue
|
||||
* @qid: Queue ID for which the size is requested
|
||||
* @size: Pointer to size where the size would be returned to the caller
|
||||
*
|
||||
* This API finds the size of the scheduler queue for the given Queue ID
|
||||
*
|
||||
* Return: QDF Status
|
||||
*/
|
||||
QDF_STATUS scheduler_get_queue_size(QDF_MODULE_ID qid, uint32_t *size);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user