OLD | NEW |
1 /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ | 1 /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ |
2 /* | 2 /* |
3 * Copyright (c) 2006, 2009 INRIA | 3 * Copyright (c) 2006, 2009 INRIA |
4 * Copyright (c) 2009 MIRKO BANCHI | 4 * Copyright (c) 2009 MIRKO BANCHI |
5 * | 5 * |
6 * This program is free software; you can redistribute it and/or modify | 6 * This program is free software; you can redistribute it and/or modify |
7 * it under the terms of the GNU General Public License version 2 as· | 7 * it under the terms of the GNU General Public License version 2 as· |
8 * published by the Free Software Foundation; | 8 * published by the Free Software Foundation; |
9 * | 9 * |
10 * This program is distributed in the hope that it will be useful, | 10 * This program is distributed in the hope that it will be useful, |
(...skipping 812 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
823 case WIFI_PHY_STANDARD_80211p_SCH: | 823 case WIFI_PHY_STANDARD_80211p_SCH: |
824 ConfigureDcf (m_queues[AC_BK], 15, 511, AC_BK); | 824 ConfigureDcf (m_queues[AC_BK], 15, 511, AC_BK); |
825 ConfigureDcf (m_queues[AC_BE], 15, 511, AC_BE); | 825 ConfigureDcf (m_queues[AC_BE], 15, 511, AC_BE); |
826 ConfigureDcf (m_queues[AC_VI], 15, 511, AC_VI); | 826 ConfigureDcf (m_queues[AC_VI], 15, 511, AC_VI); |
827 ConfigureDcf (m_queues[AC_VO], 15, 511, AC_VO); | 827 ConfigureDcf (m_queues[AC_VO], 15, 511, AC_VO); |
828 break; | 828 break; |
829 case WIFI_PHY_STANDARD_holland: | 829 case WIFI_PHY_STANDARD_holland: |
830 // fall through | 830 // fall through |
831 case WIFI_PHY_STANDARD_80211a: | 831 case WIFI_PHY_STANDARD_80211a: |
832 // fall through | 832 // fall through |
| 833 case WIFI_PHY_STANDARD_80211g: |
| 834 // fall through |
833 case WIFI_PHY_STANDARD_80211_10Mhz: | 835 case WIFI_PHY_STANDARD_80211_10Mhz: |
834 // fall through | 836 // fall through |
835 case WIFI_PHY_STANDARD_80211_5Mhz: | 837 case WIFI_PHY_STANDARD_80211_5Mhz: |
836 ConfigureDcf (m_queues[AC_BK], 15, 1023, AC_BK); | 838 ConfigureDcf (m_queues[AC_BK], 15, 1023, AC_BK); |
837 ConfigureDcf (m_queues[AC_BE], 15, 1023, AC_BE); | 839 ConfigureDcf (m_queues[AC_BE], 15, 1023, AC_BE); |
838 ConfigureDcf (m_queues[AC_VI], 15, 1023, AC_VI); | 840 ConfigureDcf (m_queues[AC_VI], 15, 1023, AC_VI); |
839 ConfigureDcf (m_queues[AC_VO], 15, 1023, AC_VO); | 841 ConfigureDcf (m_queues[AC_VO], 15, 1023, AC_VO); |
840 break; | 842 break; |
841 case WIFI_PHY_STANDARD_80211b: | 843 case WIFI_PHY_STANDARD_80211b: |
842 ConfigureDcf (m_queues[AC_BK], 31, 1023, AC_BK); | 844 ConfigureDcf (m_queues[AC_BK], 31, 1023, AC_BK); |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
899 packet->AddHeader (actionHdr); | 901 packet->AddHeader (actionHdr); |
900 ·· | 902 ·· |
901 /* ns3::MacLow have to buffer all correctly received packet for this block ack
session */ | 903 /* ns3::MacLow have to buffer all correctly received packet for this block ack
session */ |
902 m_low->CreateBlockAckAgreement (&respHdr, originator, reqHdr->GetStartingSeque
nce ()); | 904 m_low->CreateBlockAckAgreement (&respHdr, originator, reqHdr->GetStartingSeque
nce ()); |
903 | 905 |
904 //Better a management queue?· | 906 //Better a management queue?· |
905 m_queues[QosUtilsMapTidToAc (reqHdr->GetTid ())]->PushFront (packet, hdr); | 907 m_queues[QosUtilsMapTidToAc (reqHdr->GetTid ())]->PushFront (packet, hdr); |
906 } | 908 } |
907 | 909 |
908 } //namespace ns3 | 910 } //namespace ns3 |
OLD | NEW |