26 Dec, 2020

1 commit

  • commit 2d9463083ce92636a1bdd3e30d1236e3e95d859e upstream.

    syzbot discovered a bug in which an OOB access was being made because
    an unsuitable key_idx value was wrongly considered to be acceptable
    while deleting a key in nl80211_del_key().

    Since we don't know the cipher at the time of deletion, if
    cfg80211_validate_key_settings() were to be called directly in
    nl80211_del_key(), even valid keys would be wrongly determined invalid,
    and deletion wouldn't occur correctly.
    For this reason, a new function - cfg80211_valid_key_idx(), has been
    created, to determine if the key_idx value provided is valid or not.
    cfg80211_valid_key_idx() is directly called in 2 places -
    nl80211_del_key(), and cfg80211_validate_key_settings().

    Reported-by: syzbot+49d4cab497c2142ee170@syzkaller.appspotmail.com
    Tested-by: syzbot+49d4cab497c2142ee170@syzkaller.appspotmail.com
    Suggested-by: Johannes Berg
    Signed-off-by: Anant Thazhemadam
    Link: https://lore.kernel.org/r/20201204215825.129879-1-anant.thazhemadam@gmail.com
    Cc: stable@vger.kernel.org
    [also disallow IGTK key IDs if no IGTK cipher is supported]
    Signed-off-by: Johannes Berg
    Signed-off-by: Greg Kroah-Hartman

    Anant Thazhemadam
     

23 Sep, 2020

1 commit

  • Two minor conflicts:

    1) net/ipv4/route.c, adding a new local variable while
    moving another local variable and removing it's
    initial assignment.

    2) drivers/net/dsa/microchip/ksz9477.c, overlapping changes.
    One pretty prints the port mode differently, whilst another
    changes the driver to try and obtain the port mode from
    the port node rather than the switch node.

    Signed-off-by: David S. Miller

    David S. Miller
     

18 Sep, 2020

3 commits

  • S1G channels have a single width defined per frequency, so
    derive it from the channel flags with
    ieee80211_s1g_channel_width().

    Also support setting an S1G channel where control frequency may
    differ from operating, and add some basic validation to
    ensure the control channel is with the operating.

    Signed-off-by: Thomas Pedersen
    Link: https://lore.kernel.org/r/20200908190323.15814-6-thomas@adapt-ip.com
    Signed-off-by: Johannes Berg

    Thomas Pedersen
     
  • The S1G beacon has a different header size than regular
    beacons, so adjust the beacon head validator.

    Signed-off-by: Thomas Pedersen
    Link: https://lore.kernel.org/r/20200908190323.15814-5-thomas@adapt-ip.com
    Signed-off-by: Johannes Berg

    Thomas Pedersen
     
  • We shouldn't accept any channels bigger than 233, fix that.

    Reported-by: Amar
    Fixes: d1a1646c0de7 ("cfg80211: adapt to new channelization of the 6GHz band")
    Signed-off-by: Johannes Berg
    Link: https://lore.kernel.org/r/20200917115222.312ba6f1d461.I3a8c8fbcc3cc019814fd9cd0aced7eb591626136@changeid
    Signed-off-by: Johannes Berg

    Johannes Berg
     

04 Sep, 2020

