aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-10-28 20:09:37 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-11-10 15:11:56 -0500
commit41bb73eeac5ff5fb217257ba33b654747b3abf11 (patch)
tree766ebc2b0da42bb30abbc59ec9a2dd4e43f7a825 /include/net/mac80211.h
parentb23f99bcfa12c7b452f7ad201ea5921534d4e9ff (diff)
mac80211: remove SSID driver code
Remove the SSID from the driver API since now there is no driver that requires knowing the SSID and I think it's unlikely that any hardware design that does require the SSID will play well with mac80211. This also removes support for setting the SSID in master mode which will require a patch to hostapd to not try. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r--include/net/mac80211.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 0b983bed3829..af2ec6f9beb9 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -616,14 +616,12 @@ struct ieee80211_if_init_conf {
616 * enum ieee80211_if_conf_change - interface config change flags 616 * enum ieee80211_if_conf_change - interface config change flags
617 * 617 *
618 * @IEEE80211_IFCC_BSSID: The BSSID changed. 618 * @IEEE80211_IFCC_BSSID: The BSSID changed.
619 * @IEEE80211_IFCC_SSID: The SSID changed.
620 * @IEEE80211_IFCC_BEACON: The beacon for this interface changed 619 * @IEEE80211_IFCC_BEACON: The beacon for this interface changed
621 * (currently AP and MESH only), use ieee80211_beacon_get(). 620 * (currently AP and MESH only), use ieee80211_beacon_get().
622 */ 621 */
623enum ieee80211_if_conf_change { 622enum ieee80211_if_conf_change {
624 IEEE80211_IFCC_BSSID = BIT(0), 623 IEEE80211_IFCC_BSSID = BIT(0),
625 IEEE80211_IFCC_SSID = BIT(1), 624 IEEE80211_IFCC_BEACON = BIT(1),
626 IEEE80211_IFCC_BEACON = BIT(2),
627}; 625};
628 626
629/** 627/**
@@ -631,11 +629,6 @@ enum ieee80211_if_conf_change {
631 * 629 *
632 * @changed: parameters that have changed, see &enum ieee80211_if_conf_change. 630 * @changed: parameters that have changed, see &enum ieee80211_if_conf_change.
633 * @bssid: BSSID of the network we are associated to/creating. 631 * @bssid: BSSID of the network we are associated to/creating.
634 * @ssid: used (together with @ssid_len) by drivers for hardware that
635 * generate beacons independently. The pointer is valid only during the
636 * config_interface() call, so copy the value somewhere if you need
637 * it.
638 * @ssid_len: length of the @ssid field.
639 * 632 *
640 * This structure is passed to the config_interface() callback of 633 * This structure is passed to the config_interface() callback of
641 * &struct ieee80211_hw. 634 * &struct ieee80211_hw.
@@ -643,8 +636,6 @@ enum ieee80211_if_conf_change {
643struct ieee80211_if_conf { 636struct ieee80211_if_conf {
644 u32 changed; 637 u32 changed;
645 u8 *bssid; 638 u8 *bssid;
646 u8 *ssid;
647 size_t ssid_len;
648}; 639};
649 640
650/** 641/**