1. 11 Nov, 2014 5 commits
  2. 06 Nov, 2014 4 commits
  3. 05 Nov, 2014 18 commits
  4. 04 Nov, 2014 11 commits
  5. 03 Nov, 2014 2 commits
    • Alexander Aring's avatar
      netdevice: add ieee802154_ptr to net_device · 98a18b6f
      Alexander Aring authored
      This patch adds an ieee802154_ptr to the net_device structure.
      Furthermore the 802.15.4 subsystem will introduce a nl802154 framework
      which is similar like the nl80211 framework and a wpan_dev structure.
      The wpan_dev structure will hold additional net_device attributes like
      address options which are 802.15.4 specific. In the upcoming nl802154
      implementation we will introduce a NL802154_FLAG_NEED_WPAN_DEV like
      NL80211_FLAG_NEED_WDEV. For this flag an ieee802154_ptr in net_device is
      needed. Additional we can access the wpan_dev attributes in upper layers
      like IEEE 802.15.4 6LoWPAN easily. Current solution is a complicated
      callback interface and getting these values over subif data structure
      in mac802154.
      Signed-off-by: default avatarAlexander Aring <alex.aring@gmail.com>
      Acked-by: default avatarDavid S. Miller <davem@davemloft.net>
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      98a18b6f
    • Szymon Janc's avatar
      Bluetooth: Fix invalid response for 'Start Discovery' command · a736abc1
      Szymon Janc authored
      According to Management Interface API 'Start Discovery' command should
      generate a Command Complete event on failure. Currently kernel is
      sending Command Status on early errors. This results in userspace
      ignoring such event due to invalid size.
      
      bluetoothd[28499]: src/adapter.c:trigger_start_discovery()
      bluetoothd[28499]: src/adapter.c:cancel_passive_scanning()
      bluetoothd[28499]: src/adapter.c:start_discovery_timeout()
      bluetoothd[28499]: src/adapter.c:start_discovery_complete() status 0x0a
      bluetoothd[28499]: Wrong size of start discovery return parameters
      Reported-by: default avatarJukka Taimisto <jtt@codenomicon.com>
      Signed-off-by: default avatarSzymon Janc <szymon.janc@tieto.com>
      Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
      a736abc1