1 commit

  • Pull networking fixes from David Miller:

    1) Use netif_rx_ni() when necessary in batman-adv stack, from Jussi
    Kivilinna.

    2) Fix loss of RTT samples in rxrpc, from David Howells.

    3) Memory leak in hns_nic_dev_probe(), from Dignhao Liu.

    4) ravb module cannot be unloaded, fix from Yuusuke Ashizuka.

    5) We disable BH for too lokng in sctp_get_port_local(), add a
    cond_resched() here as well, from Xin Long.

    6) Fix memory leak in st95hf_in_send_cmd, from Dinghao Liu.

    7) Out of bound access in bpf_raw_tp_link_fill_link_info(), from
    Yonghong Song.

    8) Missing of_node_put() in mt7530 DSA driver, from Sumera
    Priyadarsini.

    9) Fix crash in bnxt_fw_reset_task(), from Michael Chan.

    10) Fix geneve tunnel checksumming bug in hns3, from Yi Li.

    11) Memory leak in rxkad_verify_response, from Dinghao Liu.

    12) In tipc, don't use smp_processor_id() in preemptible context. From
    Tuong Lien.

    13) Fix signedness issue in mlx4 memory allocation, from Shung-Hsi Yu.

    14) Missing clk_disable_prepare() in gemini driver, from Dan Carpenter.

    15) Fix ABI mismatch between driver and firmware in nfp, from Louis
    Peens.

    * git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (110 commits)
    net/smc: fix sock refcounting in case of termination
    net/smc: reset sndbuf_desc if freed
    net/smc: set rx_off for SMCR explicitly
    net/smc: fix toleration of fake add_link messages
    tg3: Fix soft lockup when tg3_reset_task() fails.
    doc: net: dsa: Fix typo in config code sample
    net: dp83867: Fix WoL SecureOn password
    nfp: flower: fix ABI mismatch between driver and firmware
    tipc: fix shutdown() of connectionless socket
    ipv6: Fix sysctl max for fib_multipath_hash_policy
    drivers/net/wan/hdlc: Change the default of hard_header_len to 0
    net: gemini: Fix another missing clk_disable_unprepare() in probe
    net: bcmgenet: fix mask check in bcmgenet_validate_flow()
    amd-xgbe: Add support for new port mode
    net: usb: dm9601: Add USB ID of Keenetic Plus DSL
    vhost: fix typo in error message
    net: ethernet: mlx4: Fix memory allocation in mlx4_buddy_init()
    pktgen: fix error message with wrong function name
    net: ethernet: ti: am65-cpsw: fix rmii 100Mbit link mode
    cxgb4: fix thermal zone device registration
    ...

    Linus Torvalds
     

27 Aug, 2020

1 commit


24 Aug, 2020

1 commit

  • Replace the existing /* fall through */ comments and its variants with
    the new pseudo-keyword macro fallthrough[1]. Also, remove unnecessary
    fall-through markings when it is the case.

    [1] https://www.kernel.org/doc/html/v5.7/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through

    Signed-off-by: Gustavo A. R. Silva

    Gustavo A. R. Silva
     

08 Aug, 2020

1 commit

  • As said by Linus:

    A symmetric naming is only helpful if it implies symmetries in use.
    Otherwise it's actively misleading.

    In "kzalloc()", the z is meaningful and an important part of what the
    caller wants.

    In "kzfree()", the z is actively detrimental, because maybe in the
    future we really _might_ want to use that "memfill(0xdeadbeef)" or
    something. The "zero" part of the interface isn't even _relevant_.

    The main reason that kzfree() exists is to clear sensitive information
    that should not be leaked to other future users of the same memory
    objects.

    Rename kzfree() to kfree_sensitive() to follow the example of the recently
    added kvfree_sensitive() and make the intention of the API more explicit.
    In addition, memzero_explicit() is used to clear the memory to make sure
    that it won't get optimized away by the compiler.

    The renaming is done by using the command sequence:

    git grep -w --name-only kzfree |\
    xargs sed -i 's/kzfree/kfree_sensitive/'

    followed by some editing of the kfree_sensitive() kerneldoc and adding
    a kzfree backward compatibility macro in slab.h.

    [akpm@linux-foundation.org: fs/crypto/inline_crypt.c needs linux/slab.h]
    [akpm@linux-foundation.org: fix fs/crypto/inline_crypt.c some more]

    Suggested-by: Joe Perches
    Signed-off-by: Waiman Long
    Signed-off-by: Andrew Morton
    Acked-by: David Howells
    Acked-by: Michal Hocko
    Acked-by: Johannes Weiner
    Cc: Jarkko Sakkinen
    Cc: James Morris
    Cc: "Serge E. Hallyn"
    Cc: Joe Perches
    Cc: Matthew Wilcox
    Cc: David Rientjes
    Cc: Dan Carpenter
    Cc: "Jason A . Donenfeld"
    Link: http://lkml.kernel.org/r/20200616154311.12314-3-longman@redhat.com
    Signed-off-by: Linus Torvalds

    Waiman Long
     

31 Jul, 2020

1 commit

  • Gives drivers the definitions needed to advertise support
    for S1G bands.

    Signed-off-by: Thomas Pedersen
    Link: https://lore.kernel.org/r/20200602062247.23212-1-thomas@adapt-ip.com
    Link: https://lore.kernel.org/r/20200731055636.795173-1-thomas@adapt-ip.com
    Signed-off-by: Johannes Berg

    Thomas Pedersen
     

31 May, 2020

