1. 08 3月, 2012 1 次提交
  2. 28 2月, 2012 1 次提交
  3. 18 2月, 2012 1 次提交
  4. 09 12月, 2011 1 次提交
  5. 07 12月, 2011 2 次提交
  6. 03 12月, 2011 2 次提交
  7. 12 11月, 2011 1 次提交
  8. 15 10月, 2011 2 次提交
  9. 04 10月, 2011 1 次提交
  10. 20 9月, 2011 4 次提交
  11. 16 7月, 2011 4 次提交
  12. 01 7月, 2011 1 次提交
  13. 18 6月, 2011 1 次提交
  14. 07 5月, 2011 1 次提交
    • C
      iwlwifi: support the svtool messages interactions through nl80211 test mode · 4613e72d
      Cindy H. Kao 提交于
      This patch adds the feature to support the test mode operation through
      the generic netlink channel NL80211_CMD_TESTMODE between intel
      wireless device iwlwifi and the user space application svtool.
      
      The main purpose is to create a transportation layer between the iwlwifi
      device and the user space application so that the interaction between the
      user space application svtool and the iwlwifi device in the kernel space is
      in a way of generic netlink messaging.
      
      The detail specific functions are:
      
      1. The function iwl_testmode_cmd() is added to digest the svtool test command
         from the user space application. The svtool test commands are categorized  to
         three types : commands to be processed by the device ucode, commands to access
         the registers, and commands to be processed at the driver level(such as reload
         the ucode). iwl_testmode_cmd() dispatches the commands the corresponding handlers
         and reply to user space regarding the command execution status. Extra data is
         returned to the user space application if there's any.
      
      2. The function iwl_testmode_ucode_rx_pkt() is added to multicast all the spontaneous
         messages from the iwlwifi device to the user space. Regardless the message types,
         whenever there is a valid spontaneous message received by the iwlwifi ISR,
         iwl_testmode_ucode_rx_pkt() is invoked to multicast the message content to user
         space. The message content is not attacked and the message parsing is left to
         the user space application.
      
      Implementation guidelines:
      
      1. The generic netlink messaging for iwliwif test mode is through  NL80211_CMD_TESTMODE
         channel, therefore, the codes need to follow the regulations set by cfg80211.ko
         to get the actual device instance ieee80211_ops via cfg80211.ko, so that the iwlwifi
         device is indicated with ieee80211_ops and can be actually accessed.
      
         Therefore, a callback iwl_testmode_cmd() is added to the structure
         iwlagn_hw_ops in iwl-agn.c.
      
      2. It intends to utilize those low level device access APIs from iwlwifi device driver
         (ie. iwlagn.ko) rather than creating it's own set of device access functions.
         For example, iwl_send_cmd(), iwl_read32(), iwl_write8(), and iwl_write32() are reused.
      
      3. The main functions are maintained in new files instead of spreading all over the
         existing iwlwifi driver files.
      
         The new files added are :
      
         drivers/net/wireless/iwlwifi/iwl-sv-open.c
              - to handle the user space test mode application command
                and reply the respective command status to the user space application.
              - to multicast the spontaneous messages from device to user space.
      
         drivers/net/wireless/iwlwifi/iwl-testmode.h
              - the commonly referenced definitions for the TLVs used in
                the generic netlink messages
      Signed-off-by: NCindy H. Kao <cindy.h.kao@intel.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      4613e72d
  15. 01 5月, 2011 1 次提交
  16. 18 4月, 2011 1 次提交
  17. 08 4月, 2011 1 次提交
    • J
      iwlagn: move IO functions out of line · 02a7fa00
      Johannes Berg 提交于
      This generates a massive reduction in module size:
      with debug:
         text	   data	    bss	    dec	    hex	filename
       670300	  13136	    420	 683856	  a6f50	iwlagn.ko (before)
       388347	  13136	    408	 401891	  621e3	iwlagn.ko (after)
      
      without debug:
         text	   data	    bss	    dec	    hex	filename
       528575	  13072	    420	 542067	  84573	iwlagn.ko (before)
       294192	  13072	    408	 307672	  4b1d8	iwlagn.ko (after)
      
      This also removes all the IO debug functionality since
      it can easily be replaced by tracing, and makes the
      code unnecessarily complex.
      
      I haven't done any CPU utilisation measurements, but
      given that the hotpaths don't use much IO it is not
      likely to have a negative impact; in fact, the size
      reduction will reduce cache pressure which possibly
      improves performance.
      
      Finally, an unused function or two were removed.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      02a7fa00
  18. 01 3月, 2011 1 次提交
  19. 22 2月, 2011 3 次提交
  20. 22 1月, 2011 1 次提交
  21. 23 11月, 2010 1 次提交
  22. 16 11月, 2010 3 次提交
  23. 15 10月, 2010 1 次提交
  24. 08 10月, 2010 1 次提交
    • J
      iwlwifi: move agn specific station code there · a30e3112
      Johannes Berg 提交于
      By duplicating a little bit of code between 3945
      and agn, we can move a lot of code into an agn
      specific station management file and thus reduce
      the amount of code in core that is dead to 3945.
      
      before:
         text	   data	    bss	    dec	    hex	filename
       212886	   3872	     96	 216854	  34f16	iwlcore.ko
       620542	  10448	    304	 631294	  9a1fe	iwlagn.ko
       314013	   3264	    196	 317473	  4d821	iwl3945.ko
      
      after:
         text	   data	    bss	    dec	    hex	filename
       202857	   3872	     92	 206821	  327e5	iwlcore.ko
       629102	  10448	    308	 639858	  9c372	iwlagn.ko
       314240	   3264	    196	 317700	  4d904	iwl3945.ko
      
      delta:
       -10029   iwlcore.ko
         8560   iwlagn.ko
          227   iwl3945.ko
      
      so it's a net win even if you have both loaded,
      likely because a lot of EXPORT_SYMBOLs go away.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      a30e3112
  25. 25 8月, 2010 1 次提交
  26. 22 6月, 2010 2 次提交