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)
commit9f38f28624555af82a2909c9716688367d7297b1
tree4e7bff528883ea923fbb28dcf821abc283eefc54
parent9bfd05e35ac3519c26ffa0bfb1ab8933c8f00c74
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