Loading CORE/HDD/inc/wlan_hdd_main.h +1 −1 Original line number Diff line number Diff line Loading @@ -1369,7 +1369,7 @@ struct hdd_adapter_s v_BOOL_t isLinkLayerStatsSet; #endif /* DSCP to UP QoS Mapping */ sme_QosWmmUpType hddWmmDscpToUpMap[WLAN_HDD_MAX_DSCP+1]; sme_QosWmmUpType hddWmmDscpToUpMap[WLAN_MAX_DSCP+1]; /* Lock for active sessions while processing deauth/Disassoc */ spinlock_t lock_for_active_session; tSirFwStatsResult fwStatsRsp; Loading CORE/HDD/src/wlan_hdd_wmm.c +1 −4 Original line number Diff line number Diff line Loading @@ -84,9 +84,6 @@ #define WMM_TRACE_LEVEL_INFO_LOW VOS_TRACE_LEVEL_INFO_LOW #endif #define WLAN_HDD_MAX_DSCP 0x3f // DHCP Port number #define DHCP_SOURCE_PORT 0x4400 #define DHCP_DESTINATION_PORT 0x4300 Loading Loading @@ -1712,7 +1709,7 @@ VOS_STATUS hdd_wmm_init ( hdd_adapter_t *pAdapter ) "%s: Entered", __func__); // DSCP to User Priority Lookup Table for (dscp = 0; dscp <= WLAN_HDD_MAX_DSCP; dscp++) for (dscp = 0; dscp <= WLAN_MAX_DSCP; dscp++) { hddWmmDscpToUpMap[dscp] = SME_QOS_WMM_UP_BE; } Loading CORE/SME/inc/sme_QosApi.h +1 −0 Original line number Diff line number Diff line Loading @@ -57,6 +57,7 @@ #define SME_QOS_UAPSD_VI 0x02 #define SME_QOS_UAPSD_BE 0x08 #define SME_QOS_UAPSD_BK 0x04 #define WLAN_MAX_DSCP 0x3f /*-------------------------------------------------------------------------- Type declarations Loading CORE/SME/src/sme_common/sme_Api.c +3 −15 Original line number Diff line number Diff line Loading @@ -13244,25 +13244,13 @@ VOS_STATUS sme_UpdateDSCPtoUPMapping( tHalHandle hHal, for (i = 0; i < SME_QOS_WMM_UP_MAX; i++) { for (j = pSession->QosMapSet.dscp_range[i][0]; j <= pSession->QosMapSet.dscp_range[i][1]; j++) { if ((pSession->QosMapSet.dscp_range[i][0] == 255) && (pSession->QosMapSet.dscp_range[i][1] == 255)) { VOS_TRACE(VOS_MODULE_ID_SME, VOS_TRACE_LEVEL_ERROR, "%s: User Priority %d is not used in mapping", __func__, i); break; } else { j <= pSession->QosMapSet.dscp_range[i][1] && j <= WLAN_MAX_DSCP; j++) dscpmapping[j]= i; } } } for (i = 0; i< pSession->QosMapSet.num_dscp_exceptions; i++) { if (pSession->QosMapSet.dscp_exceptions[i][0] != 255) if (pSession->QosMapSet.dscp_exceptions[i][0] <= WLAN_MAX_DSCP) { dscpmapping[pSession->QosMapSet.dscp_exceptions[i][0] ] = pSession->QosMapSet.dscp_exceptions[i][1]; Loading Loading
CORE/HDD/inc/wlan_hdd_main.h +1 −1 Original line number Diff line number Diff line Loading @@ -1369,7 +1369,7 @@ struct hdd_adapter_s v_BOOL_t isLinkLayerStatsSet; #endif /* DSCP to UP QoS Mapping */ sme_QosWmmUpType hddWmmDscpToUpMap[WLAN_HDD_MAX_DSCP+1]; sme_QosWmmUpType hddWmmDscpToUpMap[WLAN_MAX_DSCP+1]; /* Lock for active sessions while processing deauth/Disassoc */ spinlock_t lock_for_active_session; tSirFwStatsResult fwStatsRsp; Loading
CORE/HDD/src/wlan_hdd_wmm.c +1 −4 Original line number Diff line number Diff line Loading @@ -84,9 +84,6 @@ #define WMM_TRACE_LEVEL_INFO_LOW VOS_TRACE_LEVEL_INFO_LOW #endif #define WLAN_HDD_MAX_DSCP 0x3f // DHCP Port number #define DHCP_SOURCE_PORT 0x4400 #define DHCP_DESTINATION_PORT 0x4300 Loading Loading @@ -1712,7 +1709,7 @@ VOS_STATUS hdd_wmm_init ( hdd_adapter_t *pAdapter ) "%s: Entered", __func__); // DSCP to User Priority Lookup Table for (dscp = 0; dscp <= WLAN_HDD_MAX_DSCP; dscp++) for (dscp = 0; dscp <= WLAN_MAX_DSCP; dscp++) { hddWmmDscpToUpMap[dscp] = SME_QOS_WMM_UP_BE; } Loading
CORE/SME/inc/sme_QosApi.h +1 −0 Original line number Diff line number Diff line Loading @@ -57,6 +57,7 @@ #define SME_QOS_UAPSD_VI 0x02 #define SME_QOS_UAPSD_BE 0x08 #define SME_QOS_UAPSD_BK 0x04 #define WLAN_MAX_DSCP 0x3f /*-------------------------------------------------------------------------- Type declarations Loading
CORE/SME/src/sme_common/sme_Api.c +3 −15 Original line number Diff line number Diff line Loading @@ -13244,25 +13244,13 @@ VOS_STATUS sme_UpdateDSCPtoUPMapping( tHalHandle hHal, for (i = 0; i < SME_QOS_WMM_UP_MAX; i++) { for (j = pSession->QosMapSet.dscp_range[i][0]; j <= pSession->QosMapSet.dscp_range[i][1]; j++) { if ((pSession->QosMapSet.dscp_range[i][0] == 255) && (pSession->QosMapSet.dscp_range[i][1] == 255)) { VOS_TRACE(VOS_MODULE_ID_SME, VOS_TRACE_LEVEL_ERROR, "%s: User Priority %d is not used in mapping", __func__, i); break; } else { j <= pSession->QosMapSet.dscp_range[i][1] && j <= WLAN_MAX_DSCP; j++) dscpmapping[j]= i; } } } for (i = 0; i< pSession->QosMapSet.num_dscp_exceptions; i++) { if (pSession->QosMapSet.dscp_exceptions[i][0] != 255) if (pSession->QosMapSet.dscp_exceptions[i][0] <= WLAN_MAX_DSCP) { dscpmapping[pSession->QosMapSet.dscp_exceptions[i][0] ] = pSession->QosMapSet.dscp_exceptions[i][1]; Loading