1. 26 2月, 2015 6 次提交
  2. 12 2月, 2015 1 次提交
  3. 06 2月, 2015 1 次提交
  4. 29 1月, 2015 14 次提交
  5. 24 1月, 2015 1 次提交
    • V
      brcmfmac: Use put_unaligned_le32 · 362126cd
      Vaishali Thakkar 提交于
      This patch introduces the use of function put_unaligned_le32.
      
      This is done using Coccinelle and semantic patch used is as follows:
      
      @a@
      typedef u32, __le32, uint32_t;
      {u32,__le32,uint32_t} e32;
      identifier tmp;
      expression ptr;
      expression y,e;
      type T;
      type T;
      @@
      
      - tmp = cpu_to_le32(y);
      
      <+... when != tmp
      (
      - memcpy(ptr, (T)&tmp, \(4\|sizeof(u32)\|sizeof(__le32)\|sizeof(uint32_t)\|sizeof(e32)\));
      + put_unaligned_le32(y,ptr);
      |
      - memcpy(ptr, (T)&tmp, ...);
      + put_unaligned_le32(y,ptr);
      )
      ...+>
      ? tmp = e
      
      @@ type T; identifier a.tmp; @@
      
      - T tmp;
      ...when != tmp
      Signed-off-by: NVaishali Thakkar <vthakkar1994@gmail.com>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      362126cd
  6. 09 1月, 2015 1 次提交
  7. 08 1月, 2015 1 次提交
    • J
      cfg80211: remove enum station_info_flags · 319090bf
      Johannes Berg 提交于
      This is really just duplicating the list of information that's
      already available in the nl80211 attribute, so remove the list.
      Two small changes are needed:
       * remove STATION_INFO_ASSOC_REQ_IES complete, but the length
         (assoc_req_ies_len) can be used instead
       * add NL80211_STA_INFO_RX_DROP_MISC which exists internally
         but not in nl80211 yet
      
      This gets rid of the duplicate maintenance of the two lists.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      319090bf
  8. 07 1月, 2015 8 次提交
  9. 24 12月, 2014 1 次提交
  10. 16 12月, 2014 1 次提交
    • B
      brcmsmac: don't leak kernel memory via printk() · 1d240d37
      Brian Norris 提交于
      Debug code prints the fifo name via custom dev_warn() wrappers. The
      fifo_names array is only non-zero when debugging is manually enabled,
      which is all well and good. However, it's *not* good that this array
      uses zero-length arrays in the non-debug case, and so it doesn't
      actually have any memory allocated to it. This means that as far as we
      know, fifo_names[i] actually points to garbage memory.
      
      I've seen this in my log:
      
      [ 4601.205511] brcmsmac bcma0:1: wl0: brcms_c_d11hdrs_mac80211: �GeL txop exceeded phylen 137/256 dur 1602/1504
      
      So let's give this array space enough to fill it with a NULL byte.
      Signed-off-by: NBrian Norris <computersforpeace@gmail.com>
      Cc: Brett Rudley <brudley@broadcom.com>
      Cc: Arend van Spriel <arend@broadcom.com>
      Cc: "Franky (Zhenhui) Lin" <frankyl@broadcom.com>
      Cc: Hante Meuleman <meuleman@broadcom.com>
      Cc: "John W. Linville" <linville@tuxdriver.com>
      Cc: linux-wireless@vger.kernel.org
      Cc: brcm80211-dev-list@broadcom.com
      Cc: netdev@vger.kernel.org
      Acked-by: NArend van Spriel <arend@broadcom.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      1d240d37
  11. 05 12月, 2014 5 次提交