summaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorSujith Manoharan2012-10-12 14:05:45 +0200
committerJohannes Berg2012-10-18 09:01:53 +0200
commitc13a765bd96f4e2f52d218ee6e5c0715380eeeb8 (patch)
treeeb785098f0a3e3eb4217d9943e9dcd26180ad6b8 /include/net/mac80211.h
parentmac80211: add support for tx to abort low priority scan requests (diff)
downloadkernel-qcow2-linux-c13a765bd96f4e2f52d218ee6e5c0715380eeeb8.tar.gz
kernel-qcow2-linux-c13a765bd96f4e2f52d218ee6e5c0715380eeeb8.tar.xz
kernel-qcow2-linux-c13a765bd96f4e2f52d218ee6e5c0715380eeeb8.zip
mac80211: Notify new IBSS network creation
Initialization of beacon transmission in IBSS mode depends on whether a new BSS is being created or joined. When joining an existing IBSS network, beaconing has to start only after a TSF-sync has happened - this is explained in 11.1.4. Introduce a new parameter in the BSS information structure to indicate creator/joiner mode. Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r--include/net/mac80211.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 89d5bba28e05..71c2f9c2f5be 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -258,6 +258,7 @@ enum ieee80211_rssi_event {
* @assoc: association status
* @ibss_joined: indicates whether this station is part of an IBSS
* or not
+ * @ibss_creator: indicates if a new IBSS network is being created
* @aid: association ID number, valid only when @assoc is true
* @use_cts_prot: use CTS protection
* @use_short_preamble: use 802.11b short preamble;
@@ -313,6 +314,7 @@ struct ieee80211_bss_conf {
const u8 *bssid;
/* association related data */
bool assoc, ibss_joined;
+ bool ibss_creator;
u16 aid;
/* erp related data */
bool use_cts_prot;