]> 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)
commit5458ed4761df677247808d44962444adea8da3e7
tree4e7bff528883ea923fbb28dcf821abc283eefc54
parentf540a3238a76d713d4e4d5ba8957b2f9e9bc6203
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