1. 11 10月, 2007 33 次提交
  2. 26 9月, 2007 1 次提交
  3. 15 8月, 2007 1 次提交
  4. 07 8月, 2007 1 次提交
  5. 19 7月, 2007 1 次提交
  6. 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
  7. 13 7月, 2007 2 次提交
    • D
      [PATCH] mac80211: improved 802.11g CTS protection · 63fc33ce
      Daniel Drake 提交于
      Currently, CTS protection is partially implemented twice:
       1. via prism2 ioctls, only used by hostapd
       2. via STA beacon parsing, recorded in sta.use_protection but never used
          (other than printed in debugfs)
      
      Protection control should be implemented on a per-subif basis. For example,
      a single physical device may be running a soft AP on one channel, and a STA
      on another. The AP interface should use protection based on what hostapd told
      it, and the STA interface should use protection based on beacon parsing.
      These should operate independantly: one subif using protection should not
      influence the other.
      
      To implement this, I moved the use_protection flag into ieee80211_sub_if_data
      and removed the device-global cts_protect_erp_frames flag.
      
      I also made the PRISM2_PARAM_CTS_PROTECT_ERP_FRAMES write operation only
      available for AP interfaces, to avoid any possibility of the user messing with
      the behaviour of a STA.
      Signed-off-by: NDaniel Drake <dsd@gentoo.org>
      Signed-off-by: NJiri Benc <jbenc@suse.cz>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      63fc33ce
    • J
      [PATCH] mac80211: clarify some mac80211 things · 4480f15c
      Johannes Berg 提交于
      The semantics of not having an add_interface callback are not well
      defined, this callback is required because otherwise you cannot obtain
      the requested MAC address of the device. Change the documentation to
      reflect this, add a note about having no MAC address at all, add a
      warning that mac_addr in struct ieee80211_if_init_conf can be NULL and
      finally verify that a few callbacks are assigned by way of BUG_ON()
      Signed-off-by: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NJiri Benc <jbenc@suse.cz>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      4480f15c