]> git.baikalelectronics.ru Git - kernel.git/commit
wil6210: add wil6210_vif structure for per-VIF data
authorLior David <liord@codeaurora.org>
Mon, 26 Feb 2018 18:12:11 +0000 (20:12 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 27 Feb 2018 16:50:04 +0000 (18:50 +0200)
commitdb9996a0d0d2ea21c87f088a7d9d06f98c5c3c8c
tree4e7bff528883ea923fbb28dcf821abc283eefc54
parent1c9640314cf76dee7f8951fefb0b7c58d752ca7d
wil6210: add wil6210_vif structure for per-VIF data

For supporting multiple virtual interfaces in the future,
introduce a wil6210_vif structure which will hold per-VIF
data. Change the module initialization so wil6210_vif will
be part of net_device structure, and wireless_dev will be
embedded inside the wil6210_vif structure. This will allow
us to find the appropriate wil6210_vif structure when we
only have access to wireless_dev or net_device.

Signed-off-by: Lior David <liord@codeaurora.org>
Signed-off-by: Maya Erez <merez@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/wil6210/cfg80211.c
drivers/net/wireless/ath/wil6210/netdev.c
drivers/net/wireless/ath/wil6210/wil6210.h