1. 05 12月, 2009 4 次提交
  2. 29 11月, 2009 2 次提交
    • S
      iwmc3200wifi: Implement cfg80211 PMKSA API · 9bf22f2c
      Samuel Ortiz 提交于
      We need to implement the PMKSA API for proper WPA2 pre-auth and fast
      re-association. Our fullmac device generates all (re-)assoc IEs, and thus it
      needs the right PMKIDs. With this implementation we now get them from
      wpa_supplicant.
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      9bf22f2c
    • S
      iwmc3200wifi: 802.11n Tx aggregation support · a7af530d
      Samuel Ortiz 提交于
      To support 802.11n Tx aggregation support with iwmc3200 wifi, we have to
      handle the UMAC_CMD_OPCODE_STOP_RESUME_STA_TX notification from the UMAC.
      Before sending an AddBA, the UMAC synchronizes with the host in order to
      know what is the last Tx frame it's supposed to receive before it will be
      able to start the actual aggregation session.
      We thus have to keep track of the last sequence number that is scheduled
      for transmission on a particular RAxTID, send an answer to the UMAC with
      this sequence number. The UMAC then does the BA negociation and once it's
      done with it sends a new UMAC_CMD_OPCODE_STOP_RESUME_STA_TX notification
      to let us know that we can resume the Tx flow on the specified RAxTID.
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      Reviewed-by: NZhu Yi <yi.zhu@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      a7af530d
  3. 28 10月, 2009 4 次提交
  4. 12 10月, 2009 1 次提交
  5. 02 9月, 2009 1 次提交
  6. 05 8月, 2009 2 次提交
  7. 04 8月, 2009 1 次提交
    • J
      drivers/net/wireless: introduce missing kfree · 9f9857bb
      Julia Lawall 提交于
      Error handling code following a kzalloc should free the allocated data.
      
      The semantic match that finds the problem is as follows:
      (http://www.emn.fr/x-info/coccinelle/)
      
      // <smpl>
      @r exists@
      local idexpression x;
      statement S;
      expression E;
      identifier f,f1,l;
      position p1,p2;
      expression *ptr != NULL;
      @@
      
      x@p1 = \(kmalloc\|kzalloc\|kcalloc\)(...);
      ...
      if (x == NULL) S
      <... when != x
           when != if (...) { <+...x...+> }
      (
      x->f1 = E
      |
       (x->f1 == NULL || ...)
      |
       f(...,x->f1,...)
      )
      ...>
      (
       return \(0\|<+...x...+>\|ptr\);
      |
       return@p2 ...;
      )
      
      @script:python@
      p1 << r.p1;
      p2 << r.p2;
      @@
      
      print "* file: %s kmalloc %s return %s" % (p1[0].file,p1[0].line,p2[0].line)
      // </smpl>
      Signed-off-by: NJulia Lawall <julia@diku.dk>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      9f9857bb
  8. 25 7月, 2009 2 次提交
  9. 11 7月, 2009 3 次提交
  10. 23 5月, 2009 1 次提交