1. 19 Apr, 2012 6 commits
  2. 18 Apr, 2012 31 commits
  3. 17 Apr, 2012 3 commits
    • David S. Miller's avatar
      net: filter: Fix some more small issues in sparc JIT. · 584c5e2a
      David S. Miller authored
      Fix mixed space and tabs.
      
      Put bpf_jit_load_*[] externs into bpf_jit.h
      
      "while(0)" --> "while (0)"
      "COND (X)" --> "COND(X)"
      Document branch offset calculations, and bpf_error's return
      sequence.
      
      Document the reason we need to emit three nops between the
      %y register write and the divide instruction.
      
      Remove erroneous trailing semicolons from emit_read_y() and
      emit_write_y().
      
      Based upon feedback from Sam Ravnborg.
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      584c5e2a
    • David S. Miller's avatar
      net: filter: Fix some minor issues in sparc JIT. · 7b56f76e
      David S. Miller authored
      Correct conventions comments.  %o4 and %o5 were swapped,
      %g3 was not documented.
      
      Use r_TMP instead of r_SKB_DATA + r_OFF where possible in
      assembler stubs.
      
      Correct discussion of %o4 and %o5 in one of bpf_jit_compile()'s
      comments.
      
      Based upon feedback from Richard Mortimer.
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      7b56f76e
    • Amitkumar Karwar's avatar
      mwifiex: corrections in timestamp related code · b5abcf02
      Amitkumar Karwar authored
      We get two timing related fields for each bss from firmware in scan
      results.
      1) timestamp - Actual timestamp information in probe response/beacon
      2) network_tsf - firmware's TSF value at the time the beacon or probe
      response was received.
      Both are needed while associating by firmware.
      
      The patch takes care of following things.
      1) We should pass "timestamp" to cfg80211_inform_bss(), but currently
      "network_tsf" is being provided. This error is corrected here.
      2) Rename "network_tsf" to "fw_tsf"
      3) Make use of u64 variable instead of an array of u8/u32 to save
      parsed "timestamp" information.
      4) Use timestamp provided to stack in scan results using
      cfg80211_inform_bss() while associating. (bss->tsf)
      5) Allocate space to save fw_tsf in "priv" of cfg80211_bss
      and retrieve it while associating.
      Signed-off-by: default avatarAmitkumar Karwar <akarwar@marvell.com>
      Signed-off-by: default avatarBing Zhao <bzhao@marvell.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      b5abcf02