[PATCH bluetooth-next 0/7] ieee802154: 6lowpan: remove full-size calculation workarounds

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

this patch series based on "ieee802154: 6lowpan: separate receive/transmit functionality".

In this patch series I mainly removes the lowpan_uncompress_size function
workarounds. Why this is a workaround solution? So this function parse again
the 6LoWPAN header for getting the 6LoWPAN header size. We do parsing twice
and this is the first ugly thing there. The second thing is that when we
add new header compression we need to touch the lowpan_uncompress_size again
for adding next header size calculation. This series removes the workaround
so we need to parse/create this only once. It was myself which introduce
this workaround to have at first something which works. Since Martin Townsend
work which put out the lowpan_give_upper_layer outside of the iphc decompression
we can handle it now in that way.

This patch also includes some cleanup patches which I detect while programming
this one. In futher the 6LoWPAN parsing should look like mac802154 parsing.
mac802154 parsing look like mac80211. To rework the 6LoWPAN parsing will be
the next steps.

Cc: Jukka Rissanen <jukka.rissanen@xxxxxxxxxxxxxxx>

Alexander Aring (7):
  6lowpan: allow pull only at lowpan_fetch_skb
  ieee802154: 6lowpan: skb_pull with error handling
  ieee802154: 6lowpan: use skb_network_header
  ieee802154: 6lowpan: remove rx full-size calc workaround
  ieee802154: 6lowpan: handle fragmented IPv6
  ieee802154: 6lowpan: cleanup frag dispatch cases
  ieee802154: 6lowpan: remove tx full-size calc workaround

 include/net/6lowpan.h               | 117 +-----------------------------------
 net/ieee802154/6lowpan/6lowpan_i.h  |   1 +
 net/ieee802154/6lowpan/reassembly.c |  31 ++++++++--
 net/ieee802154/6lowpan/rx.c         |  39 +++++-------
 net/ieee802154/6lowpan/tx.c         |  18 +++---
 5 files changed, 56 insertions(+), 150 deletions(-)

-- 
2.2.0

--
To unsubscribe from this list: send the line "unsubscribe linux-wpan" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux