10 Dec, 2014

1 commit

  • …inville/wireless-next

    John W. Linville says:

    ====================
    pull request: wireless-next 2014-12-08

    Please pull this last batch of pending wireless updates for the 3.19 tree...

    For the wireless bits, Johannes says:

    "This time I have Felix's no-status rate control work, which will allow
    drivers to work better with rate control even if they don't have perfect
    status reporting. In addition to this, a small hwsim fix from Patrik,
    one of the regulatory patches from Arik, and a number of cleanups and
    fixes I did myself.

    Of note is a patch where I disable CFG80211_WEXT so that compatibility
    is no longer selectable - this is intended as a wake-up call for anyone
    who's still using it, and is still easily worked around (it's a one-line
    patch) before we fully remove the code as well in the future."

    For the Bluetooth bits, Johan says:

    "Here's one more bluetooth-next pull request for 3.19:

    - Minor cleanups for ieee802154 & mac802154
    - Fix for the kernel warning with !TASK_RUNNING reported by Kirill A.
    Shutemov
    - Support for another ath3k device
    - Fix for tracking link key based security level
    - Device tree bindings for btmrvl + a state update fix
    - Fix for wrong ACL flags on LE links"

    And...

    "In addition to the previous one this contains two more cleanups to
    mac802154 as well as support for some new HCI features from the
    Bluetooth 4.2 specification.

    From the original request:

    'Here's what should be the last bluetooth-next pull request for 3.19.
    It's rather large but the majority of it is the Low Energy Secure
    Connections feature that's part of the Bluetooth 4.2 specification. The
    specification went public only this week so we couldn't publish the
    corresponding code before that. The code itself can nevertheless be
    considered fairly mature as it's been in development for over 6 months
    and gone through several interoperability test events.

    Besides LE SC the pull request contains an important fix for command
    complete events for mgmt sockets which also fixes some leaks of hci_conn
    objects when powering off or unplugging Bluetooth adapters.

    A smaller feature that's part of the pull request is service discovery
    support. This is like normal device discovery except that devices not
    matching specific UUIDs or strong enough RSSI are filtered out.

    Other changes that the pull request contains are firmware dump support
    to the btmrvl driver, firmware download support for Broadcom BCM20702A0
    variants, as well as some coding style cleanups in 6lowpan &
    ieee802154/mac802154 code.'"

    For the NFC bits, Samuel says:

    "With this one we get:

    - NFC digital improvements for DEP support: Chaining, NACK and ATN
    support added.

    - NCI improvements: Support for p2p target, SE IO operand addition,
    SE operands extensions to support proprietary implementations, and
    a few fixes.

    - NFC HCI improvements: OPEN_PIPE and NOTIFY_ALL_CLEARED support,
    and SE IO operand addition.

    - A bunch of minor improvements and fixes for STMicro st21nfcb and
    st21nfca"

    For the iwlwifi bits, Emmanuel says:

    "Major works are CSA and TDLS. On top of that I have a new
    firmware API for scan and a few rate control improvements.
    Johannes find a few tricks to improve our CPU utilization
    and adds support for a new spin of 7265 called 7265D.
    Along with this a few random things that don't stand out."

    And...

    "I deprecate here -8.ucode since -9 has been published long ago.
    Along with that I have a new activity, we have now better
    a infrastructure for firmware debugging. This will allow to
    have configurable probes insides the firmware.
    Luca continues his work on NetDetect, this feature is now
    complete. All the rest is minor fixes here and there."

    For the Atheros bits, Kalle says:

    "Only ath10k changes this time and no major changes. Most visible are:

    o new debugfs interface for runtime firmware debugging (Yanbo)

    o fix shared WEP (Sujith)

    o don't rebuild whenever kernel version changes (Johannes)

    o lots of refactoring to make it easier to add new hw support (Michal)

    There's also smaller fixes and improvements with no point of listing
    here."

    In addition, there are a few last minute updates to ath5k,
    ath9k, brcmfmac, brcmsmac, mwifiex, rt2x00, rtlwifi, and wil6210.
    Also included is a pull of the wireless tree to pick-up the fixes
    originally included in "pull request: wireless 2014-12-03"...

    Please let me know if there are problems!
    ====================

    Signed-off-by: David S. Miller <davem@davemloft.net>

    David S. Miller
     

05 Dec, 2014

2 commits


26 Nov, 2014

1 commit


24 Nov, 2014

1 commit


22 Nov, 2014

