1. 01 11月, 2008 2 次提交
  2. 15 10月, 2008 1 次提交
  3. 25 9月, 2008 2 次提交
    • J
      mac80211: clean up rate control API · 4b7679a5
      Johannes Berg 提交于
      Long awaited, hard work. This patch totally cleans up the rate control
      API to remove the requirement to include internal headers outside of
      net/mac80211/.
      
      There's one internal use in the PID algorithm left for mesh networking,
      we'll have to figure out a way to clean that one up and decide how to
      do the peer link evaluation, possibly independent of the rate control
      algorithm or via new API.
      
      Additionally, ath9k is left using the cross-inclusion hack for now, we
      will add new API where necessary to make this work properly, but right
      now I'm not expert enough to do it. It's still off better than before.
      Signed-off-by: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      4b7679a5
    • J
      mac80211: make master iface not wireless · 133b8226
      Johannes Berg 提交于
      There's no need to register the master netdev with cfg80211,
      in fact, this is quite dangerous and lead to having to add
      checks for the master interface all over the config handlers.
      This patch removes the "ieee80211_ptr" from the master iface
      in favour of having a small netdev_priv() associated with
      the master interface that stores the ieee80211_local pointer.
      Because of this, a lot of code in the configuration handlers
      can go away. To make this patch easier to verify I have also
      removed a number of wiphy_priv() calls in favour of getting
      the sdata first and then the local pointer from that.
      Signed-off-by: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      133b8226
  4. 16 9月, 2008 10 次提交
  5. 12 9月, 2008 8 次提交
  6. 03 9月, 2008 1 次提交
    • J
      mac80211: Fix debugfs union misuse and pointer corruption · 2b58b209
      Jouni Malinen 提交于
      debugfs union in struct ieee80211_sub_if_data is misused by including a
      common default_key dentry as a union member. This ends occupying the same
      memory area with the first dentry in other union members (structures;
      usually drop_unencrypted). Consequently, debugfs operations on
      default_key symlinks and drop_unencrypted entry are using the same
      dentry pointer even though they are supposed to be separate ones. This
      can lead to removing entries incorrectly or potentially leaving
      something behind since one of the dentry pointers gets lost.
      
      Fix this by moving the default_key dentry to a new struct
      (common_debugfs) that contains dentries (more to be added in future)
      that are shared by all vif types. The debugfs union must only be used
      for vif type-specific entries to avoid this type of pointer corruption.
      Signed-off-by: NJouni Malinen <jouni.malinen@atheros.com>
      Acked-by: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      2b58b209
  7. 30 8月, 2008 1 次提交
  8. 27 8月, 2008 1 次提交
    • J
      mac80211: Fix debugfs file add/del for netdev · 93015f0f
      Jouni Malinen 提交于
      Previous version was using incorrect union structures for non-AP
      interfaces when adding and removing max_ratectrl_rateidx and
      force_unicast_rateidx entries. Depending on the vif type, this ended
      up in corrupting debugfs entries since the dentries inside different
      union structures ended up going being on top of eachother.. As the
      end result, debugfs files were being left behind with references to
      freed data (instant kernel oops on access) and directories were not
      removed properly when unloading mac80211 drivers. This patch fixes
      those issues by using only a single union structure based on the vif
      type.
      Signed-off-by: NJouni Malinen <jouni.malinen@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      93015f0f
  9. 23 8月, 2008 8 次提交
  10. 05 8月, 2008 1 次提交
  11. 02 8月, 2008 1 次提交
  12. 18 7月, 2008 1 次提交
  13. 15 7月, 2008 3 次提交