diff options
author | Javier Lopez <jlopex@cozybit.com> | 2012-07-27 14:27:25 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-08-06 15:01:56 -0400 |
commit | da93c26d0b26139f33cebf9af55715452a10f374 (patch) | |
tree | a1520d2bd676544752f0a7fa9b84833c6f4940e1 /drivers/net/wireless/ath/carl9170/fw.c | |
parent | c071b9f666beee2b27b5a4667f099026ca539bd7 (diff) |
carl9170: Add support for NL80211_IFTYPE_MESH_POINT interfaces
This patch contains following modifications:
- Add mesh capabilities on fw.c to permit creation of mesh
interfaces using this driver.
- Modify carl9170_set_operating_mode, to use AP-style beaconing
with mesh interfaces.
- Allow beacon updates for NL80211_IFTYPE_MESH_POINT type in
carl9170_handle_command_response.
- Add NL80211_IFTYPE_MESH_POINT case on carl9170_op_add_interfaces to
support mesh/ap/sta virtual interface combinations.
Signed-off-by: Javier Lopez <jlopex@cozybit.com>
Acked-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/carl9170/fw.c')
-rw-r--r-- | drivers/net/wireless/ath/carl9170/fw.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/carl9170/fw.c b/drivers/net/wireless/ath/carl9170/fw.c index c5ca6f1f5836..24ac2876a733 100644 --- a/drivers/net/wireless/ath/carl9170/fw.c +++ b/drivers/net/wireless/ath/carl9170/fw.c | |||
@@ -341,6 +341,7 @@ static int carl9170_fw(struct ar9170 *ar, const __u8 *data, size_t len) | |||
341 | if (SUPP(CARL9170FW_WLANTX_CAB)) { | 341 | if (SUPP(CARL9170FW_WLANTX_CAB)) { |
342 | if_comb_types |= | 342 | if_comb_types |= |
343 | BIT(NL80211_IFTYPE_AP) | | 343 | BIT(NL80211_IFTYPE_AP) | |
344 | BIT(NL80211_IFTYPE_MESH_POINT) | | ||
344 | BIT(NL80211_IFTYPE_P2P_GO); | 345 | BIT(NL80211_IFTYPE_P2P_GO); |
345 | } | 346 | } |
346 | } | 347 | } |