summaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qti.qualcomm.com>2012-10-12 17:35:45 +0530
committerJohannes Berg <johannes.berg@intel.com>2012-10-18 09:01:53 +0200
commitc13a765bd96f4e2f52d218ee6e5c0715380eeeb8 (patch)
treeeb785098f0a3e3eb4217d9943e9dcd26180ad6b8 /include/net/mac80211.h
parentcd2bb512cda58f1efb922ad6dc29013ea5d5d9d0 (diff)
downloadop-kernel-dev-c13a765bd96f4e2f52d218ee6e5c0715380eeeb8.zip
op-kernel-dev-c13a765bd96f4e2f52d218ee6e5c0715380eeeb8.tar.gz
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 89d5bba..71c2f9c 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;
OpenPOWER on IntegriCloud