Commit Graph

  • 7a04e2c8e8 Add an error message if a unique BSSID is requested but the hardware does not support the BSSID mask mentor 2008-06-24 03:09:25 +0000
  • 70e6e83fc8 Add an informational message when debug flags are changed. mentor 2008-06-22 05:32:29 +0000
  • 78cbb40469 Convert various _debug style char *func and int line passing to use dump_stack. This may possibly be a tad noisy still. mentor 2008-06-22 02:12:53 +0000
  • 03dbd3568d Make module loading and unloading much less noisy. I don't believe any of this ifnromation is particularly useful for dbeugging, and definitely not for operational use. mentor 2008-06-21 14:40:43 +0000
  • 7eedc3e565 Remove mystery mode define, and tidy also mentor 2008-06-21 14:28:07 +0000
  • 174d83b6fd pci_register_driver does not error out if no devices are found. The driver just remains loaded anyway. mentor 2008-06-21 14:21:28 +0000
  • 3d91ef2071 Revert portion of commit 3265 which introduced some poor use of strncat (my bad) and needlessly complicated the debug output with prefixes. mtaylor 2008-06-20 07:32:16 +0000
  • 941d62b043 KASSERT should add newline at the end to match FreeBSD behavior proski 2008-06-19 16:58:07 +0000
  • 717cb96dd8 Update roaming iwpriv names to reflect actual format of rate data (i.e., increments of 0.5). Also, update comments and token names to reflect reality/actual usage. Remove some entirely purposeless padding bytes. mentor 2008-06-19 02:34:23 +0000
  • fbfef80115 Use POSIX preferred (and easier to read) $() form rather than `` mentor 2008-06-19 00:33:04 +0000
  • f3a89f4353 Typo in CONFIG_PARISC. Guess PARISC users are a bit thin on the ground then. mentor 2008-06-19 00:22:42 +0000
  • c10a304437 Allow enabling crypto tests by passing CRYPTO_TESTING=1 to make proski 2008-06-18 05:10:34 +0000
  • 292e1e6e05 Ignore *.markers and *.order proski 2008-06-17 22:32:04 +0000
  • 0a1bf29ca4 Fix format string bugs. kelmo 2008-06-16 08:50:30 +0000
  • 3ecbaecf60 Fix needed for wpa_supplicant. It might not be the best fix. benoit 2008-06-13 15:09:58 +0000
  • 7b24b62bb6 Fixed a compiling bug. Patch from XazZ. benoit 2008-06-13 12:36:32 +0000
  • 2b8d9ef1c9 Only display configured TXQ Use the HAL to query the status of a TX descriptor benoit 2008-06-12 14:50:36 +0000
  • a3c603b875 Reference the VAP's node in injection/raw output frames. Makes injection work. mentor 2008-06-12 05:22:37 +0000
  • 3318745855 Add a suffix to onoe and amrr rate sysctl names entries, so that they do not conflict mentor 2008-06-12 02:09:59 +0000
  • cc4fba0582 Diversity and Antenna code cleanup: * Tidy, including refactoring and variable rename for clarity and consistency * Move some variable initialisation out of sysctl register where it does not belong. * Only change antenna based on RX traffic if both diversity and an RX antenna is not set * Set HW/HAL diversity setting on HW/HAL reset mentor 2008-06-10 15:32:45 +0000
  • b5b0838767 Yay. More whitespace changes mentor 2008-06-10 11:35:40 +0000
  • fa195d07b8 Remove now extraneous ath_capture() mentor 2008-06-08 01:52:48 +0000
  • be5b0e727a Move responsibility for removing padding in the RX path entirely to the driver. This allows it to be done once, and thus avoids extra copying of SKBs. mentor 2008-06-08 01:43:53 +0000
  • c47c360b48 Be very careful about using ioread32be() and iowrite32() proski 2008-06-08 01:28:58 +0000
  • 785ca93999 In the RX path, the SKB needs to be copied if padding needs to be removed. Doing so causes correct operation of monitor mode interfaces to be restored, but is somewhat inefficient. Will tidy up the code in following revisions. mentor 2008-06-07 03:24:30 +0000
  • 76cade5dac Make pointer declarations and casting consistent. Some other formatting changes are made in passing mentor 2008-06-06 20:32:29 +0000
  • 1a24cb141a Use vlan_hwaccel_rx instead of vlan_hwaccel_receive_skb, as this is the non-polling (non-NAPI) version. mentor 2008-06-06 19:42:24 +0000
  • f259deab93 In some parts of Madwifi, SKBs are dispatched from the VAP device to the physical device using Linux kernel queuing, which does not understand our node reference system, so node references are carefully cleaned up if the packet is dropped. However, the netif_rx and vlan_hwaccel_receive_skb functions dispatch the SKB to the higher networking levels, out of our domain. mentor 2008-06-06 19:21:33 +0000
  • 1b5e6019b1 Don't show comments while compiling proski 2008-06-06 05:39:54 +0000
  • 78ddabe0b4 Fix tools compliation described in ticket #1934 proski 2008-06-06 05:38:29 +0000
  • a5680de2b6 Remove sead ALIGNED_POINTER code mentor 2008-06-06 01:40:25 +0000
  • 0c4f9cd972 Add ignore rules for tools/wpakey and modules.order proski 2008-06-05 07:37:41 +0000
  • 798e0eb3fb Registers between 0x7000 and 0x8000 are always little-endian proski 2008-06-05 07:22:51 +0000
  • 8c141cdc58 Reapply r3402 (ARM compile fix), it was reverted by mistake proski 2008-06-05 07:13:41 +0000
  • 4b2cf1393a Remove modules.order files in Makefile clean targets. kelmo 2008-06-04 12:25:31 +0000
  • eaac5479fd Rename remaining instances of ALL to PROGRAMS proski 2008-06-01 17:39:48 +0000
  • 4b8b3f3960 Revert part of previous change. Was too board. Merge -dfs r3691 benoit 2008-06-01 17:36:03 +0000
  • ec82a6dabd Avoid soft lockup with calibration timer. Merge from -dfs r3689 benoit 2008-06-01 16:44:12 +0000
  • c04bc3e394 Merge -dfs r3410 and r3687 for proper multicast key search operation (disable at this point since it does not work as expected). benoit 2008-06-01 09:34:30 +0000
  • 4cf35af407 Copy Makefile and wpakey.c from madwifi-dfs branch proski 2008-05-30 19:52:53 +0000
  • 0b5e419a35 Connect ath_info as a subdirectory for tools proski 2008-05-30 19:44:14 +0000
  • bacb36738e Update some strings in ieee80211_dumppkt to be slightly more obvious/correct mentor 2008-05-25 18:44:50 +0000
  • 7045e12375 Aid debugging by helpfully not dereferencing NULL pointers and oopsing when debugging messages are turned on. mentor 2008-05-24 12:15:44 +0000
  • 2cb3887369 Add lots of .PHONY to Makefiles and remove a duplicate rule definition mentor 2008-05-23 03:49:25 +0000
  • 99ead2121d Merge madwifi-dfs r3676 Fixed type of all variables storing jiffies Converted add_timer() to mod_timer() benoit 2008-05-22 20:25:48 +0000
  • c62ff62eaf Cast to remotely the right pointer type mentor 2008-05-22 16:15:28 +0000
  • c0466a75a6 Record stat's before dispatch, and generally don't try to access NULL pointers mentor 2008-05-22 16:09:19 +0000
  • 03b00b0e45 A few final bits of tidy mentor 2008-05-22 15:17:20 +0000
  • 2e5d81996e Slightly tidier way of managing SKBs mentor 2008-05-22 15:13:19 +0000
  • 18682f3d29 SKB handling code cleanup: * Convert last SKB_CB()->ni to SKB_NI * Lots of comments * Refactor various pieces of code for consistency, readability, and removal of goto mentor 2008-05-22 12:58:24 +0000
  • 04084c023d Make sure to free the skb if it is not used. This is brute force programming; I blame gotos. mentor 2008-05-22 12:48:52 +0000
  • 78731b81b8 Compile ath_hal_reg_write() and ath_hal_reg_read() only if needed proski 2008-05-22 12:39:24 +0000
  • f99b56ca39 fixing and cleanup of ath_announce br1 2008-05-21 13:44:15 +0000
  • e6646f6f0a add chip name by SREV mapping from ath5k and print MAC and PHY chip name on module load br1 2008-05-21 13:44:09 +0000
  • 8d0833e60d move all HAL extensions (everything including direct register read and writes or reverse engineered information) to if_ath_hal_extensions.[ch] br1 2008-05-21 13:44:03 +0000
  • fe5351a3e3 remove add_timer() call after mod_timer(). it causes a kernel bug and is not necessary since mod_timer does all the work already. this fixes station mode. br1 2008-05-20 17:16:24 +0000
  • 547147362c Random whitespace mentor 2008-05-20 15:58:00 +0000
  • 9ba85e9edf drop packets if a WME queue gets too long. br1 2008-05-20 13:46:02 +0000
  • c4093cb5c8 Manually stomp the DMA size to 128B for AR5418 devices. This patch should probably be extended to do this for all PCIe devices. The register defines were taken from ath5k. mentor 2008-05-17 04:53:35 +0000
  • 15abd8d1f1 Formatting - r3634 mentor 2008-05-17 04:44:05 +0000
  • 0d37af2c27 Interference mitigation control code changes: * More pedanting of comments * Update sysctl to return early if no change is made and OPNOTSUPP if !sc_hasintmit * Tidy call to set HAL int. mit. status. Remove chatty printf as it is known that this does not work. * Preprocessor out HAL call as the int. mit. status is unconditionally set manually. * Misc. churn. mentor 2008-05-17 04:41:01 +0000
  • 3b9f5d1b89 add IEEE80211_TSF_TO_TU macro again and explain it once there instead of open coding >> 10 and putting notes all over the place. br1 2008-05-16 16:09:36 +0000
  • 86d8de1785 let ieee80211_recv_mgmt() return 0 if the frame is to be discarded and don't process discarded frames in ath_recv_mgmt(). this reduces the number of times we attempt to merge IBSS to invalid beacons. br1 2008-05-16 16:09:28 +0000
  • 6da523e4d6 enclose node_print_message() calls in #ifdef IEEE80211_DEBUG preprocessor directives to avoid this function beeing called (and allocating stack space) when debugging is disabled. br1 2008-05-16 11:34:59 +0000
  • 1866fef7c5 Pedant spelling/punctuation mentor 2008-05-14 19:21:38 +0000
  • 7d8156565c Downgrade Int. Mit. out of synchronisation message to a warning as we know it happens. mentor 2008-05-14 19:19:30 +0000
  • 88959bf97f If hal_tpc is out of sync. with the actual HAL setting, set the HAL setting to hal_tpc rather than just to on. mentor 2008-05-14 19:16:59 +0000
  • 6abd8285aa Whitespace for control statements mentor 2008-05-14 19:11:57 +0000
  • 17ef384654 Remove inline forward declarations, it doesn't work this way proski 2008-05-12 02:01:57 +0000
  • c85c1bb5c7 likely() doesn't take pointers in Linux 2.4, give it an integer proski 2008-05-12 01:42:34 +0000
  • c063dad027 Thanks to author of r3623 mentor 2008-05-10 06:59:09 +0000
  • 30aec0e604 Off by one error in accessing bf_skbaddrff mentor 2008-05-10 06:58:20 +0000
  • b9be39d736 Cleanup extraneous ieee80211_dev_kfree_skb checks mentor 2008-05-10 06:07:18 +0000
  • a192279dd6 Only deliver frames to VAPs that are running. mentor 2008-05-10 06:03:52 +0000
  • dfdda8ca55 Remove axq_link, for benoit. mentor 2008-05-07 18:33:15 +0000
  • 3dc12c74ec Fold descriptor link address byte-swapping for hardware into a common function mentor 2008-05-06 22:18:43 +0000
  • ef47acefdd Convert tracked member of ieee80211_cb to be a flag mentor 2008-05-06 11:31:26 +0000
  • d3842998ca Remove now unused FF next field in ieee80211_cb. This makes ieee80211_cb under 48 bytes on 64-bit with IEEE80211_DEBUG_REFCNT mentor 2008-05-06 11:22:31 +0000
  • f5f3adc423 Have ath_tx_txqaddbuf calculate and use the last descriptor for the buffer. This occurs in the FF case, where there may be two buffers. This fixes problems with r3548 noted in #1922. mentor 2008-05-06 00:18:09 +0000
  • f577062ef7 Move the monitor physical parameter struct inside ieee80211_cb. Have same struct actually be an array. Add an evil struct definition that breaks if ieee80211_cb is bigger than 48 bytes; it serves no other purpose. mentor 2008-05-05 23:51:16 +0000
  • 094374b5ee Add sys/queue.h include to if_athvar.h. Plus some formatting/fiddling mentor 2008-05-05 23:49:40 +0000
  • 2a96a01877 Refactor some FF buffer descriptor setup code to be clearer and more consistent mentor 2008-05-05 16:09:13 +0000
  • 7d7024184e Don't use "inline" in forward declarations - it doesn't work proski 2008-05-05 13:50:10 +0000
  • a49a973027 Use __skb_queue_after() instead of __skb_append() proski 2008-05-05 12:12:43 +0000
  • 1941f3990b Add $(obj)/ to the dependencies of ath_hal.o proski 2008-05-05 12:05:10 +0000
  • 2913278884 Adjust build system for Linux 2.6.26 proski 2008-05-05 02:00:56 +0000
  • 32df5a67ce Provide __skb_append() replacement for Linux 2.6.26 proski 2008-05-05 01:41:23 +0000
  • 658d470ad5 Revert now unnecessary compile fix for INITIAL_JIFFIES - r3598. The other code using this define looked like it should not be using it too. mentor 2008-05-05 01:02:51 +0000
  • 63436cbc14 Kill dead uptime calculating code; not needed in a driver... mentor 2008-05-05 01:00:11 +0000
  • 9230ae95d4 Fix Linux 2.4 compatibility proski 2008-05-04 23:30:34 +0000
  • 370c06ca3a Define INITIAL_JIFFIES if not already defined proski 2008-05-04 23:11:21 +0000
  • 75beeeb876 Define gfp_t before it's used proski 2008-05-04 23:07:39 +0000
  • 380c55d9c9 Rename and move, into the right headers, the SKB and BF macros mentor 2008-05-04 17:48:59 +0000
  • 9538bc8243 Remove the skb_copy call from ieee80211_input. However, create a copied SKB for each call to ieee80211_input when we are sending to all VAPs. Effectively, this means that we are using the SKB from the ath_buf except when ieee80211_input is called multiple times. mentor 2008-05-03 03:49:05 +0000
  • 1b318d3853 Tidy RX queue processing code: * Formatting * Add a function to remove SKB from ath_buf. * Call aforementioned function early if we are accepting a frame, so that there's not chance the data can get stomped on by DMA. We should probably do this for ignored frames as well, but I got fed up trying to sort out the stack of goto. * Remove some KASSERT for skb users, as the SKB are always copied. mentor 2008-05-03 03:40:27 +0000
  • 2ecfeab07e Move the maximum monitor headroom definition to a nice header file mentor 2008-05-01 13:49:09 +0000
  • 65868884d2 Do not modify source packet in ieee80211_input_monitor if the headroom is not sufficient. Instead, make sure the copied skb is allocated with enough headroom. mentor 2008-04-30 22:11:27 +0000
  • bbcacb393a Correct terminology in ieee80211_input skb_copy comment mentor 2008-04-30 22:04:38 +0000
  • 663f433fcd Merge madwifi-dfs r3574:3578 to trunk benoit 2008-04-28 10:23:24 +0000
  • c29842a728 Initially set sc_lastcal to now. The previous code set it to INITIAL_JIFFIES which is the initial value at _boot_ time not module load time. mentor 2008-04-25 13:40:31 +0000