1. 30 Sep, 2014 10 commits
  2. 26 Sep, 2014 27 commits
  3. 25 Sep, 2014 1 commit
  4. 24 Sep, 2014 2 commits
    • Johan Hedberg's avatar
      Bluetooth: Add retransmission effort into SCO parameter table · c7da5797
      Johan Hedberg authored
      It is expected that new parameter combinations will have the
      retransmission effort value different between some entries (mainly
      because of the new S4 configuration added by HFP 1.7), so it makes sense
      to move it into the table instead of having it hard coded based on the
      selected SCO_AIRMODE_*.
      Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      c7da5797
    • Simon Vincent's avatar
      ieee802154: 6lowpan: ensure header compression does not corrupt ipv6 header · f19f4f95
      Simon Vincent authored
      The 6lowpan ipv6 header compression was causing problems for other interfaces
      that expected a ipv6 header to still be in place, as we were replacing the
      ipv6 header with a compressed version. This happened if you sent a packet to a
      multicast address as the packet would be output on 802.15.4, ethernet, and also
      be sent to the loopback interface. The skb data was shared between these
      interfaces so all interfaces ended up with a compressed ipv6 header.
      
      The solution is to ensure that before we do any header compression we are not
      sharing the skb or skb data with any other interface. If we are then we must
      take a copy of the skb and skb data before modifying the ipv6 header.
      The only place we can copy the skb is inside the xmit function so we don't
      leave dangling references to skb.
      
      This patch moves all the header compression to inside the xmit function. Very
      little code has been changed it has mostly been moved from lowpan_header_create
      to lowpan_xmit. At the top of the xmit function we now check if the skb is
      shared and if so copy it. In lowpan_header_create all we do now is store the
      source and destination addresses for use later when we compress the header.
      Signed-off-by: default avatarSimon Vincent <simon.vincent@xsilon.com>
      Signed-off-by: default avatarAlexander Aring <alex.aring@gmail.com>
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      f19f4f95