aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlegacy
Commit message (Collapse)AuthorAge
...
* iwlegacy: off by one in iwl3945_hw_build_tx_cmd_rate()Dan Carpenter2012-01-04
| | | | | | | | | | | We use "rate_index" like this: rate = iwl3945_rates[rate_index].plcp; The iwl3945_rates[] array has IWL_RATE_COUNT_3945 elements so the limit here is off by one. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* iwlegacy: remove iwl-sta.cStanislaw Gruszka2012-01-04
| | | | | | | I forgot to remove this file before. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* iwlegacy: Use kcalloc instead of kzalloc to allocate arrayThomas Meyer2011-12-06
| | | | | | | | | | | | The advantage of kcalloc is, that will prevent integer overflows which could result from the multiplication of number of elements and size and it is also a bit nicer to read. The semantic patch that makes this change is available in https://lkml.org/lkml/2011/11/25/107 Signed-off-by: Thomas Meyer <thomas@m3y3r.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* Merge branch 'master' of ↵John W. Linville2011-11-22
|\ | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux Conflicts: drivers/net/wireless/iwlegacy/iwl-debugfs.c drivers/net/wireless/iwlegacy/iwl-rx.c drivers/net/wireless/iwlegacy/iwl-scan.c drivers/net/wireless/iwlegacy/iwl-tx.c include/net/bluetooth/bluetooth.h
| * drivers/net: Add export.h to files using EXPORT_SYMBOL/THIS_MODULEPaul Gortmaker2011-10-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These were getting the macros from an implicit module.h include via device.h, but we are planning to clean that up. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> drivers/net: Add export.h to wireless/brcm80211/brcmfmac/bcmsdh.c This relatively recently added file uses EXPORT_SYMBOL and hence needs export.h included so that it is compatible with the module.h split up work. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
* | iwlegacy: debugfs_ops should depend on CONFIG_IWLEGACY_DEBUGFSGreg Dietsche2011-11-16
| | | | | | | | | | | | | | Only setup structs related to debugfs_ops when CONFIG_IWLEGACY_DEBUGFS is set. Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu> Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: 4965-rs: cleanup il4965_rs_sta_dbgfs_rate_scale_data_readGreg Dietsche2011-11-16
| | | | | | | | | | | | | | | | 1) remove ret local var and return the result directly 2) remove il since it is not used Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu> Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: 4965-rs: don't return rate from il4965_rs_update_rate_tblGreg Dietsche2011-11-16
| | | | | | | | | | | | | | | | 1) don't return rate from il4965_rs_update_rate_tbl 2) fix up il4965_rs_rate_scale_perform Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu> Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: 4965-rs: il4965_rs_alloc_sta: remove lq_sta local varGreg Dietsche2011-11-16
| | | | | | | | | | | | | | | | remove the lq_sta local variable and return the result directly in il4965_rs_alloc_sta Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu> Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: 4965-rs: remove unnecessary null check for sta and lq_staGreg Dietsche2011-11-16
| | | | | | | | | | | | | | | | both sta and lq_sta are guaranteed to be not null in the calling function so we don't need to check them here. Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu> Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: 4965-rs: remove null check on sta in il4965_rs_tx_statusGreg Dietsche2011-11-16
| | | | | | | | | | | | | | the null check on sta in il4965_rs_tx_status is not necessary Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu> Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: 4965: remove vif null check in request_scanGreg Dietsche2011-11-16
| | | | | | | | | | | | | | remove null check on vif in il4965_request_scan Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu> Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: remove unused IL_AC_UNSET defineStanislaw Gruszka2011-11-15
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: change IL_ERR to D_HT in iwl4965_rs_tl_turn_on_agg_for_tidGreg Dietsche2011-11-15
| | | | | | | | | | | | | | This message should be a debug message and not an error. Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu> Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: change IL_WARN to D_HT in il4965_tx_agg_startGreg Dietsche2011-11-15
| | | | | | | | | | | | | | This message should be a debug message and not a warning. Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu> Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: checkpatch.pl fixesStanislaw Gruszka2011-11-15
| | | | | | | | | | | | Fix most checkpatch.pl ERRORs and some WARNINGs. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: indentions and whitespacesStanislaw Gruszka2011-11-15
| | | | | | | | | | | | | | | | | | | | | | Process iwlegacy source files using: indent -npro -l500 -nhnl indent -npro -kr -i8 -ts8 -sob -l80 -nbbo -ss -ncs -cp1 -il0 -psl Plus manual compilation fixes. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: merge iwl-debug.h into common.hStanislaw Gruszka2011-11-15
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: rename iwl-debug.c to debug.cStanislaw Gruszka2011-11-15
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: merge iwl-fh.h into 4965.hStanislaw Gruszka2011-11-15
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: use FH49_ prefix in 4965 codeStanislaw Gruszka2011-11-15
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: use FH39_ prefix in 3945 codeStanislaw Gruszka2011-11-15
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: rename iwl-prph.h to prph.hStanislaw Gruszka2011-11-15
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: merge iwl-{eeprom,led}.h into common.hStanislaw Gruszka2011-11-15
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: merge iwl-power.h into common.hStanislaw Gruszka2011-11-15
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: merge iwl-legacy-rs.h into common.hStanislaw Gruszka2011-11-15
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: remove iwl-helpers.hStanislaw Gruszka2011-11-15
| | | | | | | | | | | | This file was already merged into common.h Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: merge common header filesStanislaw Gruszka2011-11-15
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: rename iwl-core.h to common.hStanislaw Gruszka2011-11-15
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: rename iwl-csr.h to csr.hStanislaw Gruszka2011-11-15
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: move IL_MASKStanislaw Gruszka2011-11-15
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: remove il_ieee80211_get_hw_confStanislaw Gruszka2011-11-15
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: rename iwl-commands.h to commands.hStanislaw Gruszka2011-11-15
| | | | | | | | | | | | On the way remove also not needed iwl-fh.h include. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: rename module nameStanislaw Gruszka2011-11-15
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: merge common .c filesStanislaw Gruszka2011-11-15
| | | | | | | | | | | | Merge iwl-{tx,rx,sta,scan,power,eeprom,led,hcmd}.c into common.c . Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: rename iwl-core.c to common.cStanislaw Gruszka2011-11-15
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: rename other handlersStanislaw Gruszka2011-11-15
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: s/rx_reply/hdl/Stanislaw Gruszka2011-11-15
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: s/rx_handler/handler/Stanislaw Gruszka2011-11-15
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: rename REPLY_ to N_ or C_Stanislaw Gruszka2011-11-15
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: s/STATISTICS/STATS/Stanislaw Gruszka2011-11-15
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: s/STATUS_/S_/Stanislaw Gruszka2011-11-15
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: move iwl-3945-{,hw,fh,debugfs}.h to 3945.hStanislaw Gruszka2011-11-15
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: move iwl-4965-{,hw,debugfs,calib}.h to 4965.hStanislaw Gruszka2011-11-15
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: add accidentally removed commentsStanislaw Gruszka2011-11-15
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: rename iwl-3945-{rs,debugfs}.c to 3945-{rs,debug}.cStanislaw Gruszka2011-11-15
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: rename iwl-4965-{rs,calib,debugfs}.c to 4965-{rs,calib,debug}.cStanislaw Gruszka2011-11-15
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: merge iwl-4965-lib.c into 4965-mac.cStanislaw Gruszka2011-11-15
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: merge iwl-4965-{tx,rx}.c into 4965-mac.cStanislaw Gruszka2011-11-15
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | iwlegacy: merge iwl-4965-sta.c into 4965-mac.cStanislaw Gruszka2011-11-15
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>