diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-10-10 19:51:51 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-10-31 19:00:15 -0400 |
commit | bda3933a8aceedd03e0dd410844bd310033ca756 (patch) | |
tree | f4d2c70a6338e500b6db93b073801181280b1840 /include/net | |
parent | 9124b07740c51cbc6e358dd0c4abc6ee8ded084d (diff) |
mac80211: move bss_conf into vif
Move bss_conf into the vif struct so that drivers can
access it during ->tx without having to store it in
the private data or similar. No driver updates because
this is only for when they want to start using it.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/mac80211.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index fd52300b96d0..94ff3eface49 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -529,11 +529,14 @@ struct ieee80211_conf { | |||
529 | * use during the life of a virtual interface. | 529 | * use during the life of a virtual interface. |
530 | * | 530 | * |
531 | * @type: type of this virtual interface | 531 | * @type: type of this virtual interface |
532 | * @bss_conf: BSS configuration for this interface, either our own | ||
533 | * or the BSS we're associated to | ||
532 | * @drv_priv: data area for driver use, will always be aligned to | 534 | * @drv_priv: data area for driver use, will always be aligned to |
533 | * sizeof(void *). | 535 | * sizeof(void *). |
534 | */ | 536 | */ |
535 | struct ieee80211_vif { | 537 | struct ieee80211_vif { |
536 | enum nl80211_iftype type; | 538 | enum nl80211_iftype type; |
539 | struct ieee80211_bss_conf bss_conf; | ||
537 | /* must be last */ | 540 | /* must be last */ |
538 | u8 drv_priv[0] __attribute__((__aligned__(sizeof(void *)))); | 541 | u8 drv_priv[0] __attribute__((__aligned__(sizeof(void *)))); |
539 | }; | 542 | }; |