Commit Graph

  • 5d546c1ea1 Doh! Fix boneheaded mistake. mtaylor 2007-11-24 06:46:19 +0000
  • 99f62ecfab backout 2942. mtaylor 2007-11-24 05:24:53 +0000
  • f91e998352 Two places we did not unlock txq lock mtaylor 2007-11-24 05:22:31 +0000
  • 734a08b321 dont call netif_stop_queue if only one txq is full. mtaylor 2007-11-24 04:46:15 +0000
  • e5854bed77 Added lock assertion macros for all locks. Assert locks in all new _locked functions. Assert lock state in all LOCK/UNLOCK macros. mtaylor 2007-11-23 23:42:38 +0000
  • 8f7da38c30 Fixed a double locking bug - Merge from madwifi-dfs branch benoit 2007-11-23 22:50:01 +0000
  • 230a7edfe9 Removed sc_last_tsf alltogether (was just for debugging anyway) benoit 2007-11-23 22:18:33 +0000
  • a992820b57 Streamline _OS_REG_WRITE/_OS_REG_READ implementation proski 2007-11-23 09:38:18 +0000
  • 9a8cf27ead Provide replacements for iowrite32be and ioread32be if needed proski 2007-11-23 09:28:21 +0000
  • 62ca1ef3ab Re-format, rewrite some comments, fix typos proski 2007-11-23 07:50:33 +0000
  • 7f6072f9ae Remove __printflike definition, it's not used anywhere in the code proski 2007-11-23 07:41:07 +0000
  • 18178f002d Filter out -mapcs-32, it's not universally supported proski 2007-11-23 06:31:11 +0000
  • ea868797b6 Comment out some stuff added after 2.4 kernel. 2.6.0 is just a guess, but should serve as a starting point. mtaylor 2007-11-22 07:57:43 +0000
  • c428bb7406 Remove references to skbuff.input_dev as it seems to have had a relatively short lifespan, despite the references in the textbooks on network internals. ;-) mtaylor 2007-11-22 06:57:45 +0000
  • cbc24dce2a Switch back to plain old int for gfp_t definition for pre 2.6.14... mtaylor 2007-11-22 04:46:27 +0000
  • f30e5aa80b Add gfp_t for pre 2.6.14 kernels in compat.h mtaylor 2007-11-22 04:43:06 +0000
  • aa7fddfba7 Allow WDS nodes with cloned BSSID mtaylor 2007-11-22 03:36:48 +0000
  • 2a7bdfd500 Fix some indentation from a regex gone wrong in r2915 mentor 2007-11-22 02:37:19 +0000
  • 5afdef8cae Formatting changes. Mostly line lengths with some whitespace. Also, remove author info from any comments. mentor 2007-11-22 02:08:35 +0000
  • 22436a7615 Avoid using preprocessor conditionals inside macro arguments proski 2007-11-22 01:28:29 +0000
  • 9dc2e2884a Wrap use of input_dev in preprocessor conditionals. Went away in 2.6.20. mtaylor 2007-11-22 01:02:08 +0000
  • 3edfc8a644 Restore error message on alloc_skb failure mtaylor 2007-11-22 00:49:31 +0000
  • 54d2029f21 Fix sparse warnings and compile errors reported with includes in ieee80211_skb.h mtaylor 2007-11-22 00:24:26 +0000
  • 932d54e246 Make ath_buf_counter static. Reported by sparse. proski 2007-11-21 22:49:25 +0000
  • 562bdbac4a Use void* to keep an address, not u_int32_t proski 2007-11-21 22:44:32 +0000
  • ebe8ee9736 This patch augments the current reference counting code with: mtaylor 2007-11-21 20:14:11 +0000
  • 4ea262da0e Fix sparse warning about ni_tmp proski 2007-11-21 19:43:25 +0000
  • 640f86f562 Put the zeroing of the CB back in. It was supposed to move up to the top and not dissapear. In another change I will commit, some of the logic depends upon zeroing earlier before assigning some values to cb mtaylor 2007-11-21 18:25:00 +0000
  • 61e57408ea Port some formatting fixes from DFS branch proski 2007-11-21 17:18:09 +0000
  • 0624a5b03e More SKB_CB macro use and cleanup of dropped references from kernel dropped skbuff structures. More refcount bumps due to skb_clone/skb_copy. mtaylor 2007-11-21 11:47:50 +0000
  • 5470ea57f4 More reference count increments after skbuff copies and more releases of node references if the kernel drops the skbuff. mtaylor 2007-11-21 11:43:42 +0000
  • 0c4e2a41e9 Refcount fix for netif_rx() and friends, returning error and dropping SKB but we were not releasing our node reference. Refcount fix for skb_clone/etc where we were not keeping reference counter matching the number of skbuff instances and were not having enough references. mtaylor 2007-11-21 11:38:42 +0000
  • 09b1e7bb56 More SKB_CB macro use mtaylor 2007-11-21 11:27:21 +0000
  • fea3f135d3 Add missing symbols used by txcont mtaylor 2007-11-21 11:20:36 +0000
  • b43465c8f9 Missed checkin for new debug flags mtaylor 2007-11-21 11:16:05 +0000
  • 831cbc8da0 More use of macros to access cb, per kernel conventions mtaylor 2007-11-21 11:13:54 +0000
  • 6f471d5f17 Backport of continous transmit function from madwifi-dfs. mtaylor 2007-11-21 11:08:51 +0000
  • 76ef1fd56b Support for setting default VAP debug flags at module load time, so you can catch messages that occur during VAP startup (before you can possibly invoke 80211debug). mtaylor 2007-11-21 10:45:58 +0000
  • 3511ea0ea9 Add SKB_CB macro and begin using it in a few places, eventually everywhere we use skb->cb (will be in a subsequent commit/merge) should use this macro. This is part of a larger batch of changes I am in the process of merging that add better visibility into skbuff usage/leaks in the driver. mtaylor 2007-11-21 10:39:06 +0000
  • 5fadd3cdaa Missed include mtaylor 2007-11-21 10:27:53 +0000
  • bf8d475c98 Backport some additional 802.11 defines from madwifi-dfs mtaylor 2007-11-21 10:24:35 +0000
  • c5469cede8 More whitespace cleanup backported from madwifi-dfs mtaylor 2007-11-21 10:22:23 +0000
  • 6d8bbfe271 Remove duplicate copy of VAP_DEV_NAME mtaylor 2007-11-21 10:16:48 +0000
  • 09e974b2db since ieee80211_input() can be called by ieee80211_input_all(), we need to check that we are not updating statistics of all known nodes for every inbound packet for an unknown node. mtaylor 2007-11-21 09:39:42 +0000
  • 0d6e81e270 Relocate refcounting macro defines so they are visible in more places, in preparation for merging some other changes that need this. mtaylor 2007-11-21 09:24:56 +0000
  • 12aa3fb33e Add parent device to debug output lines from ieee80211_* debug functions. Add VAP mac address to debug output lines from ieee80211_* debug functions. mtaylor 2007-11-21 09:15:37 +0000
  • c717e369fd Move DEV_NAME macro from if_ath.c to ieee80211_var.h, and expand on it. mtaylor 2007-11-21 09:13:44 +0000
  • 8173daf0ad Merge changeset 2877 to trunk. Fixed sc_last_tsf. benoit 2007-11-21 08:45:54 +0000
  • e4dc719a3c Add labs macro mtaylor 2007-11-21 08:31:35 +0000
  • 34a98e1501 Add null check around dev_kfree_skb mtaylor 2007-11-21 08:23:43 +0000
  • c676eeb444 The node debug lines in this file were just reporting the function was invoked, and there didn't seem to be much point. mtaylor 2007-11-21 08:23:20 +0000
  • 3bb4181d67 Unexpand tabs in the lines different from the DFS branch proski 2007-11-20 20:33:58 +0000
  • 6b697f9589 Merge whitespace changes made on the DFS branch proski 2007-11-20 18:19:55 +0000
  • cf73167868 Merge tools/wlanconfig.c changes from the DFS branch proski 2007-11-20 17:33:41 +0000
  • a08cab1f36 Merge some whitespace changes from the DFS branch proski 2007-11-20 17:18:36 +0000
  • 4e9cfeafe3 Fix MHz spelling (not Mhz) from DFS branch proski 2007-11-20 17:02:12 +0000
  • b2be90d89d Merge RX timestamps changes from madwifi-dfs branch benoit 2007-11-18 22:04:47 +0000
  • bd6e91ee85 Move pointer reference to after null pointer check. mentor 2007-11-16 11:24:22 +0000
  • aebfe2bea0 Change the default VAP interface type to ARPHRD_ETHER mentor 2007-11-15 18:32:03 +0000
  • a068895300 Revert r2852 as it uses the incorrect method to access IO memory and breaks on many archs. mentor 2007-11-15 16:32:01 +0000
  • 035de65235 Revert commits 2623:2624, they break archs without iowrite32be() proski 2007-11-15 03:29:11 +0000
  • 5eaff3b779 Add semicolon lost in the previous commit proski 2007-11-14 20:53:41 +0000
  • de3fb8a58e Always set the correct network device type mentor 2007-11-14 20:47:56 +0000
  • fba20ff1c0 When setting the desired frequency of a VAP, check for differences against a previous desired frequency rather than ic_bsschan (which may be meaningless). mentor 2007-11-14 18:12:05 +0000
  • 3fbb1d543d 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). mentor 2007-11-13 17:45:58 +0000
  • 73cbb16ebe Revert r2828 - problem appears to be fixed now mentor 2007-11-12 19:20:11 +0000
  • 3093055903 Stop ieee80211_node_leave from trying to be responsible for the caller's node reference mentor 2007-11-11 23:22:43 +0000
  • c0c7d05e2f 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. mentor 2007-11-11 01:47:55 +0000
  • c6eac77db1 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. mentor 2007-11-08 16:55:02 +0000
  • be343965ed * Update comments on find_*node functions to specifically note node reference acquirement * Update ieee80211 XR mode to use ieee80211_parent_queue_xmit mentor 2007-11-08 16:50:00 +0000
  • d07ba1953d Install modules with mode set to 0644 instead of 0755. scottr 2007-11-06 00:41:19 +0000
  • 6ffd0b8a29 Fix compilation with GCC 4.1.2 on 64-bit hosts scottr 2007-11-06 00:33:49 +0000
  • 1d4d9ddb6b Fix for r1106. Perform HAL reset twice, once with chanchange = TRUE and once without. mtaylor 2007-11-05 23:18:44 +0000
  • 39aeb2e4e2 Temporary workaround to refcount bugs exposed by r2792 mtaylor 2007-11-05 16:34:46 +0000
  • c4d1172910 Merge changes @2825 back to trunk benoit 2007-11-04 16:17:39 +0000
  • b42f24aaf1 Fix a node reference leak in XR mode due to re-assigning a variable without unref first. mtaylor 2007-11-03 05:49:37 +0000
  • 3b4dd6cb3a Fix a node reference leak in ieee80211_ioctl_getspy loop mtaylor 2007-11-03 05:30:40 +0000
  • a9875c1c61 Fix support for big-endian systems proski 2007-11-02 02:05:22 +0000
  • d1b74080f8 Fix support for 64-bit systems proski 2007-11-01 22:25:15 +0000
  • 25418eaa48 Big cleanup of tools/ath_info.c proski 2007-11-01 21:15:28 +0000
  • 120d309bc3 Fix sysctl support in Linux 2.6.24 proski 2007-10-31 05:39:41 +0000
  • be0769dcae 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. mtaylor 2007-10-29 22:34:55 +0000
  • d2fd0a8446 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. mtaylor 2007-10-29 22:33:03 +0000
  • b7186f5480 Fix oops due to sysctl table check failure in Linux 2.6.24 proski 2007-10-29 04:19:27 +0000
  • 01a0d01102 Fix for a false replay detection when seq was initialized to zero and first packet is also seq zero. mtaylor 2007-10-28 20:40:04 +0000
  • a45eb4bdc7 Add indication of radar, half and quarter rates to wlanconfig list chan mtaylor 2007-10-28 17:55:54 +0000
  • 63a7a26a09 Move acquisition of node reference outside macro to ensure node is referenced only once. mentor 2007-10-27 17:58:32 +0000
  • 854dfb1ec8 Linux 2.6.24 moves proc_net inside init_net proski 2007-10-17 16:59:45 +0000
  • 6807bc078f Fix compilation for the forthcoming Linux 2.6.24 proski 2007-10-17 03:39:50 +0000
  • ab34867986 add dump eeprom option (-d) to ath_info to dump the entire contents of the eeprom to the screen and to a file br1 2007-10-16 12:32:26 +0000
  • 66c5993fc6 Try not to dereference null pointers; the loop above might not have run mentor 2007-10-14 17:48:45 +0000
  • 3465554a3a Refactor beacon buffer generating loop for readability mentor 2007-10-13 21:19:49 +0000
  • 83a58db918 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. mentor 2007-10-11 15:40:49 +0000
  • 11f13a1752 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. mentor 2007-10-08 12:02:22 +0000
  • bdd0a567f3 Function declaration whitespace mentor 2007-10-08 11:38:21 +0000
  • a5bfbf4367 Fix lock context imbalance in ap_end() found by sparse proski 2007-10-05 17:01:13 +0000
  • d9ca43629b Added support for AP mode scan results to be updated and returned to wireless tools and other clients. This fixes: mtaylor 2007-10-05 05:52:42 +0000
  • 2c0d8db912 Restructuring the repository layout in response to ath5k. mrenzmann 2007-10-04 13:07:51 +0000