wpa_supplicant AP/P2P: Enable WMM param configuration
In case of P2P GO and AP mode, wpa_supplicant uses the default hostapd parameters for WMM. In the default parameters the ACM bit for video and voice are set to 1, meaning, P2P devices and stations which are connected to the GO cannot pass voice or video data packets. Allow this to be changed through wpa_supplicant configuration file with wmm_ac_* parameters. Signed-hostap: Yoni Divinsky <yoni.divinsky@ti.com>
This commit is contained in:
parent
eda070f14f
commit
c26effe15f
3 changed files with 39 additions and 0 deletions
|
@ -490,6 +490,10 @@ int wpa_supplicant_create_ap(struct wpa_supplicant *wpa_s,
|
|||
return -1;
|
||||
}
|
||||
|
||||
os_memcpy(wpa_s->ap_iface->conf->wmm_ac_params,
|
||||
wpa_s->conf->wmm_ac_params,
|
||||
sizeof(wpa_s->conf->wmm_ac_params));
|
||||
|
||||
if (params.uapsd > 0) {
|
||||
conf->bss->wmm_enabled = 1;
|
||||
conf->bss->wmm_uapsd = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue