1. 01 3月, 2008 1 次提交
    • J
      cfg80211 API for channels/bitrates, mac80211 and driver conversion · 8318d78a
      Johannes Berg 提交于
      This patch creates new cfg80211 wiphy API for channel and bitrate
      registration and converts mac80211 and drivers to the new API. The
      old mac80211 API is completely ripped out. All drivers (except ath5k)
      are updated to the new API, in many cases I expect that optimisations
      can be done.
      
      Along with the regulatory code I've also ripped out the
      IEEE80211_HW_DEFAULT_REG_DOMAIN_CONFIGURED flag, I believe it to be
      unnecessary if the hardware simply gives us whatever channels it wants
      to support and we then enable/disable them as required, which is pretty
      much required for travelling.
      
      Additionally, the patch adds proper "basic" rate handling for STA
      mode interface, AP mode interface will have to have new API added
      to allow userspace to set the basic rate set, currently it'll be
      empty... However, the basic rate handling will need to be moved to
      the BSS conf stuff.
      
      I do expect there to be bugs in this, especially wrt. transmit
      power handling where I'm basically clueless about how it should work.
      Signed-off-by: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      8318d78a
  2. 29 1月, 2008 4 次提交
  3. 11 11月, 2007 1 次提交
  4. 11 10月, 2007 7 次提交
  5. 18 7月, 2007 1 次提交
    • D
      [PATCH] mac80211: regulatory domain cleanup · fd8bacc9
      Daniel Drake 提交于
      Currently, a function misnamed ieee80211_init_client() is used to handle
      regulatory domain control. It is called from
      ieee80211_register_hwmode(), which typically runs 2 or 3 times
      (802.11a/b/g), but each time it iterates over all the modes.
      
      This patch cleans this up and removes the confusion:
      ieee80211_init_client was effectively renamed to
      ieee80211_set_default_regdomain and is now run on a per-mode basis
      (doesn't have to deal with netdevs). I also moved the regdomain handling
      code into its own file and added some documentation.
      Signed-off-by: NDaniel Drake <dsd@gentoo.org>
      Acked-by: NJiri Benc <jbenc@suse.cz>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      fd8bacc9
  6. 06 5月, 2007 2 次提交