3 commits

  • My previous commit here was wrong, it didn't check the new
    flag in two necessary places, so things didn't work. Fix that.

    Fixes: 155d7c733807 ("nl80211: allow client-only BIGTK support")
    Link: https://lore.kernel.org/r/20200528213443.993f108e96ca.I0086ae42d672379380d04ac5effb2f3d5135731b@changeid
    Signed-off-by: Johannes Berg

    Johannes Berg
     
  • The 6GHz band does not have regulatory approval yet, but things are
    moving forward. However, that has led to a change in the channelization
    of the 6GHz band which has been accepted in the 11ax specification. It
    also fixes a missing MHZ_TO_KHZ() macro for 6GHz channels while at it.

    This change is primarily thrown in to discuss how to deal with it.
    I noticed ath11k adding 6G support with old channelization and ditto
    for iw. It probably involves changes in hostapd as well.

    Cc: Pradeep Kumar Chitrapu
    Cc: Jouni Malinen
    Signed-off-by: Arend van Spriel
    Link: https://lore.kernel.org/r/edf07cdd-ad15-4012-3afd-d8b961a80b69@broadcom.com
    Signed-off-by: Johannes Berg

    Arend Van Spriel
     
  • The updates to change to kHz frequencies and the 6 GHz
    additions evidently overlapped (or rather, I didn't see
    it when applying the latter), so the 6 GHz is broken.
    Fix this.

    Fixes: 934f4c7dd3a5 ("cfg80211: express channels with a KHz component")
    Link: https://lore.kernel.org/r/20200529140425.1bf824f6911b.I4a1174916b8f5965af4366999eb9ffc7a0347470@changeid
    Signed-off-by: Johannes Berg

    Johannes Berg
     

24 Apr, 2020

2 commits

  • Some bands (S1G) define channels centered on a non-integer
    MHz. Give ieee80211_channel and cfg80211_chan_def a
    freq_offset component where the final frequency can be
    expressed as:

    MHZ_TO_KHZ(chan->center_freq) + chan->freq_offset;

    Also provide some helper functions to do the frequency
    conversion and test for equality.

    Retain the existing interface to frequency and channel
    conversion helpers, and expose new ones which handle
    frequencies in units of KHz.

    Some internal functions (net/wireless/chan.c) pass around
    a frequency value. Convert these to units of KHz.

    mesh, ibss, wext, etc. are currently ignored.

    Signed-off-by: Thomas Pedersen
    Link: https://lore.kernel.org/r/20200402011810.22947-3-thomas@adapt-ip.com
    Signed-off-by: Johannes Berg

    Thomas Pedersen
     
  • Somehow we missed this for a long time, but similar to the extended
    NSS support in VHT capabilities, we need to have this in Operating
    Mode notification.

    Implement it by
    * parsing the 160/80+80 bit there and setting the bandwidth
    appropriately
    * having callers of ieee80211_get_vht_max_nss() pass in the current
    max NSS value as received in the operating mode notification in
    order to modify it appropriately depending on the extended NSS
    bits.

    This updates all drivers that use it, i.e. only iwlwifi/mvm.

    Signed-off-by: Johannes Berg
    Signed-off-by: Luca Coelho
    Link: https://lore.kernel.org/r/iwlwifi.20200326150855.098483728cfa.I4e8c25d3288441759c2793247197229f0696a37d@changeid
    Signed-off-by: Johannes Berg

    Johannes Berg
     

25 Feb, 2020

1 commit

  • …m/linux/kernel/git/jberg/mac80211-next

    Johannes Berg says:

    ====================
    A new set of changes:
    * lots of small documentation fixes, from Jérôme Pouiller
    * beacon protection (BIGTK) support from Jouni Malinen
    * some initial code for TID configuration, from Tamizh chelvam
    * I reverted some new API before it's actually used, because
    it's wrong to mix controlled port and preauth
    * a few other cleanups/fixes
    ====================

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

    David S. Miller
     

24 Feb, 2020

1 commit

  • IEEE P802.11-REVmd/D3.0 adds support for protecting Beacon frames using
    a new set of keys (BIGTK; key index 6..7) similarly to the way
    group-addressed Robust Management frames are protected (IGTK; key index
    4..5). Extend cfg80211 and nl80211 to allow the new BIGTK to be
    configured. Add an extended feature flag to indicate driver support for
    the new key index values to avoid array overflows in driver
    implementations and also to indicate to user space when this
    functionality is available.

    Signed-off-by: Jouni Malinen
    Link: https://lore.kernel.org/r/20200222132548.20835-2-jouni@codeaurora.org
    Signed-off-by: Johannes Berg

    Jouni Malinen
     

