14 Commits

Author SHA1 Message Date
ole.reinhardt@googlemail.com
4e1b5f9ce9 Removed unused variable from bnep_packet_handler() 2014-11-12 00:12:28 +00:00
ole.reinhardt@googlemail.com
cf7827865f Defined HCI_INCOMING_PRE_BUFFER_SIZE
(14 Bytes = 2 * sizeof(bd_addr_t) + sizeof(uint16_t))
This avoids extra copying of the ethernet frame into a static buffer

bnep.c implements two solutions with and without HCI_INCOMING_PRE_BUFFER_SIZE
defined
2014-11-12 00:12:23 +00:00
ole.reinhardt@googlemail.com
feb9b63cc4 Fixed not freed packet buffer bug, when packet size exceeds MTU in bnep_send()
Fixed max frame size calculation
2014-11-12 00:12:13 +00:00
ole.reinhardt@googlemail.com
98f09fd9b8 Allways call bnep_run() in bnep_hci_event_handler(). Even if the incomming event
if unknown. Otherwise package handling could stop
2014-11-11 21:08:29 +00:00
matthias.ringwald@gmail.com
9a9c32e4a1 remove additional incorrect check 2014-10-29 12:06:51 +00:00
ole.reinhardt@googlemail.com
69b6ff0287 Reworked bnep_send().
Some smaller fixes.
2014-10-28 01:16:50 +00:00
ole.reinhardt@googlemail.com
900ff4aa27 Use correct endianess when storing the network protocol type in a received
ethernet packet
2014-10-28 01:16:39 +00:00
ole.reinhardt@googlemail.com
82e76094c7 Added ethernet packet type handling 2014-10-27 11:49:47 +00:00
ole.reinhardt@googlemail.com
54da7742d6 Some fixes in event generation and added further parameter to bnep_connect() 2014-10-20 10:06:38 +00:00
ole.reinhardt@googlemail.com
982736b649 Further code cleanup 2014-10-20 10:06:07 +00:00
ole.reinhardt@googlemail.com
c9801c0af7 Further code rework and cleanup 2014-10-16 22:58:52 +00:00
ole.reinhardt@googlemail.com
d57175bae7 Fixed typo and some function namings 2014-10-16 12:27:27 +00:00
ole.reinhardt@googlemail.com
67385654ba Some code rework, start implementing benp_run routine and statemachine to
handle async package sending
2014-10-16 09:45:36 +00:00
ole.reinhardt@googlemail.com
66b319ed3a Added bnep.c bnep.h, still under development, may not yet compile 2014-10-08 13:21:40 +00:00