diff options
author | Sujith Manoharan <c_manoha@qti.qualcomm.com> | 2012-10-12 08:05:45 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-10-18 03:01:53 -0400 |
commit | c13a765bd96f4e2f52d218ee6e5c0715380eeeb8 (patch) | |
tree | eb785098f0a3e3eb4217d9943e9dcd26180ad6b8 /include/net/mac80211.h | |
parent | cd2bb512cda58f1efb922ad6dc29013ea5d5d9d0 (diff) |
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.h | 2 |
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 { | |||
258 | * @assoc: association status | 258 | * @assoc: association status |
259 | * @ibss_joined: indicates whether this station is part of an IBSS | 259 | * @ibss_joined: indicates whether this station is part of an IBSS |
260 | * or not | 260 | * or not |
261 | * @ibss_creator: indicates if a new IBSS network is being created | ||
261 | * @aid: association ID number, valid only when @assoc is true | 262 | * @aid: association ID number, valid only when @assoc is true |
262 | * @use_cts_prot: use CTS protection | 263 | * @use_cts_prot: use CTS protection |
263 | * @use_short_preamble: use 802.11b short preamble; | 264 | * @use_short_preamble: use 802.11b short preamble; |
@@ -313,6 +314,7 @@ struct ieee80211_bss_conf { | |||
313 | const u8 *bssid; | 314 | const u8 *bssid; |
314 | /* association related data */ | 315 | /* association related data */ |
315 | bool assoc, ibss_joined; | 316 | bool assoc, ibss_joined; |
317 | bool ibss_creator; | ||
316 | u16 aid; | 318 | u16 aid; |
317 | /* erp related data */ | 319 | /* erp related data */ |
318 | bool use_cts_prot; | 320 | bool use_cts_prot; |