summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
mentor [Thu, 15 Nov 2007 18:32:03 +0000 (18:32 +0000)]
Change the default VAP interface type to ARPHRD_ETHER
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2855
0192ed92-7a03-0410-a25b-
9323aeb14dbd
mentor [Thu, 15 Nov 2007 16:32:01 +0000 (16:32 +0000)]
Revert r2852 as it uses the incorrect method to access IO memory and breaks on many archs.
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2854
0192ed92-7a03-0410-a25b-
9323aeb14dbd
proski [Thu, 15 Nov 2007 03:29:11 +0000 (03:29 +0000)]
Revert commits 2623:2624, they break archs without iowrite32be()
This fixes ticket #1539
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2852
0192ed92-7a03-0410-a25b-
9323aeb14dbd
proski [Wed, 14 Nov 2007 20:53:41 +0000 (20:53 +0000)]
Add semicolon lost in the previous commit
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2851
0192ed92-7a03-0410-a25b-
9323aeb14dbd
mentor [Wed, 14 Nov 2007 20:47:56 +0000 (20:47 +0000)]
Always set the correct network device type
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2850
0192ed92-7a03-0410-a25b-
9323aeb14dbd
mentor [Wed, 14 Nov 2007 18:12:05 +0000 (18:12 +0000)]
When setting the desired frequency of a VAP, check for differences against a previous desired frequency rather than ic_bsschan (which may be meaningless).
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2849
0192ed92-7a03-0410-a25b-
9323aeb14dbd
mentor [Tue, 13 Nov 2007 17:45:58 +0000 (17:45 +0000)]
Modify ieee80211_saveie and ieee80211_saveath(ewww) to take a NULL source parameter, and to cleanup in this case.
On reception of an Associatiion request, always save IEs correctly (i.e., cleanup up any no longer valid IEs in the case that no new, valid IE is received).
Ticket: http://madwifi.org/ticket/1188
Original Patch: Signed-Off-By: Bas
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2847
0192ed92-7a03-0410-a25b-
9323aeb14dbd
mentor [Mon, 12 Nov 2007 19:20:11 +0000 (19:20 +0000)]
Revert r2828 - problem appears to be fixed now
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2845
0192ed92-7a03-0410-a25b-
9323aeb14dbd
mentor [Sun, 11 Nov 2007 23:22:43 +0000 (23:22 +0000)]
Stop ieee80211_node_leave from trying to be responsible for the caller's node reference
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2844
0192ed92-7a03-0410-a25b-
9323aeb14dbd
mentor [Sun, 11 Nov 2007 01:47:55 +0000 (01:47 +0000)]
Turn off Interference Mitigation/Ambient Noise Imunity when the HAL is not in Station mode as it apparently causes problems with OFDM receive sensitivty.
It strikes me that we should always reset the hardware through a common function, though.
Ticket: http://madwifi.org/ticket/705
Original Patch: Signed-off-by: Tjalling Hattink <tjalling.hattink@ti-wmc.nl>
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2843
0192ed92-7a03-0410-a25b-
9323aeb14dbd
mentor [Thu, 8 Nov 2007 16:55:02 +0000 (16:55 +0000)]
Audit of node referencing:
* Enhance readability of some functions WRT node referencing by putting blocks around areas where node references are held
* Various bits of consistency of the usage of node references; always unreference them at the point at which they are no longer used. Don't reuse variables implicitly.
* Significant overhaul of the usage of bf_node and ieee80211_cb.ni. Always hold a reference with aforementioned variable and always unreference it properly.
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2839
0192ed92-7a03-0410-a25b-
9323aeb14dbd
mentor [Thu, 8 Nov 2007 16:50:00 +0000 (16:50 +0000)]
* Update comments on find_*node functions to specifically note node reference acquirement
* Update ieee80211 XR mode to use ieee80211_parent_queue_xmit
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2838
0192ed92-7a03-0410-a25b-
9323aeb14dbd
scottr [Tue, 6 Nov 2007 00:41:19 +0000 (00:41 +0000)]
Install modules with mode set to 0644 instead of 0755.
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2834
0192ed92-7a03-0410-a25b-
9323aeb14dbd
scottr [Tue, 6 Nov 2007 00:33:49 +0000 (00:33 +0000)]
Fix compilation with GCC 4.1.2 on 64-bit hosts
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2833
0192ed92-7a03-0410-a25b-
9323aeb14dbd
mtaylor [Mon, 5 Nov 2007 23:18:44 +0000 (23:18 +0000)]
Fix for r1106. Perform HAL reset twice, once with chanchange = TRUE and once without.
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2831
0192ed92-7a03-0410-a25b-
9323aeb14dbd
mtaylor [Mon, 5 Nov 2007 16:34:46 +0000 (16:34 +0000)]
Temporary workaround to refcount bugs exposed by r2792
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2828
0192ed92-7a03-0410-a25b-
9323aeb14dbd
benoit [Sun, 4 Nov 2007 16:17:39 +0000 (16:17 +0000)]
Merge changes @2825 back to trunk
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2826
0192ed92-7a03-0410-a25b-
9323aeb14dbd
mtaylor [Sat, 3 Nov 2007 05:49:37 +0000 (05:49 +0000)]
Fix a node reference leak in XR mode due to re-assigning a variable without unref first.
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2824
0192ed92-7a03-0410-a25b-
9323aeb14dbd
mtaylor [Sat, 3 Nov 2007 05:30:40 +0000 (05:30 +0000)]
Fix a node reference leak in ieee80211_ioctl_getspy loop
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2823
0192ed92-7a03-0410-a25b-
9323aeb14dbd
proski [Fri, 2 Nov 2007 02:05:22 +0000 (02:05 +0000)]
Fix support for big-endian systems
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2818
0192ed92-7a03-0410-a25b-
9323aeb14dbd
proski [Thu, 1 Nov 2007 22:25:15 +0000 (22:25 +0000)]
Fix support for 64-bit systems
Fix all uses of long integers for 32-bit values.
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2817
0192ed92-7a03-0410-a25b-
9323aeb14dbd
proski [Thu, 1 Nov 2007 21:15:28 +0000 (21:15 +0000)]
Big cleanup of tools/ath_info.c
Reformat with madwifi-indent, it was needed badly. Break some long
lines. Avoid complex structure initializers that GNU indent cannot
format. Avoid using macro for the names table. Remove spaces in the
names, add then with formatted output. Remove spaces before punctuation
signs.
Fix all sparse warnings. Default to base 16 for all numbers specified
on the command line.
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2816
0192ed92-7a03-0410-a25b-
9323aeb14dbd
proski [Wed, 31 Oct 2007 05:39:41 +0000 (05:39 +0000)]
Fix sysctl support in Linux 2.6.24
Linux 2.6.24 introduces a sysctl checker that disallows using arbitrary
ctl_name values for sysctl entries. The entries with non-standard
values should set ctl_name to CTL_UNNUMBERED.
On the other hand, using consistent non-zero ctl_name values is required
for older kernels (tested on Linux 2.4.33.3 from Slackware 11).
Thus the solution is to use CTL_UNNUMBERED on Linux 2.6.24+ and the
original values in the older kernels. Move CTL_AUTO and DEV_ATH to
include/compat.h and define them correspondingly.
When copying sysctl entries, check procname for being non-zero, since
ctl_name is zero (CTL_UNNUMBERED) on Linux 2.6.24 and newer.
For the same reason, don't use ctl_name to distinguish entries in
ath_sysctl_template, use extra2 instead.
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2814
0192ed92-7a03-0410-a25b-
9323aeb14dbd
mtaylor [Mon, 29 Oct 2007 22:34:55 +0000 (22:34 +0000)]
When a channel switch announcement (CSA) happens either through an action frame or a beacon, the sampling algorithm can get back responses with a rate of zero which result in rate index lookups that fail with -1 as a return value.
We just need to ignore these, as the sample rate control algorithm will recover quickly.
Previously, after a channel switch due to radar or command line channel change, we would see lots of error messages spewed to the logs about invalid rate indexes from the sample alg. This just squelches those messages.
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2799
0192ed92-7a03-0410-a25b-
9323aeb14dbd
mtaylor [Mon, 29 Oct 2007 22:33:03 +0000 (22:33 +0000)]
Our ABI for hostapd currently uses an old structure that only has one byte for the key index. This means that the 'magic value' of -1 (255) for NONE is passed rather than the larger type we actually use internally. To make comparisons work properly, I'm putting the magic value back at (uint8_t)-1 again so that a key index of 'none' with a MAC address that is passed into madwifi is interpreted correctly and the keys for that station are properly removed, rather than errors returned.
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2798
0192ed92-7a03-0410-a25b-
9323aeb14dbd
proski [Mon, 29 Oct 2007 04:19:27 +0000 (04:19 +0000)]
Fix oops due to sysctl table check failure in Linux 2.6.24
Linux 2.6.24 has a sysctl table checker that rejects the tables
presented by the driver. Make the code survive this condition. Free
devname (or dev_name) before freeing the table. Don't do it at the
unregister time, it's too late.
The sysctl tables still need to be fixed.
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2795
0192ed92-7a03-0410-a25b-
9323aeb14dbd
mtaylor [Sun, 28 Oct 2007 20:40:04 +0000 (20:40 +0000)]
Fix for a false replay detection when seq was initialized to zero and first packet is also seq zero.
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2794
0192ed92-7a03-0410-a25b-
9323aeb14dbd
mtaylor [Sun, 28 Oct 2007 17:55:54 +0000 (17:55 +0000)]
Add indication of radar, half and quarter rates to wlanconfig list chan
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2793
0192ed92-7a03-0410-a25b-
9323aeb14dbd
mentor [Sat, 27 Oct 2007 17:58:32 +0000 (17:58 +0000)]
Move acquisition of node reference outside macro to ensure node is referenced only once.
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2792
0192ed92-7a03-0410-a25b-
9323aeb14dbd
proski [Wed, 17 Oct 2007 16:59:45 +0000 (16:59 +0000)]
Linux 2.6.24 moves proc_net inside init_net
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2756
0192ed92-7a03-0410-a25b-
9323aeb14dbd
proski [Wed, 17 Oct 2007 03:39:50 +0000 (03:39 +0000)]
Fix compilation for the forthcoming Linux 2.6.24
SET_MODULE_OWNER() is not defined in 2.6.24, but it's already a no-op in
2.6.23. Make sure that it will be a no-op in 2.6.23 and newer kernels.
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2754
0192ed92-7a03-0410-a25b-
9323aeb14dbd
br1 [Tue, 16 Oct 2007 12:32:26 +0000 (12:32 +0000)]
add dump eeprom option (-d) to ath_info to dump the entire contents
of the eeprom to the screen and to a file
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2750
0192ed92-7a03-0410-a25b-
9323aeb14dbd
mentor [Sun, 14 Oct 2007 17:48:45 +0000 (17:48 +0000)]
Try not to dereference null pointers; the loop above might not have run
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2745
0192ed92-7a03-0410-a25b-
9323aeb14dbd
mentor [Sat, 13 Oct 2007 21:19:49 +0000 (21:19 +0000)]
Refactor beacon buffer generating loop for readability
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2742
0192ed92-7a03-0410-a25b-
9323aeb14dbd
mentor [Thu, 11 Oct 2007 15:40:49 +0000 (15:40 +0000)]
If a rates information element is received that is larger than we will accept, simply take the first maximum size elements and continue, rather than BUG'ing out.
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2736
0192ed92-7a03-0410-a25b-
9323aeb14dbd
mentor [Mon, 8 Oct 2007 12:02:22 +0000 (12:02 +0000)]
Significantly lower the PCI_LATENCY_TIMER value that we were setting. This is essentially hte total time we are allowed to hold onto the PCI bus, before we see if anyone else wants a go. Higher means better throuhgput at the expense of the latency of other devices, and vice versa.
This value is roughly around the value that other devices are setting. The previous value appeared to be stupidly high.
This may solve some interactivity problems and machine performance issues.
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2732
0192ed92-7a03-0410-a25b-
9323aeb14dbd
mentor [Mon, 8 Oct 2007 11:38:21 +0000 (11:38 +0000)]
Function declaration whitespace
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2731
0192ed92-7a03-0410-a25b-
9323aeb14dbd
proski [Fri, 5 Oct 2007 17:01:13 +0000 (17:01 +0000)]
Fix lock context imbalance in ap_end() found by sparse
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2726
0192ed92-7a03-0410-a25b-
9323aeb14dbd
mtaylor [Fri, 5 Oct 2007 05:52:42 +0000 (05:52 +0000)]
Added support for AP mode scan results to be updated and returned to
wireless tools and other clients. This fixes:
bgscan
iwlist <iface> scan
wlanconfig <iface> list scan
wlanconfig <iface> list peers
etc...
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2724
0192ed92-7a03-0410-a25b-
9323aeb14dbd
mrenzmann [Thu, 4 Oct 2007 13:07:51 +0000 (13:07 +0000)]
Restructuring the repository layout in response to ath5k.
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2721
0192ed92-7a03-0410-a25b-
9323aeb14dbd