1. 17 Jul, 2012 38 commits
  2. 13 Jul, 2012 2 commits
    • Johannes Berg's avatar
      cfg80211: reduce monitor interface tracking · 4290cb4b
      Johannes Berg authored
      Revert commit b78e8cea
      ("cfg80211: track monitor channel") and remove the
      set_monitor_enabled() callback.
      
      Due to the tracking happening in NETDEV_PRE_UP, it had
      introduced bugs because the monitor interface callback
      would be called before the device was started. It looks
      like there's no way to fix this, and using NETDEV_PRE_UP
      is broken anyway (since there's no NETDEV_UP_FAIL), so
      remove all that code, track interfaces in NETDEV_UP and
      also stop tracking the monitor channel in cfg80211.
      
      This mostly reverts to before the tracking, except that
      we keep the interface count tracking so that setting the
      monitor channel can be rejected properly.
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      4290cb4b
    • Johannes Berg's avatar
      cfg80211/mac80211: re-add get_channel operation · 5b7ccaf3
      Johannes Berg authored
      This essentially reverts commit 2e165b81 but
      introduces the get_channel operation with a new
      wireless_dev argument so that you can retrieve
      the channel per interface. This is necessary as
      even though we can track all interface channels
      (except monitor) we can't track the channel type
      used.
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      5b7ccaf3