1. 28 2月, 2009 1 次提交
    • J
      mac80211: split IBSS/managed code · 46900298
      Johannes Berg 提交于
      This patch splits out the ibss code and data from managed (station) mode.
      The reason to do this is to better separate the state machines, and have
      the code be contained better so it gets easier to determine what exactly
      a given change will affect, that in turn makes it easier to understand.
      
      This is quite some churn, especially because I split sdata->u.sta into
      sdata->u.mgd and sdata->u.ibss, but I think it's easier to maintain that
      way. I've also shuffled around some code -- null function sending is only
      applicable to managed interfaces so put that into that file, some other
      functions are needed from various places so put them into util, and also
      rearranged the prototypes in ieee80211_i.h accordingly.
      Signed-off-by: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      46900298
  2. 14 2月, 2009 4 次提交
  3. 10 2月, 2009 2 次提交
  4. 30 1月, 2009 7 次提交
  5. 20 12月, 2008 2 次提交
  6. 13 12月, 2008 2 次提交
  7. 05 12月, 2008 2 次提交
  8. 01 11月, 2008 3 次提交
  9. 28 10月, 2008 1 次提交
  10. 13 10月, 2008 1 次提交
    • I
      net/mac80211/rx.c: fix build error · bf94e17b
      Ingo Molnar 提交于
      older versions of gcc do not recognize that ieee80211_rx_h_mesh_fwding()
      is unused when CONFIG_MAC80211_MESH is disabled:
      
        net/built-in.o: In function `ieee80211_rx_h_mesh_fwding':
        rx.c:(.text+0xd89af): undefined reference to `mpp_path_lookup'
        rx.c:(.text+0xd89c6): undefined reference to `mpp_path_add'
      
      as this code construct:
      
              if (ieee80211_vif_is_mesh(&sdata->vif))
                      CALL_RXH(ieee80211_rx_h_mesh_fwding);
      
      still causes ieee80211_rx_h_mesh_fwding() to be linked in.
      
      Protect these places with an #ifdef.
      
      commit b0dee578 ("Fix modpost failure when rx handlers are not inlined.")
      solved part of this problem - this patch is still needed.
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      bf94e17b
  11. 01 10月, 2008 1 次提交
  12. 25 9月, 2008 3 次提交
  13. 16 9月, 2008 6 次提交
  14. 12 9月, 2008 3 次提交
  15. 09 9月, 2008 1 次提交
    • E
      mac80211: Fix rate scale initialization in IBSS · 8e1535d5
      Emmanuel Grumbach 提交于
      This patch address some IBSS rate issues introduced or not covered
      by "mac80211: eliminate IBSS warning in rate_lowest_index()" and
      "cfg80211 API for channels/bitrates, mac80211 and driver conversion".
      
      This patch:
      1. Moves addition of IBSS station from
      prepare_for_handlers to ieee80211_rx_bss_info when triggered from beacon
      eliminating bogus supported rates.
      2. Initialize properly supported rates also in IBSS merging
      3. Ensure that mandatory rates are always added into supported
      rates. This is needed in case when station addition is triggered from
      non beacon/probe packet. Some management frames need to be sent
      4. Remove initialization of supported rates from self rates. This path
      was dead code after 6bc37c06bc4 and in general incorrect.
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      Signed-off-by: NTomas Winkler <tomas.winkler@intel.com>
      Cc: Vladimir Koutny <vlado@work.ksp.sk>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      8e1535d5
  16. 23 8月, 2008 1 次提交