diff options
author | Jouni Malinen <jouni@qca.qualcomm.com> | 2011-08-10 16:53:31 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-08-12 13:45:03 -0400 |
commit | 32e9de846be885444358b67267f837088c05e0c2 (patch) | |
tree | 181a4b23ab44337fdb72e7e0f5f1c0874154f21f /include/net/cfg80211.h | |
parent | 0879fa44b54101c9955123582018cb511047a2b6 (diff) |
nl80211/cfg80211: Allow SSID to be specified in new beacon command
This makes it easier for drivers that generate Beacon and Probe Response
frames internally (in firmware most likely) in AP mode.
Signed-off-by: Jouni Malinen <jouni@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 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index de140d428118..9ee93e7f0e31 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
@@ -346,11 +346,18 @@ struct survey_info { | |||
346 | * @dtim_period: DTIM period or zero if not changed | 346 | * @dtim_period: DTIM period or zero if not changed |
347 | * @head_len: length of @head | 347 | * @head_len: length of @head |
348 | * @tail_len: length of @tail | 348 | * @tail_len: length of @tail |
349 | * @ssid: SSID to be used in the BSS (note: may be %NULL if not provided from | ||
350 | * user space) | ||
351 | * @ssid_len: length of @ssid | ||
352 | * @hidden_ssid: whether to hide the SSID in Beacon/Probe Response frames | ||
349 | */ | 353 | */ |
350 | struct beacon_parameters { | 354 | struct beacon_parameters { |
351 | u8 *head, *tail; | 355 | u8 *head, *tail; |
352 | int interval, dtim_period; | 356 | int interval, dtim_period; |
353 | int head_len, tail_len; | 357 | int head_len, tail_len; |
358 | const u8 *ssid; | ||
359 | size_t ssid_len; | ||
360 | enum nl80211_hidden_ssid hidden_ssid; | ||
354 | }; | 361 | }; |
355 | 362 | ||
356 | /** | 363 | /** |