aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wmm_ac.c
Commit message (Collapse)AuthorAgeFilesLines
* WMM AC: Reconfigure tspecs on reassociation to the same BSSEliad Peller2015-01-041-0/+83
| | | | | | | | | | | The specification requires the tspecs to be kept upon reassociation to the same BSS. Save the last tspecs before such reassociation, and reconfigure on the association notification. Note that the current flow is not transparent to the user (it is notified about deauth/reassoc and tspec removal/addition). Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
* WMM AC: Do not fail on unknown IEs in Association ResponseEliad Peller2015-01-041-1/+1
| | | | | | | | Some APs add their custom (vendor-specific) IEs to the Association Response frame. Fail WMM AC initialization only if Association Response frame IE parsing actually failed, i.e., ignore all unknown IEs. Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
* WMM AC: Print user-priority in wmm_ac_statusEliad Peller2015-01-041-3/+4
| | | | | | The UP is important property of the tspec, so print it as well. Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
* WMM-AC: Use DEBUG verbosity for ignoring Action frame messagesJouni Malinen2014-12-051-7/+7
| | | | | | | | | | | There is no point in flooding the log with WARNING or ERROR level messages if WMM-AC related Action frames are ignored in cases where they were not expected. In addition, WARNING/ERROR should not really be used in cases an invalid frame is dropped especially if this is not related to a security setup since external devices could otherwise generate log entries. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* WMM AC: Notify driver before sending DelTSJohannes Berg2014-11-161-3/+4
| | | | | | | | | | | Switch the stop and sending DelTS to avoid sending data packets for the session after the DelTS, which is otherwise possible. This also helps the mac80211 implementation as it requires stopping the traffic flow before sending the DelTS as it may modify the AC parameters for the affected queue, and that may in turn affect management frames. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* WMM AC: Add wmm_ac_status control interface commandMoshe Benji2014-11-161-0/+91
| | | | | | | This wmm_ac_status command will show the current status for WMM AC. Signed-off-by: Moshe Benji <moshe.benji@intel.com> Signed-off-by: Eliad Peller <eliad@wizery.com>
* WMM AC: Handle TSPEC action framesMoshe Benji2014-11-161-12/+337
| | | | | | | | Add the TSPEC to the driver on successful TSPEC ADDTS response. Delete the TSPEC when receiving DELTS action. Signed-off-by: Moshe Benji <moshe.benji@intel.com> Signed-off-by: Eliad Peller <eliad@wizery.com>
* WMM AC: Add basic ADDTS/DELTS sending functionsEliad Peller2014-11-161-0/+366
| | | | | | | | | | | | | | | | | | Add basic implementation for ADDTS and DELTS sending functions. wpas_wmm_ac_addts() will send ADDTS request public action, containing TSPEC (traffic stream specification) with the given params. wpas_wmm_ac_delts() will look for the saved tspec with the given tid, and send DELTS public action for it. (Handling of ADDTS response and actually configuring the admission control params will be added in following patches.) Signed-off-by: Moshe Benji <moshe.benji@intel.com> Signed-off-by: Eliad Peller <eliad@wizery.com>
* WMM AC: Parse WMM IE on associationMoshe Benji2014-11-161-0/+128
Initialize WMM AC data structures upon successful association with an AP that publishes WMM support, and deinitialize the data structure when the association is no longer valid. Signed-off-by: Moshe Benji <moshe.benji@intel.com> Signed-off-by: Eliad Peller <eliadx.peller@intel.com>