1. 12 May, 2017 6 commits
    • gabrielC's avatar
      bug fixes from Fujitsu (bug 29) · 6df6513d
      gabrielC authored
      ```-------------------------------------------------------
      bug 29
      
      Ttile:
      FDD should be TDD.
      
      Bug Location:
        switch (oai_emulation.info.frame_type[0]) {
        case FDD:
          frame_type = "FDD";
          break;
      
        case TDD:
          frame_type = "FDD";
          break;
        }
      ```
      
      -------------------------------------------------------
      6df6513d
    • gabrielC's avatar
      bug fixes from Fujitsu (bug 26) · c9e93f96
      gabrielC authored
      ```-------------------------------------------------------
      bug 26
      
      Ttile:
      g_buffer has only 32 index, but he/she tries to zero clear
      1024 index.
      
      Bug Location:
      static uint8_t g_buffer[32];
      :
      memset (g_buffer, 0, 1024);
      
      Note:
      Detected by CppCheck
      ```
      
      -------------------------------------------------------
      c9e93f96
    • Cedric Roux's avatar
      bug fixes from Fujitsu (bug 24) · fb5f2a03
      Cedric Roux authored
      ```-------------------------------------------------------
      bug 24
      
      Ttile:
      The last line "multicast_group = multicast_group" is hard
      to understand. The local variable should be different name
      than the global variable.
      
      Bug Location:
      const char *multicast_group_list[MULTICAST_LINK_NUM_GROUPS] = {
        "239.0.0.161",
        "239.0.0.162",
        "239.0.0.163",
        "239.0.0.164"
      };
      :
      :
      void multicast_link_start(void (*rx_handlerP) (unsigned int, char *),
                                unsigned char multicast_group, char *multicast_ifname)
      {
        rx_handler = rx_handlerP;
        multicast_group = multicast_group;
      
      Note:
      Detected by CppCheck
      ```
      
      -------------------------------------------------------
      fb5f2a03
    • gabrielC's avatar
      bug fixes from Fujitsu (bug 22) · 5dad8378
      gabrielC authored
      Note: not sure that the code is correct,
      to be checked (Cédric Roux).
      
      ----------------------------------------------------------
      bug 22
      
      Ttile:
      (subframe!=2)||(subframe!=7) is always TRUE. This coding
      is really intended? Operator || should be && instead?
      
      Bug Location:
      ((frame_parms->frame_type==TDD)&&(frame_parms->tdd_config==1)&&((subframe!=2)||(subframe!=7)))) {
      
      Note:
      Detected by CppCheck
      ----------------------------------------------------------
      5dad8378
    • gabrielC's avatar
      bug fixes from Fujitsu (bug 21) · e1872629
      gabrielC authored
      Note: this fix does not solve the issue with how
      this buffer is used in this function, but I'm not
      sure this code is used at all (Cédric Roux).
      
      ----------------------------------------------------------
      bug 21
      
      Ttile:
      PAYLOAD_MAX=1500, so this coding results in index overflow.
      Additionally, operator "!=" just compairs something, this
      coding is meaningless.
      
      Bug Location:
      buffer[PAYLOAD_MAX] != '\0';
      
      Note:
      Detected by CppCheck
      ----------------------------------------------------------
      e1872629
    • gabrielC's avatar
      bug fixes from Fujitsu (bugs 18, 19, 20) · d96f4340
      gabrielC authored
      ```-------------------------------------------------------
      bug 18
      
      Ttile:
      Probably he/she wants to copy the contents of arrays, but
      this coding doesn't copy anything, moreover index overflow
      occurs.
      
      Bug Location:
      u2e_t[UE_id][eNB_id]->tx_data[3]=tx[eNB_id][3];
      u2e_t[UE_id][eNB_id]->rx_data[3]=rx[NB_eNB_INST+UE_id][3];
      
      Note:
      Detected by CppCheck
      ```
      
      -------------------------------------------------------
      bug 19
      
      Title:
      Probably he/she wants to copy the contents of arrays, but
      this coding doesn't copy anything, moreover index overflow
      occurs.
      
      Bug Location:
      e2u_t[eNB_id][UE_id]->tx_data[3]=tx[NB_eNB_INST+UE_id][3];
      e2u_t[eNB_id][UE_id]->rx_data[3]=rx[eNB_id][3];
      
      Note:
      Detected by CppCheck
      ----------------------------------------------------------
      bug 20
      
      Title:
      Probably he/she wants to copy the contents of arrays, but
      this coding doesn't copy anything, moreover index overflow
      occurs.
      
      Bug Location:
      tx_data[3]=cthread->tx_data[3];
      rx_data[3]=cthread->rx_data[3];
      
      Note:
      Detected by CppCheck
      ----------------------------------------------------------
      d96f4340
  2. 18 Apr, 2017 2 commits
  3. 14 Apr, 2017 6 commits
  4. 12 Apr, 2017 1 commit
  5. 11 Apr, 2017 2 commits
  6. 10 Apr, 2017 5 commits
    • Cedric Roux's avatar
      bugfix: increase RLC UM header size · 81c3bc77
      Cedric Roux authored
      The constant RLC_UM_SEGMENT_NB_MAX_LI_PER_PDU is set to 24. This is
      too low. Running a downlink TCP iperf with a 10MHz or 20MHz cell
      leads to lots of the following warning in the log:
      
      [RLC][W][SN 792] Bad RLC header! Discard this RLC PDU (size=618)
      
      The problem is that the uplink RLC PDU contains a lot of TCP ack.
      We can see much more than 24 of them. The RLC layer is not happy
      and discards the PDU.
      
      Putting 256 for RLC_UM_SEGMENT_NB_MAX_LI_PER_PDU (arbitrarily chosen,
      big but not too big) solves the problem, at least for 10MHz.
      81c3bc77
    • Cedric Roux's avatar
      minor: bad comparison · 4c548e99
      Cedric Roux authored
      it was:
      
          *num_li_pP >= RLC_UM_SEGMENT_NB_MAX_LI_PER_PDU
      
      it should be:
      
          *num_li_pP > RLC_UM_SEGMENT_NB_MAX_LI_PER_PDU
      4c548e99
    • Cedric Roux's avatar
      Merge branch 'develop_integration_w14' into 'develop' · 1086711a
      Cedric Roux authored
      develop_integration_w14 into develop
      
      Summary of changes:
      - minor bug fixes, minor improvements
      
      See merge request !173
      1086711a
    • Cedric Roux's avatar
      integration fix: change the way to print the version · 6d73f482
      Cedric Roux authored
      Using "system" to call "git log" is too error-prone.
      In the test setup, lte-softmodem was blocked because
      "git log" uses a pager ("less") and the pager was
      waiting for the user to press enter.
      
      We could pass "--no-pager" to "git log" but then
      what if someone runs the softmodem out of the source
      tree?
      
      cmake defines PACKAGE_VERSION, we can use that instead,
      as is done in openair-cn.
      6d73f482
    • Cedric Roux's avatar
  7. 08 Apr, 2017 1 commit
  8. 07 Apr, 2017 2 commits
  9. 03 Apr, 2017 4 commits
    • Cedric Roux's avatar
      hotfix: revert value of 'rb_table_index' · 54d4fbb1
      Cedric Roux authored
      This reverts commit 7f24927c43a0b450d4f474b68520716dba58e3ef.
      
      With value 13 uplink TDD for a 10MHz configuration was not working.
      UDP traffic sent with: "iperf -c XX -u -b10M" was crashing
      the eNB.
      54d4fbb1
    • gabrielC's avatar
      commit id added to the log · c0b68e80
      gabrielC authored
      c0b68e80
    • Cedric Roux's avatar
      Merge branch 'develop_integration_w13' into 'develop' · a1ae56d5
      Cedric Roux authored
      Develop integration w13
      
      Summary of changes:
      - RLC AM reworking (a lot has changed)
      - several bug fixes
        * support processing multiple MAC RAR control elements in a single MSG2
        * fix ACK/NACK resetting
        * do not correct USRP frequency from carrier offset estimation when --ue-carrier-scan == off
        * fix TDD uplink due to incorrect PUCCH format for SR in TDD
        * several other simple fixes
      - better support for LMS SDR
      
      See merge request !168
      a1ae56d5
    • Cedric Roux's avatar
      integration fix: fixes for pthread_getname_np · d8442804
      Cedric Roux authored
      - define _GNU_SOURCE before including pthread.h
      - do not use static for the array 'threadname' used
        to store the name, it makes it a global variable
        accessed by several threads in parallel
      - increase size of 'threadname' (maybe not necessary)
      - properly indent #define / #under (# should be at column 1)
      d8442804
  10. 30 Mar, 2017 1 commit
  11. 29 Mar, 2017 1 commit
  12. 28 Mar, 2017 9 commits