21 Feb, 2020

1 commit


15 Jan, 2020

1 commit

  • The fragments attached to a skb can be part of a compound page. In that case,
    page_ref_inc will increment the refcount for the wrong page. Fix this by
    using get_page instead, which calls page_ref_inc on the compound head and
    also checks for overflow.

    Fixes: 2b67f944f88c ("cfg80211: reuse existing page fragments in A-MSDU rx")
    Cc: stable@vger.kernel.org
    Signed-off-by: Felix Fietkau
    Link: https://lore.kernel.org/r/20200113182107.20461-1-nbd@nbd.name
    Signed-off-by: Johannes Berg

    Felix Fietkau
     

30 Oct, 2019

1 commit

  • This patch disables setting of HT20 and more for channel 14 because
    the channel is only for IEEE 802.11b.

    The patch for net/wireless/util.c was unit-tested.

    The patch for net/wireless/chan.c was tested with iw command.

    Before this patch.
    $ sudo iw dev set channel 14 HT20
    $

    After this patch.
    $ sudo iw dev set channel 14 HT20
    kernel reports: invalid channel definition
    command failed: Invalid argument (-22)
    $

    Signed-off-by: Masashi Honma
    Link: https://lore.kernel.org/r/20191021075045.2719-1-masashi.honma@gmail.com
    [clean up the code, use != instead of equivalent >]
    Signed-off-by: Johannes Berg

    Masashi Honma
     

11 Sep, 2019

3 commits

  • …inux/kernel/git/jberg/mac80211-next

    Johannes Berg says:

    ====================
    We have a number of changes, but things are settling down:
    * a fix in the new 6 GHz channel support
    * a fix for recent minstrel (rate control) updates
    for an infinite loop
    * handle interface type changes better wrt. management frame
    registrations (for management frames sent to userspace)
    * add in-BSS RX time to survey information
    * handle HW rfkill properly if !CONFIG_RFKILL
    * send deauth on IBSS station expiry, to avoid state mismatches
    * handle deferred crypto tailroom updates in mac80211 better
    when device restart happens
    * fix a spectre-v1 - really a continuation of a previous patch
    * advertise NL80211_CMD_UPDATE_FT_IES as supported if so
    * add some missing parsing in VHT extended NSS support
    * support HE in mac80211_hwsim
    * let mac80211 drivers determine the max MTU themselves
    along with the usual cleanups etc.
    ====================

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

    David S. Miller
     
  • Currently frame registrations are not purged, even when changing the
    interface type. This can lead to potentially weird situations where
    frames possibly not allowed on a given interface type remain registered
    due to the type switching happening after registration.

    The kernel currently relies on userspace apps to actually purge the
    registrations themselves, this is not something that the kernel should
    rely on.

    Add a call to cfg80211_mlme_purge_registrations() to forcefully remove
    any registrations left over prior to switching the iftype.

    Cc: stable@vger.kernel.org
    Signed-off-by: Denis Kenzior
    Link: https://lore.kernel.org/r/20190828211110.15005-1-denkenz@gmail.com
    Signed-off-by: Johannes Berg

    Denis Kenzior
     
  • The boundary value used for the 6G band was incorrect as it would
    result in invalid 6G channel number for certain frequencies.

    Reported-by: Amar Singhal
    Signed-off-by: Arend van Spriel
    Link: https://lore.kernel.org/r/1567510772-24263-1-git-send-email-arend.vanspriel@broadcom.com
    Signed-off-by: Johannes Berg

    Arend van Spriel
     

28 Aug, 2019

1 commit


21 Aug, 2019

