Deleted Added
full compact
wmm.c (281806) wmm.c (289549)
1/*
2 * hostapd / WMM (Wi-Fi Multimedia)
3 * Copyright 2002-2003, Instant802 Networks, Inc.
4 * Copyright 2005-2006, Devicescape Software, Inc.
5 * Copyright (c) 2009, Jouni Malinen <j@w1.fi>
6 *
7 * This software may be distributed under the terms of the BSD license.
8 * See README for more details.

--- 260 unchanged lines hidden (view full) ---

269 hostapd_logger(hapd, mgmt->sa, HOSTAPD_MODULE_IEEE80211,
270 HOSTAPD_LEVEL_DEBUG,
271 "wmm action received is not from associated wmm"
272 " station");
273 /* TODO: respond with action frame refused status code */
274 return;
275 }
276
1/*
2 * hostapd / WMM (Wi-Fi Multimedia)
3 * Copyright 2002-2003, Instant802 Networks, Inc.
4 * Copyright 2005-2006, Devicescape Software, Inc.
5 * Copyright (c) 2009, Jouni Malinen <j@w1.fi>
6 *
7 * This software may be distributed under the terms of the BSD license.
8 * See README for more details.

--- 260 unchanged lines hidden (view full) ---

269 hostapd_logger(hapd, mgmt->sa, HOSTAPD_MODULE_IEEE80211,
270 HOSTAPD_LEVEL_DEBUG,
271 "wmm action received is not from associated wmm"
272 " station");
273 /* TODO: respond with action frame refused status code */
274 return;
275 }
276
277 if (left < 0)
278 return; /* not a valid WMM Action frame */
279
277 /* extract the tspec info element */
278 if (ieee802_11_parse_elems(pos, left, &elems, 1) == ParseFailed) {
279 hostapd_logger(hapd, mgmt->sa, HOSTAPD_MODULE_IEEE80211,
280 HOSTAPD_LEVEL_DEBUG,
281 "hostapd_wmm_action - could not parse wmm "
282 "action");
283 /* TODO: respond with action frame invalid parameters status
284 * code */

--- 40 unchanged lines hidden ---
280 /* extract the tspec info element */
281 if (ieee802_11_parse_elems(pos, left, &elems, 1) == ParseFailed) {
282 hostapd_logger(hapd, mgmt->sa, HOSTAPD_MODULE_IEEE80211,
283 HOSTAPD_LEVEL_DEBUG,
284 "hostapd_wmm_action - could not parse wmm "
285 "action");
286 /* TODO: respond with action frame invalid parameters status
287 * code */

--- 40 unchanged lines hidden ---