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:
Vignesh Viswanathan
2018-08-17 11:39:51 +05:30
committed by nshrivas
부모 cbc53dd023
커밋 87a8e44583
5개의 변경된 파일84개의 추가작업 그리고 16개의 파일을 삭제

파일 보기

@@ -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