aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/driver_i.h
diff options
context:
space:
mode:
authorSudhakar Swaminathan <Sudhakar.Swaminathan@Atheros.com>2010-09-08 18:18:10 (GMT)
committerJouni Malinen <j@w1.fi>2010-09-10 17:30:26 (GMT)
commit0f66abd25bde08f4bf8464002430f14e58125930 (patch)
treee3ed38f4212d92934b5e7ede16b918f5b3439b07 /wpa_supplicant/driver_i.h
parent0d0a8ca1cc14acb30b6681818427b21798698ed6 (diff)
downloadhostap-0f66abd25bde08f4bf8464002430f14e58125930.zip
hostap-0f66abd25bde08f4bf8464002430f14e58125930.tar.gz
hostap-0f66abd25bde08f4bf8464002430f14e58125930.tar.bz2
P2P: Add option for disabling intra BSS distribution
p2p_intra_bss configuration parameter can now be used to disable/enable intra BSS distribution (bridging of frames between the clients in a group).
Diffstat (limited to 'wpa_supplicant/driver_i.h')
-rw-r--r--wpa_supplicant/driver_i.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/wpa_supplicant/driver_i.h b/wpa_supplicant/driver_i.h
index bfc5b74..b5c9fc8 100644
--- a/wpa_supplicant/driver_i.h
+++ b/wpa_supplicant/driver_i.h
@@ -424,6 +424,14 @@ static inline int wpa_drv_if_remove(struct wpa_supplicant *wpa_s,
return -1;
}
+static inline int wpa_drv_set_intra_bss(struct wpa_supplicant *wpa_s,
+ int enabled)
+{
+ if (wpa_s->driver->set_intra_bss)
+ return wpa_s->driver->set_intra_bss(wpa_s->drv_priv, enabled);
+ return -1;
+}
+
static inline int wpa_drv_remain_on_channel(struct wpa_supplicant *wpa_s,
unsigned int freq,
unsigned int duration)