add support for setting the STA WME fields from WMM

This commit is contained in:
Andreas Schultz
2016-03-03 16:44:15 +01:00
parent 4d56938321
commit 2b489947c2
6 changed files with 67 additions and 0 deletions

View File

@ -694,6 +694,11 @@ static void wifi_wlan_receive_station_mgmt_association_request(struct wifi_wlan*
/* */
capwap_logging_info("Receive IEEE802.11 Association Request from %s station", station->addrtext);
if (ieitems.wmm_ie != NULL && ieitems.wmm_ie->version == 1) {
station->flags |= WIFI_STATION_FLAGS_WMM;
station->qosinfo = ieitems.wmm_ie->qos_info;
}
/* */
if (wlan->macmode == CAPWAP_ADD_WLAN_MACMODE_LOCAL) {
/* Verify SSID */