aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/net80211.h
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2013-05-01 17:20:39 +0100
committerMichael Brown <mcb30@ipxe.org>2013-05-01 19:52:12 +0100
commit15d2f947f51a0ea72e9938f5648fd5133950ecdb (patch)
treef53d0e87063b2c2972c3602ad8962332b3756a72 /src/include/ipxe/net80211.h
parentb4ec6a6a687bd6e714e0dddcb8422cfe0d4195a1 (diff)
downloadipxe-15d2f947f51a0ea72e9938f5648fd5133950ecdb.tar.gz
[settings] Eliminate settings "tag magic"
Create an explicit concept of "settings scope" and eliminate the magic values used for numerical setting tags. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/net80211.h')
-rw-r--r--src/include/ipxe/net80211.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/include/ipxe/net80211.h b/src/include/ipxe/net80211.h
index 771872c82..dd8bd2288 100644
--- a/src/include/ipxe/net80211.h
+++ b/src/include/ipxe/net80211.h
@@ -1183,25 +1183,4 @@ static inline u16 net80211_cts_duration ( struct net80211_device *dev,
net80211_duration ( dev, size, dev->rates[dev->rate] ) );
}
-/** 802.11 device setting tag magic */
-#define NET80211_SETTING_TAG_MAGIC 0x8211
-
-/**
- * Construct 802.11 setting tag
- *
- * @v id Unique identifier
- * @ret tag Setting tag
- */
-#define NET80211_SETTING_TAG( id ) \
- NETDEV_SETTING_TAG ( ( NET80211_SETTING_TAG_MAGIC << 8 ) | (id) )
-
-/** SSID setting tag */
-#define NET80211_SETTING_TAG_SSID NET80211_SETTING_TAG ( 0x01 )
-
-/** Active scanning setting tag */
-#define NET80211_SETTING_TAG_ACTIVE_SCAN NET80211_SETTING_TAG ( 0x02 )
-
-/** Wireless key setting tag */
-#define NET80211_SETTING_TAG_KEY NET80211_SETTING_TAG ( 0x03 )
-
#endif