diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/nl80211.h | 4 | ||||
-rw-r--r-- | include/linux/wl12xx.h (renamed from include/linux/spi/wl12xx.h) | 8 |
2 files changed, 10 insertions, 2 deletions
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h index 31603e8b5581..f0518b0278a9 100644 --- a/include/linux/nl80211.h +++ b/include/linux/nl80211.h | |||
@@ -1020,6 +1020,8 @@ enum nl80211_attrs { | |||
1020 | * @NL80211_IFTYPE_WDS: wireless distribution interface | 1020 | * @NL80211_IFTYPE_WDS: wireless distribution interface |
1021 | * @NL80211_IFTYPE_MONITOR: monitor interface receiving all frames | 1021 | * @NL80211_IFTYPE_MONITOR: monitor interface receiving all frames |
1022 | * @NL80211_IFTYPE_MESH_POINT: mesh point | 1022 | * @NL80211_IFTYPE_MESH_POINT: mesh point |
1023 | * @NL80211_IFTYPE_P2P_CLIENT: P2P client | ||
1024 | * @NL80211_IFTYPE_P2P_GO: P2P group owner | ||
1023 | * @NL80211_IFTYPE_MAX: highest interface type number currently defined | 1025 | * @NL80211_IFTYPE_MAX: highest interface type number currently defined |
1024 | * @NUM_NL80211_IFTYPES: number of defined interface types | 1026 | * @NUM_NL80211_IFTYPES: number of defined interface types |
1025 | * | 1027 | * |
@@ -1036,6 +1038,8 @@ enum nl80211_iftype { | |||
1036 | NL80211_IFTYPE_WDS, | 1038 | NL80211_IFTYPE_WDS, |
1037 | NL80211_IFTYPE_MONITOR, | 1039 | NL80211_IFTYPE_MONITOR, |
1038 | NL80211_IFTYPE_MESH_POINT, | 1040 | NL80211_IFTYPE_MESH_POINT, |
1041 | NL80211_IFTYPE_P2P_CLIENT, | ||
1042 | NL80211_IFTYPE_P2P_GO, | ||
1039 | 1043 | ||
1040 | /* keep last */ | 1044 | /* keep last */ |
1041 | NUM_NL80211_IFTYPES, | 1045 | NUM_NL80211_IFTYPES, |
diff --git a/include/linux/spi/wl12xx.h b/include/linux/wl12xx.h index a20bccf0b5c2..95deae3968f4 100644 --- a/include/linux/spi/wl12xx.h +++ b/include/linux/wl12xx.h | |||
@@ -21,14 +21,18 @@ | |||
21 | * | 21 | * |
22 | */ | 22 | */ |
23 | 23 | ||
24 | #ifndef _LINUX_SPI_WL12XX_H | 24 | #ifndef _LINUX_WL12XX_H |
25 | #define _LINUX_SPI_WL12XX_H | 25 | #define _LINUX_WL12XX_H |
26 | 26 | ||
27 | struct wl12xx_platform_data { | 27 | struct wl12xx_platform_data { |
28 | void (*set_power)(bool enable); | 28 | void (*set_power)(bool enable); |
29 | /* SDIO only: IRQ number if WLAN_IRQ line is used, 0 for SDIO IRQs */ | 29 | /* SDIO only: IRQ number if WLAN_IRQ line is used, 0 for SDIO IRQs */ |
30 | int irq; | 30 | int irq; |
31 | bool use_eeprom; | 31 | bool use_eeprom; |
32 | int board_ref_clock; | ||
32 | }; | 33 | }; |
33 | 34 | ||
35 | int wl12xx_set_platform_data(const struct wl12xx_platform_data *data); | ||
36 | const struct wl12xx_platform_data *wl12xx_get_platform_data(void); | ||
37 | |||
34 | #endif | 38 | #endif |