]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Moved WMM action category definition into ieee802_11_defs.h
authorJouni Malinen <j@w1.fi>
Sun, 31 Aug 2008 08:06:58 +0000 (11:06 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 31 Aug 2008 08:06:58 +0000 (11:06 +0300)
hostapd/ieee802_11.c
hostapd/wme.c
hostapd/wme.h
src/common/ieee802_11_defs.h

index 7358c3d6705aab3d80f75a8119098fb54d08330c..52d9ca8ed04e113a3d9cdad5e8286c7131326f6a 100644 (file)
@@ -1672,7 +1672,7 @@ static void handle_action(struct hostapd_data *hapd,
                return;
        }
 #endif /* CONFIG_IEEE80211R */
-       case WME_ACTION_CATEGORY:
+       case WLAN_ACTION_WMM:
                hostapd_wme_action(hapd, mgmt, len);
                return;
 #ifdef CONFIG_IEEE80211W
index ae2357e5ad511e55eda697c024ebab4fc212d63b..3195ddf9ef848197e6489162687ee329dc032917 100644 (file)
@@ -141,7 +141,7 @@ static void wme_send_action(struct hostapd_data *hapd, const u8 *addr,
        os_memcpy(m->da, addr, ETH_ALEN);
        os_memcpy(m->sa, hapd->own_addr, ETH_ALEN);
        os_memcpy(m->bssid, hapd->own_addr, ETH_ALEN);
-       m->u.action.category = WME_ACTION_CATEGORY;
+       m->u.action.category = WLAN_ACTION_WMM;
        m->u.action.u.wme_action.action_code = action_code;
        m->u.action.u.wme_action.dialog_token = dialogue_token;
        m->u.action.u.wme_action.status_code = status_code;
index d233b10f755dc8108de331082053caaa00683345..c524fb34d94af26554a7518dc22c1e0e8fa55ad7 100644 (file)
@@ -32,7 +32,6 @@
 #define WME_OUI_SUBTYPE_TSPEC_ELEMENT 2
 #define WME_VERSION 1
 
-#define WME_ACTION_CATEGORY 17
 #define WME_ACTION_CODE_SETUP_REQUEST 0
 #define WME_ACTION_CODE_SETUP_RESPONSE 1
 #define WME_ACTION_CODE_TEARDOWN 2
index 0c7759acb357c0c519b0f8a948e9eb856184bb64..7e2801ed60f31f1dc14d2d15aa0b4f41ccaa13c6 100644 (file)
 #define WLAN_ACTION_RADIO_MEASUREMENT 5
 #define WLAN_ACTION_FT 6
 #define WLAN_ACTION_PING 8
+#define WLAN_ACTION_WMM 17
 
 /* Ping Action frame (IEEE 802.11w/D6.0, 7.4.9) */
 #define WLAN_PING_REQUEST 0