1. 28 9月, 2020 1 次提交
  2. 18 9月, 2020 3 次提交
  3. 31 7月, 2020 3 次提交
  4. 25 6月, 2020 1 次提交
  5. 08 6月, 2020 1 次提交
  6. 27 5月, 2020 3 次提交
  7. 24 4月, 2020 2 次提交
  8. 20 3月, 2020 1 次提交
  9. 24 2月, 2020 2 次提交
  10. 07 2月, 2020 1 次提交
  11. 15 1月, 2020 1 次提交
  12. 08 10月, 2019 1 次提交
  13. 29 8月, 2019 2 次提交
  14. 19 6月, 2019 1 次提交
  15. 14 6月, 2019 1 次提交
  16. 26 4月, 2019 1 次提交
    • A
      mac80211: IEEE 802.11 Extended Key ID support · 96fc6efb
      Alexander Wetzel 提交于
      Add support for Extended Key ID as defined in IEEE 802.11-2016.
      
       - Implement the nl80211 API for Extended Key ID
       - Extend mac80211 API to allow drivers to support Extended Key ID
       - Enable Extended Key ID by default for drivers only supporting SW
         crypto (e.g. mac80211_hwsim)
       - Allow unicast Tx usage to be supressed (IEEE80211_KEY_FLAG_NO_AUTO_TX)
       - Select the decryption key based on the MPDU keyid
       - Enforce existing assumptions in the code that rekeys don't change the
         cipher
      Signed-off-by: NAlexander Wetzel <alexander@wetzel-home.de>
      [remove module parameter]
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      96fc6efb
  17. 29 3月, 2019 1 次提交
  18. 22 2月, 2019 2 次提交
  19. 25 1月, 2019 1 次提交
    • M
      mac80211: Add attribute aligned(2) to struct 'action' · 7c53eb5d
      Mathieu Malaterre 提交于
      During refactor in commit 9e478066 ("mac80211: fix MU-MIMO
      follow-MAC mode") a new struct 'action' was declared with packed
      attribute as:
      
        struct {
                struct ieee80211_hdr_3addr hdr;
                u8 category;
                u8 action_code;
        } __packed action;
      
      But since struct 'ieee80211_hdr_3addr' is declared with an aligned
      keyword as:
      
        struct ieee80211_hdr {
        	__le16 frame_control;
        	__le16 duration_id;
        	u8 addr1[ETH_ALEN];
        	u8 addr2[ETH_ALEN];
        	u8 addr3[ETH_ALEN];
        	__le16 seq_ctrl;
        	u8 addr4[ETH_ALEN];
        } __packed __aligned(2);
      
      Solve the ambiguity of placing aligned structure in a packed one by
      adding the aligned(2) attribute to struct 'action'.
      
      This removes the following warning (W=1):
      
        net/mac80211/rx.c:234:2: warning: alignment 1 of 'struct <anonymous>' is less than 2 [-Wpacked-not-aligned]
      
      Cc: Johannes Berg <johannes.berg@intel.com>
      Suggested-by: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NMathieu Malaterre <malat@debian.org>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      7c53eb5d
  20. 19 1月, 2019 1 次提交
    • B
      mac80211: fix miscounting of ttl-dropped frames · a0dc0203
      Bob Copeland 提交于
      In ieee80211_rx_h_mesh_fwding, we increment the 'dropped_frames_ttl'
      counter when we decrement the ttl to zero.  For unicast frames
      destined for other hosts, we stop processing the frame at that point.
      
      For multicast frames, we do not rebroadcast it in this case, but we
      do pass the frame up the stack to process it on this STA.  That
      doesn't match the usual definition of "dropped," so don't count
      those as such.
      
      With this change, something like `ping6 -i0.2 ff02::1%mesh0` from a
      peer in a ttl=1 network no longer increments the counter rapidly.
      Signed-off-by: NBob Copeland <bobcopeland@fb.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      a0dc0203
  21. 19 12月, 2018 2 次提交
  22. 18 12月, 2018 1 次提交
  23. 05 12月, 2018 1 次提交
  24. 09 11月, 2018 1 次提交
  25. 11 10月, 2018 1 次提交
    • J
      mac80211: avoid reflecting frames back to the client · 42dca5ef
      Johannes Berg 提交于
      I'm not really sure exactly _why_ I've been carrying a note
      for what's probably _years_ to check that we don't do this,
      but we clearly do reflect frames back to the station itself
      if it sends such.
      
      One way or the other, it's useless since the station doesn't
      really need the AP to talk to itself, so suppress it.
      
      While at it, clarify some of the logic by removing skb->data
      references in favour of the destination address (pointer) we
      already have separately.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      42dca5ef
  26. 11 9月, 2018 1 次提交
  27. 05 9月, 2018 3 次提交