aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * iwlegacy: merge iwl-4965-ucode.c into 4965.cStanislaw Gruszka2011-11-153-167/+126
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: merge iwl-4965-eeprom.c into 4965.cStanislaw Gruszka2011-11-153-151/+75
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: merge iwl-3945-led.c into 3945.cStanislaw Gruszka2011-11-154-97/+20
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: merge iwl-4965-led.c into 4965.cStanislaw Gruszka2011-11-156-109/+33
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: rename base 4965 and 3945 file namesStanislaw Gruszka2011-11-155-2/+2
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: remove for_each_contextStanislaw Gruszka2011-11-157-214/+127
| | | | | | | | | | | | We do not support many contexts. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: s/TABLE/TBL/Stanislaw Gruszka2011-11-1515-99/+99
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: s/index/idx/Stanislaw Gruszka2011-11-1526-618/+618
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: s/INDEX/IDX/Stanislaw Gruszka2011-11-1515-190/+190
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: s/IL_RATE/RATE/Stanislaw Gruszka2011-11-1513-364/+364
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: s/window/win/Stanislaw Gruszka2011-11-1510-159/+159
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: s/statistics/stats/Stanislaw Gruszka2011-11-1520-304/+304
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: s/il_rx_mem_buffer/il_rx_buf/Stanislaw Gruszka2011-11-1515-62/+62
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: partial rxon context cleanupStanislaw Gruszka2011-11-1512-139/+111
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: s/iwl_rx_packet/iwl_rx_pkt/Stanislaw Gruszka2011-11-1517-52/+52
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: rename remaining IWLs to ILsStanislaw Gruszka2011-11-1531-302/+299
| | | | | | | | | | | | Also rename config names IWLWIFI_LEGACY to IWLEGACY Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: remove not needed parenthesesStanislaw Gruszka2011-11-1517-182/+168
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: rename il_{read,write}_prphStanislaw Gruszka2011-11-157-71/+72
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: rename i/o direct methodsStanislaw Gruszka2011-11-1510-53/+52
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: remove _il_{read,write}_direct32Stanislaw Gruszka2011-11-154-27/+17
| | | | | | | | | | | | Use _il_{rd,wr} instead of another name of these operations. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: mark il_{grab,release}_nic_access as unlockedStanislaw Gruszka2011-11-152-24/+22
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: mark poll bit as unlocked functionStanislaw Gruszka2011-11-156-9/+8
| | | | | | | | | | | | | | We do not take reg_lock during poll bit, so mark it such using underscore. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: rename il_{read,write}32 to _il_{rd,wr}Stanislaw Gruszka2011-11-1512-87/+84
| | | | | | | | | | | | Introduce rule that underscore at the beginning mean unlocked I/O method. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: remove IL_CRITStanislaw Gruszka2011-11-153-3/+2
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: remove il argument from IWL_ERR/INFO/WARN/CRITStanislaw Gruszka2011-11-1523-319/+319
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: rename IL_DEBUG_ to D_Stanislaw Gruszka2011-11-1523-685/+685
| | | | | | | | Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: remove DEBUG_LIMITStanislaw Gruszka2011-11-155-28/+8
| | | | | | | | | | | | | | Even if messages are generating fast we want to see all of them when debugging. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: remove DEBUG_IOStanislaw Gruszka2011-11-153-197/+3
| | | | | | | | | | | | Nothing useful at present. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: rename iwlegacy to ilStanislaw Gruszka2011-11-1514-67/+67
| | | | | | | | | | | | More renaming to make code shorter. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: rename priv to ilStanislaw Gruszka2011-11-1541-5520/+5518
| | | | | | | | | | | | Make code shorter. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: rename iwl to ilStanislaw Gruszka2011-11-1552-7037/+7037
| | | | | | | | | | | | | | | | | | iwl_legacy prefix result in long function names, what cause that we have frequent line split and not readable code. Also iwl_foo symbols are duplicated in iwlwifi driver, what is annoying when editing kernel tree with cscope. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
| * iwlegacy: remove tracingStanislaw Gruszka2011-11-159-293/+0
| | | | | | | | | | | | This is not useful. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
* | mwifiex: add support for Marvell sd8797 deviceBing Zhao2011-11-178-20/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch supports Marvell chipset 88W8797 (Avastar) with SDIO interface. The corresponding firmware image file is located at: "mrvl/sd8797_uapsta.bin" Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: Tristan Xu <xurf@marvell.com> Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Kiran Divekar <dkiran@marvell.com> Signed-off-by: Frank Huang <frankh@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* | p54spi: Remove FIXME in op_stopMichael Büsch2011-11-171-5/+1
| | | | | | | | | | | | | | | | | | Don't use the interruptible variant of mutex_lock(). It doesn't really need to be interruptible. This avoids nasty error handling. Signed-off-by: Michael Buesch <m@bues.ch> Acked-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* | mac80211: call ieee80211_recalc_idle() after sending packetsFelix Fietkau2011-11-172-8/+11
| | | | | | | | | | | | | | | | | | | | | | Some drivers (e.g. ath9k) assume that it's safe to go into low-power mode immediately after the idle state changes. To support that, mac80211 even calls drv_flush() before that happens. In some instances, mac80211 sent a packet right after recalculating the idle state, this patch fixes that. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* | wireless: use strlcpy routine in .get_drvinfoRick Jones2011-11-175-13/+16
| | | | | | | | | | | | | | | | Convert various seemingly still compiled wireless drivers' .get_drvinfo routines to use the preferred strlcpy() routine. Signed-off-by: Rick Jones <rick.jones2@hp.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* | minstrel_ht: Remove unused function parametersPatrick Kelle2011-11-171-14/+12
| | | | | | | | | | | | | | | | | | | | | | Remove unused function parameters in the following functions: minstrel_calc_rate_ewma() minstrel_ht_calc_tp() minstrel_aggr_check() minstrel_ht_set_rate() Signed-off-by: Patrick Kelle <patrick.kelle81@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* | mac80211: memory leak in mesh_queue_preq()Dan Carpenter2011-11-171-0/+1
| | | | | | | | | | | | | | | | We recently introduced a return here, but we need to call kfree first. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* | mac80211: use kfree_skb() instead of kfree()Dan Carpenter2011-11-171-1/+1
| | | | | | | | | | | | | | | | | | | | sk_buff structs should be freed using kfree_skb(). This was introduced recently in 029458212 "mac80211: Save probe response data for bss". Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* | mac80211: Get rid of search loop for rate group indexHelmut Schaa2011-11-171-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Finding the group index for a specific rate is done by looping through all groups and returning if the correct one is found. This code is called for each tx'ed frame and thus it makes sense to reduce its runtime. Do this by calculating the group index by this formula based on the SGI and HT40 flags as well as the stream number: idx = (HT40 * 2 * MINSTREL_MAX_STREAMS) + (SGI * MINSTREL_MAX_STREAMS) + (streams - 1) Hence, the groups are ordered by th HT40 flag first, then by the SGI flag and afterwards by the number of used streams. This should reduce the runtime of minstrel_ht_get_group_idx considerable. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> Acked-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* | mac80211: Check rate->idx before rate->countHelmut Schaa2011-11-171-2/+2
| | | | | | | | | | | | | | | | | | | | The drivers are not required to fill in rate->count if rate->idx is set to -1. Hence, we should first check rate->idx before accessing rate->count. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> Acked-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* | mac80211: remove crypto special case for auth framesJohannes Berg2011-11-171-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The shared key authentication frame that needs to be encrypted (the third one in the shared key handshake) is directly encrypted in ieee80211_send_auth and the IEEE80211_TX_INTFL_DONT_ENCRYPT is set. All others are not encrypted, so the only way to get to this is erroneously on no-monitor AP side. Remove the special case for authentication frames to fix the AP shared key side when operating without cooked monitor interfaces -- with cooked monitor the IEEE80211_TX_INTFL_DONT_ENCRYPT also gets set, so we never get here -- an AP never encrypts auth frames. Without this patch, an AP operating in WEP mode with my no-monitor patches would erroneously encrypt all authentication frames, instead of none. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* | brcmsmac: Use current logging stylesJoe Perches2011-11-172-79/+80
| | | | | | | | | | | | | | | | | | | | | | | | Add and use pr_fmt and pr_<level> Remove useless double parentheses from macros. Remove function names from format strings, add to pr_debug use. Coalesce formats. Remove uncompileable undeclared variable in a DMA_NONE use. Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* | NFC: Fix indentation in nci.h fileIlan Elias2011-11-171-42/+42
| | | | | | | | | | | | | | Fix indentation in nci.h file. Signed-off-by: Ilan Elias <ilane@ti.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* | ath9k_hw: set btcoex weights for AR9462Rajkumar Manoharan2011-11-173-4/+37
| | | | | | | | | | Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* | ath9k_hw: Cleanup btcoex wlan weightsRajkumar Manoharan2011-11-174-58/+34
| | | | | | | | | | | | | | | | | | Remove all wlan weight macros and group it together for better understanding & readability. It makes the code reusable for AR9462 wlan weights. Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* | ath9k: Remove enabling btcoex from stomp type changeRajkumar Manoharan2011-11-173-4/+4
| | | | | | | | | | | | | | | | | | This patch removes btcoex_enable from stomp type change and let it be called from callee functions that makes the code can be reusable for MCI changes. Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* | Merge branch 'for-linville' of git://github.com/kvalo/ath6klJohn W. Linville2011-11-1722-2160/+4338
|\ \ | |/ |/|
| * ath6kl: Fix error in writing create_qos debugfsVasanthakumar Thiagarajan2011-11-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 100 bytes are allocated to store the parameters which are needed to create a priority stream. These 100 bytes are not sufficiant and throws error when running the following command. echo "6 2 3 1 1 9999999 9999999 9999999 7777777 0 6 45000 200 56789000 56789000 5678900 0 0 9999999 20000 0" > create_qos 179 bytes are needed when the following vlaues are given so that a maximum possible value in that data type can be given in decimal. echo "255 255 255 255 255 4294967295 4294967295 4294967295 4294967295 4294967295 255 65535 65535 4294967295 4294967295 4294967295 4294967295 4294967295 4294967295 4294967295 4294967295" > create_qos Following takes 187 bytes when given in hex echo "0xff 0xff 0xff 0xff 0xff 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xff 0xffff 0xffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff" > create_qos Increase the size to 200 bytes so that it can hold upto the maximum value possible for that data type. Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
| * ath6kl: Fix tx packet drop in AP mode with bridgeVasanthakumar Thiagarajan2011-11-111-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | skb is dropped in ath6kl_data_tx() when the headroom in skb is insufficient. We hit this condition for every skb in AP mode which is used with bridge, so all tx packets are getting dropped when tried to send traffic to wireless client from bridge. Fix this by reallocating the headroom instead of dropping the skb when it has lesser headroom than needed. Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>