OSDN Git Service

wilc1000: added queue support for WMM
authorAjay Singh <ajay.kathat@microchip.com>
Wed, 25 Nov 2020 11:41:10 +0000 (11:41 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 2 Dec 2020 19:38:12 +0000 (21:38 +0200)
commit339754ffdb928c212658fc3a43e6050f2fd79dab
tree2ff93f240d08d1b76cc29995ab9ec643fabef544
parent9c172f30b40bb2c50b357930e6a6b7950e610053
wilc1000: added queue support for WMM

Added multiple queues[BK,BE,VI,VO] to handle different priority data
packets. Before adding a packet to the queue, checked its priority from
the header, and then add to the suitable queue. The limit for each queue
is maintained separately. Also while passing the packets to the firmware
via VMM take care to select data packets based on priority and available
space.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20201125114059.10006-6-ajay.kathat@microchip.com
drivers/net/wireless/microchip/wilc1000/cfg80211.c
drivers/net/wireless/microchip/wilc1000/netdev.h
drivers/net/wireless/microchip/wilc1000/wlan.c
drivers/net/wireless/microchip/wilc1000/wlan.h