5 commits

  • 802.11ay specification defines Enhanced Directional Multi-Gigabit
    (EDMG) STA and AP which allow channel bonding of 2 channels and more.

    Introduce new NL attributes that are needed for enabling and
    configuring EDMG support.

    Two new attributes are used by kernel to publish driver's EDMG
    capabilities to the userspace:
    NL80211_BAND_ATTR_EDMG_CHANNELS - bitmap field that indicates the 2.16
    GHz channel(s) that are supported by the driver.
    When this attribute is not set it means driver does not support EDMG.
    NL80211_BAND_ATTR_EDMG_BW_CONFIG - represent the channel bandwidth
    configurations supported by the driver.

    Additional two new attributes are used by the userspace for connect
    command and for AP configuration:
    NL80211_ATTR_WIPHY_EDMG_CHANNELS
    NL80211_ATTR_WIPHY_EDMG_BW_CONFIG

    New rate info flag - RATE_INFO_FLAGS_EDMG, can be reported from driver
    and used for bitrate calculation that will take into account EDMG
    according to the 802.11ay specification.

    Signed-off-by: Alexei Avshalom Lazar
    Link: https://lore.kernel.org/r/1566138918-3823-2-git-send-email-ailizaro@codeaurora.org
    Signed-off-by: Johannes Berg

    Alexei Avshalom Lazar
     
  • For the new 6GHz band the same rules apply for mandatory rates so
    add it to set_mandatory_flags_band() function.

    Reviewed-by: Pieter-Paul Giesberts
    Reviewed-by: Leon Zegers
    Signed-off-by: Arend van Spriel
    Link: https://lore.kernel.org/r/1564745465-21234-9-git-send-email-arend.vanspriel@broadcom.com
    Signed-off-by: Johannes Berg

    Arend van Spriel
     
  • Add 6GHz operating class range as defined in 802.11ax D4.1 Annex E.

    Reviewed-by: Pieter-Paul Giesberts
    Reviewed-by: Leon Zegers
    Signed-off-by: Arend van Spriel
    Link: https://lore.kernel.org/r/1564745465-21234-5-git-send-email-arend.vanspriel@broadcom.com
    Signed-off-by: Johannes Berg

    Arend van Spriel
     
  • Extend the functions ieee80211_channel_to_frequency() and
    ieee80211_frequency_to_channel() to support 6GHz band according
    specification in 802.11ax D4.1 27.3.22.2.

    Reviewed-by: Pieter-Paul Giesberts
    Reviewed-by: Leon Zegers
    Signed-off-by: Arend van Spriel
    Link: https://lore.kernel.org/r/1564745465-21234-4-git-send-email-arend.vanspriel@broadcom.com
    Signed-off-by: Johannes Berg

    Arend van Spriel
     
  • Fix two shortcomings in the Extended Key ID API:

    1) Allow the userspace to install pairwise keys using keyid 1 without
    NL80211_KEY_NO_TX set. This allows the userspace to install and
    activate pairwise keys with keyid 1 in the same way as for keyid 0,
    simplifying the API usage for e.g. FILS and FT key installs.

    2) IEEE 802.11 - 2016 restricts Extended Key ID usage to CCMP/GCMP
    ciphers in IEEE 802.11 - 2016 "9.4.2.25.4 RSN capabilities".
    Enforce that when installing a key.

    Cc: stable@vger.kernel.org # 5.2
    Fixes: 6cdd3979a2bd ("nl80211/cfg80211: Extended Key ID support")
    Signed-off-by: Alexander Wetzel
    Link: https://lore.kernel.org/r/20190805123400.51567-1-alexander@wetzel-home.de
    Signed-off-by: Johannes Berg

    Alexander Wetzel
     

26 Jul, 2019

