linux/drivers/net/wireless/microchip/wilc1000
Ajay Singh 62296b3e19 wilc1000: add valid vmm_entry check before fetching from TX queue
'vmm_table' array contains the size of data buffer length including host
header length. In 'vmm_table' array, the Zero value means the end of
vmm_entries that needs to transfer to firmware which is calculated based on
VMM free size in firmware.

Use 'vmm_table' valid entry check before fetching the entry from TX queue to
only copy valid number of entries to avoid possible NULL pointer exception
observed sometimes during large file transfers.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220504161924.2146601-5-ajay.kathat@microchip.com
2022-05-11 08:25:34 +03:00
..
cfg80211.c wilc1000: Rename workqueue from "WILC_wq" to "NETDEV-wq" 2021-12-14 20:46:35 +02:00
cfg80211.h
fw.h
hif.c wilc1000: Improve WILC TX performance when power_save is off 2021-12-16 10:30:21 +02:00
hif.h wilc1000: use 'u64' datatype for cookie variable 2022-05-11 08:25:34 +03:00
Kconfig wilc1000: Add support for enabling CRC 2021-04-17 20:47:40 +03:00
Makefile
mon.c wilc1000: fix crash observed in AP mode with cfg80211_register_netdevice() 2022-05-11 08:25:33 +03:00
netdev.c wilc1000: increase firmware version array size 2022-05-11 08:25:33 +03:00
netdev.h wilc1000: Convert static "chipid" variable to device-local variable 2021-12-22 19:50:50 +02:00
sdio.c wilc1000: use fixed function base register value to access SDIO_FBR_ENABLE_CSA 2022-05-11 08:25:33 +03:00
spi.c spi: Make remove() return void 2022-02-28 10:43:07 -08:00
wlan.c wilc1000: add valid vmm_entry check before fetching from TX queue 2022-05-11 08:25:34 +03:00
wlan.h wilc1000: Rename SPI driver from "WILC_SPI" to "wilc1000_spi" 2021-12-14 20:46:33 +02:00
wlan_cfg.c wilc1000: add new WID to pass wake_enable information to firmware 2021-09-21 18:08:15 +03:00
wlan_cfg.h
wlan_if.h wilc1000: configure registers to handle chip wakeup sequence 2021-09-21 18:08:15 +03:00