1 commit

  • …inville/wireless-next

    John W. Linville says:

    ====================
    pull request: wireless-next 2014-11-21

    Please pull this batch of updates intended for the 3.19 stream...

    For the mac80211 bits, Johannes says:

    "It has been a while since my last pull request, so we accumulated
    another relatively large set of changes:
    * TDLS off-channel support set from Arik/Liad, with some support
    patches I did
    * custom regulatory fixes from Arik
    * minstrel VHT fix (and a small optimisation) from Felix
    * add back radiotap vendor namespace support (myself)
    * random MAC address scanning for cfg80211/mac80211/hwsim (myself)
    * CSA improvements (Luca)
    * WoWLAN Net Detect (wake on network found) support (Luca)
    * and lots of other smaller changes from many people"

    For the Bluetooth bits, Johan says:

    "Here's another set of patches for 3.19. Most of it is again fixes and
    cleanups to ieee802154 related code from Alexander Aring. We've also got
    better handling of hardware error events along with a proper API for HCI
    drivers to notify the HCI core of such situations. There's also a minor
    fix for mgmt events as well as a sparse warning fix. The code for
    sending HCI commands synchronously also gets a fix where we might loose
    the completion event in the case of very fast HW (particularly easily
    reproducible with an emulated HCI device)."

    And...

    "Here's another bluetooth-next pull request for 3.19. We've got:

    - Various fixes, cleanups and improvements to ieee802154/mac802154
    - Support for a Broadcom BCM20702A1 variant
    - Lots of lockdep fixes
    - Fixed handling of LE CoC errors that should trigger SMP"

    For the Atheros bits, Kalle says:

    "One ath6kl patch and rest for ath10k, but nothing really major which
    stands out. Most notable:

    o fix resume (Bartosz)

    o firmware restart is now faster and more reliable (Michal)

    o it's now possible to test hardware restart functionality without
    crashing the firmware using hw-restart parameter with
    simulate_fw_crash debugfs file (Michal)"

    On top of that...both ath9k and mwifiex get their usual level of
    updates. Of note is the ath9k spectral scan work from Oleksij Rempel.

    I also pulled from the wireless tree in order to avoid some merge issues.

    Please let me know if there are problems!
    ====================

    Signed-off-by: David S. Miller <davem@davemloft.net>

    David S. Miller
     

17 Nov, 2014

6 commits


12 Nov, 2014

7 commits


11 Nov, 2014

1 commit

  • …inville/wireless-next

    John W. Linville says:

    ====================
    pull request: wireless-next 2014-11-07

    Please pull this batch of updates intended for the 3.19 stream!

    For the mac80211 bits, Johannes says:

    "This relatively large batch of changes is comprised of the following:
    * large mac80211-hwsim changes from Ben, Jukka and a bit myself
    * OCB/WAVE/11p support from Rostislav on behalf of the Czech Technical
    University in Prague and Volkswagen Group Research
    * minstrel VHT work from Karl
    * more CSA work from Luca
    * WMM admission control support in mac80211 (myself)
    * various smaller fixes, spelling corrections, and minor API additions"

    For the Bluetooth bits, Johan says:

    "Here's the first bluetooth-next pull request for 3.19. The vast majority
    of patches are for ieee802154 from Alexander Aring with various fixes
    and cleanups. There are also several LE/SMP fixes as well as improved
    support for handling LE devices that have lost their pairing information
    (the patches from Alfonso). Jukka provides a couple of stability fixes
    for 6lowpan and Szymon conformance fixes for RFCOMM. For the HCI drivers
    we have one new USB ID for an Acer controller as well as a reset
    handling fix for H5."

    For the Atheros bits, Kalle says:

    "Major changes are:

    o ethtool support (Ben)

    o print dev string prefix with debug hex buffers dump (Michal)

    o debugfs file to read calibration data from the firmware verification
    purposes (me)

    o fix fw_stats debugfs file, now results are more reliable (Michal)

    o firmware crash counters via debugfs (Ben&me)

    o various tracing points to debug firmware (Rajkumar)

    o make it possible to provide firmware calibration data via a file (me)

    And we have quite a lot of smaller fixes and clean up."

    For the iwlwifi bits, Emmanuel says:

    "The big new thing here is netdetect which allows the
    firmware to wake up the platform when a specific network
    is detected. Along with that I have fixes for d3 operation.
    The usual amount of rate scaling stuff - we now support STBC.
    The other commit that stands out is Johannes's work on
    devcoredump. He basically starts to use the standard
    infrastructure he built."

    Along with that are the usual sort of updates and such for ath9k,
    brcmfmac, wil6210, and a handful of other bits here and there...

    Please let me know if there are problems!
    ====================

    Signed-off-by: David S. Miller <davem@davemloft.net>

    David S. Miller
     