1 commit

  • Commit 33d915d9e8ce ("{nl,mac}80211: allow 4addr AP operation on
    crypto controlled devices") has introduced a change which allows
    4addr operation on crypto controlled devices (ex: ath10k). This
    change has inadvertently impacted the interface combinations logic
    on such devices.

    General rule is that software interfaces like AP/VLAN should not be
    listed under supported interface combinations and should not be
    considered during validation of these combinations; because of the
    aforementioned change, AP/VLAN interfaces(if present) will be checked
    against interfaces supported by the device and blocks valid interface
    combinations.

    Consider a case where an AP and AP/VLAN are up and running; when a
    second AP device is brought up on the same physical device, this AP
    will be checked against the AP/VLAN interface (which will not be
    part of supported interface combinations of the device) and blocks
    second AP to come up.

    Add a new API cfg80211_iftype_allowed() to fix the problem, this
    API works for all devices with/without SW crypto control.

    Signed-off-by: Manikanta Pubbisetty
    Fixes: 33d915d9e8ce ("{nl,mac}80211: allow 4addr AP operation on crypto controlled devices")
    Link: https://lore.kernel.org/r/1563779690-9716-1-git-send-email-mpubbise@codeaurora.org
    Signed-off-by: Johannes Berg

    Manikanta Pubbisetty
     

14 Jun, 2019

1 commit

  • The bits of Rx MCS Map in VHT capability were enumerated
    with index transform - index i -> (i + 1) bit => nss i. BUG!
    while it should be - index i -> (i + 1) bit => (i + 1) nss.

    The bug was exposed in commit a53b2a0b1245 ("iwlwifi: mvm: implement VHT
    extended NSS support in rs.c"), where iwlwifi started using the
    function.

    Signed-off-by: Mordechay Goodstein
    Fixes: b0aa75f0b1b2 ("ieee80211: add new VHT capability fields/parsing")
    Signed-off-by: Luca Coelho
    Signed-off-by: Johannes Berg

    Mordechay Goodstein
     

24 May, 2019

1 commit


27 Apr, 2019

1 commit

  • …inux/kernel/git/jberg/mac80211-next

    Johannes Berg says:

    ====================
    Various updates, notably:
    * extended key ID support (from 802.11-2016)
    * per-STA TX power control support
    * mac80211 TX performance improvements
    * HE (802.11ax) updates
    * mesh link probing support
    * enhancements of multi-BSSID support (also related to HE)
    * OWE userspace processing support
    ====================

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

    David S. Miller
     

26 Apr, 2019

1 commit

  • Add support for IEEE 802.11-2016 "Extended Key ID for Individually
    Addressed Frames".

    Extend cfg80211 and nl80211 to allow pairwise keys to be installed for
    Rx only, enable Tx separately and allow Key ID 1 for pairwise keys.

    Signed-off-by: Alexander Wetzel
    [use NLA_POLICY_RANGE() for NL80211_KEY_MODE]
    Signed-off-by: Johannes Berg

    Alexander Wetzel
     

29 Mar, 2019

1 commit

  • When building with -Wsometimes-uninitialized, Clang warns:

    net/wireless/util.c:1223:11: warning: variable 'result' is used
    uninitialized whenever 'if' condition is false
    [-Wsometimes-uninitialized]

    Clang can't evaluate at this point that WARN(1, ...) always returns true
    because __ret_warn_on is defined as !!(condition), which isn't
    immediately evaluated as 1. Change this branch to else so that it's
    clear to Clang that we intend to bail out here.

    Link: https://github.com/ClangBuiltLinux/linux/issues/382
    Suggested-by: Nick Desaulniers
    Signed-off-by: Nathan Chancellor
    Reviewed-by: Nick Desaulniers
    Reviewed-by: Arnd Bergmann
    Signed-off-by: Johannes Berg

    Nathan Chancellor
     

22 Feb, 2019

1 commit


11 Feb, 2019

1 commit


08 Feb, 2019

1 commit

  • We currently have a number of helpers to find elements that just
    return a u8 *, change those to return a struct element and add
    inlines to deal with the u8 * compatibility.

    Note that the match behaviour is changed to start the natch at
    the data, so conversion from _ie_match to _elem_match need to
    be done carefully.

    Signed-off-by: Johannes Berg

    Johannes Berg
     

20 Dec, 2018

1 commit

  • …inux/kernel/git/jberg/mac80211-next

    Johannes Berg says:

    ====================
    This time we have too many changes to list, highlights:
    * virt_wifi - wireless control simulation on top of
    another network interface
    * hwsim configurability to test capabilities similar
    to real hardware
    * various mesh improvements
    * various radiotap vendor data fixes in mac80211
    * finally the nl_set_extack_cookie_u64() we talked
    about previously, used for
    * peer measurement APIs, right now only with FTM
    (flight time measurement) for location
    * made nl80211 radio/interface announcements more complete
    * various new HE (802.11ax) things:
    updates, TWT support, ...
    ====================

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

    David S. Miller
     

19 Dec, 2018

1 commit

  • Fix two bugs in ieee80211_get_vht_max_nss():
    * the spec says we should round down
    (reported by Nissim)
    * there's a double condition, the first one is wrong,
    supp_width == 0 / ext_nss_bw == 2 is valid in 80+80
    (found by smatch)

    Fixes: b0aa75f0b1b2 ("ieee80211: add new VHT capability fields/parsing")
    Reported-by: Nissim Bendanan
    Signed-off-by: Luca Coelho
    Signed-off-by: Johannes Berg

    Johannes Berg