aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: add an external reset callback for ar913x and use it in ath9kFelix Fietkau2013-05-191-0/+28
| | | | | | | | | | should reduce the frequency of DMA stop failures Backport of r36530 Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36664 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix compile errors on platforms with power management enabledFelix Fietkau2013-05-022-0/+42
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36520 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: update to 2013-02-22 from trunk + backportsFelix Fietkau2013-04-28124-4717/+4771
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36470 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: use the original mac address for the first virtual interfaceFelix Fietkau2013-04-231-1/+3
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r36408 git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36409 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: rework mac address allocationFelix Fietkau2013-04-171-10/+24
| | | | | | | | | | | | | | | | | | | | | If the first byte is available in the address mask, use only that one - set the local bit and xor it with the id << 2. This ensures that there are no hardware BSSID & BSSID-mask conflicts with devices that have almost the same MAC address with just a small offset. The MAC address conflict has been observed in a deployment with some devices from the same batch when running with multiple interfaces. If only some bits of the last byte are available, xor the id onto the last MAC address byte (relevant mostly for Ralink devices). In other cases (should not happen at this point), use the previous MAC address offset calculation but without the local bit. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r36353 git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36354 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: add a fix to reduce the number of spurious tx hang detectionsFelix Fietkau2013-03-151-0/+37
| | | | | | Backport of r36040 git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36052 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: backport of r35671: b43: Increase number of RX DMA slotsHauke Mehrtens2013-03-101-0/+11
| | | | | | | | | | | | | | | Bastian Bittorf reported that some of the silent freezes on a Linksys WRT54G were due to overflow of the RX DMA ring buffer, which was created with 64 slots. That finding reminded me that I was seeing similar crashed on a netbook, which also has a relatively slow processor. After increasing the number of slots to 128, runs on the netbook that previously failed now worked; however, I found that 109 slots had been used in one test. For that reason, the number of slots is being increased to 256. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35947 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: issue a cold reset after failures or after bringing the chip out of ↵Felix Fietkau2013-02-256-7/+18
| | | | | | | | full sleep - fixes many kinds of DMA issues Backport of r35785 git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35786 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mac80211] fixes mbssid on ralink hardwareJohn Crispin2013-02-251-2/+4
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35781 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mac80211] adds missing backport needed for ralink mbssidJohn Crispin2013-02-251-0/+94
| | | | | | | | fixes #12952 Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35780 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: mac80211: add missing DRIVER_11N_SUPPORT selectsJonas Gorski2013-02-251-3/+3
| | | | | | | | Backport of r35711. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35777 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: fix rssi issuesFelix Fietkau2013-02-221-0/+11
| | | | | | Backport of r35750 git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35752 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k_htc: fix signal strength reporting issuesFelix Fietkau2013-02-221-0/+29
| | | | | | Backport of r35749 git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35751 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: fix a soft lockup on smp systemsFelix Fietkau2013-01-147-24/+30
| | | | | | Backport of r35152 git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35153 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: remove a lock to fix a deadlock on hw resetFelix Fietkau2013-01-144-19/+79
| | | | | | Backport of r35147 git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35148 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: add updated tx gain tables, fixes stability issues on TL-WDR4300 and ↵Felix Fietkau2013-01-102-1/+645
| | | | | | | | other devices Backport of r35089 git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35090 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: add some calibration fixes from wireless-testingFelix Fietkau2013-01-101-0/+48
| | | | | | Backport r35081 git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35082 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: correct a logic error in the rx path fixFelix Fietkau2013-01-091-1/+1
| | | | | | Backport of r35067 git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35068 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: refresh patchesFelix Fietkau2013-01-094-54/+34
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35065 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: backport stability fixes from r35063Felix Fietkau2013-01-0911-26/+255
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35064 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: apply network interface configuration for adhoc + wpa2Felix Fietkau2013-01-071-1/+1
| | | | | | Backport of r35049 git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35050 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: disable TX_IQ_ON_AGC_CAL on AR934x, should improve stabilityFelix Fietkau2013-01-021-0/+11
| | | | | | Backport of r34979 git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34980 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath5k: fix skb leaks (should fix #12199)Felix Fietkau2012-12-101-0/+29
| | | | | | Backport of r34603 git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34604 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: mac80211/rt2x00: add rf_vals for Rt3352 with Xtal=20MHzGabor Juhos2012-11-251-0/+121
| | | | | | | | | | | Backport of r34269. [juhosg: move ramips specific stuff into a followup patch] Signed-off-by: Daniel Golle <dgolle@allnet.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34362 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: mac80211/rt2x00: support Rt3352 with external PAGabor Juhos2012-11-251-0/+212
| | | | | | | | | | | Backport of r34268. This is needed for WiFi to work e.g. on DIR-615 rev.H1. Signed-off-by: Daniel Golle <dgolle@allnet.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34361 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add more tx skb free fixes (hopefully final fix to #11894)Felix Fietkau2012-11-103-160/+209
| | | | | | | | Backport of r34133 Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34134 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: mac80211: fix intel wifi autoload module namesJonas Gorski2012-11-011-2/+2
| | | | | | merge r33676. git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34055 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: prevent reconfigure calls while interfaces are downFelix Fietkau2012-10-312-1/+13
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r34030 git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34031 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: report tx status for dropped frames, should fix some remaining ↵Felix Fietkau2012-10-291-38/+133
| | | | | | | | stability issues Backport of r33991 git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@33992 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: add a patch that prevents excessive retry of single frames during an ↵Felix Fietkau2012-10-294-9/+39
| | | | | | | | aggregation session Backport of r33989 git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@33990 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: generic: allow to disable [25]GHz support in ath9k via platform dataGabor Juhos2012-10-281-0/+70
| | | | | | | | Backport of r33954. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@33975 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: fix a stale bf->bf_next pointer, potentially leading to double-free ↵Felix Fietkau2012-10-251-0/+18
| | | | | | | | errors and "Failed to stop Tx DMA" errors Backport of r33938 git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@33939 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: fix operating state check on changing the channel bandwidth via debugfsFelix Fietkau2012-10-251-1/+1
| | | | | | Backport of r33891 git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@33924 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: merge a client mode state handling fix, refresh patchesFelix Fietkau2012-10-173-3/+62
| | | | | | Backport of r33821 git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@33822 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: use ieee80211_free_txskb in a few more placesFelix Fietkau2012-10-101-0/+51
| | | | | | Backport of r33695 git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@33696 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: use ieee80211_free_txskb in a few more places to prevent skb leaks ↵Felix Fietkau2012-10-072-1/+108
| | | | | | (backport of r33635) git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@33637 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: fix invalid register access on single-stream ar93xx devices (backport ↵Felix Fietkau2012-10-051-0/+13
| | | | | | of r33628) git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@33629 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211/rt2x00: fix lna assignment typo in Rt3352 which went upstreamGabor Juhos2012-10-041-0/+30
| | | | | | | | | | Reviewing what went into wireless-testing I found a quite nasty mistake, probably a result of copy&past'ing from the lines below in rt2800lib.c. This adds another patch to fix that. Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33616 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211/rt2x00: sync Rt3352 supportGabor Juhos2012-10-041-70/+90
| | | | | | | | | | | The original patch was accepted into linux-next in a slightly modified form. In order to provide integrity to follow-up patches, replace the patch in OpenWrt with the (semantically identical) now upstream patch. (commit 03839951515b0ea2b21d649b1fe7b63f9817d0c8 in wireless-testing) Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33615 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: allow scans in access point mode (for site survey)Felix Fietkau2012-10-034-4/+15
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33613 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: use ieee80211_free_txskb, might fix hostapd stability issuesFelix Fietkau2012-10-031-0/+149
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33611 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix regulatory tx power initializationFelix Fietkau2012-10-031-0/+21
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33610 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel] dont explicitly select wireless-tools. rely on the drivers that ↵John Crispin2012-09-281-1/+1
| | | | | | need them to have the right dependency git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33593 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add uci support for configuring antenna gainFelix Fietkau2012-09-282-1/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33587 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix antenna gain and add support for user-defined antenna gain ↵Felix Fietkau2012-09-284-3/+228
| | | | | | configuration git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33585 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: rework the current tx power display patchFelix Fietkau2012-09-283-14/+13
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33584 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix beacon IE power constraint handlingFelix Fietkau2012-09-2815-23/+191
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33583 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath5k: add a spur mitigation fixFelix Fietkau2012-09-271-9/+25
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33572 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] mac80211: refresh patchesFlorian Fainelli2012-09-2614-30/+30
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33557 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: avoid sending useless delBA frames on client disassocFelix Fietkau2012-09-251-0/+31
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33551 3c298f89-4303-0410-b956-a3cf2f4a3e73