diff options
author | Bala Shanmugam <bkamatch@qca.qualcomm.com> | 2012-03-07 06:57:12 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-03-12 14:19:34 -0400 |
commit | 4486ea987efdaa546bdda569e3dfacdc14a9fb13 (patch) | |
tree | 2d9a0bb6580772d483f7480469e6ce06f8f87bb3 /include/net/cfg80211.h | |
parent | bff2ec2b916cc85628f3025e08660c0350f03650 (diff) |
cfg80211: Add background scan period attribute.
Receive background scan period as part of connect
command and pass the same to the driver.
Signed-off-by: Bala Shanmugam <bkamatch@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r-- | include/net/cfg80211.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 57c9fddc2acf..66f460325e24 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
@@ -1203,6 +1203,8 @@ struct cfg80211_ibss_params { | |||
1203 | * @key_idx: index of WEP key for shared key authentication | 1203 | * @key_idx: index of WEP key for shared key authentication |
1204 | * @key: WEP key for shared key authentication | 1204 | * @key: WEP key for shared key authentication |
1205 | * @flags: See &enum cfg80211_assoc_req_flags | 1205 | * @flags: See &enum cfg80211_assoc_req_flags |
1206 | * @bg_scan_period: Background scan period in seconds | ||
1207 | * or -1 to indicate that default value is to be used. | ||
1206 | * @ht_capa: HT Capabilities over-rides. Values set in ht_capa_mask | 1208 | * @ht_capa: HT Capabilities over-rides. Values set in ht_capa_mask |
1207 | * will be used in ht_capa. Un-supported values will be ignored. | 1209 | * will be used in ht_capa. Un-supported values will be ignored. |
1208 | * @ht_capa_mask: The bits of ht_capa which are to be used. | 1210 | * @ht_capa_mask: The bits of ht_capa which are to be used. |
@@ -1220,6 +1222,7 @@ struct cfg80211_connect_params { | |||
1220 | const u8 *key; | 1222 | const u8 *key; |
1221 | u8 key_len, key_idx; | 1223 | u8 key_len, key_idx; |
1222 | u32 flags; | 1224 | u32 flags; |
1225 | int bg_scan_period; | ||
1223 | struct ieee80211_ht_cap ht_capa; | 1226 | struct ieee80211_ht_cap ht_capa; |
1224 | struct ieee80211_ht_cap ht_capa_mask; | 1227 | struct ieee80211_ht_cap ht_capa_mask; |
1225 | }; | 1228 | }; |