summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhuanglong <huanglong@Exdroid4.(none)>2013-02-19 09:38:35 +0400
committerhuanglong <huanglong@Exdroid4.(none)>2013-02-19 09:38:35 +0400
commit8b1525d6506939b029a8442b663a999bc173a98c (patch)
treefc1a0ed42611fe439f4bff7bec970a8de027f3d7
parent889797fb83186c5eea45b9b87a3cbef9ef8d9bdc (diff)
downloadlinux-sunxi-lichee/apollo-dev.tar.xz
Update the driver of rtl8192cu, to disable all ACM bits since the WMM admission control is not supported, it can improve the UDP packet received on AirTuneslichee/apollo-devlichee-homlet/apollo-dev
-rwxr-xr-xdrivers/net/wireless/rtl8192cu/core/rtw_mlme_ext.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtl8192cu/core/rtw_mlme_ext.c b/drivers/net/wireless/rtl8192cu/core/rtw_mlme_ext.c
index 5ce3a5ed2007..cc01df46be98 100755
--- a/drivers/net/wireless/rtl8192cu/core/rtw_mlme_ext.c
+++ b/drivers/net/wireless/rtl8192cu/core/rtw_mlme_ext.c
@@ -13317,7 +13317,12 @@ int rtw_check_beacon_data(_adapter *padapter, u8 *pbuf, int len)
pmlmepriv->qospriv.qos_option = 1;
*(p+8) |= BIT(7);//QoS Info, support U-APSD
-
+ /* disable all ACM bits since the WMM admission control is not supported */
+ *(p + 10) &= ~BIT(4); /* BE */
+ *(p + 14) &= ~BIT(4); /* BK */
+ *(p + 18) &= ~BIT(4); /* VI */
+ *(p + 22) &= ~BIT(4); /* VO */
+
break;
}