1. 04 6月, 2013 8 次提交
  2. 03 6月, 2013 1 次提交
  3. 30 5月, 2013 1 次提交
  4. 29 5月, 2013 2 次提交
  5. 27 5月, 2013 1 次提交
  6. 25 5月, 2013 4 次提交
    • J
      cfg80211/mac80211: use cfg80211 wdev mutex in mac80211 · 8d61ffa5
      Johannes Berg 提交于
      Using separate locks in cfg80211 and mac80211 has always
      caused issues, for example having to unlock in places in
      mac80211 to call cfg80211, which even needed a framework
      to make cfg80211 calls after some functions returned etc.
      
      Additionally, I suspect some issues people have reported
      with the cfg80211 state getting confused could be due to
      such issues, when cfg80211 is asking mac80211 to change
      state but mac80211 is in the process of telling cfg80211
      that the state changed (in another way.)
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      8d61ffa5
    • J
      cfg80211: vastly simplify locking · 5fe231e8
      Johannes Berg 提交于
      Virtually all code paths in cfg80211 already (need to) hold
      the RTNL. As such, there's little point in having another
      four mutexes for various parts of the code, they just cause
      lock ordering issues (and much of the time, the RTNL and a
      few of the others need thus be held.)
      
      Simplify all this by getting rid of the extra four mutexes
      and just use the RTNL throughout. Only a few code changes
      were needed to do this and we can get rid of a work struct
      for bonus points.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      5fe231e8
    • A
      {cfg,mac}80211: move mandatory rates calculation to cfg80211 · b422c6cd
      Ashok Nagarajan 提交于
      Move mandatory rates calculation to cfg80211, shared with non mac80211 drivers.
      Signed-off-by: NAshok Nagarajan <ashok@cozybit.com>
      [extend documentation]
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      b422c6cd
    • J
      cfg80211: Allow TDLS peer AID to be configured for VHT · 5e4b6f56
      Jouni Malinen 提交于
      VHT uses peer AID in the PARTIAL_AID field in TDLS frames. The current
      design for TDLS is to first add a dummy STA entry before completing TDLS
      Setup and then update information on this STA entry based on what was
      received from the peer during the setup exchange.
      
      In theory, this could use NL80211_ATTR_STA_AID to set the peer AID just
      like this is used in AP mode to set the AID of an association station.
      However, existing cfg80211 validation rules prevent this attribute from
      being used with set_station operation. To avoid interoperability issues
      between different kernel and user space version combinations, introduce
      a new nl80211 attribute for the purpose of setting TDLS peer AID. This
      attribute can be used in both the new_station and set_station
      operations. It is not supposed to be allowed to change the AID value
      during the lifetime of the STA entry, but that validation is left for
      drivers to do in the change_station callback.
      Signed-off-by: NJouni Malinen <jouni@qca.qualcomm.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      5e4b6f56
  7. 24 5月, 2013 1 次提交
  8. 23 5月, 2013 1 次提交
  9. 17 5月, 2013 7 次提交
  10. 10 5月, 2013 7 次提交
  11. 09 5月, 2013 2 次提交
  12. 08 5月, 2013 5 次提交