summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mac80211: use skb list for fragmentsJohannes Berg2011-11-215-71/+82
| | | | | | | | | | | | | We are currently linking the skbs by using skb->next directly. This works, but the preferred way is to use a struct sk_buff_head instead. That also prepares for passing that to drivers directly. While at it I noticed we calculate the duration for fragments twice -- remove one of them. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* ath9k: trivial: reorder rx_tasklet processingZefir Kurtisi2011-11-211-5/+5
| | | | | | | | | | | | DFS events are reported as PHY errors and need to be processed with a correct timestamp set before ath9k_skb_preprocess() is called and the frame is possibly dropped. This patch puts the rxs->mactime calculation before the skb is preprocessed to prepare for DFS event reporting. Signed-off-by: Zefir Kurtisi <zefir.kurtisi@neratec.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* cfg80211: pass DFS region to drivers through reg_notifier()Luis R. Rodriguez2011-11-212-0/+7
| | | | | | | | This grants drivers access to the DFS region that a regulatory domain belongs to. Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* cfg80211: process regulatory DFS region for countriesLuis R. Rodriguez2011-11-215-0/+75
| | | | | | | | | | | The wireless-regdb now has support for mapping a country to one DFS region. CRDA sends this to us now so process it so we can provide that hint to drivers. This will later be used by code for processing DFS in a way that meets the criteria for the DFS region the country belongs to. Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* Merge branch 'for-linville' of git://github.com/sgruszka/iwlegacyJohn W. Linville2011-11-2170-36234/+34525
|\
| * iwlegacy: debugfs_ops should depend on CONFIG_IWLEGACY_DEBUGFSGreg Dietsche2011-11-165-42/+8
| | | | | | | | | | | | | | 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-161-7/+1
| | | | | | | | | | | | | | | | 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-161-9/+3
| | | | | | | | | | | | | | | | 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-161-4/+1
| | | | | | | | | | | | | | | | 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-161-3/+0
| | | | | | | | | | | | | | | | 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-161-1/+1
| | | | | | | | | | | | | | 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-161-2/+1
| | | | | | | | | | | | | | 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-151-2/+0
| | | | | | | | 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-151-4/+4
| | | | | | | | | | | | | | 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-151-1/+1
| | | | | | | | | | | | | | 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-1514-411/+297
| | | | | | | | | | | | Fix most checkpatch.pl ERRORs and some WARNINGs. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: indentions and whitespacesStanislaw Gruszka2011-11-1517-6456/+6439
| | | | | | | | | | | | | | | | | | | | | | 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-157-209/+165
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: rename iwl-debug.c to debug.cStanislaw Gruszka2011-11-152-1/+1
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: merge iwl-fh.h into 4965.hStanislaw Gruszka2011-11-152-418/+351
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: use FH49_ prefix in 4965 codeStanislaw Gruszka2011-11-154-153/+153
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: use FH39_ prefix in 3945 codeStanislaw Gruszka2011-11-152-3/+3
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: rename iwl-prph.h to prph.hStanislaw Gruszka2011-11-153-2/+1
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: merge iwl-{eeprom,led}.h into common.hStanislaw Gruszka2011-11-158-412/+303
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: merge iwl-power.h into common.hStanislaw Gruszka2011-11-155-58/+12
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: merge iwl-legacy-rs.h into common.hStanislaw Gruszka2011-11-152-473/+442
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: remove iwl-helpers.hStanislaw Gruszka2011-11-151-187/+0
| | | | | | | | | | | | This file was already merged into common.h Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: merge common header filesStanislaw Gruszka2011-11-1518-2023/+2003
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: rename iwl-core.h to common.hStanislaw Gruszka2011-11-1511-10/+10
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: rename iwl-csr.h to csr.hStanislaw Gruszka2011-11-153-2/+1
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: move IL_MASKStanislaw Gruszka2011-11-152-3/+2
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: remove il_ieee80211_get_hw_confStanislaw Gruszka2011-11-154-9/+3
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: rename iwl-commands.h to commands.hStanislaw Gruszka2011-11-157-14/+5
| | | | | | | | | | | | 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-151-4/+4
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: merge common .c filesStanislaw Gruszka2011-11-159-2678/+3147
| | | | | | | | | | | | 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-152-1/+1
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: rename other handlersStanislaw Gruszka2011-11-1510-53/+53
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: s/rx_reply/hdl/Stanislaw Gruszka2011-11-158-33/+33
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: s/rx_handler/handler/Stanislaw Gruszka2011-11-159-63/+63
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: rename REPLY_ to N_ or C_Stanislaw Gruszka2011-11-1517-317/+317
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: s/STATISTICS/STATS/Stanislaw Gruszka2011-11-1513-50/+50
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: s/STATUS_/S_/Stanislaw Gruszka2011-11-1514-245/+245
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: move iwl-3945-{,hw,fh,debugfs}.h to 3945.hStanislaw Gruszka2011-11-1510-855/+675
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: move iwl-4965-{,hw,debugfs,calib}.h to 4965.hStanislaw Gruszka2011-11-1514-477/+277
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: add accidentally removed commentsStanislaw Gruszka2011-11-151-0/+27
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: rename iwl-3945-{rs,debugfs}.c to 3945-{rs,debug}.cStanislaw Gruszka2011-11-153-2/+2
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: rename iwl-4965-{rs,calib,debugfs}.c to 4965-{rs,calib,debug}.cStanislaw Gruszka2011-11-154-3/+2
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: merge iwl-4965-lib.c into 4965-mac.cStanislaw Gruszka2011-11-153-1195/+1153
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: merge iwl-4965-{tx,rx}.c into 4965-mac.cStanislaw Gruszka2011-11-154-1588/+1478
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: merge iwl-4965-sta.c into 4965-mac.cStanislaw Gruszka2011-11-153-713/+677
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
OpenPOWER on IntegriCloud