diff options
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r-- | include/net/mac80211.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index f5db5e970428..8b2c7506f5cb 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -1067,6 +1067,9 @@ enum ieee80211_vif_flags { | |||
1067 | * path needing to access it; even though the netdev carrier will always | 1067 | * path needing to access it; even though the netdev carrier will always |
1068 | * be off when it is %NULL there can still be races and packets could be | 1068 | * be off when it is %NULL there can still be races and packets could be |
1069 | * processed after it switches back to %NULL. | 1069 | * processed after it switches back to %NULL. |
1070 | * @debugfs_dir: debugfs dentry, can be used by drivers to create own per | ||
1071 | * interface debug files. Note that it will be NULL for the virtual | ||
1072 | * monitor interface (if that is requested.) | ||
1070 | * @drv_priv: data area for driver use, will always be aligned to | 1073 | * @drv_priv: data area for driver use, will always be aligned to |
1071 | * sizeof(void *). | 1074 | * sizeof(void *). |
1072 | */ | 1075 | */ |
@@ -1083,6 +1086,10 @@ struct ieee80211_vif { | |||
1083 | 1086 | ||
1084 | u32 driver_flags; | 1087 | u32 driver_flags; |
1085 | 1088 | ||
1089 | #ifdef CONFIG_MAC80211_DEBUGFS | ||
1090 | struct dentry *debugfs_dir; | ||
1091 | #endif | ||
1092 | |||
1086 | /* must be last */ | 1093 | /* must be last */ |
1087 | u8 drv_priv[0] __aligned(sizeof(void *)); | 1094 | u8 drv_priv[0] __aligned(sizeof(void *)); |
1088 | }; | 1095 | }; |