1. 24 4月, 2020 6 次提交
  2. 20 3月, 2020 1 次提交
  3. 21 2月, 2020 1 次提交
  4. 07 2月, 2020 6 次提交
  5. 15 1月, 2020 2 次提交
  6. 08 11月, 2019 1 次提交
  7. 04 10月, 2019 1 次提交
  8. 11 9月, 2019 2 次提交
  9. 21 8月, 2019 1 次提交
    • A
      nl80211: Add support for EDMG channels · 2a38075c
      Alexei Avshalom Lazar 提交于
      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: NAlexei Avshalom Lazar <ailizaro@codeaurora.org>
      Link: https://lore.kernel.org/r/1566138918-3823-2-git-send-email-ailizaro@codeaurora.orgSigned-off-by: NJohannes Berg <johannes.berg@intel.com>
      2a38075c
  10. 31 7月, 2019 2 次提交
  11. 29 7月, 2019 2 次提交
  12. 20 6月, 2019 1 次提交
  13. 19 6月, 2019 1 次提交
  14. 14 6月, 2019 2 次提交
  15. 24 5月, 2019 1 次提交
    • Y
      mac80211: handle deauthentication/disassociation from TDLS peer · 79c92ca4
      Yu Wang 提交于
      When receiving a deauthentication/disassociation frame from a TDLS
      peer, a station should not disconnect the current AP, but only
      disable the current TDLS link if it's enabled.
      
      Without this change, a TDLS issue can be reproduced by following the
      steps as below:
      
      1. STA-1 and STA-2 are connected to AP, bidirection traffic is running
         between STA-1 and STA-2.
      2. Set up TDLS link between STA-1 and STA-2, stay for a while, then
         teardown TDLS link.
      3. Repeat step #2 and monitor the connection between STA and AP.
      
      During the test, one STA may send a deauthentication/disassociation
      frame to another, after TDLS teardown, with reason code 6/7, which
      means: Class 2/3 frame received from nonassociated STA.
      
      On receive this frame, the receiver STA will disconnect the current
      AP and then reconnect. It's not a expected behavior, purpose of this
      frame should be disabling the TDLS link, not the link with AP.
      
      Cc: stable@vger.kernel.org
      Signed-off-by: NYu Wang <yyuwang@codeaurora.org>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      79c92ca4
  16. 26 4月, 2019 1 次提交
    • S
      mac80211/cfg80211: update bss channel on channel switch · 5dc8cdce
      Sergey Matyukevich 提交于
      FullMAC STAs have no way to update bss channel after CSA channel switch
      completion. As a result, user-space tools may provide inconsistent
      channel info. For instance, consider the following two commands:
      $ sudo iw dev wlan0 link
      $ sudo iw dev wlan0 info
      The latter command gets channel info from the hardware, so most probably
      its output will be correct. However the former command gets channel info
      from scan cache, so its output will contain outdated channel info.
      In fact, current bss channel info will not be updated until the
      next [re-]connect.
      
      Note that mac80211 STAs have a workaround for this, but it requires
      access to internal cfg80211 data, see ieee80211_chswitch_work:
      
      	/* XXX: shouldn't really modify cfg80211-owned data! */
      	ifmgd->associated->channel = sdata->csa_chandef.chan;
      
      This patch suggests to convert mac80211 workaround into cfg80211 behavior
      and to update current bss channel in cfg80211_ch_switch_notify.
      Signed-off-by: NSergey Matyukevich <sergey.matyukevich.os@quantenna.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      5dc8cdce
  17. 22 2月, 2019 6 次提交
  18. 08 2月, 2019 3 次提交