10 Nov, 2014

9 commits


07 Nov, 2014

1 commit

  • Currently we ensure that the skb is freed on every error path in IPHC
    decompression which makes it easy to introduce skb leaks. By centralising
    the skb_free into the receive function it makes future decompression routines
    easier to maintain. It does come at the expense of ensuring that the skb
    passed into the decompression routine must not be copied.

    Signed-off-by: Martin Townsend
    Acked-by: Jukka Rissanen
    Acked-by: Alexander Aring
    Signed-off-by: Marcel Holtmann

    Martin Townsend
     

06 Nov, 2014

5 commits

  • This encapsulates all of the skb_copy_datagram_iovec() callers
    with call argument signature "skb, offset, msghdr->msg_iov, length".

    When we move to iov_iters in the networking, the iov_iter object will
    sit in the msghdr.

    Having a helper like this means there will be less places to touch
    during that transformation.

    Based upon descriptions and patch from Al Viro.

    Signed-off-by: David S. Miller

    David S. Miller
     
  • This patch removes the get_phy callback from mlme ops structure. Instead
    we doing a dereference via ieee802154_ptr dev pointer. For backwards
    compatibility we need to run get_device after dereference wpan_phy via
    ieee802154_ptr.

    Signed-off-by: Alexander Aring
    Signed-off-by: Marcel Holtmann

    Alexander Aring
     
  • This patch moves the dev_hold call inside of nl-phy ieee802154_add_iface
    function. The ieee802154_add_iface is the only one function which use the
    ieee802154_if_add function and contains the corresponding dev_put call.

    Signed-off-by: Alexander Aring
    Signed-off-by: Marcel Holtmann

    Alexander Aring
     
  • The include/net/nl802154.h file contains a lot of prototypes which are
    not used inside of ieee802154 subsystem. This patch removes this file
    and make the only one used prototype "ieee802154_nl_start_confirm" as
    static declaration in ieee802154/nl-mac.c

    Signed-off-by: Alexander Aring
    Signed-off-by: Marcel Holtmann

    Alexander Aring
     
  • This patch reworks the wpan_phy index incrementation. It's now similar
    like wireless wiphy index incrementation. We move the wpan_phy index
    attribute inside of cfg802154_registered_device and use atomic
    operations instead locking mechanism via wpan_phy_mutex.

    Signed-off-by: Alexander Aring
    Signed-off-by: Marcel Holtmann

    Alexander Aring
     

03 Nov, 2014

1 commit

  • Running make C=2 occurs in warnings:

    symbol 'wpan_phy_class' was not declared. Should it be static?
    symbol 'wpan_phy_sysfs_init' was not declared. Should it be static?
    symbol 'wpan_phy_sysfs_exit' wasnot declared. Should it be static?

    This patch adds a missing include "sysfs.h" to solve these warnings.

    Signed-off-by: Alexander Aring
    Reported-by: Marcel Holtmann
    Signed-off-by: Marcel Holtmann

    Alexander Aring
     

02 Nov, 2014

4 commits

  • Currently the ieee802154 6lowpan interface operates on wpan interfaces
    only. Setting the wpan mac address over 6lowpan interface is complex and
    maybe we can't never do this. This patch removes the set of mac address
    handling in ieee802154 6lowpan interface for now.

    Signed-off-by: Alexander Aring
    Signed-off-by: Marcel Holtmann

    Alexander Aring
     
  • This patch changes the actual behaviour for setting address attributes.
    We should not change addresses while netif_running is true. Furthermore
    when netif_running is running the address attributes becomes read only
    and we can remove locking mechanism in receive and transmit hothpaths
    of 802.15.4 subsystem.

    Signed-off-by: Alexander Aring
    Signed-off-by: Marcel Holtmann

    Alexander Aring
     
  • This patch removes the wpan_phy callbacks for add and del an interface
    on a phy. Instead we introduce deprecated cfg802154 callbacks for this.
    Furthermore we introduce a new netlink interface nl802154 which use
    different callbacks. The deprecated function is to have a backwards
    compatibility with the current netlink interface.

    Signed-off-by: Alexander Aring
    Signed-off-by: Marcel Holtmann

    Alexander Aring
     
  • This patch introduce a function to get the cfg802154_registered_device
    from a wpan_phy.

    Signed-off-by: Alexander Aring
    Signed-off-by: Marcel Holtmann

    Alexander Aring